TM Forum · Schema

ProductPrice

ProductPrice schema from TM Forum API

TelcoTelecommunicationsBSSOSSOpen APIsStandards
View JSON Schema on GitHub

JSON Schema

tmf622-product-ordering-product-price-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/tmf622-product-ordering-product-price-schema.json",
  "title": "ProductPrice",
  "description": "ProductPrice schema from TM Forum API",
  "allOf": [
    {
      "$ref": "#/components/schemas/Extensible"
    },
    {
      "type": "object",
      "description": "Description of price and discount awarded",
      "properties": {
        "description": {
          "type": "string",
          "description": "Description of the Product price"
        },
        "name": {
          "type": "string",
          "description": "Name of the Product price"
        },
        "productOfferingPrice": {
          "$ref": "#/components/schemas/ProductOfferingPriceRef"
        },
        "recurringChargePeriod": {
          "type": "string",
          "description": "Used for recurring charge to indicate period (month, week, etc..)."
        },
        "unitOfMeasure": {
          "type": "string",
          "description": "Unit of Measure if price depending on it (Gb, SMS volume, etc..)"
        },
        "price": {
          "$ref": "#/components/schemas/Price"
        },
        "priceAlteration": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/PriceAlteration"
          }
        },
        "priceType": {
          "type": "string",
          "description": "indicate if the price is for recurrent or no-recurrent charge"
        }
      }
    }
  ],
  "discriminator": {
    "propertyName": "@type",
    "mapping": {
      "ProductPrice": "#/components/schemas/ProductPrice"
    }
  }
}