TM Forum · Schema

Expression

TelcoTelecommunicationsBSSOSSOpen APIsStandards
View JSON Schema on GitHub

JSON Schema

tm-forum-expression-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Expression",
  "title": "Expression",
  "allOf": [
    {
      "$ref": "#/components/schemas/Extensible"
    },
    {
      "type": "object",
      "description": "Expression is the ontology-encoded form of the Intent",
      "properties": {
        "expressionLanguage": {
          "$ref": "#/components/schemas/ExpressionLanguageEnum"
        },
        "iri": {
          "type": "string",
          "description": "Internationalized Resource Identifier of the intent Expression"
        },
        "expressionValue": {
          "type": "string",
          "description": "expression value is the ontology-encoded form of the Intent such as RDF-XML, Turtle, Json-LD,..."
        }
      }
    }
  ],
  "discriminator": {
    "propertyName": "@type",
    "mapping": {
      "Expression": "#/components/schemas/Expression"
    }
  }
}