Static ReadonlySAFEThe pattern every string that states none carries: no C0 control character and no DEL.
StaticerrorsEvery error code the model declares, with the document defining it.
[{ code, cite, own? }]
StaticfitsWhether a JSON value is one of the types a member may take.
the value
from the model
true when it is
StaticgapsThe gaps this process recorded, newest last, at most a hundred.
a copy
StaticholdHolds an answer to its member set, and records what does not fit under STS-GNAP-0910. The answer is not touched.
the member set's id
the answer about to be sent
the endpoint, for the log line
the problems, empty when the answer is the model's
StaticholdRecords an error code the model does not declare under STS-GNAP-0911. The response is not touched.
the GNAP error code about to be sent
the endpoint, for the log line
true when the model does not declare it
StaticmembersOne member set: an answer, a discovery document or an object in one.
the set's id in the model
{ id, cite, members, list }
StaticparamsOne set of parameters' validator, built once.
the set's id in the model: as, continue, manage,
interaction-id, approve-query, api-approve, api-code
the zod object
StaticregistryOne registry: a list of values, or a table of names to the members each carries.
the registry's id in the model
a copy of its values
StaticresolveA schema with every cap named by the model replaced by its number.
a schema, or a part of one
the resolved copy
StaticschemasEvery request document's JSON Schema, by name, caps resolved.
{ grantRequest, continuation, ... }
StaticundeclaredWhat a value carries that its member set does not allow — a member a closed set does not name, a member of a type or a value the set does not allow, a required member missing — and the same of every object it nests that the model names a set for. Empty when it is the model's.
the member set's id
the answer, or the object nested in one
Optionalwhere: string
the path of the value, for the sentence
one sentence per problem
The GNAP model: the request schemas and validators built from it and the holding of what the endpoints answer.