{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/amazon-iot-twinmaker/refs/heads/main/json-schema/iot-twinmaker-relationship-schema.json",
"title": "Relationship",
"description": "An object that specifies a relationship with another component type.",
"type": "object",
"properties": {
"targetComponentTypeId": {
"allOf": [
{
"$ref": "#/components/schemas/ComponentTypeId"
},
{
"description": "The ID of the target component type associated with this relationship."
}
]
},
"relationshipType": {
"allOf": [
{
"$ref": "#/components/schemas/String"
},
{
"description": "The type of the relationship."
}
]
}
}
}