Skip to content
Snippets Groups Projects
Commit a4d508c4 authored by Renzo Frigato's avatar Renzo Frigato
Browse files

make all fields in the engine metadata nullable

parent f1694a91
No related branches found
No related tags found
No related merge requests found
......@@ -5,49 +5,40 @@
"properties": {
"project": {
"type": "object",
"allOf": [{"$ref": "container.json"}],
"properties": {
"public": {},
"label": {},
"metadata": {},
"group": {"type": "string"}
"public": {"type": ["boolean", "null"]},
"label": {"type": ["string", "null"]},
"metadata": {"type": ["object", "null"]}
},
"additionalProperties": false
},
"session": {
"type": "object",
"allOf": [{"$ref": "container.json"}],
"properties": {
"public": {},
"label": {},
"metadata": {},
"operator": {"type": "string"},
"project": {"type": "string"},
"uid": {"type": "string"},
"timestamp": {"type": "string"},
"timezone": {"type": "string"},
"public": {"type": ["boolean", "null"]},
"label": {"type": ["string", "null"]},
"metadata": {"type": ["object", "null"]},
"operator": {"type": ["string", "null"]},
"uid": {"type": ["string", "null"]},
"timestamp": {"type": ["string", "null"]},
"timezone": {"type": ["string", "null"]},
"subject": {"$ref": "subject.json"}
},
"additionalProperties": false
},
"acquisition": {
"type": "object",
"allOf": [{"$ref": "container.json"}],
"properties": {
"public": {},
"label": {},
"metadata": {},
"session": {"type": "string"},
"uid": {"type": "string"},
"instrument": {"type": "string"},
"measurement": {"type": "string"},
"timestamp": {"type": "string"},
"timezone": {"type": "string"},
"public": {"type": ["boolean", "null"]},
"label": {"type": ["string", "null"]},
"metadata": {"type": ["object", "null"]},
"uid": {"type": ["string", "null"]},
"instrument": {"type": ["string", "null"]},
"measurement": {"type": ["string", "null"]},
"timestamp": {"type": ["string", "null"]},
"timezone": {"type": ["string", "null"]},
"files": {
"type": "array",
"type": ["array", "null"],
"items": {"$ref": "file.json"}
}
},
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment