{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/amazon-iot-sitewise/refs/heads/main/json-schema/iot-sitewise-asset-model-hierarchies-schema.json",
"title": "AssetModelHierarchies",
"description": "AssetModelHierarchies schema",
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"childAssetModelId"
],
"properties": {
"id": {
"allOf": [
{
"$ref": "#/components/schemas/ID"
},
{
"description": "The ID of the asset model hierarchy. This ID is a hierarchyId."
}
]
},
"name": {
"allOf": [
{
"$ref": "#/components/schemas/Name"
},
{
"description": "The name of the asset model hierarchy that you specify by using the CreateAssetModel or UpdateAssetModel API operation."
}
]
},
"childAssetModelId": {
"allOf": [
{
"$ref": "#/components/schemas/ID"
},
{
"description": "The ID of the asset model. All assets in this hierarchy must be instances of the childAssetModelId asset model."
}
]
}
},
"description": "Describes an asset hierarchy that contains a hierarchy's name, ID, and child asset model ID that specifies the type of asset that can be in this hierarchy."
}
}