Skip to content

Commit

Permalink
Merge pull request #191 from sbillinge/clean_insts_schema
Browse files Browse the repository at this point in the history
Little bit of schema cleaning in Institutions
  • Loading branch information
scopatz authored Jul 27, 2019
2 parents 9862baa + 8a231e0 commit a6b1ee7
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 1 deletion.
15 changes: 15 additions & 0 deletions news/clean_institutions_schema.rst
Original file line number Diff line number Diff line change
@@ -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
13 changes: 12 additions & 1 deletion regolith/schemas.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,7 @@
}
},
"state": "NY",
"street": "500 W 120th St",
"zip": "10027",
},
"jobs": {
Expand Down Expand Up @@ -685,7 +686,7 @@
"narrative": "http://some.com/pdf",
"year": 1998,
},
"status": "submitted",
"status": "submitted",
"title": "A very fine proposal indeed",
"year": 1999,
},
Expand Down Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit a6b1ee7

Please sign in to comment.