TM Forum · Schema

OrderRelationship

TelcoTelecommunicationsBSSOSSOpen APIsStandards
View JSON Schema on GitHub

JSON Schema

tm-forum-orderrelationship-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/OrderRelationship",
  "title": "OrderRelationship",
  "allOf": [
    {
      "$ref": "#/components/schemas/Extensible"
    },
    {
      "$ref": "#/components/schemas/EntityRef"
    },
    {
      "type": "object",
      "description": "Used to describe relationship between order.",
      "properties": {
        "@referredType": {
          "type": "string",
          "description": "The actual type of the target instance when needed for disambiguation."
        },
        "id": {
          "type": "string",
          "description": "Id of the related order"
        },
        "relationshipType": {
          "type": "string",
          "description": "Relationship type as correlates, triggers, etc..."
        }
      }
    }
  ],
  "discriminator": {
    "propertyName": "@type",
    "mapping": {
      "OrderRelationship": "#/components/schemas/OrderRelationship"
    }
  }
}