diff --git a/acquisitions.py b/acquisitions.py index 4d3280995b50dcb42de27f478cbfd6e65252fc3b..afb52b7a98d71fb9dcbe69b7a3e33ad5be6f9164 100644 --- a/acquisitions.py +++ b/acquisitions.py @@ -24,6 +24,10 @@ ACQUISITION_PUT_SCHEMA = { 'title': 'Notes', 'type': 'string', }, + 'description': { + 'title': 'Description', + 'type': 'string' + }, 'files': { 'title': 'Files', 'type': 'array', diff --git a/sessions.py b/sessions.py index e00ea771c16cfd13e18d44d8cfd689f137f544d7..e95cde4f78b8b984b03faecaff09a509cf30160e 100644 --- a/sessions.py +++ b/sessions.py @@ -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',