{
 "contributed_by": "Trilatic (CC0), from stillmarcus24's note in x402-foundation/tsc#4",
 "description": "A passing receipt whose signed body holds integer-valued doubles and negative zero, written in this file as 1.0, 100.0, -0.0 and 300.0 (tools.numbers_for_canonicalization). RFC 8785 serializes them as ECMAScript Number::toString does: [1,100,0,300]. A canonicalizer that keeps the fractional part or the sign of zero computes other bytes and reports SIGNATURE_INVALID. A verifier in JavaScript inherits the rule from the host.",
 "expected": {
  "criteria_committed_before_check": "yes",
  "criteria_hash": "match",
  "independence": "independent",
  "problem_codes": [],
  "receipt_timestamp": "none",
  "signature_valid": true,
  "verdict_recomputed": "pass",
  "verdict_stated": "pass",
  "warning_codes": []
 },
 "inputs": {
  "criteria_file_base64": "eyJjcml0ZXJpYSI6W3siaWQiOiJjMSIsInJlcXVpcmVkIjp0cnVlLCJyZXF1aXJlbWVudCI6IlRoZSBmaXJzdCByZXF1aXJlbWVudC4iLCJ0aXRsZSI6IkZpcnN0IHJlcXVpcmVkIGNyaXRlcmlvbiJ9LHsiaWQiOiJjMiIsInJlcXVpcmVkIjp0cnVlLCJyZXF1aXJlbWVudCI6IlRoZSBzZWNvbmQgcmVxdWlyZW1lbnQuIiwidGl0bGUiOiJTZWNvbmQgcmVxdWlyZWQgY3JpdGVyaW9uIn0seyJpZCI6ImMzIiwicmVxdWlyZWQiOmZhbHNlLCJyZXF1aXJlbWVudCI6IkFuIG9wdGlvbmFsIHJlcXVpcmVtZW50LiIsInRpdGxlIjoiT3B0aW9uYWwgY3JpdGVyaW9uIn1dLCJjcml0ZXJpYV9zZXQiOiJleGFtcGxlLWNyaXRlcmlhIiwicmVzdWx0X3ZvY2FidWxhcnkiOlsicGFzcyIsImZhaWwiLCJub3QtZXZhbHVhdGVkIiwiZXJyb3IiXSwidGl0bGUiOiJFeGFtcGxlIGNyaXRlcmlhIGZvciB0ZXN0IHZlY3RvcnMiLCJ2ZXJzaW9uIjoiMSJ9",
  "criteria_tsr_base64": "MH8wAwIBADB4BgkqhkiG9w0BBwKgazBpAgEDMQAwYgYLKoZIhvcNAQkQAQSgUwRRME8CAQEGAyoDBDAxMA0GCWCGSAFlAwQCAQUABCBEE+mdc9dD17Y6g2LPPUf/ZGybZOOXKy+2mECTyOmt1wIBBxgPMjAyNjA2MDExMTU1MDBa",
  "keys": {
   "issuer": "Example Checker (test vectors)",
   "keys": [
    {
     "alg": "Ed25519",
     "key_id": "spec-test-2f2dfa2f",
     "public_key_base64": "IG8NU3Wa4RNk++CwdHYLlfOxAtwRl2hz0hJKfLgZyJk=",
     "status": "test"
    }
   ]
  },
  "receipt": {
   "receipt": {
    "canonicalization": "JCS-RFC8785",
    "client_ref": "test vector",
    "criteria": {
     "commitment": "rfc3161",
     "committed_at": "2026-06-01T11:55:00Z",
     "id": "example-criteria",
     "sha256": "4413e99d73d743d7b63a8362cf3d47ff646c9b64e3972b2fb6984093c8e9add7",
     "version": "1"
    },
    "files": {
     "original": {
      "bytes": 22,
      "name": "original.pdf",
      "pages": 1,
      "sha256": "4cbaf696bbf09c7f9c08d2fc5cb4e93235d0d9ff94a916b7dd90b91ef057e4be"
     },
     "remediated": {
      "bytes": 23,
      "name": "delivered.pdf",
      "pages": 1,
      "sha256": "b520ef4eb7a0f3e0d725ea92167e4962fe43584c7747b44e0acd4d846eaa4cf8"
     }
    },
    "human_review": {
     "scope": [
      "Example review scope"
     ],
     "status": "pending"
    },
    "independence": "independent",
    "issued_utc": "2026-06-01T12:00:00Z",
    "issuer": "Example Checker",
    "key_id": "spec-test-2f2dfa2f",
    "notice": "Test vector. Not a real check.",
    "parties": {
     "checker": {
      "key_id": "spec-test-2f2dfa2f",
      "name": "Example Checker"
     },
     "producer": {
      "key_id": null,
      "name": "Example Vendor"
     }
    },
    "receipt_id": "EX-0001",
    "results": [
     {
      "finding": "Met.",
      "id": "c1",
      "required": true,
      "result": "pass",
      "title": "First required criterion"
     },
     {
      "finding": "Met.",
      "id": "c2",
      "required": true,
      "result": "pass",
      "title": "Second required criterion"
     },
     {
      "finding": "No review recorded.",
      "id": "c3",
      "required": false,
      "result": "not-evaluated",
      "title": "Optional criterion"
     }
    ],
    "revision": 1,
    "schema": "trilatic.acceptance-receipt/1.2",
    "suite": {
     "digest": "sha-256",
     "signature": "Ed25519"
    },
    "tools": {
     "numbers_for_canonicalization": [
      1.0,
      100.0,
      -0.0,
      300.0
     ],
     "profile": "example profile",
     "validator": "example 1.0"
    },
    "verdict": "pass"
   },
   "signature": {
    "alg": "Ed25519",
    "key_id": "spec-test-2f2dfa2f",
    "value": "IBJoz7dAV3gso0XjxhIzKUWWBlb6cOsW+MmBY798EeYZZC9f9QpiWZNyG6uwTzrpHZTMn6z8ty/fnSeEY6JfCA=="
   },
   "timestamp": {
    "reason": "not requested",
    "status": "none"
   }
  },
  "receipt_tsr_base64": null
 },
 "license": "CC0-1.0",
 "spec": "acceptance record, schema trilatic.acceptance-receipt/1.2",
 "title": "57-receipt-integer-valued-doubles",
 "vector": "57-receipt-integer-valued-doubles",
 "warning": "Signed with a published TEST key. Never trust a record signed by it."
}
