You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Generate Decision_Point_Value_Selection.schema.json using Pydantic #735
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.
pydanticbuilt-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