{
  "title": "Building Scene Sublayer",
  "type": "object",
  "$schema": "http://json-schema.org/draft-04/schema",
  "description": "The BuildingSceneLayer sublayer is a part of a building scene layer.",
  "properties": {
    "disablePopup": {
      "type": "boolean",
      "description": "disablePopups allows a client to ignore popups defined by the service item."
    },
    "id": {
      "type": "number",
      "description": "Identifies the sublayer inside the building scene layer."
    },
    "layerDefinition": {
      "type": "object",
      "description": "Additional properties that can define drawing information and a definition expression for the sublayer.",
      "allOf": [
        {
          "$ref": "layerDefinition_schema.json"
        },
        {
          "properties": {
            "definitionExpression": {},
            "drawingInfo": {
              "allOf": [
                {
                  "$ref": "drawingInfo_schema.json"
                },
                {
                  "properties": {
                    "renderer": {}
                  },
                  "additionalProperties": false
                }
              ]
            }
          },
          "additionalProperties": false
        }
      ]
    },
    "listMode": {
      "type": "string",
      "description": "To show or hide the sublayer in the layer list.",
      "enum": [
        "hide",
        "show"
      ]
    },
    "opacity": {
      "type": "number",
      "description": "The degree of transparency applied to the sublayer on the client side, where 0 is full transparency and 1 is no transparency. This is multiplied with the opacity of the containing layers.",
      "minimum": 0,
      "maximum": 1,
      "default": 1
    },
    "popupInfo": {
      "type": "object",
      "description": "A popupInfo object defining the content of pop-up windows when you click or query a feature.",
      "$ref": "popupInfo_schema.json"
    },
    "title": {
      "type": "string",
      "description": "A user-friendly string title for the sublayer that can be used in a table of contents."
    },
    "visibility": {
      "type": "boolean",
      "description": "Boolean property determining whether the sublayer is initially visible in the web scene"
    }
  },
  "required": [
    "id"
  ],
  "additionalProperties": false
}
