-
Notifications
You must be signed in to change notification settings - Fork 42
Update schema JSON to use cross-referencing and force more validations #704
New issue
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
Merged
Merged
Changes from 8 commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
32d7350
Update schema JSON to use cross-referencing and force more validations
sei-vsarvepalli e9d5204
Update test_dp_base namespace to be name1 instead of 'ns'
sei-vsarvepalli b179117
Update regex
sei-vsarvepalli 25fbdb8
Update to obj.namespace
sei-vsarvepalli a98d509
Update data/schema/v1/Decision_Point-1-0-1.schema.json
sei-vsarvepalli 0dc08d0
Missing comma and backslashes in @tschmidt's PR
sei-vsarvepalli e660e89
Going back to date-time from regex for timestamp
sei-vsarvepalli 5df1fb7
Merge branch 'main' into bug-schema-697
sei-vsarvepalli a4796e9
fix trailing space @tschmidt
sei-vsarvepalli c1d8cca
Clarified JSON schema description fields in more detail
sei-vsarvepalli File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -16,16 +16,19 @@ | |
| "$ref": "#/$defs/schemaVersion" | ||
| }, | ||
| "version": { | ||
| "type": "string", | ||
| "description": "Version (a semantic version string) that identifies this object" | ||
| "$ref": "https://certcc.github.io/SSVC/data/schema/v1/Decision_Point-1-0-1.schema.json#/$defs/decision_point/properties/version" | ||
| }, | ||
| "name": { | ||
| "type": "string", | ||
| "description": "A short label that captures the description of the Decision Point or the Group of Decision Points." | ||
| "description": "A short label that captures the description of the Decision Point or the Group of Decision Points.", | ||
ahouseholder marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| "minLength": 1, | ||
| "examples": ["SSVC Supplier","Coordinator Triage", "SSVC Deployer"] | ||
ahouseholder marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| }, | ||
| "description": { | ||
| "type": "string", | ||
| "description": "Description of the Decision Point or the Group of Decision Points." | ||
| "description": "Description of the Decision Point or the Group of Decision Points.", | ||
|
||
| "minLength": 1, | ||
| "examples": ["The decision points used by the coordinator during publication"] | ||
| }, | ||
| "decision_points": { | ||
| "type": "array", | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This appears to be inside a decision point value spec. So it's a brief name for the decision point value, right? It's not describing the decision point or the group.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeh - those have been the same. I have not changed them. Bu happy to change them as well. You are only seeing it because the "comma" at the end added.