An options object for initializing a JSON data model.

interface IOptions {
    data: DataSource;
    schema: Schema;
}

Properties

Properties

The data source for the data model.

The data model takes full ownership of the data source.

schema: Schema

The schema for the for the data model.

The schema should be treated as an immutable object.