ReadonlyaccessConsolidated access control information for the schema.
ReadonlycastConvert a JS value to the appropriate JS type for the schema.
ReadonlymanageCreate a managed instance of a value.
ReadonlyownerThe schema manager that owns this ValueSupervisor.
ReadonlypatchApply changes. Does not validate perform validation.
ReadonlyschemaThe logical schema that controls the value's behavior.
ReadonlyvalidatePerform validation.
Value supervisor implements schema-based supervision of a specific value.
Supervision functions include:
Access controls
Datatype validation
Managed instance generation
Supervision is implemented via schema-driven runtime compilation. We perform as much logic as possible at startup to minimize overhead during server operation.
This means we typically ingest schema, create a compact form of denormalized metadata, and/or generate functions to perform required operations.