forked from oasis-tcs/csaf
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- addresses parts of oasis-tcs#616 - adopt prose to match schema - add additional sections - update profiles and guidance on size
- Loading branch information
1 parent
b96e201
commit 9b16fd2
Showing
7 changed files
with
21 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
## Properties | ||
|
||
These final three subsections document the three properties of a CSAF document. | ||
The single mandatory property `document`, as well as the optional properties `product_tree` and `vulnerabilities` in that order. | ||
These final four subsections document the four properties of a CSAF document. | ||
The two mandatory properties `$schema` and `document`, as well as the optional properties `product_tree` and `vulnerabilities` in that order. |
11 changes: 11 additions & 0 deletions
11
csaf_2.1/prose/edit/src/schema-elements-02-props-01-$schema.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
### Schema Property | ||
|
||
JSON schema (`$schema`) of value type `string` and `enum` with format `uri` contains the URL of the CSAF JSON schema which the document promises to be valid for. | ||
The single valid value for this `enum` is: | ||
|
||
``` | ||
https://docs.oasis-open.org/csaf/csaf/v2.1/csaf_json_schema.json | ||
``` | ||
|
||
> This value allows for tools to identify that a JSON document is meant to be valid against this schema. | ||
> Tools can use that to support users by automatically checking whether the CSAF adheres to the JSON schema identified by this URL. |
File renamed without changes.
File renamed without changes.
File renamed without changes.