TM Forum · Schema

AttachmentRef

TelcoTelecommunicationsBSSOSSOpen APIsStandards
View JSON Schema on GitHub

JSON Schema

tm-forum-attachmentref-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/AttachmentRef",
  "title": "AttachmentRef",
  "allOf": [
    {
      "$ref": "#/components/schemas/EntityRef"
    },
    {
      "type": "object",
      "description": "Attachment reference. An attachment complements the description of an element (for instance a product) through video, pictures",
      "properties": {
        "description": {
          "type": "string",
          "description": "A narrative text describing the content of the attachment"
        },
        "url": {
          "description": "Link to the attachment media/content",
          "type": "string"
        }
      }
    }
  ],
  "discriminator": {
    "propertyName": "@type",
    "mapping": {
      "AttachmentRef": "#/components/schemas/AttachmentRef"
    }
  }
}