52 lines
1.2 KiB
JSON
52 lines
1.2 KiB
JSON
{
|
|
"v": 1,
|
|
"kind": "aere-conformance-vector",
|
|
"id": "envelope/authorization.form",
|
|
"artifact": "envelope",
|
|
"title": "authorization: the statementHash is 63 hex digits",
|
|
"source": "derived from envelope/authorization.valid",
|
|
"requires": [],
|
|
"exercises": [
|
|
"envelope.form",
|
|
"envelope.integrity"
|
|
],
|
|
"base": "envelope/authorization.valid",
|
|
"mutation": {
|
|
"op": "set",
|
|
"path": [
|
|
"envelope",
|
|
"statementHash"
|
|
],
|
|
"value": "0xad70cb9db980eb04d739c7687fec8d3a3675c35105b3d3837c2012c81cd9d52"
|
|
},
|
|
"input": {
|
|
"envelope": {
|
|
"v": 1,
|
|
"kind": "aere-proof-of-authorization-attestation",
|
|
"statement": {
|
|
"v": 1,
|
|
"kind": "aere-proof-of-authorization",
|
|
"policyHash": "0xf062025b73d9324b189fcec2b5c88338aa6fa9fb7877700681b2049b57e6aedd",
|
|
"grantor": "org-x",
|
|
"grantee": "agent-7",
|
|
"scope": "payments:send<=100",
|
|
"expiresAt": "2026-12-31T00:00:00Z",
|
|
"createdAt": "2026-09-26T00:00:00Z"
|
|
},
|
|
"statementHash": "0xad70cb9db980eb04d739c7687fec8d3a3675c35105b3d3837c2012c81cd9d52"
|
|
}
|
|
},
|
|
"expected": {
|
|
"verdict": "INVALID",
|
|
"failed": [
|
|
"envelope.form"
|
|
],
|
|
"levels": {
|
|
"integrity": "FAILED",
|
|
"authenticity": "NOT_MEASURED",
|
|
"anchoring": "NOT_MEASURED",
|
|
"finality": "NOT_MEASURED"
|
|
}
|
|
}
|
|
}
|