{
  "about": "ATTESTRAS / ProofGraph protocol v1 test vectors. Canonical JSON: UTF-8, keys sorted by code point, separators ',' and ':', no floats, non-ASCII kept as UTF-8. receipt hash = lowercase hex SHA-256 of the canonical bytes. Signature = hex HMAC-SHA256(secret, preimage). The secret here is a published test value, not a credential.",
  "receipt_hash": {
    "plain-ascii": {
      "canonical_hex": "7b226163746f725f68617368223a2262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262222c2261727469666163745f68617368223a2261616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161222c2261727469666163745f757269223a2273333a2f2f6578616d706c652d6275636b65742f72756e2f34322e6a736f6e222c22636c61696d223a7b22617373657274696f6e223a226d6f64656c20656d6974746564206172746966616374222c22736368656d61223a2270672e636c61696d2e7631227d2c22696e6765737465645f61745f6d73223a313739303030303030303132332c227265636f72645f736368656d61223a2270672e70726f6f662e7631222c22726571756573745f6964223a227265712d30303031222c22726571756573745f74696d657374616d705f73223a313739303030303030302c227369676e61747572655f76657273696f6e223a2270672d686d61632d7368613235362d7631222c227369676e696e675f6b65795f6964223a22616b5f74657374766563746f72222c22736f757263655f73797374656d5f6964223a226167656e742d70726f64222c2274656e616e745f6964223a22746e745f746573745f766563746f72227d",
      "canonical_utf8": "{\"actor_hash\":\"bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb\",\"artifact_hash\":\"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\",\"artifact_uri\":\"s3://example-bucket/run/42.json\",\"claim\":{\"assertion\":\"model emitted artifact\",\"schema\":\"pg.claim.v1\"},\"ingested_at_ms\":1790000000123,\"record_schema\":\"pg.proof.v1\",\"request_id\":\"req-0001\",\"request_timestamp_s\":1790000000,\"signature_version\":\"pg-hmac-sha256-v1\",\"signing_key_id\":\"ak_testvector\",\"source_system_id\":\"agent-prod\",\"tenant_id\":\"tnt_test_vector\"}",
      "record": {
        "actor_hash": "bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb",
        "artifact_hash": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
        "artifact_uri": "s3://example-bucket/run/42.json",
        "claim": {
          "assertion": "model emitted artifact",
          "schema": "pg.claim.v1"
        },
        "ingested_at_ms": 1790000000123,
        "record_schema": "pg.proof.v1",
        "request_id": "req-0001",
        "request_timestamp_s": 1790000000,
        "signature_version": "pg-hmac-sha256-v1",
        "signing_key_id": "ak_testvector",
        "source_system_id": "agent-prod",
        "tenant_id": "tnt_test_vector"
      },
      "sha256": "a3f67719326be40cb91fb399e5d1888d47c37dfab2f8728c0bc7af23a6659b2c"
    },
    "unicode-and-escapes": {
      "canonical_hex": "7b226163746f725f68617368223a2263636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363636363222c2261727469666163745f68617368223a2264646464646464646464646464646464646464646464646464646464646464646464646464646464646464646464646464646464646464646464646464646464222c2261727469666163745f757269223a2268747470733a2f2f6578616d706c652e636f6d2f72c3a973756dc3a92e6a736f6e222c22636c61696d223a7b22617373657274696f6e223a22636166c3a920e29c93205c2271756f7465645c22206261636b5c5c736c61736820e280a8206c696e65222c22736368656d61223a2270672e636c61696d2e7631227d2c22696e6765737465645f61745f6d73223a313739303030303030313939392c227265636f72645f736368656d61223a2270672e70726f6f662e7631222c22726571756573745f6964223a227265712d30303032222c22726571756573745f74696d657374616d705f73223a313739303030303030312c227369676e61747572655f76657273696f6e223a2270672d686d61632d7368613235362d7631222c227369676e696e675f6b65795f6964223a22616b5f74657374766563746f72222c22736f757263655f73797374656d5f6964223a226167656e742d70726f64222c2274656e616e745f6964223a22746e745f746573745f766563746f72227d",
      "canonical_utf8": "{\"actor_hash\":\"cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc\",\"artifact_hash\":\"dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd\",\"artifact_uri\":\"https://example.com/r\u00e9sum\u00e9.json\",\"claim\":{\"assertion\":\"caf\u00e9 \u2713 \\\"quoted\\\" back\\\\slash \u2028 line\",\"schema\":\"pg.claim.v1\"},\"ingested_at_ms\":1790000001999,\"record_schema\":\"pg.proof.v1\",\"request_id\":\"req-0002\",\"request_timestamp_s\":1790000001,\"signature_version\":\"pg-hmac-sha256-v1\",\"signing_key_id\":\"ak_testvector\",\"source_system_id\":\"agent-prod\",\"tenant_id\":\"tnt_test_vector\"}",
      "record": {
        "actor_hash": "cccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccccc",
        "artifact_hash": "dddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddddd",
        "artifact_uri": "https://example.com/r\u00e9sum\u00e9.json",
        "claim": {
          "assertion": "caf\u00e9 \u2713 \"quoted\" back\\slash \u2028 line",
          "schema": "pg.claim.v1"
        },
        "ingested_at_ms": 1790000001999,
        "record_schema": "pg.proof.v1",
        "request_id": "req-0002",
        "request_timestamp_s": 1790000001,
        "signature_version": "pg-hmac-sha256-v1",
        "signing_key_id": "ak_testvector",
        "source_system_id": "agent-prod",
        "tenant_id": "tnt_test_vector"
      },
      "sha256": "bec77a88800587593d1e460169d388af9426b79f3dcaa534f72017e810cbbfe3"
    }
  },
  "request_signature": {
    "body": "{\"actor\":{\"external_ref\":\"agent-run-42\"},\"artifact\":{\"file_hash\":\"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\",\"uri\":\"s3://example-bucket/run/42.json\"},\"claim\":{\"assertion\":\"model emitted artifact\",\"schema\":\"pg.claim.v1\"}}",
    "key_id": "ak_testvector",
    "preimage_hex": "5047534947010000001170672d686d61632d7368613235362d76310000000a31373930303030303030000000087265712d303030310000000a6167656e742d70726f640000000d616b5f74657374766563746f72000000f37b226163746f72223a7b2265787465726e616c5f726566223a226167656e742d72756e2d3432227d2c226172746966616374223a7b2266696c655f68617368223a2261616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161616161222c22757269223a2273333a2f2f6578616d706c652d6275636b65742f72756e2f34322e6a736f6e227d2c22636c61696d223a7b22617373657274696f6e223a226d6f64656c20656d6974746564206172746966616374222c22736368656d61223a2270672e636c61696d2e7631227d7d",
    "request_id": "req-0001",
    "secret": "atsec_TEST_VECTOR_NOT_A_REAL_SECRET",
    "signature": "430c6730fe35fe1429e99922510aa81b0d18ddd4d9b8d187d60b0dbfd19bb416",
    "source_system_id": "agent-prod",
    "timestamp": "1790000000"
  }
}
