Skip to content

Commit

Permalink
fix: add missing JSON/schema validation
Browse files Browse the repository at this point in the history
  • Loading branch information
PascalinDe committed Mar 8, 2024
1 parent cffd74b commit 1a93da5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions web/frontend/src/schema/configurationValidation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -430,6 +430,7 @@ const subjectSchema = yup.object({
const configurationSchema = yup.object({
Title: yup.lazy(() => titleSchema),
Scaffold: yup.array().of(subjectSchema).required(),
AdditionalInfo: yup.string(),
});

export default configurationSchema;
Expand Down
1 change: 1 addition & 0 deletions web/frontend/src/schema/form_conf.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"URL": { "type": "string" }
}
},
"AdditionalInfo": { "type": "string" },
"Scaffold": {
"type": "array",
"items": {
Expand Down

0 comments on commit 1a93da5

Please sign in to comment.