{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/WoWChange",
  "title": "WoWChange",
  "type": "object",
  "properties": {
    "percent": {
      "type": "integer",
      "description": "Absolute percentage change, rounded to nearest integer."
    },
    "direction": {
      "allOf": [
        {
          "$ref": "#/components/schemas/DirectionEnum"
        }
      ],
      "description": "Direction of the change relative to the prior period.\n\n* `Up` - Up\n* `Down` - Down"
    },
    "color": {
      "type": "string",
      "description": "Hex color indicating whether the change is a positive or negative signal."
    },
    "text": {
      "type": "string",
      "description": "Short label, e.g. 'Up 12%'."
    },
    "long_text": {
      "type": "string",
      "description": "Verbose label, e.g. 'Up 12% from prior period'."
    }
  },
  "required": [
    "color",
    "direction",
    "long_text",
    "percent",
    "text"
  ]
}