Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DUOS-2527][risk=no] Update schema and update script documentation #2307

Merged
merged 1 commit into from
Aug 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.

Loading