Relationship

Design PatternsSoftware ArchitectureBest PracticesSoftware EngineeringSystem DesignMicroservices

Properties

Name Type Description
sourcePatternId string
targetPatternId string
relationshipType string
description string
View JSON Schema on GitHub

JSON Schema

architectural-design-patterns-api-relationship-schema.json Raw ↑
{
  "$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"
    }
  }
}