TM Forum · Schema

ProductOfferingRelationship

TelcoTelecommunicationsBSSOSSOpen APIsStandards
View JSON Schema on GitHub

JSON Schema

tm-forum-productofferingrelationship-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ProductOfferingRelationship",
  "title": "ProductOfferingRelationship",
  "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."
        }
      }
    }
  ],
  "discriminator": {
    "propertyName": "@type",
    "mapping": {
      "ProductOfferingRelationship": "#/components/schemas/ProductOfferingRelationship"
    }
  }
}