A schema for describing a vulnerability in an open source package.
$ jsonschema install https://schemas.sourcemeta.com/ossf/osv/v1.0.0/schema schemas/schema.json$ref: "https://schemas.sourcemeta.com/ossf/osv/v1.0.0/schema"import schema from "https://schemas.sourcemeta.com/ossf/osv/v1.0.0/schema" with { type: "json" };| Identifier | https://schemas.sourcemeta.com/ossf/osv/v1.0.0/schema |
|---|---|
| Base Dialect | 2020-12 |
| Dialect | https://json-schema.org/draft/2020-12/schema |
| Health | |
| Size | 0.004616 MB |
This schema declares 0 examples.
This schema has 9 quality errors.
top_level_examplesSet a non-empty examples array at the top level of the schema to illustrate the expected data
/descriptiondescription_trailing_periodDescriptions should not end with a period to give user interfaces flexibility in presenting the text
/properties/affected/items/allOf/0/ifunnecessary_allof_wrapperKeywords inside allOf that do not conflict with the parent schema can be elevated
/properties/affected/items/allOf/0/thenthen_emptySetting the then keyword to the empty schema does not add any further constraint
/properties/affected/items/allOf/0/thenempty_object_as_trueThe empty schema {} accepts all values and is equivalent to the boolean schema true
/properties/affected/items/properties/ranges/items/allOf/0/ifunnecessary_allof_wrapperKeywords inside allOf that do not conflict with the parent schema can be elevated
/properties/affected/items/properties/ranges/items/properties/events/contains/required/0required_properties_in_propertiesEvery property listed in the required keyword must be explicitly defined using the properties keyword
/properties/affected/items/properties/ranges/items/properties/type/enumenum_with_typeSetting type alongside enum is considered an anti-pattern, as the enumeration choices already imply their respective types
/properties/references/items/properties/type/enumenum_with_typeSetting type alongside enum is considered an anti-pattern, as the enumeration choices already imply their respective types