{
  "title": "LineSymbol3DLayer",
  "type": "object",
  "$schema": "http://json-schema.org/draft-04/schema",
  "description": "LineSymbol3DLayer renders Polyline geometries using a flat 2D line with a LineSymbol3D in a 3D SceneView.",
  "properties": {
    "cap": {
      "type": "string",
      "description": "Shape of the beginning and the end of each line geometry.",
      "enum": [
        "butt",
        "round",
        "square"
      ],
      "default": "butt"
    },
    "enable": {
      "type": "boolean"
    },
    "join": {
      "type": "string",
      "description": "Shape of the intersection of two line segments.",
      "enum": [
        "bevel",
        "miter",
        "round"
      ],
      "default": "miter"
    },
    "material": {
      "$ref": "material_schema.json"
    },
    "size": {
      "type": "number",
      "description": "Line width in points, positive only",
      "minimum": 0
    },
    "type": {
      "type": "string",
      "description": "Specifies the type of symbol used.",
      "enum": [
        "Line"
      ]
    }
  },
  "required": [
    "size",
    "type"
  ],
  "additionalProperties": false,
  "esriDocumentation": {
    "examples": [
      {
        "title": "Line SymbolLayer",
        "code": {
          "symbolLayers": [
            {
              "type": "Line",
              "material": {
                "color": [
                  255,
                  0,
                  0
                ]
              },
              "size": 12,
              "cap": "round",
              "join": "round"
            }
          ]
        }
      }
    ]
  }
}
