TM Forum · Schema

RelatedOrderItem_FVO

TelcoTelecommunicationsBSSOSSOpen APIsStandards
View JSON Schema on GitHub

JSON Schema

tm-forum-relatedorderitem-fvo-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/RelatedOrderItem_FVO",
  "title": "RelatedOrderItem_FVO",
  "allOf": [
    {
      "$ref": "#/components/schemas/Extensible_FVO"
    },
    {
      "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"
        }
      },
      "required": [
        "role",
        "orderId",
        "orderItemId"
      ]
    }
  ],
  "discriminator": {
    "propertyName": "@type",
    "mapping": {
      "RelatedOrderItem": "#/components/schemas/RelatedOrderItem_FVO"
    }
  }
}