{
"$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-hierarchy-schema.json",
"title": "AssetHierarchy",
"description": "Describes an asset hierarchy that contains a hierarchy's name and ID.",
"type": "object",
"properties": {
"id": {
"allOf": [
{
"$ref": "#/components/schemas/ID"
},
{
"description": "The ID of the hierarchy. This ID is a hierarchyId."
}
]
},
"name": {
"allOf": [
{
"$ref": "#/components/schemas/Name"
},
{
"description": "The hierarchy name provided in the CreateAssetModel or UpdateAssetModel API operation."
}
]
}
},
"required": [
"name"
]
}