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

allow edit of acquisitions and sessions fields

acquisitions -> field subject
sessions -> field description
parent 2a27329b
No related branches found
No related tags found
No related merge requests found
......@@ -24,6 +24,10 @@ ACQUISITION_PUT_SCHEMA = {
'title': 'Notes',
'type': 'string',
},
'description': {
'title': 'Description',
'type': 'string'
},
'files': {
'title': 'Files',
'type': 'array',
......
......@@ -27,6 +27,16 @@ SESSION_PUT_SCHEMA = {
'type': 'string',
'pattern': '^[0-9a-f]{24}$',
},
'subject': {
'title': 'Subject',
'type': 'object',
'properties': {
'code': {
'title': 'Code',
'type': 'string'
}
}
},
'files': {
'title': 'Files',
'type': 'array',
......
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