{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-config/refs/heads/main/json-schema/config-relationship-schema.json", "title": "Relationship", "description": "The relationship of the related resource to the main resource.", "type": "object", "properties": { "resourceType": { "allOf": [ { "$ref": "#/components/schemas/ResourceType" }, { "description": "The resource type of the related resource." } ] }, "resourceId": { "allOf": [ { "$ref": "#/components/schemas/ResourceId" }, { "description": "The ID of the related resource (for example, sg-xxxxxx)." } ] }, "resourceName": { "allOf": [ { "$ref": "#/components/schemas/ResourceName" }, { "description": "The custom name of the related resource, if available." } ] }, "relationshipName": { "allOf": [ { "$ref": "#/components/schemas/RelationshipName" }, { "description": "The type of relationship with the related resource." } ] } } }