{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/cesium/main/json-schema/cesium-external-asset-endpoint-schema.json",
  "title": "External Asset Endpoint",
  "x-generated": "2026-10-13",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/cesium-api-openapi.yml#/components/schemas/ExternalAssetEndpoint",
  "type": "object",
  "properties": {
    "externalType": {
      "type": "string",
      "description": "Provides credentials and options to access a third-party services."
    },
    "type": {
      "$ref": "#/$defs/AssetType"
    },
    "attributions": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/AssetEndpointAttribution"
      }
    }
  },
  "$defs": {
    "AssetEndpointAttribution": {
      "type": "object",
      "properties": {
        "html": {
          "description": "An HTML string defining the asset's required attribution. The rendered HTML must be accessible to the end users of your application.",
          "type": "string"
        },
        "collapsible": {
          "description": "If true, the rendered HTML must be shown on screen as long as the associated asset is also on screen. If false, the HTML can be shown on a separate panel or page.",
          "type": "boolean"
        }
      }
    },
    "AssetType": {
      "type": "string",
      "enum": [
        "3DTILES",
        "GLTF",
        "IMAGERY",
        "TERRAIN",
        "KML",
        "CZML",
        "GEOJSON"
      ],
      "description": "This asset's [type](#tag/Assets)."
    }
  }
}