TM Forum · Schema

ProductPrice_FVO

TelcoTelecommunicationsBSSOSSOpen APIsStandards
View JSON Schema on GitHub

JSON Schema

tm-forum-productprice-fvo-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ProductPrice_FVO",
  "title": "ProductPrice_FVO",
  "allOf": [
    {
      "$ref": "#/components/schemas/Extensible_FVO"
    },
    {
      "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_FVO"
        },
        "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_FVO"
        },
        "priceAlteration": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/PriceAlteration_FVO"
          }
        },
        "priceType": {
          "type": "string",
          "description": "indicate if the price is for recurrent or no-recurrent charge"
        }
      },
      "required": [
        "priceType",
        "price"
      ]
    }
  ],
  "discriminator": {
    "propertyName": "@type",
    "mapping": {
      "ProductPrice": "#/components/schemas/ProductPrice_FVO"
    }
  }
}