diff --git a/.tmp-test b/.tmp-test deleted file mode 100644 index 30d74d2..0000000 --- a/.tmp-test +++ /dev/null @@ -1 +0,0 @@ -test \ No newline at end of file diff --git a/schemas/commerce-payments/README.md b/schemas/commerce-payments/README.md deleted file mode 100644 index 41b18a4..0000000 --- a/schemas/commerce-payments/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# commerce-payments - -CLAS family manifest and action index for commerce-payments. diff --git a/schemas/commerce-payments/manifest.json b/schemas/commerce-payments/manifest.json deleted file mode 100644 index f95c28f..0000000 --- a/schemas/commerce-payments/manifest.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "family": "commerce-payments", - "version": "1.0.0", - "description": "CLAS family for commerce-payments actions.", - "actions": [ - "authorize", - "checkout", - "purchase", - "invoice", - "payment", - "disburse", - "reconcile", - "refund", - "escrow", - "settle" - ], - "status": "planned", - "receipt_required": true, - "verification_required": true, - "canonicalization": "json.sorted_keys.v1", - "hash": "SHA-256", - "signature_algorithm": "Ed25519" -} diff --git a/schemas/communication-outreach/README.md b/schemas/communication-outreach/README.md deleted file mode 100644 index 4a4f91c..0000000 --- a/schemas/communication-outreach/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# communication-outreach - -CLAS family manifest and action index for communication-outreach. diff --git a/schemas/communication-outreach/manifest.json b/schemas/communication-outreach/manifest.json deleted file mode 100644 index e1c9fe6..0000000 --- a/schemas/communication-outreach/manifest.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "family": "communication-outreach", - "version": "1.0.0", - "description": "CLAS family for communication-outreach actions.", - "actions": [ - "call", - "email", - "message", - "notify", - "subscribe", - "broadcast", - "reply", - "dm", - "alert", - "followup" - ], - "status": "planned", - "receipt_required": true, - "verification_required": true, - "canonicalization": "json.sorted_keys.v1", - "hash": "SHA-256", - "signature_algorithm": "Ed25519" -} diff --git a/schemas/content-creation/README.md b/schemas/content-creation/README.md deleted file mode 100644 index ac99915..0000000 --- a/schemas/content-creation/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# content-creation - -CLAS family manifest and action index for content-creation. diff --git a/schemas/content-creation/manifest.json b/schemas/content-creation/manifest.json deleted file mode 100644 index 4ad70be..0000000 --- a/schemas/content-creation/manifest.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "family": "content-creation", - "version": "1.0.0", - "description": "CLAS family for content-creation actions.", - "actions": [ - "generate", - "visualize", - "translate", - "optimize", - "compress", - "format", - "describe", - "publish", - "edit", - "create" - ], - "status": "planned", - "receipt_required": true, - "verification_required": true, - "canonicalization": "json.sorted_keys.v1", - "hash": "SHA-256", - "signature_algorithm": "Ed25519" -} diff --git a/schemas/data-analytics/README.md b/schemas/data-analytics/README.md deleted file mode 100644 index 7419d8b..0000000 --- a/schemas/data-analytics/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# data-analytics - -CLAS family manifest and action index for data-analytics. diff --git a/schemas/data-analytics/manifest.json b/schemas/data-analytics/manifest.json deleted file mode 100644 index 8b33d0d..0000000 --- a/schemas/data-analytics/manifest.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "family": "data-analytics", - "version": "1.0.0", - "description": "CLAS family for data-analytics actions.", - "actions": [ - "analyze", - "filter", - "parse", - "classify", - "convert", - "summarize", - "query", - "index", - "extract", - "transform" - ], - "status": "planned", - "receipt_required": true, - "verification_required": true, - "canonicalization": "json.sorted_keys.v1", - "hash": "SHA-256", - "signature_algorithm": "Ed25519" -} diff --git a/schemas/identity-compliance/README.md b/schemas/identity-compliance/README.md deleted file mode 100644 index 9bc3f3d..0000000 --- a/schemas/identity-compliance/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# identity-compliance - -CLAS family manifest and action index for identity-compliance. diff --git a/schemas/identity-compliance/manifest.json b/schemas/identity-compliance/manifest.json deleted file mode 100644 index 7b8f7c3..0000000 --- a/schemas/identity-compliance/manifest.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "family": "identity-compliance", - "version": "1.0.0", - "description": "CLAS family for identity-compliance actions.", - "actions": [ - "kyc", - "screen", - "audit", - "credential", - "identity", - "report", - "compliance", - "trust", - "access", - "license" - ], - "status": "planned", - "receipt_required": true, - "verification_required": true, - "canonicalization": "json.sorted_keys.v1", - "hash": "SHA-256", - "signature_algorithm": "Ed25519" -} diff --git a/schemas/lifecycle-management/README.md b/schemas/lifecycle-management/README.md deleted file mode 100644 index 5f569a5..0000000 --- a/schemas/lifecycle-management/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# lifecycle-management - -CLAS family manifest and action index for lifecycle-management. diff --git a/schemas/lifecycle-management/manifest.json b/schemas/lifecycle-management/manifest.json deleted file mode 100644 index d212dda..0000000 --- a/schemas/lifecycle-management/manifest.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "family": "lifecycle-management", - "version": "1.0.0", - "description": "CLAS family for lifecycle-management actions.", - "actions": [ - "join", - "stop", - "launch", - "cancel", - "reset", - "delete", - "register", - "archive", - "revoke", - "delegate" - ], - "status": "planned", - "receipt_required": true, - "verification_required": true, - "canonicalization": "json.sorted_keys.v1", - "hash": "SHA-256", - "signature_algorithm": "Ed25519" -} diff --git a/schemas/logistics-fulfillment/README.md b/schemas/logistics-fulfillment/README.md deleted file mode 100644 index 0bca4f2..0000000 --- a/schemas/logistics-fulfillment/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# logistics-fulfillment - -CLAS family manifest and action index for logistics-fulfillment. diff --git a/schemas/logistics-fulfillment/manifest.json b/schemas/logistics-fulfillment/manifest.json deleted file mode 100644 index 00b1540..0000000 --- a/schemas/logistics-fulfillment/manifest.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "family": "logistics-fulfillment", - "version": "1.0.0", - "description": "CLAS family for logistics-fulfillment actions.", - "actions": [ - "ship", - "track", - "fulfillment", - "route", - "schedule", - "delivery", - "return", - "warehouse", - "carrierselect", - "manifest" - ], - "status": "planned", - "receipt_required": true, - "verification_required": true, - "canonicalization": "json.sorted_keys.v1", - "hash": "SHA-256", - "signature_algorithm": "Ed25519" -} diff --git a/schemas/training-optimization/README.md b/schemas/training-optimization/README.md deleted file mode 100644 index dd08756..0000000 --- a/schemas/training-optimization/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# training-optimization - -CLAS family manifest and action index for training-optimization. diff --git a/schemas/training-optimization/manifest.json b/schemas/training-optimization/manifest.json deleted file mode 100644 index 5768e7d..0000000 --- a/schemas/training-optimization/manifest.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "family": "training-optimization", - "version": "1.0.0", - "description": "CLAS family for training-optimization actions.", - "actions": [ - "train", - "optimize", - "update", - "evaluate", - "score", - "benchmark", - "finetune", - "monitor", - "debug", - "validate" - ], - "status": "planned", - "receipt_required": true, - "verification_required": true, - "canonicalization": "json.sorted_keys.v1", - "hash": "SHA-256", - "signature_algorithm": "Ed25519" -} diff --git a/schemas/trust-verification/_shared/proof.schema.json b/schemas/trust-verification/_shared/proof.schema.json index ef61ee2..4678e90 100644 --- a/schemas/trust-verification/_shared/proof.schema.json +++ b/schemas/trust-verification/_shared/proof.schema.json @@ -8,10 +8,10 @@ "required": [ "canonicalization", "hash", - "signature_alg", + "alg", "signature", - "key_id", - "signer" + "kid", + "signer_id" ], "properties": { "canonicalization": { @@ -21,18 +21,18 @@ "type": "string", "pattern": "^sha256:[a-fA-F0-9]{64}$" }, - "signature_alg": { - "const": "ed25519" + "alg": { + "enum": ["ed25519"] }, "signature": { "type": "string", "minLength": 16 }, - "key_id": { + "kid": { "type": "string", "minLength": 1 }, - "signer": { + "signer_id": { "type": "string", "minLength": 1 } diff --git a/schemas/trust-verification/approve/examples/tampered.receipt.json b/schemas/trust-verification/approve/examples/tampered.receipt.json index eca21eb..54dd1b1 100644 --- a/schemas/trust-verification/approve/examples/tampered.receipt.json +++ b/schemas/trust-verification/approve/examples/tampered.receipt.json @@ -37,9 +37,9 @@ "proof": { "canonicalization": "json.sorted_keys.v1", "hash": "sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "signature_alg": "ed25519", + "alg": "ed25519", "signature": "ed25519:demo:9f7c4d1ab3e6c8d14f2a98b7c3d5e1f09a8b7c6d5e4f3029182736455aabbccd", - "key_id": "cl-key-1", - "signer": "runtime.commandlayer.eth" + "kid": "cl-key-1", + "signer_id": "runtime.commandlayer.eth" } } diff --git a/schemas/trust-verification/approve/examples/valid.receipt.json b/schemas/trust-verification/approve/examples/valid.receipt.json index d7d7d3c..7e4e172 100644 --- a/schemas/trust-verification/approve/examples/valid.receipt.json +++ b/schemas/trust-verification/approve/examples/valid.receipt.json @@ -37,9 +37,9 @@ "proof": { "canonicalization": "json.sorted_keys.v1", "hash": "sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "signature_alg": "ed25519", + "alg": "ed25519", "signature": "ed25519:demo:9f7c4d1ab3e6c8d14f2a98b7c3d5e1f09a8b7c6d5e4f3029182736455aabbccd", - "key_id": "cl-key-1", - "signer": "runtime.commandlayer.eth" + "kid": "cl-key-1", + "signer_id": "runtime.commandlayer.eth" } } diff --git a/schemas/trust-verification/attest/examples/tampered.receipt.json b/schemas/trust-verification/attest/examples/tampered.receipt.json index 5d8a24e..f4433bb 100644 --- a/schemas/trust-verification/attest/examples/tampered.receipt.json +++ b/schemas/trust-verification/attest/examples/tampered.receipt.json @@ -46,9 +46,9 @@ "proof": { "canonicalization": "json.sorted_keys.v1", "hash": "sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "signature_alg": "ed25519", + "alg": "ed25519", "signature": "ed25519:demo:9f7c4d1ab3e6c8d14f2a98b7c3d5e1f09a8b7c6d5e4f3029182736455aabbccd", - "key_id": "cl-key-1", - "signer": "runtime.commandlayer.eth" + "kid": "cl-key-1", + "signer_id": "runtime.commandlayer.eth" } } diff --git a/schemas/trust-verification/attest/examples/valid.receipt.json b/schemas/trust-verification/attest/examples/valid.receipt.json index 298b91d..f466287 100644 --- a/schemas/trust-verification/attest/examples/valid.receipt.json +++ b/schemas/trust-verification/attest/examples/valid.receipt.json @@ -46,9 +46,9 @@ "proof": { "canonicalization": "json.sorted_keys.v1", "hash": "sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "signature_alg": "ed25519", + "alg": "ed25519", "signature": "ed25519:demo:9f7c4d1ab3e6c8d14f2a98b7c3d5e1f09a8b7c6d5e4f3029182736455aabbccd", - "key_id": "cl-key-1", - "signer": "runtime.commandlayer.eth" + "kid": "cl-key-1", + "signer_id": "runtime.commandlayer.eth" } } diff --git a/schemas/trust-verification/authenticate/examples/tampered.receipt.json b/schemas/trust-verification/authenticate/examples/tampered.receipt.json index ced6ceb..b012c5e 100644 --- a/schemas/trust-verification/authenticate/examples/tampered.receipt.json +++ b/schemas/trust-verification/authenticate/examples/tampered.receipt.json @@ -40,9 +40,9 @@ "proof": { "canonicalization": "json.sorted_keys.v1", "hash": "sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "signature_alg": "ed25519", + "alg": "ed25519", "signature": "ed25519:demo:9f7c4d1ab3e6c8d14f2a98b7c3d5e1f09a8b7c6d5e4f3029182736455aabbccd", - "key_id": "cl-key-1", - "signer": "runtime.commandlayer.eth" + "kid": "cl-key-1", + "signer_id": "runtime.commandlayer.eth" } } diff --git a/schemas/trust-verification/authenticate/examples/valid.receipt.json b/schemas/trust-verification/authenticate/examples/valid.receipt.json index ee141e9..402b171 100644 --- a/schemas/trust-verification/authenticate/examples/valid.receipt.json +++ b/schemas/trust-verification/authenticate/examples/valid.receipt.json @@ -40,9 +40,9 @@ "proof": { "canonicalization": "json.sorted_keys.v1", "hash": "sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "signature_alg": "ed25519", + "alg": "ed25519", "signature": "ed25519:demo:9f7c4d1ab3e6c8d14f2a98b7c3d5e1f09a8b7c6d5e4f3029182736455aabbccd", - "key_id": "cl-key-1", - "signer": "runtime.commandlayer.eth" + "kid": "cl-key-1", + "signer_id": "runtime.commandlayer.eth" } } diff --git a/schemas/trust-verification/authorize/examples/tampered.receipt.json b/schemas/trust-verification/authorize/examples/tampered.receipt.json index 963241e..9e39317 100644 --- a/schemas/trust-verification/authorize/examples/tampered.receipt.json +++ b/schemas/trust-verification/authorize/examples/tampered.receipt.json @@ -35,9 +35,9 @@ "proof": { "canonicalization": "json.sorted_keys.v1", "hash": "sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "signature_alg": "ed25519", + "alg": "ed25519", "signature": "ed25519:demo:9f7c4d1ab3e6c8d14f2a98b7c3d5e1f09a8b7c6d5e4f3029182736455aabbccd", - "key_id": "cl-key-1", - "signer": "runtime.commandlayer.eth" + "kid": "cl-key-1", + "signer_id": "runtime.commandlayer.eth" } } diff --git a/schemas/trust-verification/authorize/examples/valid.receipt.json b/schemas/trust-verification/authorize/examples/valid.receipt.json index b77f66f..fe2ccb6 100644 --- a/schemas/trust-verification/authorize/examples/valid.receipt.json +++ b/schemas/trust-verification/authorize/examples/valid.receipt.json @@ -36,9 +36,9 @@ "proof": { "canonicalization": "json.sorted_keys.v1", "hash": "sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "signature_alg": "ed25519", + "alg": "ed25519", "signature": "ed25519:demo:9f7c4d1ab3e6c8d14f2a98b7c3d5e1f09a8b7c6d5e4f3029182736455aabbccd", - "key_id": "cl-key-1", - "signer": "runtime.commandlayer.eth" + "kid": "cl-key-1", + "signer_id": "runtime.commandlayer.eth" } } diff --git a/schemas/trust-verification/endorse/examples/tampered.receipt.json b/schemas/trust-verification/endorse/examples/tampered.receipt.json index 2a5b9d9..1fda507 100644 --- a/schemas/trust-verification/endorse/examples/tampered.receipt.json +++ b/schemas/trust-verification/endorse/examples/tampered.receipt.json @@ -36,9 +36,9 @@ "proof": { "canonicalization": "json.sorted_keys.v1", "hash": "sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "signature_alg": "ed25519", + "alg": "ed25519", "signature": "ed25519:demo:9f7c4d1ab3e6c8d14f2a98b7c3d5e1f09a8b7c6d5e4f3029182736455aabbccd", - "key_id": "cl-key-1", - "signer": "runtime.commandlayer.eth" + "kid": "cl-key-1", + "signer_id": "runtime.commandlayer.eth" } } diff --git a/schemas/trust-verification/endorse/examples/valid.receipt.json b/schemas/trust-verification/endorse/examples/valid.receipt.json index 9fc8640..b95dc18 100644 --- a/schemas/trust-verification/endorse/examples/valid.receipt.json +++ b/schemas/trust-verification/endorse/examples/valid.receipt.json @@ -36,9 +36,9 @@ "proof": { "canonicalization": "json.sorted_keys.v1", "hash": "sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "signature_alg": "ed25519", + "alg": "ed25519", "signature": "ed25519:demo:9f7c4d1ab3e6c8d14f2a98b7c3d5e1f09a8b7c6d5e4f3029182736455aabbccd", - "key_id": "cl-key-1", - "signer": "runtime.commandlayer.eth" + "kid": "cl-key-1", + "signer_id": "runtime.commandlayer.eth" } } diff --git a/schemas/trust-verification/grant/examples/tampered.receipt.json b/schemas/trust-verification/grant/examples/tampered.receipt.json index 89974a0..8de5dee 100644 --- a/schemas/trust-verification/grant/examples/tampered.receipt.json +++ b/schemas/trust-verification/grant/examples/tampered.receipt.json @@ -40,9 +40,9 @@ "proof": { "canonicalization": "json.sorted_keys.v1", "hash": "sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "signature_alg": "ed25519", + "alg": "ed25519", "signature": "ed25519:demo:9f7c4d1ab3e6c8d14f2a98b7c3d5e1f09a8b7c6d5e4f3029182736455aabbccd", - "key_id": "cl-key-1", - "signer": "runtime.commandlayer.eth" + "kid": "cl-key-1", + "signer_id": "runtime.commandlayer.eth" } } diff --git a/schemas/trust-verification/grant/examples/valid.receipt.json b/schemas/trust-verification/grant/examples/valid.receipt.json index bde0981..70aa665 100644 --- a/schemas/trust-verification/grant/examples/valid.receipt.json +++ b/schemas/trust-verification/grant/examples/valid.receipt.json @@ -40,9 +40,9 @@ "proof": { "canonicalization": "json.sorted_keys.v1", "hash": "sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "signature_alg": "ed25519", + "alg": "ed25519", "signature": "ed25519:demo:9f7c4d1ab3e6c8d14f2a98b7c3d5e1f09a8b7c6d5e4f3029182736455aabbccd", - "key_id": "cl-key-1", - "signer": "runtime.commandlayer.eth" + "kid": "cl-key-1", + "signer_id": "runtime.commandlayer.eth" } } diff --git a/schemas/trust-verification/permit/examples/tampered.receipt.json b/schemas/trust-verification/permit/examples/tampered.receipt.json index eca7461..9419d81 100644 --- a/schemas/trust-verification/permit/examples/tampered.receipt.json +++ b/schemas/trust-verification/permit/examples/tampered.receipt.json @@ -20,9 +20,7 @@ }, "conditions": { "expires_at": "2026-05-10T14:00:00Z", - "ip_allowlist": [ - "10.42.0.0/16" - ] + "ip_allowlist": ["10.42.0.0/16"] }, "context": { "environment": "prod-us-east-1", @@ -42,9 +40,9 @@ "proof": { "canonicalization": "json.sorted_keys.v1", "hash": "sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "signature_alg": "ed25519", + "alg": "ed25519", "signature": "ed25519:demo:9f7c4d1ab3e6c8d14f2a98b7c3d5e1f09a8b7c6d5e4f3029182736455aabbccd", - "key_id": "cl-key-1", - "signer": "runtime.commandlayer.eth" + "kid": "cl-key-1", + "signer_id": "runtime.commandlayer.eth" } } diff --git a/schemas/trust-verification/permit/examples/valid.receipt.json b/schemas/trust-verification/permit/examples/valid.receipt.json index b363e8e..8dc5e10 100644 --- a/schemas/trust-verification/permit/examples/valid.receipt.json +++ b/schemas/trust-verification/permit/examples/valid.receipt.json @@ -20,9 +20,7 @@ }, "conditions": { "expires_at": "2026-05-10T14:00:00Z", - "ip_allowlist": [ - "10.42.0.0/16" - ] + "ip_allowlist": ["10.42.0.0/16"] }, "context": { "environment": "prod-us-east-1", @@ -42,9 +40,9 @@ "proof": { "canonicalization": "json.sorted_keys.v1", "hash": "sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "signature_alg": "ed25519", + "alg": "ed25519", "signature": "ed25519:demo:9f7c4d1ab3e6c8d14f2a98b7c3d5e1f09a8b7c6d5e4f3029182736455aabbccd", - "key_id": "cl-key-1", - "signer": "runtime.commandlayer.eth" + "kid": "cl-key-1", + "signer_id": "runtime.commandlayer.eth" } } diff --git a/schemas/trust-verification/reject/examples/tampered.receipt.json b/schemas/trust-verification/reject/examples/tampered.receipt.json index e3111d2..e6d85f9 100644 --- a/schemas/trust-verification/reject/examples/tampered.receipt.json +++ b/schemas/trust-verification/reject/examples/tampered.receipt.json @@ -32,9 +32,9 @@ "proof": { "canonicalization": "json.sorted_keys.v1", "hash": "sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "signature_alg": "ed25519", + "alg": "ed25519", "signature": "ed25519:demo:9f7c4d1ab3e6c8d14f2a98b7c3d5e1f09a8b7c6d5e4f3029182736455aabbccd", - "key_id": "cl-key-1", - "signer": "runtime.commandlayer.eth" + "kid": "cl-key-1", + "signer_id": "runtime.commandlayer.eth" } } diff --git a/schemas/trust-verification/reject/examples/valid.receipt.json b/schemas/trust-verification/reject/examples/valid.receipt.json index b4e3d1e..2062141 100644 --- a/schemas/trust-verification/reject/examples/valid.receipt.json +++ b/schemas/trust-verification/reject/examples/valid.receipt.json @@ -32,9 +32,9 @@ "proof": { "canonicalization": "json.sorted_keys.v1", "hash": "sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "signature_alg": "ed25519", + "alg": "ed25519", "signature": "ed25519:demo:9f7c4d1ab3e6c8d14f2a98b7c3d5e1f09a8b7c6d5e4f3029182736455aabbccd", - "key_id": "cl-key-1", - "signer": "runtime.commandlayer.eth" + "kid": "cl-key-1", + "signer_id": "runtime.commandlayer.eth" } } diff --git a/schemas/trust-verification/sign/examples/tampered.receipt.json b/schemas/trust-verification/sign/examples/tampered.receipt.json index c2e15f3..8d310e9 100644 --- a/schemas/trust-verification/sign/examples/tampered.receipt.json +++ b/schemas/trust-verification/sign/examples/tampered.receipt.json @@ -32,9 +32,9 @@ "proof": { "canonicalization": "json.sorted_keys.v1", "hash": "sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "signature_alg": "ed25519", + "alg": "ed25519", "signature": "ed25519:demo:9f7c4d1ab3e6c8d14f2a98b7c3d5e1f09a8b7c6d5e4f3029182736455aabbccd", - "key_id": "cl-key-1", - "signer": "runtime.commandlayer.eth" + "kid": "cl-key-1", + "signer_id": "runtime.commandlayer.eth" } } diff --git a/schemas/trust-verification/sign/examples/valid.receipt.json b/schemas/trust-verification/sign/examples/valid.receipt.json index a626a20..03c79cb 100644 --- a/schemas/trust-verification/sign/examples/valid.receipt.json +++ b/schemas/trust-verification/sign/examples/valid.receipt.json @@ -32,9 +32,9 @@ "proof": { "canonicalization": "json.sorted_keys.v1", "hash": "sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "signature_alg": "ed25519", + "alg": "ed25519", "signature": "ed25519:demo:9f7c4d1ab3e6c8d14f2a98b7c3d5e1f09a8b7c6d5e4f3029182736455aabbccd", - "key_id": "cl-key-1", - "signer": "runtime.commandlayer.eth" + "kid": "cl-key-1", + "signer_id": "runtime.commandlayer.eth" } } diff --git a/schemas/trust-verification/verify/examples/tampered.receipt.json b/schemas/trust-verification/verify/examples/tampered.receipt.json index 220cdaf..96796ee 100644 --- a/schemas/trust-verification/verify/examples/tampered.receipt.json +++ b/schemas/trust-verification/verify/examples/tampered.receipt.json @@ -48,9 +48,9 @@ "proof": { "canonicalization": "json.sorted_keys.v1", "hash": "sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "signature_alg": "ed25519", + "alg": "ed25519", "signature": "ed25519:demo:9f7c4d1ab3e6c8d14f2a98b7c3d5e1f09a8b7c6d5e4f3029182736455aabbccd", - "key_id": "cl-key-1", - "signer": "runtime.commandlayer.eth" + "kid": "cl-key-1", + "signer_id": "runtime.commandlayer.eth" } } diff --git a/schemas/trust-verification/verify/examples/valid.receipt.json b/schemas/trust-verification/verify/examples/valid.receipt.json index fa37465..193db6b 100644 --- a/schemas/trust-verification/verify/examples/valid.receipt.json +++ b/schemas/trust-verification/verify/examples/valid.receipt.json @@ -48,9 +48,9 @@ "proof": { "canonicalization": "json.sorted_keys.v1", "hash": "sha256:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa", - "signature_alg": "ed25519", + "alg": "ed25519", "signature": "ed25519:demo:9f7c4d1ab3e6c8d14f2a98b7c3d5e1f09a8b7c6d5e4f3029182736455aabbccd", - "key_id": "cl-key-1", - "signer": "runtime.commandlayer.eth" + "kid": "cl-key-1", + "signer_id": "runtime.commandlayer.eth" } } diff --git a/schemas/v1.0.0/trust-verification/verify/v1/receipt.schema.json b/schemas/v1.0.0/trust-verification/verify/v1/receipt.schema.json new file mode 100644 index 0000000..f74e9e0 --- /dev/null +++ b/schemas/v1.0.0/trust-verification/verify/v1/receipt.schema.json @@ -0,0 +1,53 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "$id": "https://schemas.commandlayer.org/schemas/v1.0.0/trust-verification/verify/v1/receipt.schema.json", + "title": "CLAS Trust Verify Receipt", + "description": "A signed receipt proving that a verification action was performed.", + "type": "object", + "additionalProperties": false, + "required": ["version", "family", "verb", "receipt_id", "request", "result", "ts", "proof"], + "properties": { + "version": { "const": "1.0.0" }, + "family": { "const": "trust" }, + "verb": { "const": "verify" }, + "receipt_id": { + "type": "string", + "minLength": 1 + }, + "request": { + "$ref": "https://schemas.commandlayer.org/schemas/v1.0.0/trust-verification/verify/v1/request.schema.json" + }, + "result": { + "type": "object", + "additionalProperties": false, + "required": ["status"], + "properties": { + "status": { + "type": "string", + "enum": ["verified", "unverified", "invalid", "inconclusive"] + }, + "reason": { "type": "string" }, + "checks": { + "type": "array", + "items": { + "type": "object", + "additionalProperties": false, + "required": ["name", "passed"], + "properties": { + "name": { "type": "string" }, + "passed": { "type": "boolean" }, + "detail": { "type": "string" } + } + } + } + } + }, + "ts": { + "type": "string", + "format": "date-time" + }, + "proof": { + "$ref": "https://schemas.commandlayer.org/schemas/trust-verification/_shared/proof.schema.json" + } + } +} diff --git a/schemas/v1.0.0/trust-verification/verify/v1/request.schema.json b/schemas/v1.0.0/trust-verification/verify/v1/request.schema.json new file mode 100644 index 0000000..76ca1cd --- /dev/null +++ b/schemas/v1.0.0/trust-verification/verify/v1/request.schema.json @@ -0,0 +1,39 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "$id": "https://schemas.commandlayer.org/schemas/v1.0.0/trust-verification/verify/v1/request.schema.json", + "title": "CLAS Trust Verify Request", + "description": "A request to verify a claim, artifact, receipt, credential, identity, or action.", + "type": "object", + "additionalProperties": false, + "required": ["version", "family", "verb", "subject", "verification_type"], + "properties": { + "version": { "const": "1.0.0" }, + "family": { "const": "trust" }, + "verb": { "const": "verify" }, + "subject": { + "type": "object", + "description": "The thing being verified.", + "additionalProperties": false, + "required": ["type", "id"], + "properties": { + "type": { "type": "string", "minLength": 1 }, + "id": { "type": "string", "minLength": 1 }, + "content_hash": { "type": "string", "pattern": "^sha256:[a-fA-F0-9]{64}$" }, + "uri": { "type": "string" } + } + }, + "verification_type": { + "type": "string", + "enum": ["signature", "identity", "receipt", "credential", "claim", "artifact", "policy", "other"] + }, + "criteria": { + "type": "object", + "description": "Verification criteria or policy requirements.", + "additionalProperties": true + }, + "context": { + "type": "object", + "additionalProperties": true + } + } +} diff --git a/schemas/workflow-approval/README.md b/schemas/workflow-approval/README.md deleted file mode 100644 index 1794a01..0000000 --- a/schemas/workflow-approval/README.md +++ /dev/null @@ -1,3 +0,0 @@ -# workflow-approval - -CLAS family manifest and action index for workflow-approval. diff --git a/schemas/workflow-approval/manifest.json b/schemas/workflow-approval/manifest.json deleted file mode 100644 index 00c5959..0000000 --- a/schemas/workflow-approval/manifest.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "family": "workflow-approval", - "version": "1.0.0", - "description": "CLAS family for workflow-approval actions.", - "actions": [ - "approve", - "reject", - "schedule", - "update", - "cancel", - "reset", - "save", - "launch", - "train", - "join" - ], - "status": "planned", - "receipt_required": true, - "verification_required": true, - "canonicalization": "json.sorted_keys.v1", - "hash": "SHA-256", - "signature_algorithm": "Ed25519" -}