From d40215bcbcf3cbd16b9928ba2ed114d08da5506e Mon Sep 17 00:00:00 2001 From: DerekFurstPitt Date: Fri, 16 May 2025 14:56:22 -0400 Subject: [PATCH] updated value 'SWAT' to 'SWAT (Integration Paper)' in schemaconstants. Also updated entity-api-spec yaml --- entity-api-spec.yaml | 12 ++++++------ src/schema/schema_constants.py | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/entity-api-spec.yaml b/entity-api-spec.yaml index 9f1811c2..d609184b 100644 --- a/entity-api-spec.yaml +++ b/entity-api-spec.yaml @@ -1466,7 +1466,7 @@ components: intended_organ: 'AO' group_uuid: 'abcd1234-ef56-gh78-ij90-klmnop123456' group_name: 'University TMC' - priority_project_list: ['SWAT'] + priority_project_list: ['MOSDAP'] UploadExample: summary: 'An example of an upload response' value: @@ -1490,7 +1490,7 @@ components: dataset_uuids_to_link: ['abcd1234-ef56-gh78-ij90-klmnop123456'] dataset_uuids_to_unlink: ['abcd1234-ef56-gh78-ij90-klmnop123456'] datasets: [dataset objects] - priority_project_list: ['SWAT'] + priority_project_list: ['MOSDAP'] CollectionExample: summary: 'An example of a collection response' value: @@ -1645,7 +1645,7 @@ components: intended_organ: 'AO' group_uuid: 'abcd1234-ef56-gh78-ij90-klmnop123456' group_name: 'University TMC' - priority_project_list: ['SWAT'] + priority_project_list: ['MOSDAP'] - created_timestamp: 1710243867000 created_by_user_displayname: 'JaneDoe1' created_by_user_email: 'janedoe@example.com' @@ -1696,7 +1696,7 @@ components: intended_organ: 'AO' group_uuid: 'abcd1234-ef56-gh78-ij90-klmnop123456' group_name: 'University TMC' - priority_project_list:: ['SWAT'] + priority_project_list:: ['MOSDAP'] SampleArrayExample: summary: 'An example of an array of sample objects' value: @@ -1830,7 +1830,7 @@ components: dataset_uuids_to_link: ['abcd1234-ef56-gh78-ij90-klmnop123456'] dataset_uuids_to_unlink: ['abcd1234-ef56-gh78-ij90-klmnop123456'] datasets: [dataset objects] - priority_project_list: ['SWAT'] + priority_project_list: ['MOSDAP'] - created_timestamp: 1710243867000 created_by_user_displayname: 'JaneDoe1' created_by_user_email: 'janedoe@example.com' @@ -1851,7 +1851,7 @@ components: dataset_uuids_to_link: ['abcd1234-ef56-gh78-ij90-klmnop123456'] dataset_uuids_to_unlink: ['abcd1234-ef56-gh78-ij90-klmnop123456'] datasets: [dataset objects] - priority_project_list: ['SWAT'] + priority_project_list: ['MOSDAP'] DatasetProvMetadata: summary: 'An example of a dataset prov metadata response' value: diff --git a/src/schema/schema_constants.py b/src/schema/schema_constants.py index 1178cd64..957b5d06 100644 --- a/src/schema/schema_constants.py +++ b/src/schema/schema_constants.py @@ -26,7 +26,7 @@ class SchemaConstants(object): OMITTED_FIELDS = ['ingest_metadata', 'files'] - ALLOWED_PRIORITY_PROJECTS = ['SWAT', 'MOSDAP'] + ALLOWED_PRIORITY_PROJECTS = ['SWAT (Integration Paper)', 'MOSDAP'] # Define an enumeration to classify an entity's visibility, which can be combined with # authorization info when verify operations on a request.