Expand description
JSON:API protocol definition and parser/emitter. JSON:API protocol definition.
JSON:API uses a constrained multigraph schema theory
(colimit(ThGraph, ThConstraint, ThMulti)) and a W-type
instance theory (ThWType).
Vertex kinds: resource-type, attribute, relationship, string, integer, number, boolean, array, object.
Edge kinds: prop, ref.
Functionsยง
- emit_
jsonapi - Emit a
Schemaas a JSON:API schema document. - parse_
jsonapi - Parse a JSON:API schema document into a
Schema. - protocol
- Returns the JSON:API protocol definition.
- register_
theories - Register the component GATs for JSON:API with a theory registry.