Skip to content

Commit

Permalink
passing validation test now with highlight in grants
Browse files Browse the repository at this point in the history
  • Loading branch information
sbillinge committed Mar 24, 2024
1 parent 0675dff commit aa456ff
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
4 changes: 2 additions & 2 deletions regolith/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -266,8 +266,8 @@ def validate(rc):
else:
# uncomment when debugging scheme errors
#
# sys.exit(f"Validation failed on some records\n {cap}")
sys.exit(f"Validation failed on some records")
sys.exit(f"Validation failed on some records\n {cap}")
# sys.exit(f"Validation failed on some records")

DISCONNECTED_COMMANDS = {
"rc": lambda rc: print(rc._pformat()),
Expand Down
16 changes: 16 additions & 0 deletions regolith/schemas.json
Original file line number Diff line number Diff line change
Expand Up @@ -735,6 +735,22 @@
"required": false,
"type": "string"
},
"highlights": {
"description": "lists of highlights from the project",
"required": false,
"type": "list",
"schema": {
"schema": {
"year": {"required": false, "type": "integer"},
"month": {"required": false, "type": "integer"},
"description": {
"required": false,
"type": "string"
}
},
"type": "dict"
}
},
"institution": {
"description": "the host institution for the grant",
"type": "string",
Expand Down

0 comments on commit aa456ff

Please sign in to comment.