removedInput schema / $defs
Removed value: -{
- "Bundle": {
- "description": "Non-confidential ProofRelay evidence bundle submitted for verification.",
- "properties": {
- "bundle_hash": {
- "description": "Hash commitment for the bundle.",
- "title": "Bundle Hash",
- "type": "string"
- },
- "count": {
- "description": "Number of receipt events in the bundle.",
- "title": "Count",
- "type": "integer"
- },
- "created_ts_ms": {
- "description": "Bundle creation timestamp in Unix milliseconds.",
- "title": "Created Ts Ms",
- "type": "integer"
- },
- "events": {
- "description": "Receipt events whose hashes and ordering are verified.",
- "items": {
- "$ref": "#/$defs/ReceiptEvent"
- },
- "title": "Events",
- "type": "array"
- },
- "receipt_ids": {
- "description": "Receipt identifiers included in deterministic order.",
- "items": {
- "type": "string"
- },
- "title": "Receipt Ids",
- "type": "array"
- },
- "service": {
- "description": "Service represented by the bundle.",
- "title": "Service",
- "type": "string"
- },
- "v": {
- "default": 1,
- "description": "Evidence bundle schema version.",
- "title": "V",
- "type": "integer"
- }
- },
- "required": [
- "bundle_hash",
- "created_ts_ms",
- "service",
- "count",
- "receipt_ids",
- "events"
- ],
- "title": "Bundle",
- "type": "object"
- },
- "EvidenceBundleV2": {
- "additionalProperties": false,
- "properties": {
- "bundle_hash": {
- "pattern": "^sha256:[0-9a-f]{64}$",
- "title": "Bundle Hash",
- "type": "string"
- },
- "canonicalization": {
- "const": "RFC8785-JCS",
- "default": "RFC8785-JCS",
- "title": "Canonicalization",
- "type": "string"
- },
- "created_at_ms": {
- "maximum": 9223372036854776000,
- "minimum": 0,
- "title": "Created At Ms",
- "type": "integer"
- },
- "event_count": {
- "maximum": 10000,
- "minimum": 1,
- "title": "Event Count",
- "type": "integer"
- },
- "events": {
- "items": {
- "$ref": "#/$defs/EvidenceEventV2"
- },
- "maxItems": 10000,
- "minItems": 1,
- "title": "Events",
- "type": "array"
- },
- "hash_algorithm": {
- "const": "SHA-256",
- "default": "SHA-256",
- "title": "Hash Algorithm",
- "type": "string"
- },
- "schema": {
- "const": "io.genesisre.proofrelay.evidence-bundle.v2",
- "default": "io.genesisre.proofrelay.evidence-bundle.v2",
- "title": "Schema",
- "type": "string"
- },
- "sequence_end": {
- "minimum": 1,
- "title": "Sequence End",
- "type": "integer"
- },
- "sequence_start": {
- "minimum": 1,
- "title": "Sequence Start",
- "type": "integer"
- },
- "service_id": {
- "maxLength": 128,
- "minLength": 1,
- "pattern": "^[a-z0-9](?:[a-z0-9._:-]*[a-z0-9])?$",
- "title": "Service Id",
- "type": "string"
- },
- "tenant_id": {
- "maxLength": 128,
- "minLength": 1,
- "pattern": "^[a-z0-9](?:[a-z0-9._:-]*[a-z0-9])?$",
- "title": "Tenant Id",
- "type": "string"
- }
- },
- "required": [
- "tenant_id",
- "service_id",
- "created_at_ms",
- "sequence_start",
- "sequence_end",
- "event_count",
- "events",
- "bundle_hash"
- ],
- "title": "EvidenceBundleV2",
- "type": "object"
- },
- "EvidenceEventV2": {
- "additionalProperties": false,
- "properties": {
- "canonicalization": {
- "const": "RFC8785-JCS",
- "default": "RFC8785-JCS",
- "title": "Canonicalization",
- "type": "string"
- },
- "event_hash": {
- "pattern": "^sha256:[0-9a-f]{64}$",
- "title": "Event Hash",
- "type": "string"
- },
- "event_id": {
- "maxLength": 128,
- "minLength": 1,
- "pattern": "^[a-z0-9](?:[a-z0-9._:-]*[a-z0-9])?$",
- "title": "Event Id",
- "type": "string"
- },
- "event_type": {
- "maxLength": 128,
- "minLength": 1,
- "pattern": "^[a-z0-9](?:[a-z0-9._:-]*[a-z0-9])?$",
- "title": "Event Type",
- "type": "string"
- },
- "evidence": {
- "maxProperties": 64,
- "minProperties": 1,
- "patternProperties": {
- "^[a-z][a-z0-9_]*$": {
- "pattern": "^sha256:[0-9a-f]{64}$",
- "type": "string"
- }
- },
- "propertyNames": {
- "maxLength": 64,
- "minLength": 1
- },
- "title": "Evidence",
- "type": "object"
- },
- "hash_algorithm": {
- "const": "SHA-256",
- "default": "SHA-256",
- "title": "Hash Algorithm",
- "type": "string"
- },
- "occurred_at_ms": {
- "maximum": 9223372036854776000,
- "minimum": 0,
- "title": "Occurred At Ms",
- "type": "integer"
- },
- "policy_digest": {
- "anyOf": [
- {
- "pattern": "^sha256:[0-9a-f]{64}$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "title": "Policy Digest"
- },
- "previous_event_hash": {
- "anyOf": [
- {
- "pattern": "^sha256:[0-9a-f]{64}$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "title": "Previous Event Hash"
- },
- "producer_signature": {
- "$ref": "#/$defs/ProducerSignatureV1"
- },
- "schema": {
- "const": "io.genesisre.proofrelay.evidence-event.v2",
- "default": "io.genesisre.proofrelay.evidence-event.v2",
- "title": "Schema",
- "type": "string"
- },
- "sequence": {
- "maximum": 9223372036854776000,
- "minimum": 1,
- "title": "Sequence",
- "type": "integer"
- },
- "service_id": {
- "maxLength": 128,
- "minLength": 1,
- "pattern": "^[a-z0-9](?:[a-z0-9._:-]*[a-z0-9])?$",
- "title": "Service Id",
- "type": "string"
- },
- "tenant_id": {
- "maxLength": 128,
- "minLength": 1,
- "pattern": "^[a-z0-9](?:[a-z0-9._:-]*[a-z0-9])?$",
- "title": "Tenant Id",
- "type": "string"
- }
- },
- "required": [
- "event_id",
- "tenant_id",
- "service_id",
- "sequence",
- "occurred_at_ms",
- "event_type",
- "evidence",
- "event_hash",
- "producer_signature"
- ],
- "title": "EvidenceEventV2",
- "type": "object"
- },
- "ProducerSignatureV1": {
- "additionalProperties": false,
- "properties": {
- "algorithm": {
- "enum": [
- "Ed25519",
- "ES256"
- ],
- "title": "Algorithm",
- "type": "string"
- },
- "key_id": {
- "maxLength": 128,
- "minLength": 1,
- "pattern": "^[a-z0-9](?:[a-z0-9._:-]*[a-z0-9])?$",
- "title": "Key Id",
- "type": "string"
- },
- "schema": {
- "const": "io.genesisre.proofrelay.producer-signature.v1",
- "default": "io.genesisre.proofrelay.producer-signature.v1",
- "title": "Schema",
- "type": "string"
- },
- "signature": {
- "maxLength": 256,
- "minLength": 43,
- "pattern": "^[A-Za-z0-9_-]+$",
- "title": "Signature",
- "type": "string"
- }
- },
- "required": [
- "algorithm",
- "key_id",
- "signature"
- ],
- "title": "ProducerSignatureV1",
- "type": "object"
- },
- "PublicVerificationKeyInput": {
- "description": "Caller-supplied public producer key for stateless V2 verification.",
- "properties": {
- "jwk": {
- "additionalProperties": true,
- "title": "Jwk",
- "type": "object"
- },
- "key_id": {
- "maxLength": 128,
- "minLength": 1,
- "title": "Key Id",
- "type": "string"
- },
- "service_id": {
- "maxLength": 128,
- "minLength": 1,
- "title": "Service Id",
- "type": "string"
- },
- "tenant_id": {
- "maxLength": 128,
- "minLength": 1,
- "title": "Tenant Id",
- "type": "string"
- }
- },
- "required": [
- "tenant_id",
- "service_id",
- "key_id",
- "jwk"
- ],
- "title": "PublicVerificationKeyInput",
- "type": "object"
- },
- "ReceiptEvent": {
- "description": "Non-confidential receipt event included in a ProofRelay bundle.",
- "properties": {
- "event_hash": {
- "description": "Hash commitment for this event.",
- "title": "Event Hash",
- "type": "string"
- },
- "event_type": {
- "description": "Public-safe event category.",
- "title": "Event Type",
- "type": "string"
- },
- "payload": {
- "additionalProperties": true,
- "description": "Minimized metadata and hashes only; never include secrets.",
- "title": "Payload",
- "type": "object"
- },
- "policy_digest": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "Hash or digest of the policy context, when available.",
- "title": "Policy Digest"
- },
- "prev_hash": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "Previous event hash for hash-chain continuity.",
- "title": "Prev Hash"
- },
- "receipt_id": {
- "description": "Stable receipt identifier.",
- "title": "Receipt Id",
- "type": "string"
- },
- "service": {
- "description": "Service or agent that emitted the event.",
- "title": "Service",
- "type": "string"
- },
- "sig": {
- "anyOf": [
- {
- "$ref": "#/$defs/ReceiptSignature"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "Optional event signature envelope."
- },
- "ts_ms": {
- "description": "Event timestamp in Unix milliseconds.",
- "title": "Ts Ms",
- "type": "integer"
- },
- "v": {
- "default": 1,
- "description": "Receipt schema version.",
- "title": "V",
- "type": "integer"
- }
- },
- "required": [
- "receipt_id",
- "ts_ms",
- "service",
- "event_type",
- "event_hash"
- ],
- "title": "ReceiptEvent",
- "type": "object"
- },
- "ReceiptSignature": {
- "description": "Signature envelope for a non-confidential ProofRelay receipt event.",
- "properties": {
- "alg": {
- "description": "Signature algorithm used for the event signature.",
- "examples": [
- "HMAC-SHA256"
- ],
- "title": "Alg",
- "type": "string"
- },
- "key_id": {
- "description": "Public-safe key identifier used by the verifier.",
- "examples": [
- "hmac:default"
- ],
- "title": "Key Id",
- "type": "string"
- },
- "sig": {
- "description": "Hex-encoded event signature.",
- "title": "Sig",
- "type": "string"
- }
- },
- "required": [
- "alg",
- "key_id",
- "sig"
- ],
- "title": "ReceiptSignature",
- "type": "object"
- }
-}
addedInput schema / properties / bundle / oneOf
Added value: +[
+ {
+ "$defs": {
+ "ReceiptEvent": {
+ "properties": {
+ "event_hash": {
+ "type": "string"
+ },
+ "event_type": {
+ "type": "string"
+ },
+ "payload": {
+ "additionalProperties": true,
+ "type": "object"
+ },
+ "policy_digest": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "prev_hash": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "receipt_id": {
+ "type": "string"
+ },
+ "service": {
+ "type": "string"
+ },
+ "sig": {
+ "anyOf": [
+ {
+ "$ref": "#/$defs/ReceiptSignature"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "ts_ms": {
+ "type": "integer"
+ },
+ "v": {
+ "type": "integer"
+ }
+ },
+ "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"
+ }
+ },
+ "properties": {
+ "bundle_hash": {
+ "type": "string"
+ },
+ "count": {
+ "type": "integer"
+ },
+ "created_ts_ms": {
+ "type": "integer"
+ },
+ "events": {
+ "items": {
+ "$ref": "#/$defs/ReceiptEvent"
+ },
+ "type": "array"
+ },
+ "receipt_ids": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "service": {
+ "type": "string"
+ },
+ "v": {
+ "type": "integer"
+ }
+ },
+ "required": [
+ "bundle_hash",
+ "created_ts_ms",
+ "service",
+ "count",
+ "receipt_ids",
+ "events"
+ ],
+ "type": "object"
+ },
+ {
+ "$defs": {
+ "EvidenceEventV2": {
+ "additionalProperties": false,
+ "properties": {
+ "canonicalization": {
+ "const": "RFC8785-JCS",
+ "type": "string"
+ },
+ "event_hash": {
+ "pattern": "^sha256:[0-9a-f]{64}$",
+ "type": "string"
+ },
+ "event_id": {
+ "maxLength": 128,
+ "minLength": 1,
+ "pattern": "^[a-z0-9](?:[a-z0-9._:-]*[a-z0-9])?$",
+ "type": "string"
+ },
+ "event_type": {
+ "maxLength": 128,
+ "minLength": 1,
+ "pattern": "^[a-z0-9](?:[a-z0-9._:-]*[a-z0-9])?$",
+ "type": "string"
+ },
+ "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"
+ },
+ "hash_algorithm": {
+ "const": "SHA-256",
+ "type": "string"
+ },
+ "occurred_at_ms": {
+ "maximum": 9223372036854776000,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "policy_digest": {
+ "anyOf": [
+ {
+ "pattern": "^sha256:[0-9a-f]{64}$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "previous_event_hash": {
+ "anyOf": [
+ {
+ "pattern": "^sha256:[0-9a-f]{64}$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "producer_signature": {
+ "$ref": "#/$defs/ProducerSignatureV1"
+ },
+ "schema": {
+ "const": "io.genesisre.proofrelay.evidence-event.v2",
+ "type": "string"
+ },
+ "sequence": {
+ "maximum": 9223372036854776000,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "service_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"
+ }
+ },
+ "required": [
+ "event_id",
+ "tenant_id",
+ "service_id",
+ "sequence",
+ "occurred_at_ms",
+ "event_type",
+ "evidence",
+ "event_hash",
+ "producer_signature"
+ ],
+ "type": "object"
+ },
+ "ProducerSignatureV1": {
+ "additionalProperties": false,
+ "properties": {
+ "algorithm": {
+ "enum": [
+ "Ed25519",
+ "ES256"
+ ],
+ "type": "string"
+ },
+ "key_id": {
+ "maxLength": 128,
+ "minLength": 1,
+ "pattern": "^[a-z0-9](?:[a-z0-9._:-]*[a-z0-9])?$",
+ "type": "string"
+ },
+ "schema": {
+ "const": "io.genesisre.proofrelay.producer-signature.v1",
+ "type": "string"
+ },
+ "signature": {
+ "maxLength": 256,
+ "minLength": 43,
+ "pattern": "^[A-Za-z0-9_-]+$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "algorithm",
+ "key_id",
+ "signature"
+ ],
+ "type": "object"
+ }
+ },
+ "additionalProperties": false,
+ "properties": {
+ "bundle_hash": {
+ "pattern": "^sha256:[0-9a-f]{64}$",
+ "type": "string"
+ },
+ "canonicalization": {
+ "const": "RFC8785-JCS",
+ "type": "string"
+ },
+ "created_at_ms": {
+ "maximum": 9223372036854776000,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "event_count": {
+ "maximum": 10000,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "events": {
+ "items": {
+ "$ref": "#/$defs/EvidenceEventV2"
+ },
+ "maxItems": 10000,
+ "minItems": 1,
+ "type": "array"
+ },
+ "hash_algorithm": {
+ "const": "SHA-256",
+ "type": "string"
+ },
+ "schema": {
+ "const": "io.genesisre.proofrelay.evidence-bundle.v2",
+ "type": "string"
+ },
+ "sequence_end": {
+ "minimum": 1,
+ "type": "integer"
+ },
+ "sequence_start": {
+ "minimum": 1,
+ "type": "integer"
+ },
+ "service_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"
+ }
+ },
+ "required": [
+ "tenant_id",
+ "service_id",
+ "created_at_ms",
+ "sequence_start",
+ "sequence_end",
+ "event_count",
+ "events",
+ "bundle_hash"
+ ],
+ "type": "object"
+ }
+]