Expand description
MessagePack Schema protocol definition and JSON parser/emitter. MessagePack Schema protocol definition.
MessagePack Schema uses a constrained multigraph + W-type theory (Group A):
colimit(ThGraph, ThConstraint, ThMulti) + ThWType.
Vertex kinds: object, field, array, string, integer, boolean, float, binary, timestamp, extension, nil, union. Edge kinds: prop, items, variant.
Functionsยง
- emit_
msgpack_ schema - Emit a
MessagePackSchema (JSON) from aSchema. - parse_
msgpack_ schema - Parse a
MessagePackSchema (JSON) into aSchema. - protocol
- Returns the
MessagePackSchema protocol definition. - register_
theories - Register the component GATs for
MessagePackSchema with a theory registry.