TM Forum · Schema

RelatedPlaceRefOrValue_FVO

TelcoTelecommunicationsBSSOSSOpen APIsStandards
View JSON Schema on GitHub

JSON Schema

tm-forum-relatedplacereforvalue-fvo-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/RelatedPlaceRefOrValue_FVO",
  "title": "RelatedPlaceRefOrValue_FVO",
  "allOf": [
    {
      "$ref": "#/components/schemas/Extensible_FVO"
    },
    {
      "type": "object",
      "description": "Entity reference. The polymorphic attributes @type, @schemaLocation & @referredType are related to the RelatedPlace entity and not the RelatedPlaceRefOrValue class itself",
      "properties": {
        "role": {
          "type": "string"
        },
        "place": {
          "$ref": "#/components/schemas/PlaceRefOrValue_FVO"
        }
      },
      "required": [
        "role",
        "place"
      ]
    }
  ],
  "discriminator": {
    "propertyName": "@type",
    "mapping": {
      "RelatedPlaceRefOrValue": "#/components/schemas/RelatedPlaceRefOrValue_FVO"
    }
  }
}