{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://super-calendar.io/agents/self-test.schema.json",
  "title": "Super Calendar Agent Contract Self-Test",
  "type": "object",
  "required": ["name", "version", "kind", "status", "scope", "checks", "limitations"],
  "properties": {
    "$schema": { "type": "string" },
    "name": { "type": "string" },
    "version": { "type": "string" },
    "kind": { "const": "agent-contract-self-test" },
    "status": { "enum": ["pass", "fail"] },
    "scope": { "type": "string" },
    "checks": {
      "type": "object",
      "additionalProperties": {
        "type": "object",
        "required": ["status"],
        "properties": {
          "status": { "const": "pass" }
        },
        "additionalProperties": true
      }
    },
    "limitations": {
      "type": "array",
      "items": { "type": "string" }
    }
  },
  "additionalProperties": false
}
