submission-form / schema.json
lewtun's picture
lewtun HF staff
Make keys required field, add schema generator
b6fc16d
{
"title": "GEMSchema",
"description": "The default GEM schema",
"type": "object",
"properties": {
"submission_name": {
"title": "Submission Name",
"type": "string"
},
"param_count": {
"title": "Param Count",
"type": "integer"
},
"description": {
"title": "Description",
"default": "An optional brief description of the system that will be shown on the results page",
"type": "string"
},
"tasks": {
"title": "Tasks",
"type": "object",
"additionalProperties": {
"$ref": "#/definitions/Task"
}
}
},
"required": [
"submission_name",
"param_count",
"tasks"
],
"definitions": {
"Task": {
"title": "Task",
"type": "object",
"properties": {
"values": {
"title": "Values",
"type": "array",
"items": {
"type": "string"
}
},
"keys": {
"title": "Keys",
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"values",
"keys"
]
}
}
}