{
  "about": "Canonical JSON of signed authorizations: what Python's action_authorizations.canonical and the Node starter's canonicalSigned write, or refuse (canonical null). Both must agree on every vector (audit round 2, R9).",
  "vectors": [
    {
      "name": "keys sorted",
      "json": "{\"b\":1,\"a\":2}",
      "canonical": "{\"a\":2,\"b\":1}"
    },
    {
      "name": "a fraction",
      "json": "21.5",
      "canonical": "21.5"
    },
    {
      "name": "a whole float is an integer",
      "json": "21.0",
      "canonical": "21"
    },
    {
      "name": "negative zero",
      "json": "-0.0",
      "canonical": "0"
    },
    {
      "name": "a small fraction at the bound",
      "json": "0.0001",
      "canonical": "0.0001"
    },
    {
      "name": "a fraction",
      "json": "123.456",
      "canonical": "123.456"
    },
    {
      "name": "negative fraction",
      "json": "-0.5",
      "canonical": "-0.5"
    },
    {
      "name": "the largest safe integer",
      "json": "9007199254740991",
      "canonical": "9007199254740991"
    },
    {
      "name": "2**53",
      "json": "9007199254740992",
      "canonical": null
    },
    {
      "name": "2**53 + 1, which JSON.parse reads as 2**53",
      "json": "9007199254740993",
      "canonical": null
    },
    {
      "name": "10**21",
      "json": "1000000000000000000000",
      "canonical": null
    },
    {
      "name": "1e21",
      "json": "1e21",
      "canonical": null
    },
    {
      "name": "1.23e20, whole and beyond 2**53",
      "json": "1.23e20",
      "canonical": null
    },
    {
      "name": "below 1e-4",
      "json": "0.00001",
      "canonical": null
    },
    {
      "name": "the smallest double",
      "json": "5e-324",
      "canonical": null
    },
    {
      "name": "a key in the private use area",
      "json": "{\"\\ue000\":1,\"a\":2}",
      "canonical": "{\"a\":2,\"\":1}"
    },
    {
      "name": "a key outside the BMP",
      "json": "{\"\\ud83d\\ude00\":1,\"a\":2}",
      "canonical": null
    },
    {
      "name": "a line separator in a string",
      "json": "{\"k\":\"a\\u2028b\"}",
      "canonical": "{\"k\":\"a b\"}"
    },
    {
      "name": "a letter outside ASCII",
      "json": "{\"k\":\"\\u00e9\"}",
      "canonical": "{\"k\":\"é\"}"
    },
    {
      "name": "nested",
      "json": "[1,[2.5,\"x\"],null,true,{\"z\":{\"y\":0.25}}]",
      "canonical": "[1,[2.5,\"x\"],null,true,{\"z\":{\"y\":0.25}}]"
    },
    {
      "name": "an argument of a step",
      "json": "{\"pod\":\"13\",\"setpoint_c\":23.0}",
      "canonical": "{\"pod\":\"13\",\"setpoint_c\":23}"
    },
    {
      "name": "a lone high surrogate in a text",
      "json": "{\"a\":\"x\\ud800\"}",
      "canonical": null
    },
    {
      "name": "a lone low surrogate in a key",
      "json": "{\"\\udc00\":1}",
      "canonical": null
    },
    {
      "name": "a surrogate pair in a text is one character",
      "json": "{\"a\":\"\\ud83d\\ude00\"}",
      "canonical": "{\"a\":\"😀\"}"
    }
  ]
}
