TM Forum · Schema

Characteristic

Characteristic schema from TM Forum API

TelcoTelecommunicationsBSSOSSOpen APIsStandards
View JSON Schema on GitHub

JSON Schema

tmf637-product-inventory-characteristic-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/tm-forum/refs/heads/main/json-schema/tmf637-product-inventory-characteristic-schema.json",
  "title": "Characteristic",
  "description": "Characteristic schema from TM Forum API",
  "allOf": [
    {
      "$ref": "#/components/schemas/Extensible"
    },
    {
      "type": "object",
      "description": "Describes a given characteristic of an object or entity through a name/value pair.",
      "properties": {
        "id": {
          "type": "string",
          "description": "Unique identifier of the characteristic"
        },
        "name": {
          "type": "string",
          "description": "Name of the characteristic"
        },
        "valueType": {
          "type": "string",
          "description": "Data type of the value of the characteristic"
        },
        "characteristicRelationship": {
          "type": "array",
          "items": {
            "$ref": "#/components/schemas/CharacteristicRelationship"
          }
        }
      }
    }
  ],
  "discriminator": {
    "propertyName": "@type",
    "mapping": {
      "Characteristic": "#/components/schemas/Characteristic",
      "StringCharacteristic": "#/components/schemas/StringCharacteristic",
      "StringArrayCharacteristic": "#/components/schemas/StringArrayCharacteristic",
      "ObjectCharacteristic": "#/components/schemas/ObjectCharacteristic",
      "ObjectArrayCharacteristic": "#/components/schemas/ObjectArrayCharacteristic",
      "NumberCharacteristic": "#/components/schemas/NumberCharacteristic",
      "NumberArrayCharacteristic": "#/components/schemas/NumberArrayCharacteristic",
      "IntegerCharacteristic": "#/components/schemas/IntegerCharacteristic",
      "IntegerArrayCharacteristic": "#/components/schemas/IntegerArrayCharacteristic",
      "BooleanCharacteristic": "#/components/schemas/BooleanCharacteristic",
      "BooleanArrayCharacteristic": "#/components/schemas/BooleanArrayCharacteristic"
    }
  }
}