{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/equity-rank-com/json-schema/equity-rank-com-actions-usage-report-schema.json",
  "title": "ActionsUsageReport",
  "description": "The summary `scripts/actions-usage.mjs` writes, reduced to what is stored.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/equity-rank-com-ingest-api-openapi.yml#/components/schemas/ActionsUsageReport",
  "properties": {
    "month": {
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}$",
      "title": "Month"
    },
    "level": {
      "type": "string",
      "enum": [
        "ok",
        "warning",
        "critical"
      ],
      "title": "Level"
    },
    "minutes_to_date": {
      "type": "integer",
      "minimum": 0.0,
      "title": "Minutes To Date"
    },
    "projected_minutes": {
      "type": "integer",
      "minimum": 0.0,
      "title": "Projected Minutes"
    },
    "projected_usd": {
      "type": "number",
      "minimum": 0.0,
      "title": "Projected Usd"
    },
    "message": {
      "type": "string",
      "maxLength": 600,
      "minLength": 1,
      "title": "Message"
    }
  },
  "type": "object",
  "required": [
    "month",
    "level",
    "minutes_to_date",
    "projected_minutes",
    "projected_usd",
    "message"
  ]
}