Skip to content

Commit

Permalink
[DUOS-2527][risk=no] Update schema and update script documentation (#…
Browse files Browse the repository at this point in the history
…2307)

* update schema and update script documentation
  • Loading branch information
rushtong authored Aug 9, 2023
1 parent f43ef59 commit c9c9517
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
8 changes: 6 additions & 2 deletions scripts/compile-jsonschema.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,13 @@
# ./src/assets/schemas. The schemas downloaded are based on the
# backend configured in ./public/config.json.
#
# You MUST have jq and ajv installed to be able to use this script.
# You MUST have jq, ajv, and ajv-cli installed to be able to use this script.
#
# USAGE: ./compile-jsonschema.sh
# npm install ajv
# npm install -g ajv-cli
# npm install -g ajv-formats
#
# USAGE: From the project root directory, run: ./scripts/compile-jsonschema.sh
#

set -eu
Expand Down
4 changes: 4 additions & 0 deletions src/assets/schemas/DataRegistrationV1.json
Original file line number Diff line number Diff line change
Expand Up @@ -604,6 +604,10 @@
}
],
"properties": {
"datasetId": {
"type": "integer",
"description": "Dataset Id"
},
"consentGroupName": {
"type": "string",
"label": "Consent Group Name",
Expand Down
2 changes: 1 addition & 1 deletion src/assets/schemas/DataRegistrationV1Validation.js

Large diffs are not rendered by default.

0 comments on commit c9c9517

Please sign in to comment.