Raw schema
{
"type": "object",
"properties": {
"action_id": {
"type": "string",
"minLength": 1,
"description": "Unique action-intent identifier"
},
"nonce": {
"type": "string",
"minLength": 8,
"description": "Unique anti-replay nonce"
},
"expires_at": {
"type": "string",
"description": "ISO-8601 action-intent expiry"
},
"subject": {
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1
},
"identity_verified": {
"type": "boolean"
}
},
"required": [
"id"
],
"additionalProperties": true
},
"action": {
"type": "object",
"properties": {
"tool": {
"type": "string",
"minLength": 1
},
"operation": {
"type": "string",
"minLength": 1
},
"consequence": {
"type": "string",
"enum": [
"read",
"write",
"send",
"deploy",
"payment",
"delete",
"account_mutation",
"external_submission",
"device_mutation"
]
},
"target": {
"type": "object",
"properties": {
"kind": {
"type": "string",
"minLength": 1
},
"id": {
"type": "string",
"minLength": 1
}
},
"required": [
"kind",
"id"
],
"additionalProperties": true
},
"parameters": {
"type": "object",
"additionalProperties": {}
}
},
"required": [
"tool",
"operation",
"consequence",
"target"
],
"additionalProperties": true
},
"authority": {
"type": "object",
"properties": {
"expires_at": {
"type": "string"
},
"subject_id": {
"type": "string",
"minLength": 1
},
"attestation_verified": {
"type": "boolean"
},
"allowed_tools": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 1
},
"allowed_operations": {
"type": "array",
"items": {
"type": "string",
"minLength": 1
},
"minItems": 1
},
"allowed_targets": {
"type": "array",
"items": {
"type": "object",
"properties": {
"kind": {
"type": "string",
"minLength": 1
},
"id": {
"type": "string",
"minLength": 1
}
},
"required": [
"kind",
"id"
],
"additionalProperties": true
},
"minItems": 1
},
"expected_parameters_hash": {
"type": "string"
},
"human_confirmation_required": {
"type": "boolean"
},
"human_confirmed": {
"type": "boolean"
},
"max_attempts": {
"type": "integer",
"exclusiveMinimum": 0
},
"allow_retry": {
"type": "boolean"
},
"postcondition_required": {
"type": "boolean"
}
},
"required": [
"expires_at",
"subject_id",
"allowed_tools",
"allowed_operations",
"allowed_targets"
],
"additionalProperties": true
},
"execution": {
"type": "object",
"properties": {
"attempt": {
"type": "integer",
"exclusiveMinimum": 0
},
"prior_outcome": {
"type": "string",
"enum": [
"NONE",
"KNOWN_NO_EFFECT",
"EFFECT_CONFIRMED",
"UNKNOWN"
]
},
"retry_authorized": {
"type": "boolean"
},
"idempotency_key": {
"type": "string"
}
},
"additionalProperties": true
},
"postcondition": {
"type": "object",
"properties": {
"type": {
"type": "string",
"minLength": 1
},
"authoritative_source": {
"type": "string",
"minLength": 1
}
},
"required": [
"type",
"authoritative_source"
],
"additionalProperties": true
}
},
"required": [
"action_id",
"nonce",
"expires_at",
"subject",
"action",
"authority"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}