{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "sequence_id": {
      "type": "integer",
      "minimum": 1,
      "maximum": 9007199254740991
    },
    "type": {
      "type": "string",
      "enum": [
        "agent.registered",
        "job.offered",
        "job.accepted",
        "job.declined",
        "grant.issued",
        "input.delivered",
        "output.submitted",
        "job.scored",
        "job.failed",
        "job.expired",
        "grant.revoked"
      ]
    },
    "at": {
      "type": "string",
      "format": "date-time",
      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:Z))$",
      "description": "UTC date-time at second precision, ending in Z."
    },
    "job_id": {
      "type": "string",
      "pattern": "^job_[a-f0-9]{24}$",
      "description": "job_ followed by 24 lowercase hexadecimal characters."
    }
  },
  "required": [
    "sequence_id",
    "type",
    "at",
    "job_id"
  ],
  "additionalProperties": false,
  "description": "Session-scoped ordered event, without content. Local evaluation events are not a signed or hash-chain audit log.",
  "title": "EventItem",
  "$comment": "owp-eval-local/0.1; synthetic loopback evaluation only."
}
