UNPKG

protodef

Version:

A simple yet powerful way to define binary protocols

29 lines (28 loc) 444 B
{ "bool": { "enum": ["bool"] }, "cstring": { "title": "cstring", "type": "array", "items": [ { "enum": ["cstring"] }, { "type": "object", "properties": { "encoding": { "type": "string" } }, "additionalProperties": false, "required": [] } ], "additionalItems": false }, "void": { "enum": ["void"] } }