Create a new Schema
a constructor function for creating RecordV2 implementations
an array of record schema
A constructor function for creating RecordV2 implementations
The array of record schema
The record schema indexed by name
Returns the schema in a JSON format
schema in JSON format
Create a RecordData model representation of the schema
an array of arrays containing model field data
Create a mutable model based upon the schema.
The model will be created with all mandatory record occurrences and all mandatory field occurrences initialized to default values.
Such a model may be mutated and used to generate updated RecordV2 occurrences for updating purposes.
a new initialized model
Get the first record in the records array
the record at position 0 in the records array
Get a record by the record name
the record name
the record that was found
Returns an immutable, ordered list of record definitions.
There will be at least one.
a list of the record definitions in the schema
Get the last record in the records array
the record at the last position in the records array
Get an array of all records in the schema
the records in the schema
Convert the schema to a string
a string representation of the schema
Copyright © 2025 DiffusionData Ltd. All Rights Reserved.
Implementation of ConcreteSchema which extends the Record V2 Schema interface