TM Forum · Schema

RelatedOrderItem

RelatedOrderItem schema from TM Forum API

TelcoTelecommunicationsBSSOSSOpen APIsStandards
View JSON Schema on GitHub

JSON Schema

tmf637-product-inventory-related-order-item-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/tm-forum/refs/heads/main/json-schema/tmf637-product-inventory-related-order-item-schema.json",
  "title": "RelatedOrderItem",
  "description": "RelatedOrderItem schema from TM Forum API",
  "allOf": [
    {
      "$ref": "#/components/schemas/Extensible"
    },
    {
      "type": "object",
      "description": "It's a Order item that has been executed previously.",
      "properties": {
        "orderItemAction": {
          "$ref": "#/components/schemas/ItemActionType"
        },
        "orderHref": {
          "type": "string",
          "description": "Reference of the related entity."
        },
        "@referredType": {
          "type": "string",
          "description": "The actual type of the target instance when needed for disambiguation."
        },
        "role": {
          "type": "string",
          "description": "Role played by the  Order"
        },
        "orderId": {
          "type": "string",
          "description": "Unique identifier of a related  Order."
        },
        "orderItemId": {
          "type": "string",
          "description": "Id of an item of a prduct order"
        }
      }
    }
  ],
  "discriminator": {
    "propertyName": "@type",
    "mapping": {
      "RelatedOrderItem": "#/components/schemas/RelatedOrderItem"
    }
  }
}