{
  "description": "This is the interface description of @EndUserText.",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://sap.github.io/csn-interop-specification/spec-v1/end-user-text.schema.json#",
  "title": "EndUserText Document",
  "type": "object",
  "definitions": {
    "@EndUserText.label": {
      "type": "string",
      "description": "The property contains a human-readable text to be displayed on UIs (besides or instead of the technical name).\n\nCorresponds to CAP CDS `@title` annotation.",
      "examples": [
        "Sales Order Header",
        "{i18n>AD01PROFNR@ENDUSERTEXT.LABEL}"
      ],
      "x-extension-targets": [
        "Entity",
        "Type",
        "Service",
        "Context",
        "EnumDictionaryEntry"
      ],
      "title": "@EndUserText.label"
    },
    "@EndUserText.heading": {
      "type": "string",
      "description": "Defines a human-readable text that is displayed as column headers.",
      "x-extension-targets": [
        "Type"
      ],
      "title": "@EndUserText.heading"
    },
    "@EndUserText.quickInfo": {
      "type": "string",
      "description": "Defines a human-readable text that provides additional information compared to the label text.\nThe quickInfo is used for accessibility hints or the \"Mouse over\" function.\n\nCorresponds to CAP CDS `@description` annotation.",
      "examples": [
        "Sales Order Header that contains data relevant for all items"
      ],
      "x-extension-targets": [
        "Entity",
        "Type",
        "Service",
        "Context",
        "EnumDictionaryEntry"
      ],
      "title": "@EndUserText.quickInfo"
    }
  },
  "examples": [
    {
      "csnInteropEffective": "1.2",
      "$version": "2.0",
      "definitions": {
        "SalesOrderHeader": {
          "kind": "type",
          "type": "cds.String",
          "@EndUserText.label": "Sales Order Header",
          "@EndUserText.quickInfo": "Sales Order Header that contains data relevant for all items"
        }
      }
    },
    {
      "csnInteropEffective": "1.2",
      "$version": "2.0",
      "definitions": {
        "AD01PROFNR": {
          "kind": "type",
          "type": "cds.String",
          "length": 8,
          "@EndUserText.heading": "{i18n>AD01PROFNR@ENDUSERTEXT.HEADING}",
          "@EndUserText.label": "{i18n>AD01PROFNR@ENDUSERTEXT.LABEL}",
          "@EndUserText.quickInfo": "{i18n>AD01PROFNR@ENDUSERTEXT.QUICKINFO}"
        }
      }
    }
  ]
}