{
  "description": "This is the interface description of @AnalyticsDetails.",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://sap.github.io/csn-interop-specification/spec-v1/analytics-details.schema.json#",
  "title": "AnalyticsDetails Document",
  "type": "object",
  "definitions": {
    "@AnalyticsDetails.measureType": {
      "description": "Specifies in which way a measure should treated.",
      "type": "object",
      "properties": {
        "#": {
          "type": "string",
          "description": "Provide the value in `{ \"#\": \"<value>\" }` enum notation.",
          "oneOf": [
            {
              "const": "BASE",
              "description": "Measure from the provider."
            },
            {
              "const": "RESTRICTION",
              "description": "Restricted measure."
            },
            {
              "const": "CALCULATION",
              "description": "Calculated measure (formula)."
            }
          ]
        }
      },
      "additionalProperties": false,
      "required": [
        "#"
      ],
      "x-extension-targets": [
        "Type"
      ],
      "examples": [
        {
          "#": "BASE"
        }
      ],
      "title": "@AnalyticsDetails.measureType"
    }
  }
}