Package dev.omnist.schema
package dev.omnist.schema
OSD (Omnist Schema Definition) modeling and I/O: the
Schema
type model — records, fields, scalar kinds — plus the lexer, parser, and writer
that read and write schemas in their canonical text form (omnist-spec §5).-
ClassDescriptionAn immutable field declaration within a
Recorddefinition (omnist-spec §5.4).Tokenizer for OSD (Omnist Schema Definition) grammar (omnist-spec §5.3).An individual token produced byOsdLexer.Token types produced by the OSD lexer (omnist-spec §5.3).Thrown when OSD (Omnist Schema Definition) text fails to parse (omnist-spec §5).OSD (Omnist Schema Definition) Reader (omnist-spec §5).OSD (Omnist Schema Definition) Canonical Writer (omnist-spec §5.9).An immutable record definition in the OSD schema model (omnist-spec §5.5).The seven scalar type keywords a field can name in OSD (omnist-spec §5, §3.3).A parsed OSD schema (omnist-spec §5, §3): a root record name plus the graph of named records it (transitively) reaches.The three field-type forms an OSD schema field can declare (omnist-spec §5.3, §3.3): a scalar kind, a reference to another record, or the openanytype.The openanytype: accepts any value unchecked (omnist-spec §5.3.3).A field typed as a reference to another record in the same schema (omnist-spec §5.3.2).A field typed as one of the seven scalar kinds, optionally nullable.