{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Goal",
  "title": "Goal",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Goal name (action name)."
    },
    "conversions": {
      "type": "integer",
      "description": "Total conversions in the period."
    },
    "change": {
      "allOf": [
        {
          "$ref": "#/components/schemas/WoWChange"
        }
      ],
      "nullable": true,
      "description": "Period-over-period change in conversions, null when not meaningful."
    }
  },
  "required": [
    "change",
    "conversions",
    "name"
  ]
}