Generate Decision_Point_Value_Selection.schema.json
using Pydantic
#735
Labels
enhancement
New feature or request
pydantic
built-ins to generate JSON schemas from python data classes #702Describe the solution you'd like
Back-port the fields that are found in the hand-built JSON Schema
https://github.com/CERTCC/SSVC/blob/main/data/schema/v1/Decision_Point_Value_Selection-1-0-1.schema.json
to create a functional match using Pydantic's JSON schema feature set.
Important
Unlike #733 and #734, this schema does not currently correspond to any existing Python dataclass. Creation of such a class is an additional item to be addressed as part of resolving this issue.
The net result should be that the output of
is as close as possible to https://github.com/CERTCC/SSVC/blob/main/data/schema/v1/Decision_Point_Value_Selection-1-0-1.schema.json
The text was updated successfully, but these errors were encountered: