{
  "format": "sofabuffers-test-vectors",
  "version": 1,
  "description": "SofaBuffers wire-format test vectors generated from the C encoder. Each vector lists the message structure (ordered encode operations and their values) and the exact bytes the encoder produced.",
  "notes": {
    "byte_order": "little-endian",
    "serialized.hex": "lowercase hex of the full (dense) message; primitive-layer ground truth and the decoder's skip input",
    "serialized_sparse.hex": "lowercase hex of the sparse-canonical message (MESSAGE_SPEC S2): every leaf field equal to its type default is omitted, and a sequence left without content is omitted too (not framed empty); byte-exact target for a sparse encoder",
    "field.element": "true marks the op at a wrapper array's LAST element index (MESSAGE_SPEC S2/S5.1). A wrapper carries no length, so the length is highest present id + 1: that element is ALWAYS written -- a leaf as its (default) value, a sequence element as an empty frame -- while every INTERIOR element equal to its default is omitted, leaf and sequence element alike. It is the only op the sparse column never drops",
    "integers": "decimal JSON number literals (full u64/i64 range)",
    "floats": "finite values as JSON numbers; +/-infinity as the strings 'inf'/'-inf'",
    "blob.value_hex": "lowercase hex of the blob payload",
    "array.element_type": "input element width/type fed to the encoder (u8..u64, i8..i64, fp32, fp64)",
    "invalid_utf8": "NEGATIVE vectors: a `string` field (id 0) whose bytes are not valid UTF-8. A strict (SOFAB_STRICT_UTF8) build MUST decode serialized_hex to the INVALID outcome and refuse to encode string_hex with the invalid-argument error. Backward-compatible: consumers that only read 'vectors' ignore this key. See test_vectors_README.md.",
    "sequence_growth": "GROWTH cases (CORELIB_PLAN S7.2 item 8): a wrapper array's length is highest present id + 1 (MESSAGE_SPEC S5.1), so its container grows as elements arrive -- the one allocation shape where growth is conformant (ARCHITECTURE S9.5). A case is keyed by a DELIVERY SEQUENCE OF ELEMENT IDS, not by bytes, because two ports that grow differently emit identical bytes: the port builds the message from 'deliver' and asserts 'expect'. Indices are CAP-RELATIVE -- 'id_from_cap'/'length_from_cap' are offsets added to the port's own configured max_dyn_array_count, which is per-target and never a family-wide number; every case assumes a cap of at least 4. Gated by requires 'dynamic_arrays': statically bounded profiles (C, C++ corelib: c-cpp, Rust no_std) never grow and do not run this block. Expectations come from ARCHITECTURE S9.5 and CORELIB_PLAN S7.2 item 8, NOT from the generating implementation, which authors these cases without executing them. Backward-compatible: consumers that only read 'vectors' ignore this key. See test_vectors_README.md.",
    "header_limits": "HEADER-CEILING cases (CORELIB_PLAN S6.2.1/S6.3): bytes that DECLARE a length or count and then END, with no payload behind them. The ceiling is decided at that word, before the payload is asked for, so the answer is the ceiling's and TERMINAL -- never INCOMPLETE, which S5.2.1 defines as the outcome more bytes can change. Which ceiling speaks is the subject: a schema 'maxlen' answers INVALID (MESSAGE_SPEC S7.1), a receiver cap answers LIMIT_EXCEEDED (S6.2.1), and a case carries 'schema' or 'limits' but never both -- a cap MUST NOT be applied to a field the schema already bounds. Bounds are ABSOLUTE, not cap-relative as in sequence_growth: the case is a fixed byte string, so it tells the port which ceiling to configure for the run. EVERY REJECTION IS PAIRED WITH AN IN-CAP CONTROL that must still answer INCOMPLETE, so a port cannot pass by rejecting everything. An unsatisfied 'requires' tag means SKIP. Expectations come from CORELIB_PLAN S6.2.1/S6.3 and MESSAGE_SPEC S5.2, NOT from the generating implementation. Backward-compatible: consumers that only read 'vectors' ignore this key. See test_vectors_README.md."
    ,"header_limits_nested": "The header_limits axis one frame deeper: the same over-ceiling header delivered INSIDE a sequence that is still open when the bytes end. The ceiling is decided at the length/count word regardless of depth (CORELIB_PLAN S6.2.1) and is terminal (S6.3). INCOMPLETE is the trap: an open frame is an independent reason to report it, so a port that never checks the ceiling produces a plausible INCOMPLETE for the wrong reason. Each case carries 'frames', the sequence field ids it is nested in, outermost first; a runner must bind its ceiling to the field at that depth. Backward-compatible: consumers that do not know this block ignore it. See test_vectors_README.md."
    ,"boolean_tolerant": "TOLERANT-DECODE cases: a boolean whose wire value is not the canonical 0/1. CORELIB_PLAN S4.4 is canonical on encode, tolerant on decode: an encoder MUST write true as 1, and a decoder MUST read EVERY value other than 0 as true, normalize it, and re-encode it as 1. A boolean carries NO width bound, so 256 and 2^64-1 are true, never INVALID and never truncated to false. No encoder run can produce these bytes, so the block is hand-authored and its expectations come from the spec. Needs nothing beyond the plain decode API. Backward-compatible: consumers that only read 'vectors' ignore this key. See test_vectors_README.md."
  },
  "vectors": [
    {
      "name": "unsigned_0",
      "group": "scalar/unsigned",
      "description": "Unsigned varint at field id 0 covering a varint length boundary.",
      "offset": 0,
      "fields": [
        { "op": "unsigned", "id": 0, "value": 0 }
      ],
      "serialized": { "length": 2, "hex": "0000" },
      "serialized_sparse": { "length": 0, "hex": "" }
    },
    {
      "name": "unsigned_0x7F",
      "group": "scalar/unsigned",
      "description": "Unsigned varint at field id 0 covering a varint length boundary.",
      "offset": 0,
      "fields": [
        { "op": "unsigned", "id": 0, "value": 127 }
      ],
      "serialized": { "length": 2, "hex": "007f" },
      "serialized_sparse": { "length": 2, "hex": "007f" }
    },
    {
      "name": "unsigned_0x80",
      "group": "scalar/unsigned",
      "description": "Unsigned varint at field id 0 covering a varint length boundary.",
      "offset": 0,
      "fields": [
        { "op": "unsigned", "id": 0, "value": 128 }
      ],
      "serialized": { "length": 3, "hex": "008001" },
      "serialized_sparse": { "length": 3, "hex": "008001" }
    },
    {
      "name": "unsigned_0x3FFF",
      "group": "scalar/unsigned",
      "description": "Unsigned varint at field id 0 covering a varint length boundary.",
      "offset": 0,
      "fields": [
        { "op": "unsigned", "id": 0, "value": 16383 }
      ],
      "serialized": { "length": 3, "hex": "00ff7f" },
      "serialized_sparse": { "length": 3, "hex": "00ff7f" }
    },
    {
      "name": "unsigned_0x4000",
      "group": "scalar/unsigned",
      "description": "Unsigned varint at field id 0 covering a varint length boundary.",
      "offset": 0,
      "fields": [
        { "op": "unsigned", "id": 0, "value": 16384 }
      ],
      "serialized": { "length": 4, "hex": "00808001" },
      "serialized_sparse": { "length": 4, "hex": "00808001" }
    },
    {
      "name": "unsigned_0x1FFFFF",
      "group": "scalar/unsigned",
      "description": "Unsigned varint at field id 0 covering a varint length boundary.",
      "offset": 0,
      "fields": [
        { "op": "unsigned", "id": 0, "value": 2097151 }
      ],
      "serialized": { "length": 4, "hex": "00ffff7f" },
      "serialized_sparse": { "length": 4, "hex": "00ffff7f" }
    },
    {
      "name": "unsigned_0x200000",
      "group": "scalar/unsigned",
      "description": "Unsigned varint at field id 0 covering a varint length boundary.",
      "offset": 0,
      "fields": [
        { "op": "unsigned", "id": 0, "value": 2097152 }
      ],
      "serialized": { "length": 5, "hex": "0080808001" },
      "serialized_sparse": { "length": 5, "hex": "0080808001" }
    },
    {
      "name": "unsigned_0xFFFFFFF",
      "group": "scalar/unsigned",
      "description": "Unsigned varint at field id 0 covering a varint length boundary.",
      "offset": 0,
      "fields": [
        { "op": "unsigned", "id": 0, "value": 268435455 }
      ],
      "serialized": { "length": 5, "hex": "00ffffff7f" },
      "serialized_sparse": { "length": 5, "hex": "00ffffff7f" }
    },
    {
      "name": "unsigned_0x10000000",
      "group": "scalar/unsigned",
      "description": "Unsigned varint at field id 0 covering a varint length boundary.",
      "offset": 0,
      "fields": [
        { "op": "unsigned", "id": 0, "value": 268435456 }
      ],
      "serialized": { "length": 6, "hex": "008080808001" },
      "serialized_sparse": { "length": 6, "hex": "008080808001" }
    },
    {
      "name": "unsigned_0x7FFFFFFFF",
      "group": "scalar/unsigned",
      "description": "Unsigned varint at field id 0 covering a varint length boundary.",
      "offset": 0,
      "requires": ["int64"],
      "fields": [
        { "op": "unsigned", "id": 0, "value": 34359738367 }
      ],
      "serialized": { "length": 6, "hex": "00ffffffff7f" },
      "serialized_sparse": { "length": 6, "hex": "00ffffffff7f" }
    },
    {
      "name": "unsigned_0x800000000",
      "group": "scalar/unsigned",
      "description": "Unsigned varint at field id 0 covering a varint length boundary.",
      "offset": 0,
      "requires": ["int64"],
      "fields": [
        { "op": "unsigned", "id": 0, "value": 34359738368 }
      ],
      "serialized": { "length": 7, "hex": "00808080808001" },
      "serialized_sparse": { "length": 7, "hex": "00808080808001" }
    },
    {
      "name": "unsigned_0x3FFFFFFFFFF",
      "group": "scalar/unsigned",
      "description": "Unsigned varint at field id 0 covering a varint length boundary.",
      "offset": 0,
      "requires": ["int64"],
      "fields": [
        { "op": "unsigned", "id": 0, "value": 4398046511103 }
      ],
      "serialized": { "length": 7, "hex": "00ffffffffff7f" },
      "serialized_sparse": { "length": 7, "hex": "00ffffffffff7f" }
    },
    {
      "name": "unsigned_0x40000000000",
      "group": "scalar/unsigned",
      "description": "Unsigned varint at field id 0 covering a varint length boundary.",
      "offset": 0,
      "requires": ["int64"],
      "fields": [
        { "op": "unsigned", "id": 0, "value": 4398046511104 }
      ],
      "serialized": { "length": 8, "hex": "0080808080808001" },
      "serialized_sparse": { "length": 8, "hex": "0080808080808001" }
    },
    {
      "name": "unsigned_0x1FFFFFFFFFFFF",
      "group": "scalar/unsigned",
      "description": "Unsigned varint at field id 0 covering a varint length boundary.",
      "offset": 0,
      "requires": ["int64"],
      "fields": [
        { "op": "unsigned", "id": 0, "value": 562949953421311 }
      ],
      "serialized": { "length": 8, "hex": "00ffffffffffff7f" },
      "serialized_sparse": { "length": 8, "hex": "00ffffffffffff7f" }
    },
    {
      "name": "unsigned_0x2000000000000",
      "group": "scalar/unsigned",
      "description": "Unsigned varint at field id 0 covering a varint length boundary.",
      "offset": 0,
      "requires": ["int64"],
      "fields": [
        { "op": "unsigned", "id": 0, "value": 562949953421312 }
      ],
      "serialized": { "length": 9, "hex": "008080808080808001" },
      "serialized_sparse": { "length": 9, "hex": "008080808080808001" }
    },
    {
      "name": "unsigned_0xFFFFFFFFFFFFFF",
      "group": "scalar/unsigned",
      "description": "Unsigned varint at field id 0 covering a varint length boundary.",
      "offset": 0,
      "requires": ["int64"],
      "fields": [
        { "op": "unsigned", "id": 0, "value": 72057594037927935 }
      ],
      "serialized": { "length": 9, "hex": "00ffffffffffffff7f" },
      "serialized_sparse": { "length": 9, "hex": "00ffffffffffffff7f" }
    },
    {
      "name": "unsigned_0x100000000000000",
      "group": "scalar/unsigned",
      "description": "Unsigned varint at field id 0 covering a varint length boundary.",
      "offset": 0,
      "requires": ["int64"],
      "fields": [
        { "op": "unsigned", "id": 0, "value": 72057594037927936 }
      ],
      "serialized": { "length": 10, "hex": "00808080808080808001" },
      "serialized_sparse": { "length": 10, "hex": "00808080808080808001" }
    },
    {
      "name": "unsigned_0x7FFFFFFFFFFFFFFF",
      "group": "scalar/unsigned",
      "description": "Unsigned varint at field id 0 covering a varint length boundary.",
      "offset": 0,
      "requires": ["int64"],
      "fields": [
        { "op": "unsigned", "id": 0, "value": 9223372036854775807 }
      ],
      "serialized": { "length": 10, "hex": "00ffffffffffffffff7f" },
      "serialized_sparse": { "length": 10, "hex": "00ffffffffffffffff7f" }
    },
    {
      "name": "unsigned_0x8000000000000000",
      "group": "scalar/unsigned",
      "description": "Unsigned varint at field id 0 covering a varint length boundary.",
      "offset": 0,
      "requires": ["int64"],
      "fields": [
        { "op": "unsigned", "id": 0, "value": 9223372036854775808 }
      ],
      "serialized": { "length": 11, "hex": "0080808080808080808001" },
      "serialized_sparse": { "length": 11, "hex": "0080808080808080808001" }
    },
    {
      "name": "unsigned_0xFFFFFFFFFFFFFFFF",
      "group": "scalar/unsigned",
      "description": "Unsigned varint at field id 0 covering a varint length boundary.",
      "offset": 0,
      "requires": ["int64"],
      "fields": [
        { "op": "unsigned", "id": 0, "value": 18446744073709551615 }
      ],
      "serialized": { "length": 11, "hex": "00ffffffffffffffffff01" },
      "serialized_sparse": { "length": 11, "hex": "00ffffffffffffffffff01" }
    },
    {
      "name": "id_max",
      "group": "scalar/id",
      "description": "Largest field id (SOFAB_ID_MAX = INT32_MAX) with value 0.",
      "offset": 0,
      "requires": ["int64"],
      "fields": [
        { "op": "unsigned", "id": 2147483647, "value": 0 }
      ],
      "serialized": { "length": 6, "hex": "f8ffffff3f00" },
      "serialized_sparse": { "length": 0, "hex": "" }
    },
    {
      "name": "id_two_byte_header",
      "group": "scalar/id",
      "description": "Field id 16 — the first id whose (id<<3)|type header needs two varint bytes.",
      "offset": 0,
      "fields": [
        { "op": "unsigned", "id": 16, "value": 1 }
      ],
      "serialized": { "length": 3, "hex": "800101" },
      "serialized_sparse": { "length": 3, "hex": "800101" }
    },
    {
      "name": "signed_min",
      "group": "scalar/signed",
      "description": "INT64_MIN as a zigzag signed varint.",
      "offset": 0,
      "requires": ["int64"],
      "fields": [
        { "op": "signed", "id": 0, "value": -9223372036854775808 }
      ],
      "serialized": { "length": 11, "hex": "01ffffffffffffffffff01" },
      "serialized_sparse": { "length": 11, "hex": "01ffffffffffffffffff01" }
    },
    {
      "name": "signed_max",
      "group": "scalar/signed",
      "description": "INT64_MAX as a zigzag signed varint.",
      "offset": 0,
      "requires": ["int64"],
      "fields": [
        { "op": "signed", "id": 0, "value": 9223372036854775807 }
      ],
      "serialized": { "length": 11, "hex": "01feffffffffffffffff01" },
      "serialized_sparse": { "length": 11, "hex": "01feffffffffffffffff01" }
    },
    {
      "name": "signed_0",
      "group": "scalar/signed",
      "description": "Signed varint covering a zig-zag / varint length boundary.",
      "offset": 0,
      "fields": [
        { "op": "signed", "id": 0, "value": 0 }
      ],
      "serialized": { "length": 2, "hex": "0100" },
      "serialized_sparse": { "length": 0, "hex": "" }
    },
    {
      "name": "signed_minus1",
      "group": "scalar/signed",
      "description": "Signed varint covering a zig-zag / varint length boundary.",
      "offset": 0,
      "fields": [
        { "op": "signed", "id": 0, "value": -1 }
      ],
      "serialized": { "length": 2, "hex": "0101" },
      "serialized_sparse": { "length": 2, "hex": "0101" }
    },
    {
      "name": "signed_1",
      "group": "scalar/signed",
      "description": "Signed varint covering a zig-zag / varint length boundary.",
      "offset": 0,
      "fields": [
        { "op": "signed", "id": 0, "value": 1 }
      ],
      "serialized": { "length": 2, "hex": "0102" },
      "serialized_sparse": { "length": 2, "hex": "0102" }
    },
    {
      "name": "signed_63",
      "group": "scalar/signed",
      "description": "Signed varint covering a zig-zag / varint length boundary.",
      "offset": 0,
      "fields": [
        { "op": "signed", "id": 0, "value": 63 }
      ],
      "serialized": { "length": 2, "hex": "017e" },
      "serialized_sparse": { "length": 2, "hex": "017e" }
    },
    {
      "name": "signed_64",
      "group": "scalar/signed",
      "description": "Signed varint covering a zig-zag / varint length boundary.",
      "offset": 0,
      "fields": [
        { "op": "signed", "id": 0, "value": 64 }
      ],
      "serialized": { "length": 3, "hex": "018001" },
      "serialized_sparse": { "length": 3, "hex": "018001" }
    },
    {
      "name": "signed_minus64",
      "group": "scalar/signed",
      "description": "Signed varint covering a zig-zag / varint length boundary.",
      "offset": 0,
      "fields": [
        { "op": "signed", "id": 0, "value": -64 }
      ],
      "serialized": { "length": 2, "hex": "017f" },
      "serialized_sparse": { "length": 2, "hex": "017f" }
    },
    {
      "name": "signed_minus65",
      "group": "scalar/signed",
      "description": "Signed varint covering a zig-zag / varint length boundary.",
      "offset": 0,
      "fields": [
        { "op": "signed", "id": 0, "value": -65 }
      ],
      "serialized": { "length": 3, "hex": "018101" },
      "serialized_sparse": { "length": 3, "hex": "018101" }
    },
    {
      "name": "unsigned_u32_max",
      "group": "scalar/unsigned",
      "description": "UINT32_MAX — the largest unsigned a 32-bit (no-int64) build can encode.",
      "offset": 0,
      "fields": [
        { "op": "unsigned", "id": 0, "value": 4294967295 }
      ],
      "serialized": { "length": 6, "hex": "00ffffffff0f" },
      "serialized_sparse": { "length": 6, "hex": "00ffffffff0f" }
    },
    {
      "name": "signed_i32_min",
      "group": "scalar/signed",
      "description": "INT32_MIN — the most-negative signed a 32-bit (no-int64) build can encode.",
      "offset": 0,
      "fields": [
        { "op": "signed", "id": 0, "value": -2147483648 }
      ],
      "serialized": { "length": 6, "hex": "01ffffffff0f" },
      "serialized_sparse": { "length": 6, "hex": "01ffffffff0f" }
    },
    {
      "name": "signed_i32_max",
      "group": "scalar/signed",
      "description": "INT32_MAX — the largest signed a 32-bit (no-int64) build can encode.",
      "offset": 0,
      "fields": [
        { "op": "signed", "id": 0, "value": 2147483647 }
      ],
      "serialized": { "length": 6, "hex": "01feffffff0f" },
      "serialized_sparse": { "length": 6, "hex": "01feffffff0f" }
    },
    {
      "name": "id_max_32bit",
      "group": "scalar/id",
      "description": "Largest field id a 32-bit (no-int64) build can encode (UINT32_MAX >> 3).",
      "offset": 0,
      "fields": [
        { "op": "unsigned", "id": 536870911, "value": 0 }
      ],
      "serialized": { "length": 6, "hex": "f8ffffff0f00" },
      "serialized_sparse": { "length": 0, "hex": "" }
    },
    {
      "name": "boolean_true",
      "group": "scalar/boolean",
      "description": "Boolean true encoded as unsigned 1.",
      "offset": 0,
      "fields": [
        { "op": "boolean", "id": 0, "value": true }
      ],
      "serialized": { "length": 2, "hex": "0001" },
      "serialized_sparse": { "length": 2, "hex": "0001" }
    },
    {
      "name": "boolean_false",
      "group": "scalar/boolean",
      "description": "Boolean false encoded as unsigned 0.",
      "offset": 0,
      "fields": [
        { "op": "boolean", "id": 0, "value": false }
      ],
      "serialized": { "length": 2, "hex": "0000" },
      "serialized_sparse": { "length": 0, "hex": "" }
    },
    {
      "name": "fp32",
      "group": "scalar/float",
      "description": "32-bit float 3.1415f as a little-endian fixed-length field.",
      "offset": 0,
      "requires": ["fixlen"],
      "fields": [
        { "op": "fp32", "id": 0, "value": 3.1415 }
      ],
      "serialized": { "length": 6, "hex": "0220560e4940" },
      "serialized_sparse": { "length": 6, "hex": "0220560e4940" }
    },
    {
      "name": "fp64",
      "group": "scalar/float",
      "description": "64-bit float (double)3.14159265f as a little-endian fixed-length field.",
      "offset": 0,
      "requires": ["fixlen", "fp64"],
      "fields": [
        { "op": "fp64", "id": 0, "value": 3.1415927410125732 }
      ],
      "serialized": { "length": 10, "hex": "024100000060fb210940" },
      "serialized_sparse": { "length": 10, "hex": "024100000060fb210940" }
    },
    {
      "name": "string",
      "group": "scalar/string",
      "description": "UTF-8 string field.",
      "offset": 0,
      "requires": ["fixlen"],
      "fields": [
        { "op": "string", "id": 0, "value": "Hello Couch!" }
      ],
      "serialized": { "length": 14, "hex": "026248656c6c6f20436f75636821" },
      "serialized_sparse": { "length": 14, "hex": "026248656c6c6f20436f75636821" }
    },
    {
      "name": "string_empty",
      "group": "scalar/string",
      "description": "Empty string field.",
      "offset": 0,
      "requires": ["fixlen"],
      "fields": [
        { "op": "string", "id": 0, "value": "" }
      ],
      "serialized": { "length": 2, "hex": "0202" },
      "serialized_sparse": { "length": 0, "hex": "" }
    },
    {
      "name": "string_16",
      "group": "scalar/string",
      "description": "16-byte string — the fixlen length header crosses into two varint bytes.",
      "offset": 0,
      "requires": ["fixlen"],
      "fields": [
        { "op": "string", "id": 0, "value": "0123456789abcdef" }
      ],
      "serialized": { "length": 19, "hex": "02820130313233343536373839616263646566" },
      "serialized_sparse": { "length": 19, "hex": "02820130313233343536373839616263646566" }
    },
    {
      "name": "blob",
      "group": "scalar/blob",
      "description": "Binary blob field.",
      "offset": 0,
      "requires": ["fixlen"],
      "fields": [
        { "op": "blob", "id": 0, "value_hex": "0102030405" }
      ],
      "serialized": { "length": 7, "hex": "022b0102030405" },
      "serialized_sparse": { "length": 7, "hex": "022b0102030405" }
    },
    {
      "name": "blob_empty",
      "group": "scalar/blob",
      "description": "Empty blob field.",
      "offset": 0,
      "requires": ["fixlen"],
      "fields": [
        { "op": "blob", "id": 0, "value_hex": "" }
      ],
      "serialized": { "length": 2, "hex": "0203" },
      "serialized_sparse": { "length": 0, "hex": "" }
    },
    {
      "name": "optional_scalars",
      "group": "skip",
      "description": "Five scalars; a receiver ignoring optional ids 2 and 4 must still read 1, 3, 5.",
      "offset": 0,
      "requires": ["fixlen"],
      "skip_ids": [2, 4],
      "fields": [
        { "op": "unsigned", "id": 1, "value": 100 },
        { "op": "signed", "id": 2, "value": -200 },
        { "op": "string", "id": 3, "value": "keep" },
        { "op": "fp32", "id": 4, "value": 1.5 },
        { "op": "unsigned", "id": 5, "value": 300 }
      ],
      "serialized": { "length": 20, "hex": "0864118f031a226b65657022200000c03f28ac02" },
      "serialized_sparse": { "length": 20, "hex": "0864118f031a226b65657022200000c03f28ac02" }
    },
    {
      "name": "skip_all_wire_types",
      "group": "skip",
      "description": "Every wire type as an optional field; a receiver skipping ids 2-9 must still read the id 1 and id 10 anchors.",
      "offset": 0,
      "requires": ["fixlen", "array", "sequence", "fp64"],
      "skip_ids": [2, 3, 4, 5, 6, 7, 8, 9],
      "fields": [
        { "op": "unsigned", "id": 1, "value": 100 },
        { "op": "signed", "id": 2, "value": -200 },
        { "op": "boolean", "id": 3, "value": true },
        { "op": "fp32", "id": 4, "value": 1.5 },
        { "op": "fp64", "id": 5, "value": 2.5 },
        { "op": "string", "id": 6, "value": "skip me" },
        { "op": "blob", "id": 7, "value_hex": "010203" },
        { "op": "array", "id": 8, "element_type": "u32", "values": [10, 20, 30] },
        { "op": "sequence_begin", "id": 9 },
        { "op": "unsigned", "id": 0, "value": 1 },
        { "op": "string", "id": 1, "value": "ignored" },
        { "op": "sequence_end" },
        { "op": "unsigned", "id": 10, "value": 300 }
      ],
      "serialized": { "length": 58, "hex": "0864118f03180122200000c03f2a410000000000000440323a736b6970206d653a1b01020343030a141e4e00010a3a69676e6f7265640750ac02" },
      "serialized_sparse": { "length": 58, "hex": "0864118f03180122200000c03f2a410000000000000440323a736b6970206d653a1b01020343030a141e4e00010a3a69676e6f7265640750ac02" }
    },
    {
      "name": "skip_empty_fixlen_payloads",
      "group": "skip",
      "description": "Zero-length string and blob as skipped fields: the fixlen_word is there, the payload is not, and the anchors after them must still decode (S4.6).",
      "offset": 0,
      "requires": ["fixlen"],
      "skip_ids": [1, 3],
      "fields": [
        { "op": "unsigned", "id": 0, "value": 1000 },
        { "op": "string", "id": 1, "value": "" },
        { "op": "unsigned", "id": 2, "value": 2000 },
        { "op": "blob", "id": 3, "value_hex": "" },
        { "op": "unsigned", "id": 4, "value": 3000 }
      ],
      "serialized": { "length": 13, "hex": "00e8070a0210d00f1a0320b817" },
      "serialized_sparse": { "length": 9, "hex": "00e80710d00f20b817" }
    },
    {
      "name": "skip_empty_int_arrays",
      "group": "skip",
      "description": "Zero-count integer arrays as skipped fields: the field ends after the count, with no elements and no fixlen_word (S4.7).",
      "offset": 0,
      "requires": ["array"],
      "skip_ids": [1, 3],
      "fields": [
        { "op": "unsigned", "id": 0, "value": 1000 },
        { "op": "array", "id": 1, "element_type": "u32", "values": [] },
        { "op": "unsigned", "id": 2, "value": 2000 },
        { "op": "array", "id": 3, "element_type": "i32", "values": [] },
        { "op": "unsigned", "id": 4, "value": 3000 }
      ],
      "serialized": { "length": 13, "hex": "00e8070b0010d00f1c0020b817" },
      "serialized_sparse": { "length": 9, "hex": "00e80710d00f20b817" }
    },
    {
      "name": "skip_empty_fixlen_arrays",
      "group": "skip",
      "description": "Zero-count fixlen arrays as skipped fields: count 0 KEEPS the fixlen_word (S4.8), so a skip that stops at the count desynchronises the anchor after it.",
      "offset": 0,
      "requires": ["fixlen", "array", "fp64"],
      "skip_ids": [1, 3],
      "fields": [
        { "op": "unsigned", "id": 0, "value": 1000 },
        { "op": "array", "id": 1, "element_type": "fp32", "values": [] },
        { "op": "unsigned", "id": 2, "value": 2000 },
        { "op": "array", "id": 3, "element_type": "fp64", "values": [] },
        { "op": "unsigned", "id": 4, "value": 3000 }
      ],
      "serialized": { "length": 15, "hex": "00e8070d002010d00f1d004120b817" },
      "serialized_sparse": { "length": 9, "hex": "00e80710d00f20b817" }
    },
    {
      "name": "skip_fp64_array",
      "group": "skip",
      "description": "A non-empty fp64 array skipped: element length 8 comes from the fixlen_word, and count x length must be consumed exactly (S4.8).",
      "offset": 0,
      "requires": ["fixlen", "array", "fp64"],
      "skip_ids": [1],
      "fields": [
        { "op": "unsigned", "id": 0, "value": 1000 },
        { "op": "array", "id": 1, "element_type": "fp64", "values": [1.5, -2.5, 3.5] },
        { "op": "unsigned", "id": 2, "value": 2000 }
      ],
      "serialized": { "length": 33, "hex": "00e8070d0341000000000000f83f00000000000004c00000000000000c4010d00f" },
      "serialized_sparse": { "length": 33, "hex": "00e8070d0341000000000000f83f00000000000004c00000000000000c4010d00f" }
    },
    {
      "name": "skip_long_fixlen_payloads",
      "group": "skip",
      "description": "Skipped string and blob of 130 bytes: the fixlen_word is a TWO-byte varint, so a skip that reads the length as one byte lands mid-payload (S4.1, S4.6).",
      "offset": 0,
      "requires": ["fixlen"],
      "skip_ids": [1, 3],
      "fields": [
        { "op": "unsigned", "id": 0, "value": 1000 },
        { "op": "string", "id": 1, "value": "abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz" },
        { "op": "unsigned", "id": 2, "value": 2000 },
        { "op": "blob", "id": 3, "value_hex": "000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f606162636465666768696a6b6c6d6e6f707172737475767778797a7b7c7d7e7f8081" },
        { "op": "unsigned", "id": 4, "value": 3000 }
      ],
      "serialized": { "length": 275, "hex": "00e8070a92086162636465666768696a6b6c6d6e6f707172737475767778797a6162636465666768696a6b6c6d6e6f707172737475767778797a6162636465666768696a6b6c6d6e6f707172737475767778797a6162636465666768696a6b6c6d6e6f707172737475767778797a6162636465666768696a6b6c6d6e6f707172737475767778797a10d00f1a9308000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f606162636465666768696a6b6c6d6e6f707172737475767778797a7b7c7d7e7f808120b817" },
      "serialized_sparse": { "length": 275, "hex": "00e8070a92086162636465666768696a6b6c6d6e6f707172737475767778797a6162636465666768696a6b6c6d6e6f707172737475767778797a6162636465666768696a6b6c6d6e6f707172737475767778797a6162636465666768696a6b6c6d6e6f707172737475767778797a6162636465666768696a6b6c6d6e6f707172737475767778797a10d00f1a9308000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f606162636465666768696a6b6c6d6e6f707172737475767778797a7b7c7d7e7f808120b817" }
    },
    {
      "name": "skip_long_int_arrays",
      "group": "skip",
      "description": "Skipped integer arrays of 130 elements: the element count is a TWO-byte varint and the elements are skipped one varint at a time (S4.7).",
      "offset": 0,
      "requires": ["array"],
      "skip_ids": [1, 3],
      "fields": [
        { "op": "unsigned", "id": 0, "value": 1000 },
        { "op": "array", "id": 1, "element_type": "u32", "values": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130] },
        { "op": "unsigned", "id": 2, "value": 2000 },
        { "op": "array", "id": 3, "element_type": "i32", "values": [-1, -2, -3, -4, -5, -6, -7, -8, -9, -10, -11, -12, -13, -14, -15, -16, -17, -18, -19, -20, -21, -22, -23, -24, -25, -26, -27, -28, -29, -30, -31, -32, -33, -34, -35, -36, -37, -38, -39, -40, -41, -42, -43, -44, -45, -46, -47, -48, -49, -50, -51, -52, -53, -54, -55, -56, -57, -58, -59, -60, -61, -62, -63, -64, -65, -66, -67, -68, -69, -70, -71, -72, -73, -74, -75, -76, -77, -78, -79, -80, -81, -82, -83, -84, -85, -86, -87, -88, -89, -90, -91, -92, -93, -94, -95, -96, -97, -98, -99, -100, -101, -102, -103, -104, -105, -106, -107, -108, -109, -110, -111, -112, -113, -114, -115, -116, -117, -118, -119, -120, -121, -122, -123, -124, -125, -126, -127, -128, -129, -130] },
        { "op": "unsigned", "id": 4, "value": 3000 }
      ],
      "serialized": { "length": 344, "hex": "00e8070b82010102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f606162636465666768696a6b6c6d6e6f707172737475767778797a7b7c7d7e7f80018101820110d00f1c820101030507090b0d0f11131517191b1d1f21232527292b2d2f31333537393b3d3f41434547494b4d4f51535557595b5d5f61636567696b6d6f71737577797b7d7f810183018501870189018b018d018f01910193019501970199019b019d019f01a101a301a501a701a901ab01ad01af01b101b301b501b701b901bb01bd01bf01c101c301c501c701c901cb01cd01cf01d101d301d501d701d901db01dd01df01e101e301e501e701e901eb01ed01ef01f101f301f501f701f901fb01fd01ff018102830220b817" },
      "serialized_sparse": { "length": 344, "hex": "00e8070b82010102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f202122232425262728292a2b2c2d2e2f303132333435363738393a3b3c3d3e3f404142434445464748494a4b4c4d4e4f505152535455565758595a5b5c5d5e5f606162636465666768696a6b6c6d6e6f707172737475767778797a7b7c7d7e7f80018101820110d00f1c820101030507090b0d0f11131517191b1d1f21232527292b2d2f31333537393b3d3f41434547494b4d4f51535557595b5d5f61636567696b6d6f71737577797b7d7f810183018501870189018b018d018f01910193019501970199019b019d019f01a101a301a501a701a901ab01ad01af01b101b301b501b701b901bb01bd01bf01c101c301c501c701c901cb01cd01cf01d101d301d501d701d901db01dd01df01e101e301e501e701e901eb01ed01ef01f101f301f501f701f901fb01fd01ff018102830220b817" }
    },
    {
      "name": "skip_long_fixlen_array",
      "group": "skip",
      "description": "Skipped fixlen array of 130 fp32 elements: a two-byte count, and 520 payload bytes to consume as count x element_length (S4.8).",
      "offset": 0,
      "requires": ["fixlen", "array"],
      "skip_ids": [1],
      "fields": [
        { "op": "unsigned", "id": 0, "value": 1000 },
        { "op": "array", "id": 1, "element_type": "fp32", "values": [1.5, 2.5, 3.5, 4.5, 5.5, 6.5, 7.5, 8.5, 9.5, 10.5, 11.5, 12.5, 13.5, 14.5, 15.5, 16.5, 17.5, 18.5, 19.5, 20.5, 21.5, 22.5, 23.5, 24.5, 25.5, 26.5, 27.5, 28.5, 29.5, 30.5, 31.5, 32.5, 33.5, 34.5, 35.5, 36.5, 37.5, 38.5, 39.5, 40.5, 41.5, 42.5, 43.5, 44.5, 45.5, 46.5, 47.5, 48.5, 49.5, 50.5, 51.5, 52.5, 53.5, 54.5, 55.5, 56.5, 57.5, 58.5, 59.5, 60.5, 61.5, 62.5, 63.5, 64.5, 65.5, 66.5, 67.5, 68.5, 69.5, 70.5, 71.5, 72.5, 73.5, 74.5, 75.5, 76.5, 77.5, 78.5, 79.5, 80.5, 81.5, 82.5, 83.5, 84.5, 85.5, 86.5, 87.5, 88.5, 89.5, 90.5, 91.5, 92.5, 93.5, 94.5, 95.5, 96.5, 97.5, 98.5, 99.5, 100.5, 101.5, 102.5, 103.5, 104.5, 105.5, 106.5, 107.5, 108.5, 109.5, 110.5, 111.5, 112.5, 113.5, 114.5, 115.5, 116.5, 117.5, 118.5, 119.5, 120.5, 121.5, 122.5, 123.5, 124.5, 125.5, 126.5, 127.5, 128.5, 129.5, 130.5] },
        { "op": "unsigned", "id": 2, "value": 2000 }
      ],
      "serialized": { "length": 530, "hex": "00e8070d8201200000c03f0000204000006040000090400000b0400000d0400000f04000000841000018410000284100003841000048410000584100006841000078410000844100008c410000944100009c410000a4410000ac410000b4410000bc410000c4410000cc410000d4410000dc410000e4410000ec410000f4410000fc41000002420000064200000a4200000e42000012420000164200001a4200001e42000022420000264200002a4200002e42000032420000364200003a4200003e42000042420000464200004a4200004e42000052420000564200005a4200005e42000062420000664200006a4200006e42000072420000764200007a4200007e42000081420000834200008542000087420000894200008b4200008d4200008f42000091420000934200009542000097420000994200009b4200009d4200009f420000a1420000a3420000a5420000a7420000a9420000ab420000ad420000af420000b1420000b3420000b5420000b7420000b9420000bb420000bd420000bf420000c1420000c3420000c5420000c7420000c9420000cb420000cd420000cf420000d1420000d3420000d5420000d7420000d9420000db420000dd420000df420000e1420000e3420000e5420000e7420000e9420000eb420000ed420000ef420000f1420000f3420000f5420000f7420000f9420000fb420000fd420000ff4200800043008001430080024310d00f" },
      "serialized_sparse": { "length": 530, "hex": "00e8070d8201200000c03f0000204000006040000090400000b0400000d0400000f04000000841000018410000284100003841000048410000584100006841000078410000844100008c410000944100009c410000a4410000ac410000b4410000bc410000c4410000cc410000d4410000dc410000e4410000ec410000f4410000fc41000002420000064200000a4200000e42000012420000164200001a4200001e42000022420000264200002a4200002e42000032420000364200003a4200003e42000042420000464200004a4200004e42000052420000564200005a4200005e42000062420000664200006a4200006e42000072420000764200007a4200007e42000081420000834200008542000087420000894200008b4200008d4200008f42000091420000934200009542000097420000994200009b4200009d4200009f420000a1420000a3420000a5420000a7420000a9420000ab420000ad420000af420000b1420000b3420000b5420000b7420000b9420000bb420000bd420000bf420000c1420000c3420000c5420000c7420000c9420000cb420000cd420000cf420000d1420000d3420000d5420000d7420000d9420000db420000dd420000df420000e1420000e3420000e5420000e7420000e9420000eb420000ed420000ef420000f1420000f3420000f5420000f7420000f9420000fb420000fd420000ff4200800043008001430080024310d00f" }
    },
    {
      "name": "skip_large_id",
      "group": "skip",
      "description": "A skipped field at id 100000: its (id << 3 | type) header is a three-byte varint (S4.3), and the anchor behind it carries an equally wide header.",
      "offset": 0,
      "skip_ids": [100000],
      "fields": [
        { "op": "unsigned", "id": 0, "value": 1000 },
        { "op": "signed", "id": 100000, "value": -4242 },
        { "op": "unsigned", "id": 100001, "value": 2000 }
      ],
      "serialized": { "length": 13, "hex": "00e80781ea30a34288ea30d00f" },
      "serialized_sparse": { "length": 13, "hex": "00e80781ea30a34288ea30d00f" }
    },
    {
      "name": "skip_at_message_edges",
      "group": "skip",
      "description": "The first and the last field of the message are both skipped: nothing precedes the one, nothing follows the other, and the message must still end at a clean boundary.",
      "offset": 0,
      "skip_ids": [0, 2],
      "fields": [
        { "op": "signed", "id": 0, "value": -1234 },
        { "op": "unsigned", "id": 1, "value": 1000 },
        { "op": "unsigned", "id": 2, "value": 2000 }
      ],
      "serialized": { "length": 9, "hex": "01a31308e80710d00f" },
      "serialized_sparse": { "length": 9, "hex": "01a31308e80710d00f" }
    },
    {
      "name": "skip_fixlen_at_message_end",
      "group": "skip",
      "description": "A fixlen field is the last thing in the message and is skipped: the decoder must leave the payload state and reach the message boundary (S4.6, S5.2).",
      "offset": 0,
      "requires": ["fixlen"],
      "skip_ids": [1],
      "fields": [
        { "op": "unsigned", "id": 0, "value": 1000 },
        { "op": "string", "id": 1, "value": "trailing" }
      ],
      "serialized": { "length": 13, "hex": "00e8070a42747261696c696e67" },
      "serialized_sparse": { "length": 13, "hex": "00e8070a42747261696c696e67" }
    },
    {
      "name": "skip_int_array_at_message_end",
      "group": "skip",
      "description": "An integer array is the last thing in the message and is skipped: the element loop must run out exactly at the boundary (S4.7, S5.2).",
      "offset": 0,
      "requires": ["array"],
      "skip_ids": [1],
      "fields": [
        { "op": "unsigned", "id": 0, "value": 1000 },
        { "op": "array", "id": 1, "element_type": "u32", "values": [10, 20, 30] }
      ],
      "serialized": { "length": 8, "hex": "00e8070b030a141e" },
      "serialized_sparse": { "length": 8, "hex": "00e8070b030a141e" }
    },
    {
      "name": "skip_fixlen_array_at_message_end",
      "group": "skip",
      "description": "A fixlen array is the last thing in the message and is skipped: count x element_length must run out exactly at the boundary (S4.8, S5.2).",
      "offset": 0,
      "requires": ["fixlen", "array"],
      "skip_ids": [1],
      "fields": [
        { "op": "unsigned", "id": 0, "value": 1000 },
        { "op": "array", "id": 1, "element_type": "fp32", "values": [1.5, -2.5, 3.5] }
      ],
      "serialized": { "length": 18, "hex": "00e8070d03200000c03f000020c000006040" },
      "serialized_sparse": { "length": 18, "hex": "00e8070d03200000c03f000020c000006040" }
    },
    {
      "name": "skip_sequence_at_message_end",
      "group": "skip",
      "description": "A nested sequence is the last thing in the message and is skipped: skip_depth must unwind to zero on the closing marker, or the message never reaches a boundary (S4.9).",
      "offset": 0,
      "requires": ["sequence"],
      "skip_ids": [1],
      "fields": [
        { "op": "unsigned", "id": 0, "value": 1000 },
        { "op": "sequence_begin", "id": 1 },
        { "op": "unsigned", "id": 0, "value": 7 },
        { "op": "sequence_begin", "id": 1 },
        { "op": "unsigned", "id": 0, "value": 8 },
        { "op": "sequence_end" },
        { "op": "sequence_end" }
      ],
      "serialized": { "length": 11, "hex": "00e8070e00070e00080707" },
      "serialized_sparse": { "length": 11, "hex": "00e8070e00070e00080707" }
    },
    {
      "name": "skip_before_sequence_end",
      "group": "skip",
      "description": "The last field inside a sequence the receiver DOES read is skipped, so the resync lands on the sequence-end marker rather than on a value-bearing header (S4.9).",
      "offset": 0,
      "requires": ["sequence"],
      "skip_ids": [2],
      "fields": [
        { "op": "unsigned", "id": 0, "value": 1000 },
        { "op": "sequence_begin", "id": 1 },
        { "op": "unsigned", "id": 0, "value": 7 },
        { "op": "signed", "id": 2, "value": -55 },
        { "op": "sequence_end" },
        { "op": "unsigned", "id": 3, "value": 2000 }
      ],
      "serialized": { "length": 12, "hex": "00e8070e0007116d0718d00f" },
      "serialized_sparse": { "length": 12, "hex": "00e8070e0007116d0718d00f" }
    },
    {
      "name": "array_unsigned_u32",
      "group": "array/integer",
      "description": "Array of unsigned values (u32 input).",
      "offset": 0,
      "requires": ["array"],
      "fields": [
        { "op": "array", "id": 0, "element_type": "u32", "values": [1, 2, 3, 2147483648, 4294967295] }
      ],
      "serialized": { "length": 15, "hex": "03050102038080808008ffffffff0f" },
      "serialized_sparse": { "length": 15, "hex": "03050102038080808008ffffffff0f" }
    },
    {
      "name": "array_signed_i32",
      "group": "array/integer",
      "description": "Array of signed values (i32 input).",
      "offset": 0,
      "requires": ["array"],
      "fields": [
        { "op": "array", "id": 0, "element_type": "i32", "values": [-1, -2, -3, -2147483648, 2147483647] }
      ],
      "serialized": { "length": 15, "hex": "0405010305ffffffff0ffeffffff0f" },
      "serialized_sparse": { "length": 15, "hex": "0405010305ffffffff0ffeffffff0f" }
    },
    {
      "name": "array_i8",
      "group": "array/integer",
      "description": "Array of i8.",
      "offset": 0,
      "requires": ["array"],
      "fields": [
        { "op": "array", "id": 0, "element_type": "i8", "values": [-1, -2, -3, -128, 127] }
      ],
      "serialized": { "length": 9, "hex": "0405010305ff01fe01" },
      "serialized_sparse": { "length": 9, "hex": "0405010305ff01fe01" }
    },
    {
      "name": "array_u8",
      "group": "array/integer",
      "description": "Array of u8.",
      "offset": 0,
      "requires": ["array"],
      "fields": [
        { "op": "array", "id": 0, "element_type": "u8", "values": [1, 2, 3, 0, 255] }
      ],
      "serialized": { "length": 8, "hex": "030501020300ff01" },
      "serialized_sparse": { "length": 8, "hex": "030501020300ff01" }
    },
    {
      "name": "array_i16",
      "group": "array/integer",
      "description": "Array of i16.",
      "offset": 0,
      "requires": ["array"],
      "fields": [
        { "op": "array", "id": 0, "element_type": "i16", "values": [-1, -2, -3, -32768, 32767] }
      ],
      "serialized": { "length": 11, "hex": "0405010305ffff03feff03" },
      "serialized_sparse": { "length": 11, "hex": "0405010305ffff03feff03" }
    },
    {
      "name": "array_u16",
      "group": "array/integer",
      "description": "Array of u16.",
      "offset": 0,
      "requires": ["array"],
      "fields": [
        { "op": "array", "id": 0, "element_type": "u16", "values": [1, 2, 3, 0, 65535] }
      ],
      "serialized": { "length": 9, "hex": "030501020300ffff03" },
      "serialized_sparse": { "length": 9, "hex": "030501020300ffff03" }
    },
    {
      "name": "array_u64",
      "group": "array/integer",
      "description": "Array of u64.",
      "offset": 0,
      "requires": ["array", "int64"],
      "fields": [
        { "op": "array", "id": 0, "element_type": "u64", "values": [1, 2, 3, 0, 18446744073709551615] }
      ],
      "serialized": { "length": 16, "hex": "030501020300ffffffffffffffffff01" },
      "serialized_sparse": { "length": 16, "hex": "030501020300ffffffffffffffffff01" }
    },
    {
      "name": "array_i64",
      "group": "array/integer",
      "description": "Array of i64.",
      "offset": 0,
      "requires": ["array", "int64"],
      "fields": [
        { "op": "array", "id": 0, "element_type": "i64", "values": [-1, -2, -3, -9223372036854775808, 9223372036854775807] }
      ],
      "serialized": { "length": 25, "hex": "0405010305ffffffffffffffffff01feffffffffffffffff01" },
      "serialized_sparse": { "length": 25, "hex": "0405010305ffffffffffffffffff01feffffffffffffffff01" }
    },
    {
      "name": "array_unsigned_trailing_defaults",
      "group": "array/integer",
      "description": "Unsigned array ending in default (zero) elements: M is the array's length, so all four elements stay on the wire.",
      "offset": 0,
      "requires": ["array"],
      "fields": [
        { "op": "array", "id": 0, "element_type": "u32", "values": [1, 2, 0, 0] }
      ],
      "serialized": { "length": 6, "hex": "030401020000" },
      "serialized_sparse": { "length": 6, "hex": "030401020000" }
    },
    {
      "name": "array_u8_large",
      "group": "array/integer",
      "description": "200-element u8 array — the element count crosses into two varint bytes.",
      "offset": 0,
      "requires": ["array"],
      "fields": [
        { "op": "array", "id": 0, "element_type": "u8", "values": [1, 8, 15, 22, 29, 36, 43, 50, 57, 64, 71, 78, 85, 92, 99, 106, 113, 120, 127, 134, 141, 148, 155, 162, 169, 176, 183, 190, 197, 204, 211, 218, 225, 232, 239, 246, 253, 4, 11, 18, 25, 32, 39, 46, 53, 60, 67, 74, 81, 88, 95, 102, 109, 116, 123, 130, 137, 144, 151, 158, 165, 172, 179, 186, 193, 200, 207, 214, 221, 228, 235, 242, 249, 0, 7, 14, 21, 28, 35, 42, 49, 56, 63, 70, 77, 84, 91, 98, 105, 112, 119, 126, 133, 140, 147, 154, 161, 168, 175, 182, 189, 196, 203, 210, 217, 224, 231, 238, 245, 252, 3, 10, 17, 24, 31, 38, 45, 52, 59, 66, 73, 80, 87, 94, 101, 108, 115, 122, 129, 136, 143, 150, 157, 164, 171, 178, 185, 192, 199, 206, 213, 220, 227, 234, 241, 248, 255, 6, 13, 20, 27, 34, 41, 48, 55, 62, 69, 76, 83, 90, 97, 104, 111, 118, 125, 132, 139, 146, 153, 160, 167, 174, 181, 188, 195, 202, 209, 216, 223, 230, 237, 244, 251, 2, 9, 16, 23, 30, 37, 44, 51, 58, 65, 72, 79, 86, 93, 100, 107, 114] }
      ],
      "serialized": { "length": 294, "hex": "03c80101080f161d242b323940474e555c636a71787f86018d0194019b01a201a901b001b701be01c501cc01d301da01e101e801ef01f601fd01040b121920272e353c434a51585f666d747b82018901900197019e01a501ac01b301ba01c101c801cf01d601dd01e401eb01f201f90100070e151c232a31383f464d545b626970777e85018c0193019a01a101a801af01b601bd01c401cb01d201d901e001e701ee01f501fc01030a11181f262d343b424950575e656c737a810188018f0196019d01a401ab01b201b901c001c701ce01d501dc01e301ea01f101f801ff01060d141b222930373e454c535a61686f767d84018b0192019901a001a701ae01b501bc01c301ca01d101d801df01e601ed01f401fb01020910171e252c333a41484f565d646b72" },
      "serialized_sparse": { "length": 294, "hex": "03c80101080f161d242b323940474e555c636a71787f86018d0194019b01a201a901b001b701be01c501cc01d301da01e101e801ef01f601fd01040b121920272e353c434a51585f666d747b82018901900197019e01a501ac01b301ba01c101c801cf01d601dd01e401eb01f201f90100070e151c232a31383f464d545b626970777e85018c0193019a01a101a801af01b601bd01c401cb01d201d901e001e701ee01f501fc01030a11181f262d343b424950575e656c737a810188018f0196019d01a401ab01b201b901c001c701ce01d501dc01e301ea01f101f801ff01060d141b222930373e454c535a61686f767d84018b0192019901a001a701ae01b501bc01c301ca01d101d801df01e601ed01f401fb01020910171e252c333a41484f565d646b72" }
    },
    {
      "name": "array_fp32",
      "group": "array/float",
      "description": "Array of fp32.",
      "offset": 0,
      "requires": ["fixlen", "array"],
      "fields": [
        { "op": "array", "id": 0, "element_type": "fp32", "values": [1, 2, 3, -3.40282347e+38, 3.40282347e+38] }
      ],
      "serialized": { "length": 23, "hex": "0505200000803f0000004000004040ffff7fffffff7f7f" },
      "serialized_sparse": { "length": 23, "hex": "0505200000803f0000004000004040ffff7fffffff7f7f" }
    },
    {
      "name": "array_fp64",
      "group": "array/float",
      "description": "Array of fp64.",
      "offset": 0,
      "requires": ["fixlen", "array", "fp64"],
      "fields": [
        { "op": "array", "id": 0, "element_type": "fp64", "values": [1, 2, 3, -1.7976931348623157e+308, 1.7976931348623157e+308] }
      ],
      "serialized": { "length": 43, "hex": "050541000000000000f03f00000000000000400000000000000840ffffffffffffefffffffffffffffef7f" },
      "serialized_sparse": { "length": 43, "hex": "050541000000000000f03f00000000000000400000000000000840ffffffffffffefffffffffffffffef7f" }
    },
    {
      "name": "array_fp32_specials",
      "group": "array/float",
      "description": "Array of fp32 special values: +0, -0, +inf, -inf (NaN excluded).",
      "offset": 0,
      "requires": ["fixlen", "array"],
      "fields": [
        { "op": "array", "id": 0, "element_type": "fp32", "values": [0, -0, "inf", "-inf"] }
      ],
      "serialized": { "length": 19, "hex": "05042000000000000000800000807f000080ff" },
      "serialized_sparse": { "length": 19, "hex": "05042000000000000000800000807f000080ff" }
    },
    {
      "name": "array_fp64_specials",
      "group": "array/float",
      "description": "Array of fp64 special values: +0, -0, +inf, -inf (NaN excluded).",
      "offset": 0,
      "requires": ["fixlen", "array", "fp64"],
      "fields": [
        { "op": "array", "id": 0, "element_type": "fp64", "values": [0, -0, "inf", "-inf"] }
      ],
      "serialized": { "length": 35, "hex": "05044100000000000000000000000000000080000000000000f07f000000000000f0ff" },
      "serialized_sparse": { "length": 35, "hex": "05044100000000000000000000000000000080000000000000f07f000000000000f0ff" }
    },
    {
      "name": "array_unsigned_u32_empty",
      "group": "array/integer",
      "description": "Zero-count unsigned array — [hdr][count=0], no elements (§4.7).",
      "offset": 0,
      "requires": ["array"],
      "fields": [
        { "op": "array", "id": 0, "element_type": "u32", "values": [] }
      ],
      "serialized": { "length": 2, "hex": "0300" },
      "serialized_sparse": { "length": 0, "hex": "" }
    },
    {
      "name": "array_signed_i32_empty",
      "group": "array/integer",
      "description": "Zero-count signed array — [hdr][count=0], no elements (§4.7).",
      "offset": 0,
      "requires": ["array"],
      "fields": [
        { "op": "array", "id": 0, "element_type": "i32", "values": [] }
      ],
      "serialized": { "length": 2, "hex": "0400" },
      "serialized_sparse": { "length": 0, "hex": "" }
    },
    {
      "name": "array_fp32_empty",
      "group": "array/float",
      "description": "Zero-count fixlen array — [hdr][count=0][fixlen_word], no payload; the fixlen_word is always present so fp32/fp64 stay distinguishable (§4.8).",
      "offset": 0,
      "requires": ["fixlen", "array"],
      "fields": [
        { "op": "array", "id": 0, "element_type": "fp32", "values": [] }
      ],
      "serialized": { "length": 3, "hex": "050020" },
      "serialized_sparse": { "length": 0, "hex": "" }
    },
    {
      "name": "array_fp64_empty",
      "group": "array/float",
      "description": "Zero-count fixlen array (fp64) — [hdr][count=0][fixlen_word], no payload; the fixlen_word keeps it distinct from an empty fp32 array (§4.8).",
      "offset": 0,
      "requires": ["fixlen", "array", "fp64"],
      "fields": [
        { "op": "array", "id": 0, "element_type": "fp64", "values": [] }
      ],
      "serialized": { "length": 3, "hex": "050041" },
      "serialized_sparse": { "length": 0, "hex": "" }
    },
    {
      "name": "empty_sequence",
      "group": "sequence",
      "description": "A sequence with no fields.",
      "offset": 0,
      "requires": ["sequence"],
      "fields": [
        { "op": "sequence_begin", "id": 1 },
        { "op": "sequence_end" }
      ],
      "serialized": { "length": 2, "hex": "0e07" },
      "serialized_sparse": { "length": 0, "hex": "" }
    },
    {
      "name": "nested_empty_sequences",
      "group": "sequence",
      "description": "A sequence whose only content is an empty sub-sequence.",
      "offset": 0,
      "requires": ["sequence"],
      "fields": [
        { "op": "sequence_begin", "id": 1 },
        { "op": "sequence_begin", "id": 2 },
        { "op": "sequence_end" },
        { "op": "sequence_end" }
      ],
      "serialized": { "length": 4, "hex": "0e160707" },
      "serialized_sparse": { "length": 0, "hex": "" }
    },
    {
      "name": "empty_sequence_between_fields",
      "group": "sequence",
      "description": "An empty sequence between two scalars; the decoder must resume after it.",
      "offset": 0,
      "requires": ["sequence"],
      "skip_ids": [1],
      "fields": [
        { "op": "unsigned", "id": 0, "value": 7 },
        { "op": "sequence_begin", "id": 1 },
        { "op": "sequence_end" },
        { "op": "signed", "id": 2, "value": -7 }
      ],
      "serialized": { "length": 6, "hex": "00070e07110d" },
      "serialized_sparse": { "length": 4, "hex": "0007110d" }
    },
    {
      "name": "nested_sequence",
      "group": "sequence",
      "description": "A scalar, a nested sequence, then a scalar.",
      "offset": 0,
      "requires": ["sequence"],
      "skip_ids": [1],
      "fields": [
        { "op": "unsigned", "id": 0, "value": 42 },
        { "op": "sequence_begin", "id": 1 },
        { "op": "unsigned", "id": 0, "value": 42 },
        { "op": "signed", "id": 2, "value": -42 },
        { "op": "sequence_end" },
        { "op": "signed", "id": 2, "value": -42 }
      ],
      "serialized": { "length": 10, "hex": "002a0e002a1153071153" },
      "serialized_sparse": { "length": 10, "hex": "002a0e002a1153071153" }
    },
    {
      "name": "nested_sequence_with_array",
      "group": "sequence",
      "description": "A nested sequence containing a signed array.",
      "offset": 0,
      "requires": ["array", "sequence"],
      "skip_ids": [3],
      "fields": [
        { "op": "unsigned", "id": 0, "value": 42 },
        { "op": "sequence_begin", "id": 3 },
        { "op": "unsigned", "id": 0, "value": 42 },
        { "op": "array", "id": 3, "element_type": "i32", "values": [-42, -43, -44] },
        { "op": "sequence_end" },
        { "op": "signed", "id": 2, "value": -42 }
      ],
      "serialized": { "length": 13, "hex": "002a1e002a1c03535557071153" },
      "serialized_sparse": { "length": 13, "hex": "002a1e002a1c03535557071153" }
    },
    {
      "name": "nested_sequence_multilevel",
      "group": "sequence",
      "description": "Ten levels of nested sequences.",
      "offset": 0,
      "requires": ["sequence"],
      "skip_ids": [1],
      "fields": [
        { "op": "unsigned", "id": 0, "value": 42 },
        { "op": "sequence_begin", "id": 1 },
        { "op": "unsigned", "id": 0, "value": 42 },
        { "op": "signed", "id": 2, "value": -42 },
        { "op": "sequence_begin", "id": 1 },
        { "op": "unsigned", "id": 0, "value": 42 },
        { "op": "signed", "id": 2, "value": -42 },
        { "op": "sequence_begin", "id": 1 },
        { "op": "unsigned", "id": 0, "value": 42 },
        { "op": "signed", "id": 2, "value": -42 },
        { "op": "sequence_begin", "id": 1 },
        { "op": "unsigned", "id": 0, "value": 42 },
        { "op": "signed", "id": 2, "value": -42 },
        { "op": "sequence_begin", "id": 1 },
        { "op": "unsigned", "id": 0, "value": 42 },
        { "op": "signed", "id": 2, "value": -42 },
        { "op": "sequence_begin", "id": 1 },
        { "op": "unsigned", "id": 0, "value": 42 },
        { "op": "signed", "id": 2, "value": -42 },
        { "op": "sequence_begin", "id": 1 },
        { "op": "unsigned", "id": 0, "value": 42 },
        { "op": "signed", "id": 2, "value": -42 },
        { "op": "sequence_begin", "id": 1 },
        { "op": "unsigned", "id": 0, "value": 42 },
        { "op": "signed", "id": 2, "value": -42 },
        { "op": "sequence_begin", "id": 1 },
        { "op": "unsigned", "id": 0, "value": 42 },
        { "op": "signed", "id": 2, "value": -42 },
        { "op": "sequence_begin", "id": 1 },
        { "op": "unsigned", "id": 0, "value": 42 },
        { "op": "signed", "id": 2, "value": -42 },
        { "op": "sequence_end" },
        { "op": "sequence_end" },
        { "op": "sequence_end" },
        { "op": "sequence_end" },
        { "op": "sequence_end" },
        { "op": "sequence_end" },
        { "op": "sequence_end" },
        { "op": "sequence_end" },
        { "op": "sequence_end" },
        { "op": "sequence_end" },
        { "op": "signed", "id": 2, "value": -42 }
      ],
      "serialized": { "length": 64, "hex": "002a0e002a11530e002a11530e002a11530e002a11530e002a11530e002a11530e002a11530e002a11530e002a11530e002a1153070707070707070707071153" },
      "serialized_sparse": { "length": 64, "hex": "002a0e002a11530e002a11530e002a11530e002a11530e002a11530e002a11530e002a11530e002a11530e002a11530e002a1153070707070707070707071153" }
    },
    {
      "name": "nested_sequence_deep_skip",
      "group": "sequence",
      "description": "Multi-depth nested sequences skipping a depth-2 scalar (id 5) and a whole depth-3 sub-tree (id 7).",
      "offset": 0,
      "requires": ["fixlen", "array", "sequence", "fp64"],
      "skip_ids": [5, 7],
      "fields": [
        { "op": "unsigned", "id": 1, "value": 10 },
        { "op": "sequence_begin", "id": 2 },
        { "op": "unsigned", "id": 3, "value": 20 },
        { "op": "sequence_begin", "id": 4 },
        { "op": "signed", "id": 5, "value": -30 },
        { "op": "string", "id": 6, "value": "deep" },
        { "op": "sequence_begin", "id": 7 },
        { "op": "array", "id": 8, "element_type": "i32", "values": [-1, -2, -3] },
        { "op": "sequence_begin", "id": 9 },
        { "op": "fp64", "id": 10, "value": 1.5 },
        { "op": "sequence_end" },
        { "op": "sequence_end" },
        { "op": "unsigned", "id": 11, "value": 40 },
        { "op": "sequence_end" },
        { "op": "signed", "id": 12, "value": -60 },
        { "op": "sequence_end" },
        { "op": "unsigned", "id": 13, "value": 70 }
      ],
      "serialized": { "length": 41, "hex": "080a16181426293b3222646565703e44030103054e5241000000000000f83f07075828076177076846" },
      "serialized_sparse": { "length": 41, "hex": "080a16181426293b3222646565703e44030103054e5241000000000000f83f07075828076177076846" }
    },
    {
      "name": "array_string_gap",
      "group": "array/string",
      "description": "Array of string with a default (empty) element in the middle: sparse omits id 1, leaving a gap the decoder restores.",
      "offset": 0,
      "requires": ["fixlen", "sequence"],
      "fields": [
        { "op": "sequence_begin", "id": 0 },
        { "op": "string", "id": 0, "value": "a" },
        { "op": "string", "id": 1, "value": "" },
        { "op": "string", "id": 2, "value": "c", "element": true },
        { "op": "sequence_end" }
      ],
      "serialized": { "length": 10, "hex": "06020a610a02120a6307" },
      "serialized_sparse": { "length": 8, "hex": "06020a61120a6307" }
    },
    {
      "name": "array_string_trailing_default",
      "group": "array/string",
      "description": "Array of string whose LAST element is the default (empty): it is written anyway, so [\"a\",\"\"] stays distinct from [\"a\"] -- the sparse form equals the dense one.",
      "offset": 0,
      "requires": ["fixlen", "sequence"],
      "fields": [
        { "op": "sequence_begin", "id": 0 },
        { "op": "string", "id": 0, "value": "a" },
        { "op": "string", "id": 1, "value": "", "element": true },
        { "op": "sequence_end" }
      ],
      "serialized": { "length": 7, "hex": "06020a610a0207" },
      "serialized_sparse": { "length": 7, "hex": "06020a610a0207" }
    },
    {
      "name": "array_string_all_default",
      "group": "array/string",
      "description": "Array of only default (empty) string elements: the interior one drops, so it encodes as its final element alone, at id 1 -- not as the empty array.",
      "offset": 0,
      "requires": ["fixlen", "sequence"],
      "fields": [
        { "op": "sequence_begin", "id": 0 },
        { "op": "string", "id": 0, "value": "" },
        { "op": "string", "id": 1, "value": "", "element": true },
        { "op": "sequence_end" }
      ],
      "serialized": { "length": 6, "hex": "0602020a0207" },
      "serialized_sparse": { "length": 4, "hex": "060a0207" }
    },
    {
      "name": "array_struct_interior_default_element",
      "group": "array/struct",
      "description": "Array of struct where the middle element holds only a default-valued leaf: sparse drops the element entirely (id gap), and the array still decodes at length 3 from id 2.",
      "offset": 0,
      "requires": ["sequence"],
      "fields": [
        { "op": "sequence_begin", "id": 0 },
        { "op": "sequence_begin", "id": 0 },
        { "op": "unsigned", "id": 0, "value": 1 },
        { "op": "sequence_end" },
        { "op": "sequence_begin", "id": 1 },
        { "op": "unsigned", "id": 0, "value": 0 },
        { "op": "sequence_end" },
        { "op": "sequence_begin", "id": 2 },
        { "op": "unsigned", "id": 0, "value": 3 },
        { "op": "sequence_end", "element": true },
        { "op": "sequence_end" }
      ],
      "serialized": { "length": 14, "hex": "06060001070e0000071600030707" },
      "serialized_sparse": { "length": 10, "hex": "06060001071600030707" }
    },
    {
      "name": "array_struct_all_default_elements",
      "group": "array/struct",
      "description": "Array of two all-default structs: the interior element drops and the last one keeps its empty frame, so [{},{}] stays distinguishable from [] at length 2.",
      "offset": 0,
      "requires": ["sequence"],
      "fields": [
        { "op": "sequence_begin", "id": 0 },
        { "op": "sequence_begin", "id": 0 },
        { "op": "sequence_end" },
        { "op": "sequence_begin", "id": 1 },
        { "op": "sequence_end", "element": true },
        { "op": "sequence_end" }
      ],
      "serialized": { "length": 6, "hex": "0606070e0707" },
      "serialized_sparse": { "length": 4, "hex": "060e0707" }
    },
    {
      "name": "array_of_string_arrays",
      "group": "array/nested",
      "description": "Array of string arrays: the second row is empty and, being the last element, keeps its frame, so the outer array decodes at length 2.",
      "offset": 0,
      "requires": ["fixlen", "sequence"],
      "fields": [
        { "op": "sequence_begin", "id": 0 },
        { "op": "sequence_begin", "id": 0 },
        { "op": "string", "id": 0, "value": "a", "element": true },
        { "op": "sequence_end" },
        { "op": "sequence_begin", "id": 1 },
        { "op": "sequence_end", "element": true },
        { "op": "sequence_end" }
      ],
      "serialized": { "length": 9, "hex": "0606020a61070e0707" },
      "serialized_sparse": { "length": 9, "hex": "0606020a61070e0707" }
    },
    {
      "name": "array_string_leading_default",
      "group": "array/string",
      "description": "Array of string with leading and trailing default elements: the leading one leaves an id gap, the trailing one is the last element and is written.",
      "offset": 0,
      "requires": ["fixlen", "sequence"],
      "fields": [
        { "op": "sequence_begin", "id": 0 },
        { "op": "string", "id": 0, "value": "" },
        { "op": "string", "id": 1, "value": "x" },
        { "op": "string", "id": 2, "value": "", "element": true },
        { "op": "sequence_end" }
      ],
      "serialized": { "length": 9, "hex": "0602020a0a78120207" },
      "serialized_sparse": { "length": 7, "hex": "060a0a78120207" }
    },
    {
      "name": "array_element_wire_type_mismatch",
      "group": "array/struct",
      "description": "Wrapper array whose element id 0 arrives as a SCALAR where the schema declares a sequence (struct) element. MESSAGE_SPEC S7.3: it MUST be skipped exactly as a field with an unknown id is skipped, so it does NOT occupy its id and does NOT count toward the array's length (S5.1) -- a schema-aware receiver reconstructs the slot from the element default, decodes the EMPTY array, and re-encodes these bytes as nothing at all (S2). Control: array_element_empty_frame_present.",
      "offset": 0,
      "requires": ["sequence"],
      "fields": [
        { "op": "sequence_begin", "id": 0 },
        { "op": "unsigned", "id": 0, "value": 7 },
        { "op": "sequence_end" }
      ],
      "serialized": { "length": 4, "hex": "06000707" },
      "serialized_sparse": { "length": 4, "hex": "06000707" }
    },
    {
      "name": "array_element_empty_frame_present",
      "group": "array/struct",
      "description": "The control for array_element_wire_type_mismatch: element id 0 arrives as a well-typed but EMPTY frame. An empty element is a PRESENT element -- it counts toward the length (MESSAGE_SPEC S5.1), so the array decodes at length 1 and keeps the frame on re-encode. Only a wire-type-mismatched element (S7.3) stops counting; the two cases are not the same.",
      "offset": 0,
      "requires": ["sequence"],
      "fields": [
        { "op": "sequence_begin", "id": 0 },
        { "op": "sequence_begin", "id": 0 },
        { "op": "sequence_end", "element": true },
        { "op": "sequence_end" }
      ],
      "serialized": { "length": 4, "hex": "06060707" },
      "serialized_sparse": { "length": 4, "hex": "06060707" }
    },
    {
      "name": "full_scale_example",
      "group": "composite",
      "description": "Large message mixing scalars, nested sequences, integer/float arrays and strings.",
      "offset": 0,
      "requires": ["fixlen", "array", "sequence", "fp64", "int64"],
      "skip_ids": [1, 100],
      "fields": [
        { "op": "unsigned", "id": 0, "value": 200 },
        { "op": "signed", "id": 1, "value": -100 },
        { "op": "unsigned", "id": 2, "value": 50000 },
        { "op": "signed", "id": 3, "value": -20000 },
        { "op": "unsigned", "id": 4, "value": 3000000000 },
        { "op": "signed", "id": 5, "value": -1000000000 },
        { "op": "unsigned", "id": 6, "value": 10000000000000 },
        { "op": "signed", "id": 7, "value": -5000000000000 },
        { "op": "sequence_begin", "id": 10 },
        { "op": "fp32", "id": 0, "value": 3.1400001 },
        { "op": "fp64", "id": 1, "value": 3.1415926500000002 },
        { "op": "string", "id": 2, "value": "Hello, World!" },
        { "op": "blob", "id": 3, "value_hex": "deadbeef" },
        { "op": "sequence_end" },
        { "op": "sequence_begin", "id": 100 },
        { "op": "array", "id": 0, "element_type": "u8", "values": [0, 64, 128, 191, 255] },
        { "op": "array", "id": 1, "element_type": "i8", "values": [-128, -64, 0, 63, 127] },
        { "op": "array", "id": 2, "element_type": "u16", "values": [0, 16384, 32768, 49151, 65535] },
        { "op": "array", "id": 3, "element_type": "i16", "values": [-32768, -16384, 0, 16383, 32767] },
        { "op": "array", "id": 4, "element_type": "u32", "values": [0, 1073741824, 2147483648, 3221225471, 4294967295] },
        { "op": "array", "id": 5, "element_type": "i32", "values": [-2147483648, -1073741824, 0, 1073741823, 2147483647] },
        { "op": "array", "id": 6, "element_type": "u64", "values": [0, 4611686018427387904, 9223372036854775808, 13835058055282163711, 18446744073709551615] },
        { "op": "array", "id": 7, "element_type": "i64", "values": [-9223372036854775807, -4611686018427387904, 0, 4611686018427387903, 9223372036854775807] },
        { "op": "sequence_begin", "id": 10 },
        { "op": "array", "id": 0, "element_type": "fp32", "values": [1, 2, 3, -3.40282347e+38, 3.40282347e+38] },
        { "op": "array", "id": 1, "element_type": "fp64", "values": [1, 2, 3, -1.7976931348623157e+308, 1.7976931348623157e+308] },
        { "op": "sequence_end" },
        { "op": "sequence_end" },
        { "op": "sequence_begin", "id": 200 },
        { "op": "string", "id": 0, "value": "Hello, Sofab!" },
        { "op": "string", "id": 1, "value": "" },
        { "op": "string", "id": 2, "value": "1234567890" },
        { "op": "string", "id": 3, "value": "äöüÄÖÜß" },
        { "op": "string", "id": 4, "value": "This_is_a_very_long_test_string_with_!@#$%^&*()_+-=[]{}", "element": true },
        { "op": "sequence_end" }
      ],
      "serialized": { "length": 436, "hex": "00c80109c70110d0860319bfb8022080bcc1960b29ffa7d6b9073080c0caf384a30239ffbfcaf384a302560220c3f548400a41f1d4c853fb210940126a48656c6c6f2c20576f726c64211a23deadbeef07a606030500408001bf01ff010c05ff017f007efe01130500808001808002ffff02ffff031c05ffff03ffff0100feff01feff0323050080808080048080808008ffffffff0bffffffff0f2c05ffffffff0fffffffff0700feffffff07feffffff0f33050080808080808080804080808080808080808001ffffffffffffffffbf01ffffffffffffffffff013c05fdffffffffffffffff01ffffffffffffffff7f00feffffffffffffff7ffeffffffffffffffff01560505200000803f0000004000004040ffff7fffffff7f7f0d0541000000000000f03f00000000000000400000000000000840ffffffffffffefffffffffffffffef7f0707c60c026a48656c6c6f2c20536f666162210a021252313233343536373839301a72c3a4c3b6c3bcc384c396c39cc39f22ba03546869735f69735f615f766572795f6c6f6e675f746573745f737472696e675f776974685f21402324255e262a28295f2b2d3d5b5d7b7d07" },
      "serialized_sparse": { "length": 434, "hex": "00c80109c70110d0860319bfb8022080bcc1960b29ffa7d6b9073080c0caf384a30239ffbfcaf384a302560220c3f548400a41f1d4c853fb210940126a48656c6c6f2c20576f726c64211a23deadbeef07a606030500408001bf01ff010c05ff017f007efe01130500808001808002ffff02ffff031c05ffff03ffff0100feff01feff0323050080808080048080808008ffffffff0bffffffff0f2c05ffffffff0fffffffff0700feffffff07feffffff0f33050080808080808080804080808080808080808001ffffffffffffffffbf01ffffffffffffffffff013c05fdffffffffffffffff01ffffffffffffffff7f00feffffffffffffff7ffeffffffffffffffff01560505200000803f0000004000004040ffff7fffffff7f7f0d0541000000000000f03f00000000000000400000000000000840ffffffffffffefffffffffffffffef7f0707c60c026a48656c6c6f2c20536f666162211252313233343536373839301a72c3a4c3b6c3bcc384c396c39cc39f22ba03546869735f69735f615f766572795f6c6f6e675f746573745f737472696e675f776974685f21402324255e262a28295f2b2d3d5b5d7b7d07" }
    },
    {
      "name": "skip_matrix_varint_after_varint",
      "group": "skip/matrix",
      "description": "Skip matrix, 4 of the 100 (read, skipped) wire-type pairs: each of {unsigned, signed} is skipped where it directly follows a {unsigned, signed} field the receiver DOES read. Every skipped field is followed by an unsigned anchor that must still decode with its exact value -- a skip consuming one byte too few or too many is caught there (MESSAGE_SPEC S7.3, S4.3).",
      "offset": 0,
      "skip_ids": [1, 4, 7, 10],
      "fields": [
        { "op": "unsigned", "id": 0, "value": 1000 },
        { "op": "unsigned", "id": 1, "value": 1001 },
        { "op": "unsigned", "id": 2, "value": 502 },
        { "op": "unsigned", "id": 3, "value": 1003 },
        { "op": "signed", "id": 4, "value": -1004 },
        { "op": "unsigned", "id": 5, "value": 505 },
        { "op": "signed", "id": 6, "value": -1006 },
        { "op": "unsigned", "id": 7, "value": 1007 },
        { "op": "unsigned", "id": 8, "value": 508 },
        { "op": "signed", "id": 9, "value": -1009 },
        { "op": "signed", "id": 10, "value": -1010 },
        { "op": "unsigned", "id": 11, "value": 511 }
      ],
      "serialized": { "length": 36, "hex": "00e80708e90710f60318eb0721d70f28f90331db0f38ef0740fc0349e10f51e30f58ff03" },
      "serialized_sparse": { "length": 36, "hex": "00e80708e90710f60318eb0721d70f28f90331db0f38ef0740fc0349e10f51e30f58ff03" }
    },
    {
      "name": "skip_matrix_fixlen_after_varint",
      "group": "skip/matrix",
      "description": "Skip matrix, 6 of the 100 (read, skipped) wire-type pairs: each of {fp32, string, blob} is skipped where it directly follows a {unsigned, signed} field the receiver DOES read. Every skipped field is followed by an unsigned anchor that must still decode with its exact value -- a skip consuming one byte too few or too many is caught there (MESSAGE_SPEC S7.3, S4.3).",
      "offset": 0,
      "requires": ["fixlen"],
      "skip_ids": [1, 4, 7, 10, 13, 16],
      "fields": [
        { "op": "unsigned", "id": 0, "value": 1000 },
        { "op": "fp32", "id": 1, "value": 2.5 },
        { "op": "unsigned", "id": 2, "value": 502 },
        { "op": "unsigned", "id": 3, "value": 1003 },
        { "op": "string", "id": 4, "value": "s04" },
        { "op": "unsigned", "id": 5, "value": 505 },
        { "op": "unsigned", "id": 6, "value": 1006 },
        { "op": "blob", "id": 7, "value_hex": "deadbe" },
        { "op": "unsigned", "id": 8, "value": 508 },
        { "op": "signed", "id": 9, "value": -1009 },
        { "op": "fp32", "id": 10, "value": 11.5 },
        { "op": "unsigned", "id": 11, "value": 511 },
        { "op": "signed", "id": 12, "value": -1012 },
        { "op": "string", "id": 13, "value": "s13" },
        { "op": "unsigned", "id": 14, "value": 514 },
        { "op": "signed", "id": 15, "value": -1015 },
        { "op": "blob", "id": 16, "value_hex": "deadbe" },
        { "op": "unsigned", "id": 17, "value": 517 }
      ],
      "serialized": { "length": 70, "hex": "00e8070a200000204010f60318eb07221a73303428f90330ee073a1bdeadbe40fc0349e10f52200000384158ff0361e70f6a1a73313370820479ed0f82011bdeadbe88018504" },
      "serialized_sparse": { "length": 70, "hex": "00e8070a200000204010f60318eb07221a73303428f90330ee073a1bdeadbe40fc0349e10f52200000384158ff0361e70f6a1a73313370820479ed0f82011bdeadbe88018504" }
    },
    {
      "name": "skip_matrix_fp64_after_varint",
      "group": "skip/matrix",
      "description": "Skip matrix, 2 of the 100 (read, skipped) wire-type pairs: each of {fp64} is skipped where it directly follows a {unsigned, signed} field the receiver DOES read. Every skipped field is followed by an unsigned anchor that must still decode with its exact value -- a skip consuming one byte too few or too many is caught there (MESSAGE_SPEC S7.3, S4.3).",
      "offset": 0,
      "requires": ["fixlen", "fp64"],
      "skip_ids": [1, 4],
      "fields": [
        { "op": "unsigned", "id": 0, "value": 1000 },
        { "op": "fp64", "id": 1, "value": 3.5 },
        { "op": "unsigned", "id": 2, "value": 502 },
        { "op": "signed", "id": 3, "value": -1003 },
        { "op": "fp64", "id": 4, "value": 6.5 },
        { "op": "unsigned", "id": 5, "value": 505 }
      ],
      "serialized": { "length": 32, "hex": "00e8070a410000000000000c4010f60319d50f22410000000000001a4028f903" },
      "serialized_sparse": { "length": 32, "hex": "00e8070a410000000000000c4010f60319d50f22410000000000001a4028f903" }
    },
    {
      "name": "skip_matrix_int_array_after_varint",
      "group": "skip/matrix",
      "description": "Skip matrix, 4 of the 100 (read, skipped) wire-type pairs: each of {array<unsigned>, array<signed>} is skipped where it directly follows a {unsigned, signed} field the receiver DOES read. Every skipped field is followed by an unsigned anchor that must still decode with its exact value -- a skip consuming one byte too few or too many is caught there (MESSAGE_SPEC S7.3, S4.3).",
      "offset": 0,
      "requires": ["array"],
      "skip_ids": [1, 4, 7, 10],
      "fields": [
        { "op": "unsigned", "id": 0, "value": 1000 },
        { "op": "array", "id": 1, "element_type": "u32", "values": [1000, 2000, 3000] },
        { "op": "unsigned", "id": 2, "value": 502 },
        { "op": "unsigned", "id": 3, "value": 1003 },
        { "op": "array", "id": 4, "element_type": "i32", "values": [-1000, -2000, -3000] },
        { "op": "unsigned", "id": 5, "value": 505 },
        { "op": "signed", "id": 6, "value": -1006 },
        { "op": "array", "id": 7, "element_type": "u32", "values": [1000, 2000, 3000] },
        { "op": "unsigned", "id": 8, "value": 508 },
        { "op": "signed", "id": 9, "value": -1009 },
        { "op": "array", "id": 10, "element_type": "i32", "values": [-1000, -2000, -3000] },
        { "op": "unsigned", "id": 11, "value": 511 }
      ],
      "serialized": { "length": 56, "hex": "00e8070b03e807d00fb81710f60318eb072403cf0f9f1fef2e28f90331db0f3b03e807d00fb81740fc0349e10f5403cf0f9f1fef2e58ff03" },
      "serialized_sparse": { "length": 56, "hex": "00e8070b03e807d00fb81710f60318eb072403cf0f9f1fef2e28f90331db0f3b03e807d00fb81740fc0349e10f5403cf0f9f1fef2e58ff03" }
    },
    {
      "name": "skip_matrix_fixlen_array_after_varint",
      "group": "skip/matrix",
      "description": "Skip matrix, 2 of the 100 (read, skipped) wire-type pairs: each of {array<fixlen>} is skipped where it directly follows a {unsigned, signed} field the receiver DOES read. Every skipped field is followed by an unsigned anchor that must still decode with its exact value -- a skip consuming one byte too few or too many is caught there (MESSAGE_SPEC S7.3, S4.3).",
      "offset": 0,
      "requires": ["fixlen", "array"],
      "skip_ids": [1, 4],
      "fields": [
        { "op": "unsigned", "id": 0, "value": 1000 },
        { "op": "array", "id": 1, "element_type": "fp32", "values": [1.5, -2.5, 3.5] },
        { "op": "unsigned", "id": 2, "value": 502 },
        { "op": "signed", "id": 3, "value": -1003 },
        { "op": "array", "id": 4, "element_type": "fp32", "values": [1.5, -2.5, 3.5] },
        { "op": "unsigned", "id": 5, "value": 505 }
      ],
      "serialized": { "length": 42, "hex": "00e8070d03200000c03f000020c00000604010f60319d50f2503200000c03f000020c00000604028f903" },
      "serialized_sparse": { "length": 42, "hex": "00e8070d03200000c03f000020c00000604010f60319d50f2503200000c03f000020c00000604028f903" }
    },
    {
      "name": "skip_matrix_sequence_after_varint",
      "group": "skip/matrix",
      "description": "Skip matrix, 2 of the 100 (read, skipped) wire-type pairs: each of {sequence} is skipped where it directly follows a {unsigned, signed} field the receiver DOES read. Every skipped field is followed by an unsigned anchor that must still decode with its exact value -- a skip consuming one byte too few or too many is caught there (MESSAGE_SPEC S7.3, S4.3).",
      "offset": 0,
      "requires": ["sequence"],
      "skip_ids": [1, 4],
      "fields": [
        { "op": "unsigned", "id": 0, "value": 1000 },
        { "op": "sequence_begin", "id": 1 },
        { "op": "unsigned", "id": 0, "value": 8 },
        { "op": "sequence_end" },
        { "op": "unsigned", "id": 2, "value": 502 },
        { "op": "signed", "id": 3, "value": -1003 },
        { "op": "sequence_begin", "id": 4 },
        { "op": "unsigned", "id": 0, "value": 11 },
        { "op": "sequence_end" },
        { "op": "unsigned", "id": 5, "value": 505 }
      ],
      "serialized": { "length": 20, "hex": "00e8070e00080710f60319d50f26000b0728f903" },
      "serialized_sparse": { "length": 20, "hex": "00e8070e00080710f60319d50f26000b0728f903" }
    },
    {
      "name": "skip_matrix_varint_after_fixlen",
      "group": "skip/matrix",
      "description": "Skip matrix, 6 of the 100 (read, skipped) wire-type pairs: each of {unsigned, signed} is skipped where it directly follows a {fp32, string, blob} field the receiver DOES read. Every skipped field is followed by an unsigned anchor that must still decode with its exact value -- a skip consuming one byte too few or too many is caught there (MESSAGE_SPEC S7.3, S4.3).",
      "offset": 0,
      "requires": ["fixlen"],
      "skip_ids": [1, 4, 7, 10, 13, 16],
      "fields": [
        { "op": "fp32", "id": 0, "value": 1.5 },
        { "op": "unsigned", "id": 1, "value": 1001 },
        { "op": "unsigned", "id": 2, "value": 502 },
        { "op": "fp32", "id": 3, "value": 4.5 },
        { "op": "signed", "id": 4, "value": -1004 },
        { "op": "unsigned", "id": 5, "value": 505 },
        { "op": "string", "id": 6, "value": "s06" },
        { "op": "unsigned", "id": 7, "value": 1007 },
        { "op": "unsigned", "id": 8, "value": 508 },
        { "op": "string", "id": 9, "value": "s09" },
        { "op": "signed", "id": 10, "value": -1010 },
        { "op": "unsigned", "id": 11, "value": 511 },
        { "op": "blob", "id": 12, "value_hex": "deadbe" },
        { "op": "unsigned", "id": 13, "value": 1013 },
        { "op": "unsigned", "id": 14, "value": 514 },
        { "op": "blob", "id": 15, "value_hex": "deadbe" },
        { "op": "signed", "id": 16, "value": -1016 },
        { "op": "unsigned", "id": 17, "value": 517 }
      ],
      "serialized": { "length": 70, "hex": "02200000c03f08e90710f6031a200000904021d70f28f903321a73303638ef0740fc034a1a73303951e30f58ff03621bdeadbe68f5077082047a1bdeadbe8101ef0f88018504" },
      "serialized_sparse": { "length": 70, "hex": "02200000c03f08e90710f6031a200000904021d70f28f903321a73303638ef0740fc034a1a73303951e30f58ff03621bdeadbe68f5077082047a1bdeadbe8101ef0f88018504" }
    },
    {
      "name": "skip_matrix_fixlen_after_fixlen",
      "group": "skip/matrix",
      "description": "Skip matrix, 9 of the 100 (read, skipped) wire-type pairs: each of {fp32, string, blob} is skipped where it directly follows a {fp32, string, blob} field the receiver DOES read. Every skipped field is followed by an unsigned anchor that must still decode with its exact value -- a skip consuming one byte too few or too many is caught there (MESSAGE_SPEC S7.3, S4.3).",
      "offset": 0,
      "requires": ["fixlen"],
      "skip_ids": [1, 4, 7, 10, 13, 16, 19, 22, 25],
      "fields": [
        { "op": "fp32", "id": 0, "value": 1.5 },
        { "op": "fp32", "id": 1, "value": 2.5 },
        { "op": "unsigned", "id": 2, "value": 502 },
        { "op": "fp32", "id": 3, "value": 4.5 },
        { "op": "string", "id": 4, "value": "s04" },
        { "op": "unsigned", "id": 5, "value": 505 },
        { "op": "fp32", "id": 6, "value": 7.5 },
        { "op": "blob", "id": 7, "value_hex": "deadbe" },
        { "op": "unsigned", "id": 8, "value": 508 },
        { "op": "string", "id": 9, "value": "s09" },
        { "op": "fp32", "id": 10, "value": 11.5 },
        { "op": "unsigned", "id": 11, "value": 511 },
        { "op": "string", "id": 12, "value": "s12" },
        { "op": "string", "id": 13, "value": "s13" },
        { "op": "unsigned", "id": 14, "value": 514 },
        { "op": "string", "id": 15, "value": "s15" },
        { "op": "blob", "id": 16, "value_hex": "deadbe" },
        { "op": "unsigned", "id": 17, "value": 517 },
        { "op": "blob", "id": 18, "value_hex": "deadbe" },
        { "op": "fp32", "id": 19, "value": 20.5 },
        { "op": "unsigned", "id": 20, "value": 520 },
        { "op": "blob", "id": 21, "value_hex": "deadbe" },
        { "op": "string", "id": 22, "value": "s22" },
        { "op": "unsigned", "id": 23, "value": 523 },
        { "op": "blob", "id": 24, "value_hex": "deadbe" },
        { "op": "blob", "id": 25, "value_hex": "deadbe" },
        { "op": "unsigned", "id": 26, "value": 526 }
      ],
      "serialized": { "length": 134, "hex": "02200000c03f0a200000204010f6031a2000009040221a73303428f90332200000f0403a1bdeadbe40fc034a1a73303952200000384158ff03621a7331326a1a7331337082047a1a73313582011bdeadbe8801850492011bdeadbe9a01200000a441a0018804aa011bdeadbeb2011a733232b8018b04c2011bdeadbeca011bdeadbed0018e04" },
      "serialized_sparse": { "length": 134, "hex": "02200000c03f0a200000204010f6031a2000009040221a73303428f90332200000f0403a1bdeadbe40fc034a1a73303952200000384158ff03621a7331326a1a7331337082047a1a73313582011bdeadbe8801850492011bdeadbe9a01200000a441a0018804aa011bdeadbeb2011a733232b8018b04c2011bdeadbeca011bdeadbed0018e04" }
    },
    {
      "name": "skip_matrix_fp64_after_fixlen",
      "group": "skip/matrix",
      "description": "Skip matrix, 3 of the 100 (read, skipped) wire-type pairs: each of {fp64} is skipped where it directly follows a {fp32, string, blob} field the receiver DOES read. Every skipped field is followed by an unsigned anchor that must still decode with its exact value -- a skip consuming one byte too few or too many is caught there (MESSAGE_SPEC S7.3, S4.3).",
      "offset": 0,
      "requires": ["fixlen", "fp64"],
      "skip_ids": [1, 4, 7],
      "fields": [
        { "op": "fp32", "id": 0, "value": 1.5 },
        { "op": "fp64", "id": 1, "value": 3.5 },
        { "op": "unsigned", "id": 2, "value": 502 },
        { "op": "string", "id": 3, "value": "s03" },
        { "op": "fp64", "id": 4, "value": 6.5 },
        { "op": "unsigned", "id": 5, "value": 505 },
        { "op": "blob", "id": 6, "value_hex": "deadbe" },
        { "op": "fp64", "id": 7, "value": 9.5 },
        { "op": "unsigned", "id": 8, "value": 508 }
      ],
      "serialized": { "length": 55, "hex": "02200000c03f0a410000000000000c4010f6031a1a73303322410000000000001a4028f903321bdeadbe3a41000000000000234040fc03" },
      "serialized_sparse": { "length": 55, "hex": "02200000c03f0a410000000000000c4010f6031a1a73303322410000000000001a4028f903321bdeadbe3a41000000000000234040fc03" }
    },
    {
      "name": "skip_matrix_int_array_after_fixlen",
      "group": "skip/matrix",
      "description": "Skip matrix, 6 of the 100 (read, skipped) wire-type pairs: each of {array<unsigned>, array<signed>} is skipped where it directly follows a {fp32, string, blob} field the receiver DOES read. Every skipped field is followed by an unsigned anchor that must still decode with its exact value -- a skip consuming one byte too few or too many is caught there (MESSAGE_SPEC S7.3, S4.3).",
      "offset": 0,
      "requires": ["fixlen", "array"],
      "skip_ids": [1, 4, 7, 10, 13, 16],
      "fields": [
        { "op": "fp32", "id": 0, "value": 1.5 },
        { "op": "array", "id": 1, "element_type": "u32", "values": [1000, 2000, 3000] },
        { "op": "unsigned", "id": 2, "value": 502 },
        { "op": "fp32", "id": 3, "value": 4.5 },
        { "op": "array", "id": 4, "element_type": "i32", "values": [-1000, -2000, -3000] },
        { "op": "unsigned", "id": 5, "value": 505 },
        { "op": "string", "id": 6, "value": "s06" },
        { "op": "array", "id": 7, "element_type": "u32", "values": [1000, 2000, 3000] },
        { "op": "unsigned", "id": 8, "value": 508 },
        { "op": "string", "id": 9, "value": "s09" },
        { "op": "array", "id": 10, "element_type": "i32", "values": [-1000, -2000, -3000] },
        { "op": "unsigned", "id": 11, "value": 511 },
        { "op": "blob", "id": 12, "value_hex": "deadbe" },
        { "op": "array", "id": 13, "element_type": "u32", "values": [1000, 2000, 3000] },
        { "op": "unsigned", "id": 14, "value": 514 },
        { "op": "blob", "id": 15, "value_hex": "deadbe" },
        { "op": "array", "id": 16, "element_type": "i32", "values": [-1000, -2000, -3000] },
        { "op": "unsigned", "id": 17, "value": 517 }
      ],
      "serialized": { "length": 100, "hex": "02200000c03f0b03e807d00fb81710f6031a20000090402403cf0f9f1fef2e28f903321a7330363b03e807d00fb81740fc034a1a7330395403cf0f9f1fef2e58ff03621bdeadbe6b03e807d00fb8177082047a1bdeadbe840103cf0f9f1fef2e88018504" },
      "serialized_sparse": { "length": 100, "hex": "02200000c03f0b03e807d00fb81710f6031a20000090402403cf0f9f1fef2e28f903321a7330363b03e807d00fb81740fc034a1a7330395403cf0f9f1fef2e58ff03621bdeadbe6b03e807d00fb8177082047a1bdeadbe840103cf0f9f1fef2e88018504" }
    },
    {
      "name": "skip_matrix_fixlen_array_after_fixlen",
      "group": "skip/matrix",
      "description": "Skip matrix, 3 of the 100 (read, skipped) wire-type pairs: each of {array<fixlen>} is skipped where it directly follows a {fp32, string, blob} field the receiver DOES read. Every skipped field is followed by an unsigned anchor that must still decode with its exact value -- a skip consuming one byte too few or too many is caught there (MESSAGE_SPEC S7.3, S4.3).",
      "offset": 0,
      "requires": ["fixlen", "array"],
      "skip_ids": [1, 4, 7],
      "fields": [
        { "op": "fp32", "id": 0, "value": 1.5 },
        { "op": "array", "id": 1, "element_type": "fp32", "values": [1.5, -2.5, 3.5] },
        { "op": "unsigned", "id": 2, "value": 502 },
        { "op": "string", "id": 3, "value": "s03" },
        { "op": "array", "id": 4, "element_type": "fp32", "values": [1.5, -2.5, 3.5] },
        { "op": "unsigned", "id": 5, "value": 505 },
        { "op": "blob", "id": 6, "value_hex": "deadbe" },
        { "op": "array", "id": 7, "element_type": "fp32", "values": [1.5, -2.5, 3.5] },
        { "op": "unsigned", "id": 8, "value": 508 }
      ],
      "serialized": { "length": 70, "hex": "02200000c03f0d03200000c03f000020c00000604010f6031a1a7330332503200000c03f000020c00000604028f903321bdeadbe3d03200000c03f000020c00000604040fc03" },
      "serialized_sparse": { "length": 70, "hex": "02200000c03f0d03200000c03f000020c00000604010f6031a1a7330332503200000c03f000020c00000604028f903321bdeadbe3d03200000c03f000020c00000604040fc03" }
    },
    {
      "name": "skip_matrix_sequence_after_fixlen",
      "group": "skip/matrix",
      "description": "Skip matrix, 3 of the 100 (read, skipped) wire-type pairs: each of {sequence} is skipped where it directly follows a {fp32, string, blob} field the receiver DOES read. Every skipped field is followed by an unsigned anchor that must still decode with its exact value -- a skip consuming one byte too few or too many is caught there (MESSAGE_SPEC S7.3, S4.3).",
      "offset": 0,
      "requires": ["fixlen", "sequence"],
      "skip_ids": [1, 4, 7],
      "fields": [
        { "op": "fp32", "id": 0, "value": 1.5 },
        { "op": "sequence_begin", "id": 1 },
        { "op": "unsigned", "id": 0, "value": 8 },
        { "op": "sequence_end" },
        { "op": "unsigned", "id": 2, "value": 502 },
        { "op": "string", "id": 3, "value": "s03" },
        { "op": "sequence_begin", "id": 4 },
        { "op": "unsigned", "id": 0, "value": 11 },
        { "op": "sequence_end" },
        { "op": "unsigned", "id": 5, "value": 505 },
        { "op": "blob", "id": 6, "value_hex": "deadbe" },
        { "op": "sequence_begin", "id": 7 },
        { "op": "unsigned", "id": 0, "value": 14 },
        { "op": "sequence_end" },
        { "op": "unsigned", "id": 8, "value": 508 }
      ],
      "serialized": { "length": 37, "hex": "02200000c03f0e00080710f6031a1a73303326000b0728f903321bdeadbe3e000e0740fc03" },
      "serialized_sparse": { "length": 37, "hex": "02200000c03f0e00080710f6031a1a73303326000b0728f903321bdeadbe3e000e0740fc03" }
    },
    {
      "name": "skip_matrix_varint_after_fp64",
      "group": "skip/matrix",
      "description": "Skip matrix, 2 of the 100 (read, skipped) wire-type pairs: each of {unsigned, signed} is skipped where it directly follows a {fp64} field the receiver DOES read. Every skipped field is followed by an unsigned anchor that must still decode with its exact value -- a skip consuming one byte too few or too many is caught there (MESSAGE_SPEC S7.3, S4.3).",
      "offset": 0,
      "requires": ["fixlen", "fp64"],
      "skip_ids": [1, 4],
      "fields": [
        { "op": "fp64", "id": 0, "value": 2.5 },
        { "op": "unsigned", "id": 1, "value": 1001 },
        { "op": "unsigned", "id": 2, "value": 502 },
        { "op": "fp64", "id": 3, "value": 5.5 },
        { "op": "signed", "id": 4, "value": -1004 },
        { "op": "unsigned", "id": 5, "value": 505 }
      ],
      "serialized": { "length": 32, "hex": "0241000000000000044008e90710f6031a41000000000000164021d70f28f903" },
      "serialized_sparse": { "length": 32, "hex": "0241000000000000044008e90710f6031a41000000000000164021d70f28f903" }
    },
    {
      "name": "skip_matrix_fixlen_after_fp64",
      "group": "skip/matrix",
      "description": "Skip matrix, 3 of the 100 (read, skipped) wire-type pairs: each of {fp32, string, blob} is skipped where it directly follows a {fp64} field the receiver DOES read. Every skipped field is followed by an unsigned anchor that must still decode with its exact value -- a skip consuming one byte too few or too many is caught there (MESSAGE_SPEC S7.3, S4.3).",
      "offset": 0,
      "requires": ["fixlen", "fp64"],
      "skip_ids": [1, 4, 7],
      "fields": [
        { "op": "fp64", "id": 0, "value": 2.5 },
        { "op": "fp32", "id": 1, "value": 2.5 },
        { "op": "unsigned", "id": 2, "value": 502 },
        { "op": "fp64", "id": 3, "value": 5.5 },
        { "op": "string", "id": 4, "value": "s04" },
        { "op": "unsigned", "id": 5, "value": 505 },
        { "op": "fp64", "id": 6, "value": 8.5 },
        { "op": "blob", "id": 7, "value_hex": "deadbe" },
        { "op": "unsigned", "id": 8, "value": 508 }
      ],
      "serialized": { "length": 55, "hex": "024100000000000004400a200000204010f6031a410000000000001640221a73303428f903324100000000000021403a1bdeadbe40fc03" },
      "serialized_sparse": { "length": 55, "hex": "024100000000000004400a200000204010f6031a410000000000001640221a73303428f903324100000000000021403a1bdeadbe40fc03" }
    },
    {
      "name": "skip_matrix_fp64_after_fp64",
      "group": "skip/matrix",
      "description": "Skip matrix, 1 of the 100 (read, skipped) wire-type pairs: each of {fp64} is skipped where it directly follows a {fp64} field the receiver DOES read. Every skipped field is followed by an unsigned anchor that must still decode with its exact value -- a skip consuming one byte too few or too many is caught there (MESSAGE_SPEC S7.3, S4.3).",
      "offset": 0,
      "requires": ["fixlen", "fp64"],
      "skip_ids": [1],
      "fields": [
        { "op": "fp64", "id": 0, "value": 2.5 },
        { "op": "fp64", "id": 1, "value": 3.5 },
        { "op": "unsigned", "id": 2, "value": 502 }
      ],
      "serialized": { "length": 23, "hex": "024100000000000004400a410000000000000c4010f603" },
      "serialized_sparse": { "length": 23, "hex": "024100000000000004400a410000000000000c4010f603" }
    },
    {
      "name": "skip_matrix_int_array_after_fp64",
      "group": "skip/matrix",
      "description": "Skip matrix, 2 of the 100 (read, skipped) wire-type pairs: each of {array<unsigned>, array<signed>} is skipped where it directly follows a {fp64} field the receiver DOES read. Every skipped field is followed by an unsigned anchor that must still decode with its exact value -- a skip consuming one byte too few or too many is caught there (MESSAGE_SPEC S7.3, S4.3).",
      "offset": 0,
      "requires": ["fixlen", "array", "fp64"],
      "skip_ids": [1, 4],
      "fields": [
        { "op": "fp64", "id": 0, "value": 2.5 },
        { "op": "array", "id": 1, "element_type": "u32", "values": [1000, 2000, 3000] },
        { "op": "unsigned", "id": 2, "value": 502 },
        { "op": "fp64", "id": 3, "value": 5.5 },
        { "op": "array", "id": 4, "element_type": "i32", "values": [-1000, -2000, -3000] },
        { "op": "unsigned", "id": 5, "value": 505 }
      ],
      "serialized": { "length": 42, "hex": "024100000000000004400b03e807d00fb81710f6031a4100000000000016402403cf0f9f1fef2e28f903" },
      "serialized_sparse": { "length": 42, "hex": "024100000000000004400b03e807d00fb81710f6031a4100000000000016402403cf0f9f1fef2e28f903" }
    },
    {
      "name": "skip_matrix_fixlen_array_after_fp64",
      "group": "skip/matrix",
      "description": "Skip matrix, 1 of the 100 (read, skipped) wire-type pairs: each of {array<fixlen>} is skipped where it directly follows a {fp64} field the receiver DOES read. Every skipped field is followed by an unsigned anchor that must still decode with its exact value -- a skip consuming one byte too few or too many is caught there (MESSAGE_SPEC S7.3, S4.3).",
      "offset": 0,
      "requires": ["fixlen", "array", "fp64"],
      "skip_ids": [1],
      "fields": [
        { "op": "fp64", "id": 0, "value": 2.5 },
        { "op": "array", "id": 1, "element_type": "fp32", "values": [1.5, -2.5, 3.5] },
        { "op": "unsigned", "id": 2, "value": 502 }
      ],
      "serialized": { "length": 28, "hex": "024100000000000004400d03200000c03f000020c00000604010f603" },
      "serialized_sparse": { "length": 28, "hex": "024100000000000004400d03200000c03f000020c00000604010f603" }
    },
    {
      "name": "skip_matrix_sequence_after_fp64",
      "group": "skip/matrix",
      "description": "Skip matrix, 1 of the 100 (read, skipped) wire-type pairs: each of {sequence} is skipped where it directly follows a {fp64} field the receiver DOES read. Every skipped field is followed by an unsigned anchor that must still decode with its exact value -- a skip consuming one byte too few or too many is caught there (MESSAGE_SPEC S7.3, S4.3).",
      "offset": 0,
      "requires": ["fixlen", "sequence", "fp64"],
      "skip_ids": [1],
      "fields": [
        { "op": "fp64", "id": 0, "value": 2.5 },
        { "op": "sequence_begin", "id": 1 },
        { "op": "unsigned", "id": 0, "value": 8 },
        { "op": "sequence_end" },
        { "op": "unsigned", "id": 2, "value": 502 }
      ],
      "serialized": { "length": 17, "hex": "024100000000000004400e00080710f603" },
      "serialized_sparse": { "length": 17, "hex": "024100000000000004400e00080710f603" }
    },
    {
      "name": "skip_matrix_varint_after_int_array",
      "group": "skip/matrix",
      "description": "Skip matrix, 4 of the 100 (read, skipped) wire-type pairs: each of {unsigned, signed} is skipped where it directly follows a {array<unsigned>, array<signed>} field the receiver DOES read. Every skipped field is followed by an unsigned anchor that must still decode with its exact value -- a skip consuming one byte too few or too many is caught there (MESSAGE_SPEC S7.3, S4.3).",
      "offset": 0,
      "requires": ["array"],
      "skip_ids": [1, 4, 7, 10],
      "fields": [
        { "op": "array", "id": 0, "element_type": "u32", "values": [1000, 2000, 3000] },
        { "op": "unsigned", "id": 1, "value": 1001 },
        { "op": "unsigned", "id": 2, "value": 502 },
        { "op": "array", "id": 3, "element_type": "u32", "values": [1000, 2000, 3000] },
        { "op": "signed", "id": 4, "value": -1004 },
        { "op": "unsigned", "id": 5, "value": 505 },
        { "op": "array", "id": 6, "element_type": "i32", "values": [-1000, -2000, -3000] },
        { "op": "unsigned", "id": 7, "value": 1007 },
        { "op": "unsigned", "id": 8, "value": 508 },
        { "op": "array", "id": 9, "element_type": "i32", "values": [-1000, -2000, -3000] },
        { "op": "signed", "id": 10, "value": -1010 },
        { "op": "unsigned", "id": 11, "value": 511 }
      ],
      "serialized": { "length": 56, "hex": "0303e807d00fb81708e90710f6031b03e807d00fb81721d70f28f9033403cf0f9f1fef2e38ef0740fc034c03cf0f9f1fef2e51e30f58ff03" },
      "serialized_sparse": { "length": 56, "hex": "0303e807d00fb81708e90710f6031b03e807d00fb81721d70f28f9033403cf0f9f1fef2e38ef0740fc034c03cf0f9f1fef2e51e30f58ff03" }
    },
    {
      "name": "skip_matrix_fixlen_after_int_array",
      "group": "skip/matrix",
      "description": "Skip matrix, 6 of the 100 (read, skipped) wire-type pairs: each of {fp32, string, blob} is skipped where it directly follows a {array<unsigned>, array<signed>} field the receiver DOES read. Every skipped field is followed by an unsigned anchor that must still decode with its exact value -- a skip consuming one byte too few or too many is caught there (MESSAGE_SPEC S7.3, S4.3).",
      "offset": 0,
      "requires": ["fixlen", "array"],
      "skip_ids": [1, 4, 7, 10, 13, 16],
      "fields": [
        { "op": "array", "id": 0, "element_type": "u32", "values": [1000, 2000, 3000] },
        { "op": "fp32", "id": 1, "value": 2.5 },
        { "op": "unsigned", "id": 2, "value": 502 },
        { "op": "array", "id": 3, "element_type": "u32", "values": [1000, 2000, 3000] },
        { "op": "string", "id": 4, "value": "s04" },
        { "op": "unsigned", "id": 5, "value": 505 },
        { "op": "array", "id": 6, "element_type": "u32", "values": [1000, 2000, 3000] },
        { "op": "blob", "id": 7, "value_hex": "deadbe" },
        { "op": "unsigned", "id": 8, "value": 508 },
        { "op": "array", "id": 9, "element_type": "i32", "values": [-1000, -2000, -3000] },
        { "op": "fp32", "id": 10, "value": 11.5 },
        { "op": "unsigned", "id": 11, "value": 511 },
        { "op": "array", "id": 12, "element_type": "i32", "values": [-1000, -2000, -3000] },
        { "op": "string", "id": 13, "value": "s13" },
        { "op": "unsigned", "id": 14, "value": 514 },
        { "op": "array", "id": 15, "element_type": "i32", "values": [-1000, -2000, -3000] },
        { "op": "blob", "id": 16, "value_hex": "deadbe" },
        { "op": "unsigned", "id": 17, "value": 517 }
      ],
      "serialized": { "length": 100, "hex": "0303e807d00fb8170a200000204010f6031b03e807d00fb817221a73303428f9033303e807d00fb8173a1bdeadbe40fc034c03cf0f9f1fef2e52200000384158ff036403cf0f9f1fef2e6a1a7331337082047c03cf0f9f1fef2e82011bdeadbe88018504" },
      "serialized_sparse": { "length": 100, "hex": "0303e807d00fb8170a200000204010f6031b03e807d00fb817221a73303428f9033303e807d00fb8173a1bdeadbe40fc034c03cf0f9f1fef2e52200000384158ff036403cf0f9f1fef2e6a1a7331337082047c03cf0f9f1fef2e82011bdeadbe88018504" }
    },
    {
      "name": "skip_matrix_fp64_after_int_array",
      "group": "skip/matrix",
      "description": "Skip matrix, 2 of the 100 (read, skipped) wire-type pairs: each of {fp64} is skipped where it directly follows a {array<unsigned>, array<signed>} field the receiver DOES read. Every skipped field is followed by an unsigned anchor that must still decode with its exact value -- a skip consuming one byte too few or too many is caught there (MESSAGE_SPEC S7.3, S4.3).",
      "offset": 0,
      "requires": ["fixlen", "array", "fp64"],
      "skip_ids": [1, 4],
      "fields": [
        { "op": "array", "id": 0, "element_type": "u32", "values": [1000, 2000, 3000] },
        { "op": "fp64", "id": 1, "value": 3.5 },
        { "op": "unsigned", "id": 2, "value": 502 },
        { "op": "array", "id": 3, "element_type": "i32", "values": [-1000, -2000, -3000] },
        { "op": "fp64", "id": 4, "value": 6.5 },
        { "op": "unsigned", "id": 5, "value": 505 }
      ],
      "serialized": { "length": 42, "hex": "0303e807d00fb8170a410000000000000c4010f6031c03cf0f9f1fef2e22410000000000001a4028f903" },
      "serialized_sparse": { "length": 42, "hex": "0303e807d00fb8170a410000000000000c4010f6031c03cf0f9f1fef2e22410000000000001a4028f903" }
    },
    {
      "name": "skip_matrix_int_array_after_int_array",
      "group": "skip/matrix",
      "description": "Skip matrix, 4 of the 100 (read, skipped) wire-type pairs: each of {array<unsigned>, array<signed>} is skipped where it directly follows a {array<unsigned>, array<signed>} field the receiver DOES read. Every skipped field is followed by an unsigned anchor that must still decode with its exact value -- a skip consuming one byte too few or too many is caught there (MESSAGE_SPEC S7.3, S4.3).",
      "offset": 0,
      "requires": ["array"],
      "skip_ids": [1, 4, 7, 10],
      "fields": [
        { "op": "array", "id": 0, "element_type": "u32", "values": [1000, 2000, 3000] },
        { "op": "array", "id": 1, "element_type": "u32", "values": [1000, 2000, 3000] },
        { "op": "unsigned", "id": 2, "value": 502 },
        { "op": "array", "id": 3, "element_type": "u32", "values": [1000, 2000, 3000] },
        { "op": "array", "id": 4, "element_type": "i32", "values": [-1000, -2000, -3000] },
        { "op": "unsigned", "id": 5, "value": 505 },
        { "op": "array", "id": 6, "element_type": "i32", "values": [-1000, -2000, -3000] },
        { "op": "array", "id": 7, "element_type": "u32", "values": [1000, 2000, 3000] },
        { "op": "unsigned", "id": 8, "value": 508 },
        { "op": "array", "id": 9, "element_type": "i32", "values": [-1000, -2000, -3000] },
        { "op": "array", "id": 10, "element_type": "i32", "values": [-1000, -2000, -3000] },
        { "op": "unsigned", "id": 11, "value": 511 }
      ],
      "serialized": { "length": 76, "hex": "0303e807d00fb8170b03e807d00fb81710f6031b03e807d00fb8172403cf0f9f1fef2e28f9033403cf0f9f1fef2e3b03e807d00fb81740fc034c03cf0f9f1fef2e5403cf0f9f1fef2e58ff03" },
      "serialized_sparse": { "length": 76, "hex": "0303e807d00fb8170b03e807d00fb81710f6031b03e807d00fb8172403cf0f9f1fef2e28f9033403cf0f9f1fef2e3b03e807d00fb81740fc034c03cf0f9f1fef2e5403cf0f9f1fef2e58ff03" }
    },
    {
      "name": "skip_matrix_fixlen_array_after_int_array",
      "group": "skip/matrix",
      "description": "Skip matrix, 2 of the 100 (read, skipped) wire-type pairs: each of {array<fixlen>} is skipped where it directly follows a {array<unsigned>, array<signed>} field the receiver DOES read. Every skipped field is followed by an unsigned anchor that must still decode with its exact value -- a skip consuming one byte too few or too many is caught there (MESSAGE_SPEC S7.3, S4.3).",
      "offset": 0,
      "requires": ["fixlen", "array"],
      "skip_ids": [1, 4],
      "fields": [
        { "op": "array", "id": 0, "element_type": "u32", "values": [1000, 2000, 3000] },
        { "op": "array", "id": 1, "element_type": "fp32", "values": [1.5, -2.5, 3.5] },
        { "op": "unsigned", "id": 2, "value": 502 },
        { "op": "array", "id": 3, "element_type": "i32", "values": [-1000, -2000, -3000] },
        { "op": "array", "id": 4, "element_type": "fp32", "values": [1.5, -2.5, 3.5] },
        { "op": "unsigned", "id": 5, "value": 505 }
      ],
      "serialized": { "length": 52, "hex": "0303e807d00fb8170d03200000c03f000020c00000604010f6031c03cf0f9f1fef2e2503200000c03f000020c00000604028f903" },
      "serialized_sparse": { "length": 52, "hex": "0303e807d00fb8170d03200000c03f000020c00000604010f6031c03cf0f9f1fef2e2503200000c03f000020c00000604028f903" }
    },
    {
      "name": "skip_matrix_sequence_after_int_array",
      "group": "skip/matrix",
      "description": "Skip matrix, 2 of the 100 (read, skipped) wire-type pairs: each of {sequence} is skipped where it directly follows a {array<unsigned>, array<signed>} field the receiver DOES read. Every skipped field is followed by an unsigned anchor that must still decode with its exact value -- a skip consuming one byte too few or too many is caught there (MESSAGE_SPEC S7.3, S4.3).",
      "offset": 0,
      "requires": ["array", "sequence"],
      "skip_ids": [1, 4],
      "fields": [
        { "op": "array", "id": 0, "element_type": "u32", "values": [1000, 2000, 3000] },
        { "op": "sequence_begin", "id": 1 },
        { "op": "unsigned", "id": 0, "value": 8 },
        { "op": "sequence_end" },
        { "op": "unsigned", "id": 2, "value": 502 },
        { "op": "array", "id": 3, "element_type": "i32", "values": [-1000, -2000, -3000] },
        { "op": "sequence_begin", "id": 4 },
        { "op": "unsigned", "id": 0, "value": 11 },
        { "op": "sequence_end" },
        { "op": "unsigned", "id": 5, "value": 505 }
      ],
      "serialized": { "length": 30, "hex": "0303e807d00fb8170e00080710f6031c03cf0f9f1fef2e26000b0728f903" },
      "serialized_sparse": { "length": 30, "hex": "0303e807d00fb8170e00080710f6031c03cf0f9f1fef2e26000b0728f903" }
    },
    {
      "name": "skip_matrix_varint_after_fixlen_array",
      "group": "skip/matrix",
      "description": "Skip matrix, 2 of the 100 (read, skipped) wire-type pairs: each of {unsigned, signed} is skipped where it directly follows a {array<fixlen>} field the receiver DOES read. Every skipped field is followed by an unsigned anchor that must still decode with its exact value -- a skip consuming one byte too few or too many is caught there (MESSAGE_SPEC S7.3, S4.3).",
      "offset": 0,
      "requires": ["fixlen", "array"],
      "skip_ids": [1, 4],
      "fields": [
        { "op": "array", "id": 0, "element_type": "fp32", "values": [1.5, -2.5, 3.5] },
        { "op": "unsigned", "id": 1, "value": 1001 },
        { "op": "unsigned", "id": 2, "value": 502 },
        { "op": "array", "id": 3, "element_type": "fp32", "values": [1.5, -2.5, 3.5] },
        { "op": "signed", "id": 4, "value": -1004 },
        { "op": "unsigned", "id": 5, "value": 505 }
      ],
      "serialized": { "length": 42, "hex": "0503200000c03f000020c00000604008e90710f6031d03200000c03f000020c00000604021d70f28f903" },
      "serialized_sparse": { "length": 42, "hex": "0503200000c03f000020c00000604008e90710f6031d03200000c03f000020c00000604021d70f28f903" }
    },
    {
      "name": "skip_matrix_fixlen_after_fixlen_array",
      "group": "skip/matrix",
      "description": "Skip matrix, 3 of the 100 (read, skipped) wire-type pairs: each of {fp32, string, blob} is skipped where it directly follows a {array<fixlen>} field the receiver DOES read. Every skipped field is followed by an unsigned anchor that must still decode with its exact value -- a skip consuming one byte too few or too many is caught there (MESSAGE_SPEC S7.3, S4.3).",
      "offset": 0,
      "requires": ["fixlen", "array"],
      "skip_ids": [1, 4, 7],
      "fields": [
        { "op": "array", "id": 0, "element_type": "fp32", "values": [1.5, -2.5, 3.5] },
        { "op": "fp32", "id": 1, "value": 2.5 },
        { "op": "unsigned", "id": 2, "value": 502 },
        { "op": "array", "id": 3, "element_type": "fp32", "values": [1.5, -2.5, 3.5] },
        { "op": "string", "id": 4, "value": "s04" },
        { "op": "unsigned", "id": 5, "value": 505 },
        { "op": "array", "id": 6, "element_type": "fp32", "values": [1.5, -2.5, 3.5] },
        { "op": "blob", "id": 7, "value_hex": "deadbe" },
        { "op": "unsigned", "id": 8, "value": 508 }
      ],
      "serialized": { "length": 70, "hex": "0503200000c03f000020c0000060400a200000204010f6031d03200000c03f000020c000006040221a73303428f9033503200000c03f000020c0000060403a1bdeadbe40fc03" },
      "serialized_sparse": { "length": 70, "hex": "0503200000c03f000020c0000060400a200000204010f6031d03200000c03f000020c000006040221a73303428f9033503200000c03f000020c0000060403a1bdeadbe40fc03" }
    },
    {
      "name": "skip_matrix_fp64_after_fixlen_array",
      "group": "skip/matrix",
      "description": "Skip matrix, 1 of the 100 (read, skipped) wire-type pairs: each of {fp64} is skipped where it directly follows a {array<fixlen>} field the receiver DOES read. Every skipped field is followed by an unsigned anchor that must still decode with its exact value -- a skip consuming one byte too few or too many is caught there (MESSAGE_SPEC S7.3, S4.3).",
      "offset": 0,
      "requires": ["fixlen", "array", "fp64"],
      "skip_ids": [1],
      "fields": [
        { "op": "array", "id": 0, "element_type": "fp32", "values": [1.5, -2.5, 3.5] },
        { "op": "fp64", "id": 1, "value": 3.5 },
        { "op": "unsigned", "id": 2, "value": 502 }
      ],
      "serialized": { "length": 28, "hex": "0503200000c03f000020c0000060400a410000000000000c4010f603" },
      "serialized_sparse": { "length": 28, "hex": "0503200000c03f000020c0000060400a410000000000000c4010f603" }
    },
    {
      "name": "skip_matrix_int_array_after_fixlen_array",
      "group": "skip/matrix",
      "description": "Skip matrix, 2 of the 100 (read, skipped) wire-type pairs: each of {array<unsigned>, array<signed>} is skipped where it directly follows a {array<fixlen>} field the receiver DOES read. Every skipped field is followed by an unsigned anchor that must still decode with its exact value -- a skip consuming one byte too few or too many is caught there (MESSAGE_SPEC S7.3, S4.3).",
      "offset": 0,
      "requires": ["fixlen", "array"],
      "skip_ids": [1, 4],
      "fields": [
        { "op": "array", "id": 0, "element_type": "fp32", "values": [1.5, -2.5, 3.5] },
        { "op": "array", "id": 1, "element_type": "u32", "values": [1000, 2000, 3000] },
        { "op": "unsigned", "id": 2, "value": 502 },
        { "op": "array", "id": 3, "element_type": "fp32", "values": [1.5, -2.5, 3.5] },
        { "op": "array", "id": 4, "element_type": "i32", "values": [-1000, -2000, -3000] },
        { "op": "unsigned", "id": 5, "value": 505 }
      ],
      "serialized": { "length": 52, "hex": "0503200000c03f000020c0000060400b03e807d00fb81710f6031d03200000c03f000020c0000060402403cf0f9f1fef2e28f903" },
      "serialized_sparse": { "length": 52, "hex": "0503200000c03f000020c0000060400b03e807d00fb81710f6031d03200000c03f000020c0000060402403cf0f9f1fef2e28f903" }
    },
    {
      "name": "skip_matrix_fixlen_array_after_fixlen_array",
      "group": "skip/matrix",
      "description": "Skip matrix, 1 of the 100 (read, skipped) wire-type pairs: each of {array<fixlen>} is skipped where it directly follows a {array<fixlen>} field the receiver DOES read. Every skipped field is followed by an unsigned anchor that must still decode with its exact value -- a skip consuming one byte too few or too many is caught there (MESSAGE_SPEC S7.3, S4.3).",
      "offset": 0,
      "requires": ["fixlen", "array"],
      "skip_ids": [1],
      "fields": [
        { "op": "array", "id": 0, "element_type": "fp32", "values": [1.5, -2.5, 3.5] },
        { "op": "array", "id": 1, "element_type": "fp32", "values": [1.5, -2.5, 3.5] },
        { "op": "unsigned", "id": 2, "value": 502 }
      ],
      "serialized": { "length": 33, "hex": "0503200000c03f000020c0000060400d03200000c03f000020c00000604010f603" },
      "serialized_sparse": { "length": 33, "hex": "0503200000c03f000020c0000060400d03200000c03f000020c00000604010f603" }
    },
    {
      "name": "skip_matrix_sequence_after_fixlen_array",
      "group": "skip/matrix",
      "description": "Skip matrix, 1 of the 100 (read, skipped) wire-type pairs: each of {sequence} is skipped where it directly follows a {array<fixlen>} field the receiver DOES read. Every skipped field is followed by an unsigned anchor that must still decode with its exact value -- a skip consuming one byte too few or too many is caught there (MESSAGE_SPEC S7.3, S4.3).",
      "offset": 0,
      "requires": ["fixlen", "array", "sequence"],
      "skip_ids": [1],
      "fields": [
        { "op": "array", "id": 0, "element_type": "fp32", "values": [1.5, -2.5, 3.5] },
        { "op": "sequence_begin", "id": 1 },
        { "op": "unsigned", "id": 0, "value": 8 },
        { "op": "sequence_end" },
        { "op": "unsigned", "id": 2, "value": 502 }
      ],
      "serialized": { "length": 22, "hex": "0503200000c03f000020c0000060400e00080710f603" },
      "serialized_sparse": { "length": 22, "hex": "0503200000c03f000020c0000060400e00080710f603" }
    },
    {
      "name": "skip_matrix_varint_after_sequence",
      "group": "skip/matrix",
      "description": "Skip matrix, 2 of the 100 (read, skipped) wire-type pairs: each of {unsigned, signed} is skipped where it directly follows a {sequence} field the receiver DOES read. Every skipped field is followed by an unsigned anchor that must still decode with its exact value -- a skip consuming one byte too few or too many is caught there (MESSAGE_SPEC S7.3, S4.3).",
      "offset": 0,
      "requires": ["sequence"],
      "skip_ids": [1, 4],
      "fields": [
        { "op": "sequence_begin", "id": 0 },
        { "op": "unsigned", "id": 0, "value": 7 },
        { "op": "sequence_end" },
        { "op": "unsigned", "id": 1, "value": 1001 },
        { "op": "unsigned", "id": 2, "value": 502 },
        { "op": "sequence_begin", "id": 3 },
        { "op": "unsigned", "id": 0, "value": 10 },
        { "op": "sequence_end" },
        { "op": "signed", "id": 4, "value": -1004 },
        { "op": "unsigned", "id": 5, "value": 505 }
      ],
      "serialized": { "length": 20, "hex": "0600070708e90710f6031e000a0721d70f28f903" },
      "serialized_sparse": { "length": 20, "hex": "0600070708e90710f6031e000a0721d70f28f903" }
    },
    {
      "name": "skip_matrix_fixlen_after_sequence",
      "group": "skip/matrix",
      "description": "Skip matrix, 3 of the 100 (read, skipped) wire-type pairs: each of {fp32, string, blob} is skipped where it directly follows a {sequence} field the receiver DOES read. Every skipped field is followed by an unsigned anchor that must still decode with its exact value -- a skip consuming one byte too few or too many is caught there (MESSAGE_SPEC S7.3, S4.3).",
      "offset": 0,
      "requires": ["fixlen", "sequence"],
      "skip_ids": [1, 4, 7],
      "fields": [
        { "op": "sequence_begin", "id": 0 },
        { "op": "unsigned", "id": 0, "value": 7 },
        { "op": "sequence_end" },
        { "op": "fp32", "id": 1, "value": 2.5 },
        { "op": "unsigned", "id": 2, "value": 502 },
        { "op": "sequence_begin", "id": 3 },
        { "op": "unsigned", "id": 0, "value": 10 },
        { "op": "sequence_end" },
        { "op": "string", "id": 4, "value": "s04" },
        { "op": "unsigned", "id": 5, "value": 505 },
        { "op": "sequence_begin", "id": 6 },
        { "op": "unsigned", "id": 0, "value": 13 },
        { "op": "sequence_end" },
        { "op": "blob", "id": 7, "value_hex": "deadbe" },
        { "op": "unsigned", "id": 8, "value": 508 }
      ],
      "serialized": { "length": 37, "hex": "060007070a200000204010f6031e000a07221a73303428f90336000d073a1bdeadbe40fc03" },
      "serialized_sparse": { "length": 37, "hex": "060007070a200000204010f6031e000a07221a73303428f90336000d073a1bdeadbe40fc03" }
    },
    {
      "name": "skip_matrix_fp64_after_sequence",
      "group": "skip/matrix",
      "description": "Skip matrix, 1 of the 100 (read, skipped) wire-type pairs: each of {fp64} is skipped where it directly follows a {sequence} field the receiver DOES read. Every skipped field is followed by an unsigned anchor that must still decode with its exact value -- a skip consuming one byte too few or too many is caught there (MESSAGE_SPEC S7.3, S4.3).",
      "offset": 0,
      "requires": ["fixlen", "sequence", "fp64"],
      "skip_ids": [1],
      "fields": [
        { "op": "sequence_begin", "id": 0 },
        { "op": "unsigned", "id": 0, "value": 7 },
        { "op": "sequence_end" },
        { "op": "fp64", "id": 1, "value": 3.5 },
        { "op": "unsigned", "id": 2, "value": 502 }
      ],
      "serialized": { "length": 17, "hex": "060007070a410000000000000c4010f603" },
      "serialized_sparse": { "length": 17, "hex": "060007070a410000000000000c4010f603" }
    },
    {
      "name": "skip_matrix_int_array_after_sequence",
      "group": "skip/matrix",
      "description": "Skip matrix, 2 of the 100 (read, skipped) wire-type pairs: each of {array<unsigned>, array<signed>} is skipped where it directly follows a {sequence} field the receiver DOES read. Every skipped field is followed by an unsigned anchor that must still decode with its exact value -- a skip consuming one byte too few or too many is caught there (MESSAGE_SPEC S7.3, S4.3).",
      "offset": 0,
      "requires": ["array", "sequence"],
      "skip_ids": [1, 4],
      "fields": [
        { "op": "sequence_begin", "id": 0 },
        { "op": "unsigned", "id": 0, "value": 7 },
        { "op": "sequence_end" },
        { "op": "array", "id": 1, "element_type": "u32", "values": [1000, 2000, 3000] },
        { "op": "unsigned", "id": 2, "value": 502 },
        { "op": "sequence_begin", "id": 3 },
        { "op": "unsigned", "id": 0, "value": 10 },
        { "op": "sequence_end" },
        { "op": "array", "id": 4, "element_type": "i32", "values": [-1000, -2000, -3000] },
        { "op": "unsigned", "id": 5, "value": 505 }
      ],
      "serialized": { "length": 30, "hex": "060007070b03e807d00fb81710f6031e000a072403cf0f9f1fef2e28f903" },
      "serialized_sparse": { "length": 30, "hex": "060007070b03e807d00fb81710f6031e000a072403cf0f9f1fef2e28f903" }
    },
    {
      "name": "skip_matrix_fixlen_array_after_sequence",
      "group": "skip/matrix",
      "description": "Skip matrix, 1 of the 100 (read, skipped) wire-type pairs: each of {array<fixlen>} is skipped where it directly follows a {sequence} field the receiver DOES read. Every skipped field is followed by an unsigned anchor that must still decode with its exact value -- a skip consuming one byte too few or too many is caught there (MESSAGE_SPEC S7.3, S4.3).",
      "offset": 0,
      "requires": ["fixlen", "array", "sequence"],
      "skip_ids": [1],
      "fields": [
        { "op": "sequence_begin", "id": 0 },
        { "op": "unsigned", "id": 0, "value": 7 },
        { "op": "sequence_end" },
        { "op": "array", "id": 1, "element_type": "fp32", "values": [1.5, -2.5, 3.5] },
        { "op": "unsigned", "id": 2, "value": 502 }
      ],
      "serialized": { "length": 22, "hex": "060007070d03200000c03f000020c00000604010f603" },
      "serialized_sparse": { "length": 22, "hex": "060007070d03200000c03f000020c00000604010f603" }
    },
    {
      "name": "skip_matrix_sequence_after_sequence",
      "group": "skip/matrix",
      "description": "Skip matrix, 1 of the 100 (read, skipped) wire-type pairs: each of {sequence} is skipped where it directly follows a {sequence} field the receiver DOES read. Every skipped field is followed by an unsigned anchor that must still decode with its exact value -- a skip consuming one byte too few or too many is caught there (MESSAGE_SPEC S7.3, S4.3).",
      "offset": 0,
      "requires": ["sequence"],
      "skip_ids": [1],
      "fields": [
        { "op": "sequence_begin", "id": 0 },
        { "op": "unsigned", "id": 0, "value": 7 },
        { "op": "sequence_end" },
        { "op": "sequence_begin", "id": 1 },
        { "op": "unsigned", "id": 0, "value": 8 },
        { "op": "sequence_end" },
        { "op": "unsigned", "id": 2, "value": 502 }
      ],
      "serialized": { "length": 11, "hex": "060007070e00080710f603" },
      "serialized_sparse": { "length": 11, "hex": "060007070e00080710f603" }
    }
  ],
  "invalid_utf8": [
    {
      "name": "utf8_overlong_c0_80",
      "group": "invalid/utf8",
      "description": "Overlong 2-byte NUL (C0 80, Java \"Modified UTF-8\"): U+0000 must be a single 00 byte.",
      "requires": ["fixlen"],
      "id": 0,
      "string_hex": "c080",
      "serialized_hex": "0212c080",
      "decode_outcome": "invalid",
      "encode_outcome": "invalid_argument"
    },
    {
      "name": "utf8_overlong_c1",
      "group": "invalid/utf8",
      "description": "Overlong 2-byte sequence C1 BF (would decode to U+007F, which is 1-byte ASCII).",
      "requires": ["fixlen"],
      "id": 0,
      "string_hex": "c1bf",
      "serialized_hex": "0212c1bf",
      "decode_outcome": "invalid",
      "encode_outcome": "invalid_argument"
    },
    {
      "name": "utf8_overlong_3byte",
      "group": "invalid/utf8",
      "description": "Overlong 3-byte sequence E0 80 80 (would decode to U+0000).",
      "requires": ["fixlen"],
      "id": 0,
      "string_hex": "e08080",
      "serialized_hex": "021ae08080",
      "decode_outcome": "invalid",
      "encode_outcome": "invalid_argument"
    },
    {
      "name": "utf8_overlong_4byte",
      "group": "invalid/utf8",
      "description": "Overlong 4-byte sequence F0 80 80 80 (would decode to U+0000).",
      "requires": ["fixlen"],
      "id": 0,
      "string_hex": "f0808080",
      "serialized_hex": "0222f0808080",
      "decode_outcome": "invalid",
      "encode_outcome": "invalid_argument"
    },
    {
      "name": "utf8_surrogate_d800",
      "group": "invalid/utf8",
      "description": "Lone UTF-16 surrogate code point U+D800 (ED A0 80): never valid in UTF-8.",
      "requires": ["fixlen"],
      "id": 0,
      "string_hex": "eda080",
      "serialized_hex": "021aeda080",
      "decode_outcome": "invalid",
      "encode_outcome": "invalid_argument"
    },
    {
      "name": "utf8_surrogate_dfff",
      "group": "invalid/utf8",
      "description": "Lone UTF-16 surrogate code point U+DFFF (ED BF BF): never valid in UTF-8.",
      "requires": ["fixlen"],
      "id": 0,
      "string_hex": "edbfbf",
      "serialized_hex": "021aedbfbf",
      "decode_outcome": "invalid",
      "encode_outcome": "invalid_argument"
    },
    {
      "name": "utf8_out_of_range",
      "group": "invalid/utf8",
      "description": "Code point above U+10FFFF (F4 90 80 80 = U+110000): out of the Unicode range.",
      "requires": ["fixlen"],
      "id": 0,
      "string_hex": "f4908080",
      "serialized_hex": "0222f4908080",
      "decode_outcome": "invalid",
      "encode_outcome": "invalid_argument"
    },
    {
      "name": "utf8_bare_continuation",
      "group": "invalid/utf8",
      "description": "Bare continuation byte 0x80 with no lead byte.",
      "requires": ["fixlen"],
      "id": 0,
      "string_hex": "80",
      "serialized_hex": "020a80",
      "decode_outcome": "invalid",
      "encode_outcome": "invalid_argument"
    },
    {
      "name": "utf8_lone_ff",
      "group": "invalid/utf8",
      "description": "0xFF: never a valid UTF-8 byte in any position.",
      "requires": ["fixlen"],
      "id": 0,
      "string_hex": "ff",
      "serialized_hex": "020aff",
      "decode_outcome": "invalid",
      "encode_outcome": "invalid_argument"
    },
    {
      "name": "utf8_truncated_2byte",
      "group": "invalid/utf8",
      "description": "2-byte lead C2 with no continuation byte (truncated at end-of-payload -> INVALID).",
      "requires": ["fixlen"],
      "id": 0,
      "string_hex": "c2",
      "serialized_hex": "020ac2",
      "decode_outcome": "invalid",
      "encode_outcome": "invalid_argument"
    },
    {
      "name": "utf8_truncated_3byte",
      "group": "invalid/utf8",
      "description": "3-byte lead E2 82 missing its final continuation byte (truncated at end-of-payload).",
      "requires": ["fixlen"],
      "id": 0,
      "string_hex": "e282",
      "serialized_hex": "0212e282",
      "decode_outcome": "invalid",
      "encode_outcome": "invalid_argument"
    }
  ],
  "sequence_growth": [
    {
      "name": "growth_index_at_cap_minus_one",
      "group": "growth/index",
      "description": "Two string elements, at id 0 and at the last legal index (cap-1). The array is cap long although two elements arrived: a sparse array allocates by its highest id, not by how many elements were delivered. The at-cap-1 index is accepted (ARCHITECTURE S9.5).",
      "requires": ["sequence", "fixlen", "dynamic_arrays"],
      "field_id": 0,
      "element_type": "string",
      "deliver": [
        { "id": 0, "value": "a" },
        { "id_from_cap": -1, "value": "b" }
      ],
      "expect": {
        "outcome": "complete",
        "length_from_cap": 0
      }
    },
    {
      "name": "growth_index_at_cap",
      "group": "growth/index",
      "description": "A string element at id 0, then one at the cap itself. max_dyn_array_count binds the element INDEX for a wrapper array (there is no count header to bind), so id >= cap is LimitExceeded -- checked BEFORE the container grows, so nothing is allocated for it. A policy rejection, not INVALID: the bytes are well-formed and decode under a looser cap (CORELIB_PLAN S6.2.1).",
      "requires": ["sequence", "fixlen", "dynamic_arrays"],
      "field_id": 0,
      "element_type": "string",
      "deliver": [
        { "id": 0, "value": "a" },
        { "id_from_cap": 0, "value": "b" }
      ],
      "expect": {
        "outcome": "limit_exceeded",
        "terminal": true,
        "max_length": 1
      }
    },
    {
      "name": "growth_gap_filled",
      "group": "growth/gap",
      "description": "String elements at ids 0, 2 and 3 -- id 1 is an interior element equal to its default and so MUST NOT be written (MESSAGE_SPEC S5.1). The gap is well-formed: the array is 4 long, id 1 holds the element default, and the gap neither shortens nor shifts the array.",
      "requires": ["sequence", "fixlen", "dynamic_arrays"],
      "field_id": 0,
      "element_type": "string",
      "deliver": [
        { "id": 0, "value": "a" },
        { "id": 2, "value": "c" },
        { "id": 3, "value": "d" }
      ],
      "expect": {
        "outcome": "complete",
        "length": 4,
        "default_ids": [1]
      }
    },
    {
      "name": "growth_no_partial_extension",
      "group": "growth/reject",
      "description": "A string element at id 0, then one at the cap (rejected), then one at id 1. The rejection is terminal (CORELIB_PLAN S6.3), and the container must not be left extended toward the rejected index: the check runs before the grow, so the length never passes what legitimately arrived.",
      "requires": ["sequence", "fixlen", "dynamic_arrays"],
      "field_id": 0,
      "element_type": "string",
      "deliver": [
        { "id": 0, "value": "a" },
        { "id_from_cap": 0, "value": "x" },
        { "id": 1, "value": "b" }
      ],
      "expect": {
        "outcome": "limit_exceeded",
        "terminal": true,
        "max_length": 1
      }
    },
    {
      "name": "growth_empty_array",
      "group": "growth/length",
      "description": "A wrapper array framed empty -- the explicit-empty form, with no element at all. There is no highest present id, so the length is 0 and the container never grows (MESSAGE_SPEC S5.1). The zero end of the range the cap bounds at the other.",
      "requires": ["sequence", "dynamic_arrays"],
      "field_id": 0,
      "element_type": "string",
      "deliver": [],
      "expect": {
        "outcome": "complete",
        "length": 0
      }
    },
    {
      "name": "growth_single_at_cap_minus_one",
      "group": "growth/index",
      "description": "One string element, at cap-1, with nothing before it. The array is still cap long: the length is highest present id + 1 whatever the delivery order or count, so a single element at the boundary is the whole allocation on its own.",
      "requires": ["sequence", "fixlen", "dynamic_arrays"],
      "field_id": 0,
      "element_type": "string",
      "deliver": [
        { "id_from_cap": -1, "value": "a" }
      ],
      "expect": {
        "outcome": "complete",
        "length_from_cap": 0
      }
    },
    {
      "name": "growth_index_at_cap_minus_one_struct",
      "group": "growth/index",
      "description": "growth_index_at_cap_minus_one with STRUCT elements: each element is a framed sub-sequence carrying one unsigned field at id 0, not a leaf. A framed element reaches the container through the collector's sequence path rather than its leaf path, so the boundary is asserted on both. The verdict is the same -- the bound is the index, never the element kind.",
      "requires": ["sequence", "dynamic_arrays"],
      "field_id": 0,
      "element_type": "struct",
      "deliver": [
        { "id": 0, "value": 1 },
        { "id_from_cap": -1, "value": 2 }
      ],
      "expect": {
        "outcome": "complete",
        "length_from_cap": 0
      }
    },
    {
      "name": "growth_index_at_cap_struct",
      "group": "growth/index",
      "description": "growth_index_at_cap with STRUCT elements: an over-cap index is LimitExceeded on the framed element path too, before the frame is applied and before the container grows.",
      "requires": ["sequence", "dynamic_arrays"],
      "field_id": 0,
      "element_type": "struct",
      "deliver": [
        { "id": 0, "value": 1 },
        { "id_from_cap": 0, "value": 2 }
      ],
      "expect": {
        "outcome": "limit_exceeded",
        "terminal": true,
        "max_length": 1
      }
    }
  ],
  "header_limits": [
    {
      "name": "header_string_over_cap",
      "group": "limits/header",
      "description": "A 100-byte string is declared at id 0 and the message ends -- not one payload byte arrives. The cap is decided at the length word, before the payload is asked for, so the answer is LimitExceeded and terminal (CORELIB_PLAN S6.2.1, S6.3). INCOMPLETE would be the outcome S5.2.3's reason exists to prevent: it says more bytes can change the verdict, and after a cap has fired nothing can.",
      "requires": ["fixlen", "receiver_caps"],
      "field_id": 0,
      "declared": 100,
      "limits": { "max_dyn_string_len": 16 },
      "serialized": "02a206",
      "expect": {
        "outcome": "limit_exceeded",
        "terminal": true
      }
    },
    {
      "name": "header_string_in_cap",
      "group": "limits/header",
      "description": "THE CONTROL for header_string_over_cap: the same shape at a length the cap admits. Still INCOMPLETE -- the cap must not turn every short read into a rejection, and a port that passes the over-cap case by rejecting everything fails here.",
      "requires": ["fixlen", "receiver_caps"],
      "field_id": 0,
      "declared": 8,
      "limits": { "max_dyn_string_len": 16 },
      "serialized": "0242",
      "expect": {
        "outcome": "incomplete"
      }
    },
    {
      "name": "header_blob_over_cap",
      "group": "limits/header",
      "description": "header_string_over_cap for a blob. S6.2.1 keeps blob and string on separate caps because a deployment may accept a megabyte of opaque bytes and no such quantity of text, so the enforcement point has to be asserted on both -- a port can wire one and miss the other.",
      "requires": ["fixlen", "receiver_caps"],
      "field_id": 0,
      "declared": 100,
      "limits": { "max_dyn_blob_len": 16 },
      "serialized": "02a306",
      "expect": {
        "outcome": "limit_exceeded",
        "terminal": true
      }
    },
    {
      "name": "header_blob_in_cap",
      "group": "limits/header",
      "description": "THE CONTROL for header_blob_over_cap.",
      "requires": ["fixlen", "receiver_caps"],
      "field_id": 0,
      "declared": 8,
      "limits": { "max_dyn_blob_len": 16 },
      "serialized": "0243",
      "expect": {
        "outcome": "incomplete"
      }
    },
    {
      "name": "header_array_count_over_cap",
      "group": "limits/header",
      "description": "An unsigned varint array declares 100 elements at id 0 and the message ends before the first of them. A COUNT ahead of its payload is bound exactly as a length is (S6.2.1) -- and unlike a wrapper array, which has no count on the wire and is bound at the element index instead (see the sequence_growth block).",
      "requires": ["array", "receiver_caps"],
      "field_id": 0,
      "declared": 100,
      "limits": { "max_dyn_array_count": 16 },
      "serialized": "0364",
      "expect": {
        "outcome": "limit_exceeded",
        "terminal": true
      }
    },
    {
      "name": "header_array_count_in_cap",
      "group": "limits/header",
      "description": "THE CONTROL for header_array_count_over_cap.",
      "requires": ["array", "receiver_caps"],
      "field_id": 0,
      "declared": 8,
      "limits": { "max_dyn_array_count": 16 },
      "serialized": "0308",
      "expect": {
        "outcome": "incomplete"
      }
    },
    {
      "name": "header_string_amplification",
      "group": "limits/header",
      "description": "Six bytes claim a 1 GiB string. The amplification shape: the verdict must not depend on the payload arriving, or the cheapest possible message buys an allocation four million times its own size (ARCHITECTURE S9.5, 'a claimed oversize fails fast even if the payload never arrives'). Its in-cap control is header_string_in_cap -- same cap, same shape.",
      "requires": ["fixlen", "receiver_caps", "int64"],
      "field_id": 0,
      "declared": 1073741824,
      "limits": { "max_dyn_string_len": 16 },
      "serialized": "028280808020",
      "expect": {
        "outcome": "limit_exceeded",
        "terminal": true
      }
    },
    {
      "name": "header_string_schema_bounded",
      "group": "limits/header",
      "description": "THE PAIR THAT KEEPS THE TWO CATEGORIES APART: the identical length word to header_string_over_cap, at a field the SCHEMA bounds instead. The answer is INVALID, not LimitExceeded -- a schema bound is a statement about validity, a receiver cap one about capacity (MESSAGE_SPEC S7.1 vs CORELIB_PLAN S6.2.1), and S6.2.1 forbids applying a cap to a field the schema already bounds. A port that routes both to one category passes every other case in this block and fails this one.",
      "requires": ["fixlen"],
      "field_id": 0,
      "declared": 100,
      "schema": { "maxlen": 16 },
      "serialized": "02a206",
      "expect": {
        "outcome": "invalid",
        "terminal": true
      }
    },
    {
      "name": "header_string_schema_bounded_in_bound",
      "group": "limits/header",
      "description": "THE CONTROL for header_string_schema_bounded: within the schema bound, so INCOMPLETE again. The schema bound no more rejects a short read than the cap does.",
      "requires": ["fixlen"],
      "field_id": 0,
      "declared": 8,
      "schema": { "maxlen": 16 },
      "serialized": "0242",
      "expect": {
        "outcome": "incomplete"
      }
    },
    {
      "name": "header_string_over_cap_split",
      "group": "limits/header",
      "description": "header_string_over_cap fed in two chunks that divide the length varint itself, so the cap fires on a word no single feed delivered whole. The verdict is a property of the bytes, not of how they were chunked (CORELIB_PLAN S7.2 item 4); a decoder that compares before the varint is complete sees a truncated number and lets the message through.",
      "requires": ["fixlen", "receiver_caps"],
      "field_id": 0,
      "declared": 100,
      "limits": { "max_dyn_string_len": 16 },
      "serialized": "02a206",
      "chunks": ["02a2", "06"],
      "expect": {
        "outcome": "limit_exceeded",
        "terminal": true
      }
    }
  ],
  "header_limits_nested": [
    {
      "name": "nested_string_over_cap",
      "group": "limits/header-nested",
      "description": "header_string_over_cap, one frame deeper: a 100-byte string declared at id 0 INSIDE a sequence opened at id 7, and then the message ends with that sequence still open. The ceiling is decided at the length word regardless of depth (S6.2.1), so the answer is LimitExceeded and terminal (S6.3). INCOMPLETE is the trap here, and a more convincing one than at the top level: a frame really is open, so a port that never checks the ceiling produces a plausible-looking INCOMPLETE for the wrong reason.",
      "requires": ["sequence", "fixlen", "receiver_caps"],
      "frames": [7],
      "field_id": 0,
      "declared": 100,
      "limits": { "max_dyn_string_len": 16 },
      "serialized": "3e02a206",
      "expect": {
        "outcome": "limit_exceeded",
        "terminal": true
      }
    },
    {
      "name": "nested_string_in_cap",
      "group": "limits/header-nested",
      "description": "THE CONTROL for nested_string_over_cap: the same shape at a length the cap admits. INCOMPLETE -- and here that is the RIGHT answer for the right reason, which is what separates a port that enforces the ceiling from one that rejects everything nested.",
      "requires": ["sequence", "fixlen", "receiver_caps"],
      "frames": [7],
      "field_id": 0,
      "declared": 8,
      "limits": { "max_dyn_string_len": 16 },
      "serialized": "3e0242",
      "expect": {
        "outcome": "incomplete"
      }
    },
    {
      "name": "nested_string_schema_bounded",
      "group": "limits/header-nested",
      "description": "The schema-bounded counterpart at the same nested length word: the declaration binds the field, so breaching it is INVALID (MESSAGE_SPEC S7.1), not LimitExceeded. Pairing the two at one depth is what shows the ceiling and the bound are separate machinery -- a port can carry the schema bound into a sequence and leave the receiver cap at the top level.",
      "requires": ["sequence", "fixlen"],
      "frames": [7],
      "field_id": 0,
      "declared": 100,
      "schema": { "maxlen": 16 },
      "serialized": "3e02a206",
      "expect": {
        "outcome": "invalid",
        "terminal": true
      }
    },
    {
      "name": "nested_string_schema_bounded_in_bound",
      "group": "limits/header-nested",
      "description": "THE CONTROL for nested_string_schema_bounded.",
      "requires": ["sequence", "fixlen"],
      "frames": [7],
      "field_id": 0,
      "declared": 8,
      "schema": { "maxlen": 16 },
      "serialized": "3e0242",
      "expect": {
        "outcome": "incomplete"
      }
    },
    {
      "name": "nested_array_count_over_cap",
      "group": "limits/header-nested",
      "description": "The nested case for a COUNT word rather than a length word: an unsigned varint array declares 100 elements inside the open sequence. A port may reach the enforcement point through a different path for counts than for lengths, so the axis is asserted on both.",
      "requires": ["sequence", "array", "receiver_caps"],
      "frames": [7],
      "field_id": 0,
      "declared": 100,
      "limits": { "max_dyn_array_count": 16 },
      "serialized": "3e0364",
      "expect": {
        "outcome": "limit_exceeded",
        "terminal": true
      }
    },
    {
      "name": "nested_array_count_in_cap",
      "group": "limits/header-nested",
      "description": "THE CONTROL for nested_array_count_over_cap.",
      "requires": ["sequence", "array", "receiver_caps"],
      "frames": [7],
      "field_id": 0,
      "declared": 8,
      "limits": { "max_dyn_array_count": 16 },
      "serialized": "3e0308",
      "expect": {
        "outcome": "incomplete"
      }
    },
    {
      "name": "nested_depth2_string_over_cap",
      "group": "limits/header-nested",
      "description": "Two frames deep, because one level may be special-cased: the outer sequence at id 7 holds an inner one at id 3, and the over-cap string sits in that. Both frames are left open at end-of-input, so the INCOMPLETE that must NOT be reported now has two independent reasons behind it.",
      "requires": ["sequence", "fixlen", "receiver_caps"],
      "frames": [7, 3],
      "field_id": 0,
      "declared": 100,
      "limits": { "max_dyn_string_len": 16 },
      "serialized": "3e1e02a206",
      "expect": {
        "outcome": "limit_exceeded",
        "terminal": true
      }
    },
    {
      "name": "nested_depth2_string_in_cap",
      "group": "limits/header-nested",
      "description": "THE CONTROL for nested_depth2_string_over_cap.",
      "requires": ["sequence", "fixlen", "receiver_caps"],
      "frames": [7, 3],
      "field_id": 0,
      "declared": 8,
      "limits": { "max_dyn_string_len": 16 },
      "serialized": "3e1e0242",
      "expect": {
        "outcome": "incomplete"
      }
    }
  ],
  "boolean_tolerant": [
    {
      "name": "boolean_tolerant_zero",
      "group": "boolean/tolerant",
      "description": "0 is the only value that reads as false.",
      "requires": [],
      "id": 0,
      "serialized_hex": "0000",
      "expect": {
        "outcome": "complete",
        "values": [false],
        "reencoded_hex": "0000"
      }
    },
    {
      "name": "boolean_tolerant_one",
      "group": "boolean/tolerant",
      "description": "1 is the canonical true, and re-encodes unchanged.",
      "requires": [],
      "id": 0,
      "serialized_hex": "0001",
      "expect": {
        "outcome": "complete",
        "values": [true],
        "reencoded_hex": "0001"
      }
    },
    {
      "name": "boolean_tolerant_two",
      "group": "boolean/tolerant",
      "description": "2 reads as true and is normalized away: the re-encode emits 1, not 2.",
      "requires": [],
      "id": 0,
      "serialized_hex": "0002",
      "expect": {
        "outcome": "complete",
        "values": [true],
        "reencoded_hex": "0001"
      }
    },
    {
      "name": "boolean_tolerant_255",
      "group": "boolean/tolerant",
      "description": "255, the largest value that still fits one byte, reads as true.",
      "requires": [],
      "id": 0,
      "serialized_hex": "00ff01",
      "expect": {
        "outcome": "complete",
        "values": [true],
        "reencoded_hex": "0001"
      }
    },
    {
      "name": "boolean_tolerant_256",
      "group": "boolean/tolerant",
      "description": "256 does not fit one byte. A boolean has no width bound (CORELIB_PLAN S4.4), so this is true -- not INVALID, and not a truncation to false.",
      "requires": [],
      "id": 0,
      "serialized_hex": "008002",
      "expect": {
        "outcome": "complete",
        "values": [true],
        "reencoded_hex": "0001"
      }
    },
    {
      "name": "boolean_tolerant_u64_max",
      "group": "boolean/tolerant",
      "description": "2^64-1, the widest value the format admits, is still just true. Tagged int64: S4.4 lifts the width bound the TYPE carries, not the one the BUILD's varint accumulator has (S6.2.2 narrowed scalar width), so a 32-bit build rejects this message rather than reading it as true.",
      "requires": ["int64"],
      "id": 0,
      "serialized_hex": "00ffffffffffffffffff01",
      "expect": {
        "outcome": "complete",
        "values": [true],
        "reencoded_hex": "0001"
      }
    },
    {
      "name": "boolean_tolerant_array",
      "group": "boolean/tolerant",
      "description": "The same rule one level down: every non-zero element of a boolean array is true and is normalized, including one wider than its destination.",
      "requires": ["array"],
      "id": 0,
      "serialized_hex": "03050001028002ffff03",
      "expect": {
        "outcome": "complete",
        "values": [false, true, true, true, true],
        "reencoded_hex": "03050001010101"
      }
    },
    {
      "name": "boolean_tolerant_array_u64_max",
      "group": "boolean/tolerant",
      "description": "A boolean array element at the format's widest value. Split from the case above so the array rule still has positive coverage in a build whose accumulator cannot hold this element.",
      "requires": ["array", "int64"],
      "id": 0,
      "serialized_hex": "030200ffffffffffffffffff01",
      "expect": {
        "outcome": "complete",
        "values": [false, true],
        "reencoded_hex": "03020001"
      }
    }
  ]
}
