{
  "title": "PointCloud ClassBreaks Renderer",
  "type": "object",
  "$schema": "http://json-schema.org/draft-04/schema",
  "description": "PointCloudClassBreaksRenderer defines the color of each point in a PointCloudLayer based on the value of a numeric attribute. Colors are assigned based on classes or ranges of data. Each point is assigned a symbol based on the class break in which the value of the attribute falls.",
  "properties": {
    "colorClassBreakInfos": {
      "type": "array",
      "description": "Each element in the array is an object that provides information about a class break associated with the renderer.",
      "items": {
        "type": "object",
        "$ref": "colorClassBreakInfo_schema.json"
      }
    },
    "colorModulation": {
      "$ref": "colorModulationInfo_schema.json"
    },
    "field": {
      "type": "string",
      "description": "  The name of the field that is used for the renderer."
    },
    "fieldTransformType": {
      "type": "string",
      "description": "A transform that is applied to the field value before evaluating the renderer.",
      "enum": [
        "absoluteValue",
        "highFourBit",
        "lowFourBit",
        "moduloTen",
        "none"
      ]
    },
    "legendOptions": {
      "type": "object",
      "description": "A legend containing one title, which is a string describing the renderer in the legend.",
      "$ref": "rendererLegendOptions_schema.json"
    },
    "pointSizeAlgorithm": {
      "$ref": "pointSizeAlgorithm_schema.json"
    },
    "pointsPerInch": {
      "type": "number",
      "description": "Number of point to draw per display inch."
    },
    "type": {
      "type": "string",
      "description": "Specifies the type of renderer used.",
      "enum": [
        "pointCloudClassBreaksRenderer"
      ]
    }
  },
  "required": [
    "colorClassBreakInfos",
    "field",
    "type"
  ],
  "additionalProperties": false,
  "esriDocumentation": {
    "examples": [
      {
        "title": "pointSizeAlgorithm",
        "description": "",
        "code": {
          "renderer": {
            "type": "pointCloudClassBreaksRenderer",
            "pointSizeAlgorithm": {
              "type": "pointCloudSplatAlgorithm",
              "scaleFactor": 1
            },
            "pointsPerInch": 10,
            "field": "ELEVATION",
            "colorClassBreakInfos": [
              {
                "classMinValue": 0,
                "classMaxValue": 422.87,
                "label": "406.59 - 422.87",
                "description": "",
                "color": [
                  87,
                  0,
                  252
                ]
              },
              {
                "classMinValue": 422.87,
                "classMaxValue": 438.81,
                "label": "422.87 - 438.81",
                "description": "",
                "color": [
                  89,
                  168,
                  253
                ]
              },
              {
                "classMinValue": 438.81,
                "classMaxValue": 466.8,
                "label": "438.81 - 466.8",
                "description": "",
                "color": [
                  109,
                  253,
                  219
                ]
              },
              {
                "classMinValue": 466.8,
                "classMaxValue": 507.05,
                "label": "466.8 - 507.05",
                "description": "",
                "color": [
                  221,
                  254,
                  96
                ]
              },
              {
                "classMinValue": 507.05,
                "classMaxValue": 593.73,
                "label": "507.05 - 593.73",
                "description": "",
                "color": [
                  254,
                  185,
                  5
                ]
              }
            ]
          }
        }
      },
      {
        "description": "",
        "code": {
          "renderer": {
            "type": "pointCloudClassBreaksRenderer",
            "pointsPerInch": 10.0,
            "field": "",
            "colorClassBreakInfos": [
              {
                "classMinValue": 0,
                "classMaxValue": 422.87,
                "label": "406.59 - 422.87",
                "description": "",
                "color": [
                  87.0,
                  0.0,
                  252.0
                ]
              },
              {
                "classMinValue": 422.87,
                "classMaxValue": 438.81,
                "label": "422.87 - 438.81",
                "description": "",
                "color": [
                  89.0,
                  168.0,
                  253.0
                ]
              },
              {
                "classMinValue": 438.81,
                "classMaxValue": 466.8,
                "label": "438.81 - 466.8",
                "description": "",
                "color": [
                  109.0,
                  253.0,
                  219.0
                ]
              },
              {
                "classMinValue": 466.8,
                "classMaxValue": 507.05,
                "label": "466.8 - 507.05",
                "description": "",
                "color": [
                  221.0,
                  254.0,
                  96.0
                ]
              },
              {
                "classMinValue": 507.05,
                "classMaxValue": 593.73,
                "label": "507.05 - 593.73",
                "description": "",
                "color": [
                  254.0,
                  185.0,
                  5.0
                ]
              }
            ]
          }
        }
      }
    ]
  }
}
