{
"$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-hierarchy-definition-schema.json",
"title": "AssetModelHierarchyDefinition",
"description": "Contains an asset model hierarchy used in asset model creation. An asset model hierarchy determines the kind (or type) of asset that can belong to a hierarchy.",
"type": "object",
"properties": {
"name": {
"allOf": [
{
"$ref": "#/components/schemas/Name"
},
{
"description": "The name of the asset model hierarchy definition (as specified in the CreateAssetModel or UpdateAssetModel API operation)."
}
]
},
"childAssetModelId": {
"allOf": [
{
"$ref": "#/components/schemas/ID"
},
{
"description": "The ID of an asset model for this hierarchy."
}
]
}
},
"required": [
"name",
"childAssetModelId"
]
}