Package org.refcodes.schema
REFCODES.ORG toolkit.
This artifact defines the Schema type as a hierarchical
representation of runtime state. It is used to describe the internal
structure of objects in a uniform and introspectable way, supporting
debugging, documentation and specification.
Types implementing the Schemable interface expose their internal
structure as a Schema tree. This representation is intentionally
generic and independent of concrete domains, allowing it to be reused across
different layers and components.
A Schema may be rendered in various forms, for example as a
human-readable, JSON-like representation via Schema.toString(), or
processed using visitor-based approaches for generating alternative formats
such as JSON, XML or diagrammatic representations.
The schema model is designed to be lightweight and composable, enabling consistent diagnostics across the toolkit without coupling components to specific output formats or tooling.
Please refer to the refcodes-schema: Canonical runtime diagnostics and visitor-based reports documentation for an up-to-date and detailed description on the usage of this artifact.
-
ClassDescriptionThe mode of operation for the
JsonVisitor.ThePlantUmlVisitoris aSchemaVisitorproducing a PlantUML object diagram when visiting aSchemastructure.ASchemais a lightweight, recursive description of an object graph.Builder for creatingSchemainstances.Schemable<OPTS>Predefined schema notations backed bySchemaVisitorimplementations.TheSchemaOntologydescribes the terms used forSchemageneration.ASchemaVisitortraverses aSchematree and produces a consolidated result.