{"inputSchema":{"type":"object","properties":{"hex":{"type":"string","pattern":"^(?:[0-9a-fA-F]{2}){1,4096}$"},"header_bytes":{"type":"integer","minimum":1,"maximum":4096},"length_offset":{"type":"integer","minimum":0,"maximum":4095},"length_bytes":{"enum":[1,2,4]},"endian":{"enum":["be","le"]},"length_includes_header":{"type":"boolean"}},"required":["hex","header_bytes","length_offset","length_bytes","endian","length_includes_header"],"additionalProperties":false},"outputSchema":{"type":"object","required":["question","measured_at","source","data","limitations","upstream_cost_usdc"],"properties":{"question":{"const":"register-frame-length-contract"},"measured_at":{"type":"string","maxLength":30,"minLength":1},"source":{"type":"object","properties":{"kind":{"const":"supplied_input"},"sha256":{"type":"string","maxLength":64,"minLength":1},"reference":{"type":"string","maxLength":256,"minLength":1}},"required":["kind","sha256","reference"],"additionalProperties":false},"data":{"type":"object","properties":{"actual_bytes":{"$ref":"#/$defs/s0"},"declared_value":{"$ref":"#/$defs/s0"},"expected_frame_bytes":{"$ref":"#/$defs/s0"},"missing_bytes":{"$ref":"#/$defs/s0"},"trailing_bytes":{"$ref":"#/$defs/s0"},"matches":{"type":"boolean"}},"required":["actual_bytes","declared_value","expected_frame_bytes","missing_bytes","trailing_bytes","matches"],"additionalProperties":false},"limitations":{"type":"array","items":{"type":"string","maxLength":4096},"maxItems":5,"minItems":0},"upstream_cost_usdc":{"const":0}},"additionalProperties":true,"$id":"urn:halowerk:w2:E5","$defs":{"s0":{"type":"integer","minimum":0,"maximum":1000000000000}}},"requestExample":{"hex":"000400010203","header_bytes":2,"length_offset":0,"length_bytes":2,"endian":"be","length_includes_header":false},"price_usdc":"0.005"}