TM Forum · Schema

ProductOfferingRelationship_MVO

TelcoTelecommunicationsBSSOSSOpen APIsStandards
View JSON Schema on GitHub

JSON Schema

tm-forum-productofferingrelationship-mvo-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ProductOfferingRelationship_MVO",
  "title": "ProductOfferingRelationship_MVO",
  "allOf": [
    {
      "$ref": "#/components/schemas/EntityRef"
    },
    {
      "type": "object",
      "description": "A relationship between two product Offerings.",
      "properties": {
        "role": {
          "type": "string",
          "description": "The association role for the source product offering"
        },
        "name": {
          "type": "string",
          "description": "Name of the referred product offering type."
        },
        "validFor": {
          "$ref": "#/components/schemas/TimePeriod"
        },
        "relationshipType": {
          "type": "string",
          "description": "Type of relationship between product offerings such as requires, exchangableTo, optionalFor"
        },
        "version": {
          "type": "string",
          "description": "Version of the referred product offering."
        }
      },
      "required": [
        "id",
        "relationshipType"
      ]
    }
  ],
  "discriminator": {
    "propertyName": "@type",
    "mapping": {
      "ProductOfferingRelationship": "#/components/schemas/ProductOfferingRelationship_MVO"
    }
  }
}