Skip to content

Commit

Permalink
Remove question type and label from required (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
hadijahkyampeire committed Aug 21, 2024
1 parent 39c204f commit 64abbdd
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions form.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@
"description": "Alias of the referenced form"
}
},
"required": ["formName", "alias"]
"required": ["formName"]
},
"description": "Array of referenced forms"
},
Expand Down Expand Up @@ -251,7 +251,7 @@
"formName": { "type": "string" },
"alias": { "type": "string" }
},
"required": ["formName", "alias"]
"required": ["formName"]
}
},
"encounterType": { "type": "string" },
Expand Down Expand Up @@ -458,7 +458,7 @@
"description": "JavaScript expression that resolves to a value from a previous encounter, if available. This value can be used to answer the question."
}
},
"required": ["label", "type", "questionOptions", "id"],
"required": ["questionOptions", "id"],
"description": "Definition of a form field"
},
"renderType": {
Expand Down Expand Up @@ -486,7 +486,8 @@
"encounter-role",
"problem",
"workspace-launcher",
"select-concept-answers"
"select-concept-answers",
"markdown"
]
},
"formQuestionOptions": {
Expand Down

0 comments on commit 64abbdd

Please sign in to comment.