TM Forum · JSON Structure

Tmf622 Product Ordering Product Relationship Structure

ProductRelationship schema from TM Forum API

Type: Properties: 0
TelcoTelecommunicationsBSSOSSOpen APIsStandards

ProductRelationship is a JSON Structure definition published by TM Forum. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/tm-forum/refs/heads/main/json-structure/tmf622-product-ordering-product-relationship-structure.json",
  "name": "ProductRelationship",
  "description": "ProductRelationship schema from TM Forum API",
  "allOf": [
    {
      "$ref": "#/components/schemas/Extensible"
    },
    {
      "$ref": "#/components/schemas/EntityRef"
    },
    {
      "type": "object",
      "description": "Used to describe relationship between product.",
      "properties": {
        "id": {
          "type": "string",
          "description": "Id of the related product"
        },
        "relationshipType": {
          "type": "string",
          "description": "Relationship type as relies on, bundles, etc..."
        }
      }
    }
  ],
  "discriminator": {
    "propertyName": "@type",
    "mapping": {
      "ProductRelationship": "#/components/schemas/ProductRelationship"
    }
  }
}