TM Forum · Schema

OrderItemRelationship

TelcoTelecommunicationsBSSOSSOpen APIsStandards
View JSON Schema on GitHub

JSON Schema

tm-forum-orderitemrelationship-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/OrderItemRelationship",
  "title": "OrderItemRelationship",
  "allOf": [
    {
      "$ref": "#/components/schemas/Extensible"
    },
    {
      "type": "object",
      "description": "Used to describe relationship between Order item. These relationship could have an impact on pricing and conditions",
      "properties": {
        "id": {
          "type": "string",
          "description": "Id of the related Order item (must be in the same Order)"
        },
        "relationshipType": {
          "type": "string",
          "description": "Relationship type as relies on, bundles, etc..."
        }
      }
    }
  ],
  "discriminator": {
    "propertyName": "@type",
    "mapping": {
      "OrderItemRelationship": "#/components/schemas/OrderItemRelationship"
    }
  }
}