diff --git a/news/clean_institutions_schema.rst b/news/clean_institutions_schema.rst new file mode 100644 index 000000000..198032d65 --- /dev/null +++ b/news/clean_institutions_schema.rst @@ -0,0 +1,15 @@ +**Added:** + +* added banner to groups schema, which is an image for website banner + +**Changed:** + +* institutions schema to add street and make conditionals work better + +**Deprecated:** None + +**Removed:** None + +**Fixed:** None + +**Security:** None diff --git a/regolith/schemas.py b/regolith/schemas.py index 8dc88105e..4e448c43d 100644 --- a/regolith/schemas.py +++ b/regolith/schemas.py @@ -257,6 +257,7 @@ } }, "state": "NY", + "street": "500 W 120th St", "zip": "10027", }, "jobs": { @@ -685,7 +686,7 @@ "narrative": "http://some.com/pdf", "year": 1998, }, - "status": "submitted", + "status": "submitted", "title": "A very fine proposal indeed", "year": 1999, }, @@ -1170,6 +1171,11 @@ "type": "list", "description": "other names for the group", }, + "banner": { + "required": False, + "type": "string", + "description": "name of image file with the group banner", + }, "pi_name": { "description": "The name of the Principle Investigator", "required": True, @@ -1283,6 +1289,11 @@ "required": False, "type": "string", }, + "street": { + "description": "the street address of the institution", + "required": False, + "type": "string", + }, "zip": { "description": "the zip or postal code of the institution", "required": False,