Verify a submitted non-confidential ProofRelay V2 evidence bundle for hash integrity, monotonic ordering, signatures, and chain continuity. Legacy V1 is available only in non-public runtime roles. Caller-supplied public keys do not establish registered producer identity or authority. The tool does not charge, settle, mutate storage, or certify external facts.
View input schema
{
"type": "object",
"properties": {
"bundle": {
"oneOf": [
{
"properties": {
"v": {
"type": "integer"
},
"bundle_hash": {
"type": "string"
},
"created_ts_ms": {
"type": "integer"
},
"service": {
"type": "string"
},
"count": {
"type": "integer"
},
"receipt_ids": {
"items": {
"type": "string"
},
"type": "array"
},
"events": {
"items": {
"$ref": "#/$defs/ReceiptEvent"
},
"type": "array"
}
},
"required": [
"bundle_hash",
"created_ts_ms",
"service",
"count",
"receipt_ids",
"events"
],
"type": "object"
},
{
"additionalProperties": false,
"properties": {
"schema": {
"const": "io.genesisre.proofrelay.evidence-bundle.v2",
"type": "string"
},
"canonicalization": {
"const": "RFC8785-JCS",
"type": "string"
},
"hash_algorithm": {
"const": "SHA-256",
"type": "string"
},
"tenant_id": {
"maxLength": 128,
"minLength": 1,
"pattern": "^[a-z0-9](?:[a-z0-9._:-]*[a-z0-9])?$",
"type": "string"
},
"service_id": {
"maxLength": 128,
"minLength": 1,
"pattern": "^[a-z0-9](?:[a-z0-9._:-]*[a-z0-9])?$",
"type": "string"
},
"created_at_ms": {
"maximum": 9223372036854776000,
"minimum": 0,
"type": "integer"
},
"sequence_start": {
"minimum": 1,
"type": "integer"
},
"sequence_end": {
"minimum": 1,
"type": "integer"
},
"event_count": {
"maximum": 10000,
"minimum": 1,
"type": "integer"
},
"events": {
"items": {
"$ref": "#/$defs/EvidenceEventV2"
},
"maxItems": 10000,
"minItems": 1,
"type": "array"
},
"bundle_hash": {
"pattern": "^sha256:[0-9a-f]{64}$",
"type": "string"
}
},
"required": [
"tenant_id",
"service_id",
"created_at_ms",
"sequence_start",
"sequence_end",
"event_count",
"events",
"bundle_hash"
],
"type": "object"
}
]
},
"public_keys": {
"type": "array",
"maxItems": 128,
"items": {
"additionalProperties": false,
"properties": {
"tenant_id": {
"maxLength": 128,
"minLength": 1,
"type": "string"
},
"service_id": {
"maxLength": 128,
"minLength": 1,
"type": "string"
},
"key_id": {
"maxLength": 128,
"minLength": 1,
"type": "string"
},
"jwk": {
"additionalProperties": true,
"type": "object"
}
},
"required": [
"tenant_id",
"service_id",
"key_id",
"jwk"
],
"type": "object"
}
},
"require_signature": {
"type": "boolean"
},
"require_chain": {
"type": "boolean"
}
},
"required": [
"bundle"
],
"$defs": {
"ReceiptEvent": {
"properties": {
"v": {
"type": "integer"
},
"receipt_id": {
"type": "string"
},
"ts_ms": {
"type": "integer"
},
"service": {
"type": "string"
},
"event_type": {
"type": "string"
},
"policy_digest": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"payload": {
"additionalProperties": true,
"type": "object"
},
"prev_hash": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
]
},
"event_hash": {
"type": "string"
},
"sig": {
"anyOf": [
{
"$ref": "#/$defs/ReceiptSignature"
},
{
"type": "null"
}
]
}
},
"required": [
"receipt_id",
"ts_ms",
"service",
"event_type",
"event_hash"
],
"type": "object"
},
"ReceiptSignature": {
"properties": {
"alg": {
"type": "string"
},
"key_id": {
"type": "string"
},
"sig": {
"type": "string"
}
},
"required": [
"alg",
"key_id",
"sig"
],
"type": "object"
},
"EvidenceEventV2": {
"additionalProperties": false,
"properties": {
"schema": {
"const": "io.genesisre.proofrelay.evidence-event.v2",
"type": "string"
},
"canonicalization": {
"const": "RFC8785-JCS",
"type": "string"
},
"hash_algorithm": {
"const": "SHA-256",
"type": "string"
},
"event_id": {
"maxLength": 128,
"minLength": 1,
"pattern": "^[a-z0-9](?:[a-z0-9._:-]*[a-z0-9])?$",
"type": "string"
},
"tenant_id": {
"maxLength": 128,
"minLength": 1,
"pattern": "^[a-z0-9](?:[a-z0-9._:-]*[a-z0-9])?$",
"type": "string"
},
"service_id": {
"maxLength": 128,
"minLength": 1,
"pattern": "^[a-z0-9](?:[a-z0-9._:-]*[a-z0-9])?$",
"type": "string"
},
"sequence": {
"maximum": 9223372036854776000,
"minimum": 1,
"type": "integer"
},
"occurred_at_ms": {
"maximum": 9223372036854776000,
"minimum": 0,
"type": "integer"
},
"event_type": {
"maxLength": 128,
"minLength": 1,
"pattern": "^[a-z0-9](?:[a-z0-9._:-]*[a-z0-9])?$",
"type": "string"
},
"policy_digest": {
"anyOf": [
{
"pattern": "^sha256:[0-9a-f]{64}$",
"type": "string"
},
{
"type": "null"
}
]
},
"evidence": {
"maxProperties": 64,
"minProperties": 1,
"patternProperties": {
"^[a-z][a-z0-9_]*$": {
"pattern": "^sha256:[0-9a-f]{64}$",
"type": "string"
}
},
"propertyNames": {
"maxLength": 64,
"minLength": 1
},
"type": "object"
},
"previous_event_hash": {
"anyOf": [
{
"pattern": "^sha256:[0-9a-f]{64}$",
"type": "string"
},
{
"type": "null"
}
]
},
"event_hash": {
"pattern": "^sha256:[0-9a-f]{64}$",
"type": "string"
},
"producer_signature": {
"$ref": "#/$defs/ProducerSignatureV1"
}
},
"required": [
"event_id",
"tenant_id",
"service_id",
"sequence",
"occurred_at_ms",
"event_type",
"evidence",
"event_hash",
"producer_signature"
],
"type": "object"
},
"ProducerSignatureV1": {
"additionalProperties": false,
"properties": {
"schema": {
"const": "io.genesisre.proofrelay.producer-signature.v1",
"type": "string"
},
"algorithm": {
"enum": [
"Ed25519",
"ES256"
],
"type": "string"
},
"key_id": {
"maxLength": 128,
"minLength": 1,
"pattern": "^[a-z0-9](?:[a-z0-9._:-]*[a-z0-9])?$",
"type": "string"
},
"signature": {
"maxLength": 256,
"minLength": 43,
"pattern": "^[A-Za-z0-9_-]+$",
"type": "string"
}
},
"required": [
"algorithm",
"key_id",
"signature"
],
"type": "object"
}
}
}