Skip to content

Commit

Permalink
Merge pull request #828 from tschmidtb51/tests
Browse files Browse the repository at this point in the history
Tests
  • Loading branch information
tschmidtb51 authored Nov 26, 2024
2 parents 5c58320 + b38141e commit 291050d
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 3 deletions.
15 changes: 13 additions & 2 deletions csaf_2.0/test/validator/testcases_json_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,20 @@
}
},
"required": [
"$schema",
"tests",
"testschema_version"
],
"properties": {
"$schema": {
"title": "JSON schema",
"description": "Contains the URL of the JSON schema for test data which the document promises to be valid for.",
"type": "string",
"enum": [
"https://raw.githubusercontent.com/oasis-tcs/csaf/master/csaf_2.0/test/validator/testcases_json_schema.json"
],
"format": "uri"
},
"tests": {
"title": "List of tests",
"description": "Contains a list of test data.",
Expand All @@ -99,5 +109,6 @@
"type": "string",
"enum": ["2.0"]
}
}
}
},
"additionalProperties": false
}
13 changes: 12 additions & 1 deletion csaf_2.1/test/validator/testcases_json_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,20 @@
}
},
"required": [
"$schema",
"tests",
"testschema_version"
],
"properties": {
"$schema": {
"title": "JSON schema",
"description": "Contains the URL of the JSON schema for test data which the document promises to be valid for.",
"type": "string",
"enum": [
"https://raw.githubusercontent.com/oasis-tcs/csaf/master/csaf_2.1/test/validator/testcases_json_schema.json"
],
"format": "uri"
},
"tests": {
"title": "List of tests",
"description": "Contains a list of test data.",
Expand All @@ -99,5 +109,6 @@
"type": "string",
"enum": ["2.1"]
}
}
},
"additionalProperties": false
}

0 comments on commit 291050d

Please sign in to comment.