|
|
@ -165,9 +165,6 @@ Assumptions made by the format: |
|
|
|
To validate the form JSON against the schema you can run: |
|
|
|
To validate the form JSON against the schema you can run: |
|
|
|
`rake form_definition:validate` |
|
|
|
`rake form_definition:validate` |
|
|
|
|
|
|
|
|
|
|
|
This will run: |
|
|
|
|
|
|
|
`ruby lib/tasks/json_schema_validation.rb` |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This will validate all forms in: |
|
|
|
This will validate all forms in: |
|
|
|
directories = ["config/forms", "spec/fixtures/forms"] |
|
|
|
directories = ["config/forms", "spec/fixtures/forms"] |
|
|
|
|
|
|
|
|
|
|
|