Architectural Design Patterns · JSON Structure

Architectural Design Patterns Api Relationship Structure

Type: object Properties: 4
Design PatternsSoftware ArchitectureBest PracticesSoftware EngineeringSystem DesignMicroservices

Architectural Design Patterns Api Relationship Structure is a JSON Structure definition published by Architectural Design Patterns, describing 4 properties. It conforms to the https://json-structure.org/meta/extended/v0/# meta-schema.

Properties

sourcePatternId targetPatternId relationshipType description

Meta-schema: https://json-structure.org/meta/extended/v0/#

JSON Structure

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