Zum Inhalt springen

validateEnrollmentFormDefinition

Checks an enrollment form definition without saving it: schema, bindings, and whether the categories and item types of priced choices exist. Empty when the definition is valid; the designer uses this for live feedback.

Type: [EnrollmentFormDefinitionIssue!]!

Arguments

  • definition: String! — Form definition as JSON.
query($definition: String!) {
validateEnrollmentFormDefinition(definition: $definition) {
message
path
severity
}
}