{
  "title": "Callout",
  "type": "object",
  "$schema": "http://json-schema.org/draft-04/schema",
  "description": "Callout configuration for a symbol.",
  "properties": {
    "border": {
      "$ref": "border_schema.json"
    },
    "color": {
      "description": "The color of the line.",
      "$ref": "color_schema.json"
    },
    "size": {
      "type": "number",
      "description": "The width of the line in points.",
      "minimum": 0
    },
    "transparency": {
      "type": "integer",
      "description": "A value between `100` (full transparency) and `0` (full opacity).",
      "minimum": 0,
      "maximum": 100,
      "default": 0
    },
    "type": {
      "type": "string",
      "description": "The type of the callout. A callout of type `line` connects an offset symbol or label with its location.",
      "enum": [
        "line"
      ]
    }
  },
  "required": [
    "color",
    "size",
    "type"
  ],
  "additionalProperties": false,
  "esriDocumentation": {
    "additionalInformation": "[Callout3D](https://developers.arcgis.com/javascript/latest/api-reference/esri-symbols-callouts-Callout3D.html) in ArcGIS API for JavaScript.",
    "examples": [
      {
        "title": "leader line",
        "code": {
          "callout": {
            "type": "line",
            "size": 0.75,
            "color": [
              255,
              255,
              255
            ],
            "transparency": 20,
            "border": {
              "color": [
                50,
                50,
                50
              ],
              "transparency": 50
            }
          }
        }
      }
    ]
  }
}
