Skip to content

Commit

Permalink
feat: updated validation json with mandatory $schema
Browse files Browse the repository at this point in the history
  • Loading branch information
Tbaile committed Dec 15, 2022
1 parent 09cf9db commit 88c9f4e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions resources/validation/facts/2022-12.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,17 @@
"title": "Facts Schema validation",
"type": "object",
"required": [
"$schema",
"uuid",
"installation",
"facts"
],
"properties": {
"$schema": {
"description": "Schema that data needs to be validated against.",
"type": "string",
"format": "uri"
},
"uuid": {
"description": "Unique anonymous indentification of the machine.",
"type": "string",
Expand All @@ -25,6 +31,7 @@
"type": "object"
}
},
"unevaluatedProperties": false,
"allOf": [
{
"if": {
Expand Down

0 comments on commit 88c9f4e

Please sign in to comment.