Skip to content
Snippets Groups Projects

Enable validation in table_json_conversion.convert.to_dict for use in XLSX-converter

Merged I. Nüske requested to merge f-bug-138-validate-table_json_conversion into dev
1 unresolved thread
4 files
+ 13
351
Compare changes
  • Side-by-side
  • Inline
Files
4
{
"type": "object",
"properties": {
"Wrapper": {
"type": "array",
"items": {
"type": "object",
"required": [],
"additionalProperties": false,
"title": "Wrapper",
"properties": {
"name": {
"type": "string",
"description": "The name of the Record to be created"
},
"Training": {
"type": "object",
"required": [],
"additionalProperties": false,
"title": "Training",
"properties": {
"name": {
"type": "string",
"description": "The name of the Record to be created"
},
"url": {
"type": "string",
"description": "The URL"
}
}
},
"Results": {
"description": "Results for a training",
"type": "array",
"items": {
"type": "object",
"required": [],
"additionalProperties": false,
"description": "Results for a training",
"title": "Results",
"properties": {
"name": {
"type": "string",
"description": "The name of the Record to be created"
},
"year": {
"type": "integer"
},
"avg_score": {
"description": "The average score for the linked training.",
"type": "number"
}
}
}
}
},
"$schema": "https://json-schema.org/draft/2020-12/schema"
}
}
},
"required": [
"Wrapper"
],
"additionalProperties": false,
"$schema": "https://json-schema.org/draft/2020-12/schema"
}
Loading