Skip to content

Commit

Permalink
Merge pull request #51 from Infectious-Disease-Modeling-Hubs/addprop-…
Browse files Browse the repository at this point in the history
…patch

Additional properties should be invalid
  • Loading branch information
annakrystalli authored Jun 9, 2023
2 parents e41978f + b52298b commit c1d8fc0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
3 changes: 2 additions & 1 deletion v1.0.0/admin-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -648,5 +648,6 @@
"repository_url",
"file_format",
"timezone"
]
],
"additionalProperties": false
}
10 changes: 7 additions & 3 deletions v1.0.0/tasks-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -971,7 +971,8 @@
"value"
]
}
}
},
"additionalProperties": false
},
"target_metadata": {
"description": "Array of objects containing metadata about each unique target, one object for each unique target value.",
Expand Down Expand Up @@ -1081,6 +1082,7 @@
"target_keys",
"is_step_ahead"
],
"additionalProperties": false,
"if": {
"properties": {
"is_step_ahead": {
Expand Down Expand Up @@ -1191,12 +1193,14 @@
"round_id",
"model_tasks",
"submissions_due"
]
],
"additionalProperties": false
}
}
},
"required": [
"rounds",
"schema_version"
]
],
"additionalProperties": false
}

0 comments on commit c1d8fc0

Please sign in to comment.