TM Forum · Schema

PlaceRefOrValue_MVO

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

TelcoTelecommunicationsBSSOSSOpen APIsStandards
View JSON Schema on GitHub

JSON Schema

tm-forum-placereforvalue-mvo-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/PlaceRefOrValue_MVO",
  "title": "PlaceRefOrValue_MVO",
  "type": "object",
  "description": "The polymorphic attributes @type, @schemaLocation & @referredType are related to the Place entity and not the PlaceRefOrValue class itself",
  "oneOf": [
    {
      "$ref": "#/components/schemas/GeographicLocation_MVO"
    },
    {
      "$ref": "#/components/schemas/GeographicSite_MVO"
    },
    {
      "$ref": "#/components/schemas/GeographicAddress_MVO"
    },
    {
      "$ref": "#/components/schemas/PlaceRef_MVO"
    }
  ],
  "discriminator": {
    "propertyName": "@type",
    "mapping": {
      "GeographicLocation": "#/components/schemas/GeographicLocation_MVO",
      "GeographicSite": "#/components/schemas/GeographicSite_MVO",
      "GeographicAddress": "#/components/schemas/GeographicAddress_MVO",
      "PlaceRef": "#/components/schemas/PlaceRef_MVO"
    }
  }
}