We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Decision_Point.schema.json
pydantic
Describe 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-1-0-1.schema.json
to create a functional match using Pydantic's JSON schema feature set.
The net result should be that the output of
from ssvc.decision_points.base import SsvcDecisionPoint import json print(json.dumps(SsvcDecisionPoint.model_json_schema(),indent=2))
is as close as possible to https://github.com/CERTCC/SSVC/blob/main/data/schema/v1/Decision_Point-1-0-1.schema.json
The text was updated successfully, but these errors were encountered:
Decision_Point_Value_Selection.schema.json
No branches or pull requests
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-1-0-1.schema.json
to create a functional match using Pydantic's JSON schema feature set.
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-1-0-1.schema.json
The text was updated successfully, but these errors were encountered: