{
  "title": "Material",
  "type": "object",
  "$schema": "http://json-schema.org/draft-04/schema",
  "description": "The material used to shade the geometry.",
  "properties": {
    "color": {
      "$ref": "color_schema.json"
    },
    "transparency": {
      "type": "integer",
      "description": "A value between `100` (full transparency) and `0` (full opacity). Ignored if no color is specified.",
      "minimum": 0,
      "maximum": 100
    }
  },
  "additionalProperties": false,
  "esriDocumentation": {
    "examples": [
      {
        "title": "material",
        "code": {
          "material": {
            "color": [
              255,
              0,
              0
            ],
            "transparency": 20
          }
        }
      }
    ]
  }
}
