Skip to content
Judgment Labs
Esc
↑↓navigate↵open⌘Jpreview
On this page

DatasetSchema

A dataset's JSON Schema.

Datasets are object-typed with one property per column. Prefer this over a bare dict so editors and type checkers can catch malformed schemas; a plain dict of the same shape is still accepted at runtime.

Attributes

PropType
type?Literal['object']
TypeLiteral['object']
properties?Dict[str, DatasetSchemaProperty]
TypeDict[str, DatasetSchemaProperty]

Was this page helpful?