{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-iot-sitewise/json-schema/amazon-iot-sitewise-describe-asset-composite-model-response-schema.json",
  "title": "DescribeAssetCompositeModelResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-iot-sitewise-composite-models-api-openapi.yml#/components/schemas/DescribeAssetCompositeModelResponse",
  "type": "object",
  "properties": {
    "assetId": {
      "type": "string",
      "description": "The ID of the asset, in UUID format. This ID uniquely identifies the asset within IoT SiteWise and can be used with other IoT SiteWise APIs."
    },
    "assetCompositeModelId": {
      "type": "string",
      "description": "The ID of a composite model on this asset."
    },
    "assetCompositeModelExternalId": {
      "type": "string",
      "description": "An external ID to assign to the asset model. If the composite model is a component-based composite model, or one nested inside a component model, you can only set the external ID using UpdateAssetModelCompositeModel and specifying the derived ID of the model or property from the created model it's a part of."
    },
    "assetCompositeModelPath": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/AssetCompositeModelPathSegment"
      },
      "description": "The path to the composite model listing the parent composite models."
    },
    "assetCompositeModelName": {
      "type": "string",
      "description": "The unique, friendly name for the composite model."
    },
    "assetCompositeModelDescription": {
      "type": "string",
      "description": "A description for the composite model."
    },
    "assetCompositeModelType": {
      "type": "string",
      "description": "The composite model type. Valid values are AWS/ALARM, CUSTOM, or AWS/L4E_ANOMALY."
    },
    "assetCompositeModelProperties": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/AssetProperty"
      },
      "description": "The property definitions of the composite model that was used to create the asset."
    },
    "assetCompositeModelSummaries": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/AssetCompositeModelSummary"
      },
      "description": "The list of composite model summaries."
    },
    "actionDefinitions": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ActionDefinition"
      },
      "description": "The available actions for a composite model on this asset."
    }
  },
  "required": [
    "assetId",
    "assetCompositeModelId",
    "assetCompositeModelPath",
    "assetCompositeModelName",
    "assetCompositeModelDescription",
    "assetCompositeModelType",
    "assetCompositeModelProperties",
    "assetCompositeModelSummaries"
  ],
  "$defs": {
    "ActionDefinition": {
      "type": "object",
      "properties": {
        "actionDefinitionId": {
          "type": "string",
          "description": "The ID of the action definition."
        },
        "actionName": {
          "type": "string",
          "description": "The name of the action definition."
        },
        "actionType": {
          "type": "string",
          "description": "The type of the action definition."
        }
      },
      "required": [
        "actionDefinitionId",
        "actionName",
        "actionType"
      ]
    },
    "AssetCompositeModelPathSegment": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "The ID of the path segment."
        },
        "name": {
          "type": "string",
          "description": "The name of the path segment."
        }
      }
    },
    "AssetCompositeModelSummary": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "The ID of the composite model that this summary describes."
        },
        "externalId": {
          "type": "string",
          "description": "An external ID to assign to the asset model. If the composite model is a derived composite model, or one nested inside a component model, you can only set the external ID using UpdateAssetModelCompositeModel and specifying the derived ID of the model or property from the created model it's a part of."
        },
        "name": {
          "type": "string",
          "description": "The name of the composite model that this summary describes."
        },
        "type": {
          "type": "string",
          "description": "The type of asset model. ASSET_MODEL – (default) An asset model that you can use to create assets. Can't be included as a component in another asset model. COMPONENT_MODEL – A reusable component that you can include in the composite models of other asset models. You can't create assets directly from this type of asset model."
        },
        "description": {
          "type": "string",
          "description": "A description of the composite model that this summary describes."
        },
        "path": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/AssetCompositeModelPathSegment"
          },
          "description": "The path that includes all the components of the asset model for the asset."
        }
      },
      "required": [
        "id",
        "name",
        "type",
        "description",
        "path"
      ]
    },
    "AssetProperty": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "The ID of the asset property."
        },
        "externalId": {
          "type": "string",
          "description": "The external ID of the asset property. For more information, see Using external IDs in the IoT SiteWise User Guide."
        },
        "name": {
          "type": "string",
          "description": "The name of the property."
        },
        "alias": {
          "type": "string",
          "description": "The alias that identifies the property, such as an OPC-UA server data stream path (for example, /company/windfarm/3/turbine/7/temperature). For more information, see Mapping industrial data streams to asset properties in the IoT SiteWise User Guide."
        },
        "notification": {
          "$ref": "#/$defs/PropertyNotification"
        },
        "dataType": {
          "type": "string",
          "enum": [
            "STRING",
            "INTEGER",
            "DOUBLE",
            "BOOLEAN",
            "STRUCT",
            "VIDEO",
            "ANNOTATION",
            "JSON"
          ],
          "description": "The data type of the asset property."
        },
        "dataTypeSpec": {
          "type": "string",
          "description": "The data type of the structure for this property. This parameter exists on properties that have the STRUCT data type."
        },
        "unit": {
          "type": "string",
          "description": "The unit (such as Newtons or RPM) of the asset property."
        },
        "path": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/AssetPropertyPathSegment"
          },
          "description": "The structured path to the property from the root of the asset."
        }
      },
      "required": [
        "id",
        "name",
        "dataType"
      ]
    },
    "AssetPropertyPathSegment": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string",
          "description": "The ID of the path segment."
        },
        "name": {
          "type": "string",
          "description": "The name of the path segment."
        }
      }
    },
    "PropertyNotification": {
      "type": "object",
      "properties": {
        "topic": {
          "type": "string",
          "description": "The MQTT topic to which IoT SiteWise publishes property value update notifications."
        },
        "state": {
          "type": "string",
          "enum": [
            "ENABLED",
            "DISABLED"
          ],
          "description": "The current notification state."
        }
      },
      "required": [
        "topic",
        "state"
      ]
    }
  }
}