TM Forum · Schema

ProductRefOrValue_FVO

The polymorphic attributes @type, @schemaLocation & @referredType are related to the Product entity and not the ProductRefOrValue class itself

TelcoTelecommunicationsBSSOSSOpen APIsStandards
View JSON Schema on GitHub

JSON Schema

tm-forum-productreforvalue-fvo-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ProductRefOrValue_FVO",
  "title": "ProductRefOrValue_FVO",
  "type": "object",
  "description": "The polymorphic attributes @type, @schemaLocation & @referredType are related to the Product entity and not the ProductRefOrValue class itself",
  "oneOf": [
    {
      "$ref": "#/components/schemas/Product_FVO"
    },
    {
      "$ref": "#/components/schemas/ProductRef_FVO"
    }
  ],
  "discriminator": {
    "propertyName": "@type",
    "mapping": {
      "Product": "#/components/schemas/Product_FVO",
      "ProductRef": "#/components/schemas/ProductRef_FVO"
    }
  }
}