spec_schema
spec_schema()The JSON Schema for a specification, generated from the models themselves.
Not hand-written, so it cannot describe a configuration format the engine does not have. This is also what the YAML reference on both documentation sites is built from, which is why every field carries a description and a test asserts it.
Returns
| Name | Type | Description |
|---|---|---|
| dict[str, Any] | The schema as plain data, with $defs holding one definition per model and |
|
| dict[str, Any] | oneOf at the top selecting on task. |
schema = spec_schema() schema[“title”] ‘platypus experiment specification’ sorted(schema[“\(defs"])[:3] ['Activation', 'Adadelta', 'Adagrad'] "SegmentationModel" in schema["\)defs”], “DetectionModel” in schema[“\(defs"] (True, True) schema["\)defs”][“SplitSpec”][“properties”][“group_by”][“description”][:24] ’**Required, and may be n’