-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: replace definition templates with the schemas
- Loading branch information
1 parent
f9cb8dd
commit d1f5236
Showing
4 changed files
with
132 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
{ | ||
"$defs": { | ||
"Split": { | ||
"enum": [ | ||
"train", | ||
"validation", | ||
"test", | ||
"all" | ||
], | ||
"title": "Split", | ||
"type": "string" | ||
} | ||
}, | ||
"additionalProperties": true, | ||
"properties": { | ||
"dataset_type": { | ||
"title": "Dataset Type", | ||
"type": "string" | ||
}, | ||
"module_path": { | ||
"format": "path", | ||
"title": "Module Path", | ||
"type": "string" | ||
}, | ||
"title": { | ||
"title": "Title", | ||
"type": "string" | ||
}, | ||
"split": { | ||
"allOf": [ | ||
{ | ||
"$ref": "#/$defs/Split" | ||
} | ||
], | ||
"default": "all" | ||
}, | ||
"title_in_source": { | ||
"anyOf": [ | ||
{ | ||
"type": "string" | ||
}, | ||
{ | ||
"type": "null" | ||
} | ||
], | ||
"default": null, | ||
"title": "Title In Source" | ||
}, | ||
"cache_dir": { | ||
"anyOf": [ | ||
{ | ||
"format": "path", | ||
"type": "string" | ||
}, | ||
{ | ||
"type": "null" | ||
} | ||
], | ||
"default": null, | ||
"title": "Cache Dir" | ||
} | ||
}, | ||
"required": [ | ||
"dataset_type", | ||
"module_path", | ||
"title" | ||
], | ||
"title": "DatasetDefinitionSpec", | ||
"type": "object" | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
{ | ||
"additionalProperties": true, | ||
"properties": { | ||
"model_type": { | ||
"title": "Model Type", | ||
"type": "string" | ||
}, | ||
"module_path": { | ||
"format": "path", | ||
"title": "Module Path", | ||
"type": "string" | ||
}, | ||
"title": { | ||
"title": "Title", | ||
"type": "string" | ||
}, | ||
"device": { | ||
"anyOf": [ | ||
{ | ||
"type": "string" | ||
}, | ||
{ | ||
"type": "null" | ||
} | ||
], | ||
"default": null, | ||
"title": "Device" | ||
}, | ||
"title_in_source": { | ||
"anyOf": [ | ||
{ | ||
"type": "string" | ||
}, | ||
{ | ||
"type": "null" | ||
} | ||
], | ||
"default": null, | ||
"title": "Title In Source" | ||
}, | ||
"cache_dir": { | ||
"anyOf": [ | ||
{ | ||
"format": "path", | ||
"type": "string" | ||
}, | ||
{ | ||
"type": "null" | ||
} | ||
], | ||
"default": null, | ||
"title": "Cache Dir" | ||
} | ||
}, | ||
"required": [ | ||
"model_type", | ||
"module_path", | ||
"title" | ||
], | ||
"title": "ModelDefinitionSpec", | ||
"type": "object" | ||
} |
This file was deleted.
Oops, something went wrong.