Adobe Analytics · JSON Structure

Adobe Analytics Calculated Metric Create Structure

Payload for creating or updating a calculated metric

Type: object Properties: 5 Required: 3
AdobeAnalyticsBusiness IntelligenceCustomer IntelligenceDigital MarketingMarketingWeb Analytics

CalculatedMetricCreate is a JSON Structure definition published by Adobe Analytics, describing 5 properties, of which 3 are required. It conforms to the https://json-structure.org/draft/2020-12/schema meta-schema.

Properties

name description rsid definition type

Meta-schema: https://json-structure.org/draft/2020-12/schema

JSON Structure

Raw ↑
{
  "type": "object",
  "description": "Payload for creating or updating a calculated metric",
  "name": "CalculatedMetricCreate",
  "properties": {
    "name": {
      "type": "string",
      "description": "Display name"
    },
    "description": {
      "type": "string",
      "description": "Description of what the metric measures"
    },
    "rsid": {
      "type": "string",
      "description": "Report suite ID"
    },
    "definition": {
      "type": "object",
      "description": "The formula definition"
    },
    "type": {
      "type": "string",
      "description": "The metric output type",
      "enum": [
        "DECIMAL",
        "TIME",
        "PERCENT",
        "CURRENCY"
      ]
    }
  },
  "required": [
    "name",
    "rsid",
    "definition"
  ],
  "$schema": "https://json-structure.org/draft/2020-12/schema"
}