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-2658] Validation Bug in Data Submission Form #2331

Merged
merged 1 commit into from
Sep 19, 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
2 changes: 1 addition & 1 deletion scripts/compile-jsonschema.sh
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ download_and_compile_schema() {
curl -s -S -X 'GET' "$1/schemas/dataset-registration/v1" -H 'accept: application/json' -o ./src/assets/schemas/DataRegistrationV1.json

# Generate the data submission schema validation code
ajv compile -s ./src/assets/schemas/DataRegistrationV1.json -o ./src/assets/schemas/DataRegistrationV1Validation.js --spec draft2019 -c ajv-formats --strict false --all-errors
ajv compile --code-lines -s ./src/assets/schemas/DataRegistrationV1.json -o ./src/assets/schemas/DataRegistrationV1Validation.js --spec draft2019 -c ajv-formats --strict false --all-errors

# Prevent linting errors (minified file)
prepend_text "/* eslint-disable */" ./src/assets/schemas/DataRegistrationV1Validation.js
Expand Down
2,177 changes: 2,176 additions & 1 deletion src/assets/schemas/DataRegistrationV1Validation.js

Large diffs are not rendered by default.

Loading