Skip to content

Commit

Permalink
Schema
Browse files Browse the repository at this point in the history
- addresses parts of oasis-tcs#616
- add `$schema` to JSON schema
  • Loading branch information
tschmidtb51 committed Jun 24, 2024
1 parent 59b5621 commit b96e201
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions csaf_2.1/json_schema/csaf_json_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -494,9 +494,19 @@
}
},
"required": [
"$schema",
"document"
],
"properties": {
"$schema": {
"title": "JSON schema",
"description": "Contains the URL of the CSAF JSON schema which the document promises to be valid for.",
"type": "string",
"enum": [
"https://docs.oasis-open.org/csaf/csaf/v2.1/csaf_json_schema.json"
],
"format": "uri"
},
"document": {
"title": "Document level meta-data",
"description": "Captures the meta-data about this document describing a particular set of security advisories.",
Expand Down

0 comments on commit b96e201

Please sign in to comment.