mirror of
https://github.com/CVEProject/cvelist.git
synced 2025-06-19 17:32:41 +00:00
Update the how to use jsonschema
instructions and the location of the v4 schema.
Signed-off-by: David Black <dblack@atlassian.com>
This commit is contained in:
parent
afa0dd7aa3
commit
02211af841
@ -95,10 +95,10 @@ python -m json.tool < CVE-2017-1234.json
|
|||||||
You can also validate against the schema using a variety of tools, e.g. Python jsonschema:
|
You can also validate against the schema using a variety of tools, e.g. Python jsonschema:
|
||||||
|
|
||||||
```
|
```
|
||||||
jsonschema -i CVE_JSON_4.0_min.schema CVE-2017-1234.json
|
jsonschema -i CVE-2017-1234.json CVE_JSON_4.0_min_public.schema
|
||||||
```
|
```
|
||||||
|
|
||||||
The schema file is available in the [CVE Automation Working Group](https://github.com/CVEProject/automation-working-group/tree/master/cve_json_schema) and [version 4](https://raw.githubusercontent.com/CVEProject/automation-working-group/master/cve_json_schema/CVE_JSON_4.0_min.schema) is currently in use.
|
The schema file is available in the [CVE Automation Working Group](https://github.com/CVEProject/automation-working-group/tree/master/cve_json_schema) and [version 4](https://raw.githubusercontent.com/CVEProject/automation-working-group/master/cve_json_schema/CVE_JSON_4.0_min_public.schema) is currently in use.
|
||||||
|
|
||||||
|
|
||||||
5. **Review your updates carefully** and make sure they contain
|
5. **Review your updates carefully** and make sure they contain
|
||||||
|
Loading…
x
Reference in New Issue
Block a user