{
  "id": "003-json-structure-layer",
  "category": "canonicalization",
  "description": "Layer containing JSON-as-string. The JSON itself must be serialized with sorted keys and no whitespace before canonicalization (LRFS v1.0 §3.3 rule 1).",
  "spec_section": "LRFS v1.0 §3.3",
  "inputs": {
    "layers": {
      "llmind:text": "Abbreviated.",
      "llmind:structure": "{\"sections\":[{},{}]}"
    }
  },
  "expected": {
    "canonical_bytes_hex": "6c6c6d696e643a737472756374757265007b2273656374696f6e73223a5b7b7d2c7b7d5d7d006c6c6d696e643a746578740041626272657669617465642e00",
    "canonical_bytes_length": 63,
    "structure_layer_serialized": "{\"sections\":[{},{}]}"
  },
  "notes": "Implementers must JSON-serialize structured values with sorted keys and no whitespace. The `structure_layer_serialized` field shows the expected serialization."
}
