lenskit.data.schema.DataSchema#
- class lenskit.data.schema.DataSchema#
Bases:
pydantic.BaseModelDescription of the entities and layout of a dataset.
- version: str = '2025.3'#
The data layout version.
Note
When a new schema model is created, this defaults to the current version instead of the oldest version.
- entities: dict[Name, EntitySchema]#
Entity classes defined for this dataset.
- relationships: dict[Name, RelationshipSchema]#
Relationship classes defined for this dataset.