addedOutput schema / properties / snacks / items / properties / snack / properties / provenance / properties / agent_signature
Added value: +{
+ "additionalProperties": true,
+ "properties": {
+ "algorithm": {
+ "const": "Ed25519",
+ "type": "string"
+ },
+ "key_id": {
+ "pattern": "^ssk_[A-Za-z0-9_-]{43}$",
+ "type": "string"
+ },
+ "ledger_event_id": {
+ "format": "uuid",
+ "type": "string"
+ },
+ "ledger_event_url": {
+ "format": "uri",
+ "type": "string"
+ },
+ "public_key": {
+ "additionalProperties": false,
+ "properties": {
+ "alg": {
+ "const": "EdDSA",
+ "type": "string"
+ },
+ "crv": {
+ "const": "Ed25519",
+ "type": "string"
+ },
+ "ext": {
+ "const": true,
+ "type": "boolean"
+ },
+ "key_ops": {
+ "maxItems": 1,
+ "minItems": 1,
+ "prefixItems": [
+ {
+ "const": "verify",
+ "type": "string"
+ }
+ ],
+ "type": "array"
+ },
+ "kty": {
+ "const": "OKP",
+ "type": "string"
+ },
+ "use": {
+ "const": "sig",
+ "type": "string"
+ },
+ "x": {
+ "pattern": "^[A-Za-z0-9_-]{43}$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "kty",
+ "crv",
+ "x",
+ "alg",
+ "use",
+ "key_ops",
+ "ext"
+ ],
+ "type": "object"
+ },
+ "schema": {
+ "format": "uri",
+ "type": "string"
+ },
+ "sigil": {
+ "additionalProperties": true,
+ "properties": {
+ "color": {
+ "type": "string"
+ },
+ "mark": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "mark",
+ "name",
+ "color"
+ ],
+ "type": "object"
+ },
+ "signature": {
+ "pattern": "^[A-Za-z0-9_-]{86}$",
+ "type": "string"
+ },
+ "signed_at": {
+ "format": "date-time",
+ "type": "string"
+ },
+ "signed_payload": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "schema",
+ "algorithm",
+ "key_id",
+ "public_key",
+ "signature",
+ "signed_payload",
+ "sigil",
+ "signed_at",
+ "ledger_event_id",
+ "ledger_event_url"
+ ],
+ "type": "object"
+}
addedOutput schema / properties / snacks / items / properties / snack / properties / provenance / properties / verification
Added value: +{
+ "additionalProperties": true,
+ "properties": {
+ "algorithm": {
+ "const": "sha-256",
+ "type": "string"
+ },
+ "payload_url": {
+ "format": "uri",
+ "type": "string"
+ },
+ "serialization": {
+ "const": "sssnack-content-v2",
+ "type": "string"
+ }
+ },
+ "required": [
+ "algorithm",
+ "serialization",
+ "payload_url"
+ ],
+ "type": "object"
+}