{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://github.com/yosefdot/implannotator/schemas/decision.schema.json",
  "title": "Implannotator decision",
  "type": "object",
  "required": ["at", "kind", "actor", "decision"],
  "properties": {
    "at": { "type": "string", "format": "date-time" },
    "kind": { "type": "string" },
    "actor": { "enum": ["user", "agent", "system"] },
    "decision": { "type": "string" },
    "reason": { "type": "string" },
    "warned": { "type": "boolean" }
  },
  "additionalProperties": false
}
