Skip to content

Commit

Permalink
Fds 1981 cross manifest valiation (#179)
Browse files Browse the repository at this point in the history
* Add cross manifest validation to test config

* add enable_cross_manifest_validation to schema
  • Loading branch information
afwillia authored Jun 6, 2024
1 parent 3e938df commit 2ae919d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
9 changes: 8 additions & 1 deletion schemas/dca_config.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -135,12 +135,19 @@
"model_validate": {
"description": "Parameteres to pass to Schematic model validate",
"type": "object",
"required": [ "restrict_rules" ],
"required": [
"restrict_rules",
"enable_cross_manifest_validation"
],
"additionalProperties": false,
"properties": {
"restrict_rules": {
"description": "Schematic model validate option",
"type": "boolean"
},
"enable_cross_manifest_validation": {
"description": "Use cross manifest validation",
"type": "boolean"
}
}
},
Expand Down
3 changes: 2 additions & 1 deletion test/test_cross_manifest_validation_type_dca_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
"use_annotations": false
},
"model_validate": {
"restrict_rules": false
"restrict_rules": false,
"enable_cross_manifest_validation": true
},
"model_submit": {
"use_schema_labels": true,
Expand Down

0 comments on commit 2ae919d

Please sign in to comment.