{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/architectural-design-patterns/refs/heads/main/json-schema/architectural-design-patterns-api-relationship-schema.json", "title": "Relationship", "type": "object", "properties": { "sourcePatternId": { "type": "string" }, "targetPatternId": { "type": "string" }, "relationshipType": { "type": "string", "enum": [ "uses", "extends", "alternative", "related", "conflicts" ] }, "description": { "type": "string" } } }