open-standards/wai/telemetry-conformance/expected/cmsd-read.json
Transaction Science 51fda19882 wai: CMSD — a reader for CMSD-Static and CMSD-Dynamic, the custom keys registered as wire identifiers
delivery-telemetry §6.6 reads a CMSD field back into the description
§6.1 to §6.3 write, passing over other senders' keys, and refuses with
cmsd_malformed, cmsd_type or cmsd_version; §10 lists the extension's
CMCD and CMSD custom keys in full, and the registry lists each as a wire
identifier of the new kind telemetry-key (and WPJ1, the projection
descriptor's magic). telemetry-conformance/cmsd-read/ holds the fields
and their outcomes; cmsd_read_verify.py is the second implementation.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-22 10:36:01 -04:00

142 lines
2.9 KiB
JSON

{
"static-as-written": {
"read": {
"at": 1790000000000,
"d": 40,
"ht": null,
"nor": "L01.wai",
"nrr": null,
"ot": "v",
"sf": "o",
"st": "v",
"su": true,
"content_hash": "aaf90792d6ff5318e5f306fbb000dfcbe73637e244aad1a2eff6dae537cd6b5f",
"layer": 0,
"layers_total": 4,
"receipt": "7bf0f413db62aa185969b9ccf925d40f0281601268899bb7f2e97344487f4189",
"op": null
}
},
"static-another-order": {
"read": {
"at": 1790000000000,
"d": 40,
"ht": null,
"nor": "L01.wai",
"nrr": null,
"ot": "v",
"sf": "o",
"st": "v",
"su": true,
"content_hash": "aaf90792d6ff5318e5f306fbb000dfcbe73637e244aad1a2eff6dae537cd6b5f",
"layer": 0,
"layers_total": 4,
"receipt": "7bf0f413db62aa185969b9ccf925d40f0281601268899bb7f2e97344487f4189",
"op": null
}
},
"static-su-false": {
"read": {
"at": 1790000000000,
"d": null,
"ht": null,
"nor": null,
"nrr": null,
"ot": "o",
"sf": null,
"st": null,
"su": false,
"content_hash": null,
"layer": null,
"layers_total": null,
"receipt": null,
"op": null
}
},
"static-derived-op": {
"read": {
"at": 1790000000005,
"d": null,
"ht": 20,
"nor": null,
"nrr": "0-1023",
"ot": "o",
"sf": "o",
"st": "l",
"su": false,
"content_hash": "4fc1bd94bd48b2c1ded99c0053eed742f5399cec09dbd2f8694cca6a30e44875",
"layer": 1,
"layers_total": 4,
"receipt": null,
"op": "crop"
}
},
"dynamic-two-nodes": {
"read": [
{
"server": "edge-7",
"du": false,
"etp": 25000,
"mb": 8000,
"rd": 3,
"rtt": 40,
"drop": 2
},
{
"server": "origin-1",
"du": true,
"etp": null,
"mb": null,
"rd": 12,
"rtt": null,
"drop": null
}
]
},
"dynamic-unknown-parameter": {
"read": [
{
"server": "edge-7",
"du": false,
"etp": null,
"mb": null,
"rd": null,
"rtt": 40,
"drop": null
}
]
},
"static-not-a-dictionary": {
"refuse": "cmsd_malformed"
},
"static-duration-a-string": {
"refuse": "cmsd_type"
},
"static-layer-not-decimal": {
"refuse": "cmsd_type"
},
"static-layer-leading-zero": {
"refuse": "cmsd_type"
},
"static-hash-short": {
"refuse": "cmsd_type"
},
"static-op-a-string": {
"refuse": "cmsd_type"
},
"static-version-2": {
"refuse": "cmsd_version"
},
"dynamic-server-a-token": {
"refuse": "cmsd_type"
},
"dynamic-throughput-a-string": {
"refuse": "cmsd_type"
},
"dynamic-drop-not-decimal": {
"refuse": "cmsd_type"
},
"dynamic-not-a-list": {
"refuse": "cmsd_malformed"
}
}