This normative annex defines mandatory canonical serialization requirements for all Trust-State evaluation inputs, rule definitions, and conformity artifacts. This annex SHALL be interpreted as an integral component of the Trust-State Standard v1.0.
Canonical serialization ensures deterministic byte representation of structured data prior to hashing, replay validation, or artifact issuance.
All systems claiming conformance with the Trust-State Standard SHALL implement canonical serialization exactly as defined in this annex.
JSON object members SHALL be ordered lexicographically by key using Unicode code point ordering.
true, false).null.The canonical form of a structured object is defined as the UTF-8 encoded byte sequence resulting from:
The resulting byte sequence SHALL be used for all hash computations defined in subsequent annexes.
Given identical structured input, canonical serialization MUST produce a byte-identical output across independent implementations.
Any deviation in byte sequence SHALL constitute non-conformance.
All hash derivations defined in the Trust-State Standard SHALL operate exclusively on canonical serialized byte sequences produced under this annex.
The key words "MUST", "SHALL", "SHOULD", and "MAY" in this annex are to be interpreted as described in RFC 2119.