{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/mindcloud/json-schema/mindcloud-usage-summary-schema.json",
  "title": "UsageSummary",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/mindcloud-usage-api-openapi.yml#/components/schemas/UsageSummary",
  "type": "object",
  "properties": {
    "periodStart": {
      "type": [
        "string",
        "null"
      ],
      "description": "First day of the current period."
    },
    "periodEnd": {
      "type": [
        "string",
        "null"
      ],
      "description": "Last day of the current period."
    },
    "usedTasks": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Tasks used so far this period."
    },
    "taskLimit": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Your task limit for the period."
    },
    "softLimitEnabled": {
      "type": [
        "boolean",
        "null"
      ],
      "description": "True when passing the limit warns instead of blocking."
    }
  },
  "required": [
    "periodStart",
    "periodEnd",
    "usedTasks",
    "taskLimit",
    "softLimitEnabled"
  ]
}