TM Forum · Schema

CancelProductOrder

TelcoTelecommunicationsBSSOSSOpen APIsStandards
View JSON Schema on GitHub

JSON Schema

tm-forum-cancelproductorder-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CancelProductOrder",
  "title": "CancelProductOrder",
  "allOf": [
    {
      "$ref": "#/components/schemas/Entity"
    },
    {
      "type": "object",
      "description": "Request for cancellation an existing product order",
      "properties": {
        "productOrder": {
          "$ref": "#/components/schemas/ProductOrderRef"
        },
        "creationDate": {
          "type": "string",
          "format": "date-time",
          "description": "Date and time when the CancelProductOrder was created"
        },
        "requestedCancellationDate": {
          "type": "string",
          "format": "date-time",
          "description": "Date when the submitter wants the order to be cancelled"
        },
        "cancellationReason": {
          "type": "string",
          "description": "Reason why the order is cancelled."
        },
        "state": {
          "$ref": "#/components/schemas/TaskStateType"
        },
        "effectiveCancellationDate": {
          "type": "string",
          "format": "date-time",
          "description": "Date when the order is cancelled."
        }
      }
    }
  ],
  "discriminator": {
    "propertyName": "@type",
    "mapping": {
      "CancelProductOrder": "#/components/schemas/CancelProductOrder"
    }
  }
}