Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions data/schema/v1/Decision_Point-1-0-1.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"title": "Decision Point schema definition",
"$id": "https://certcc.github.io/SSVC/data/schema/v1/Decision_Point-1-0-1.schema.json",
"description": "Decision points are the basic building blocks of SSVC decision functions. Individual decision points describe a single aspect of the input to a decision function.",
"definitions": {
"$defs": {
"schemaVersion": {
"description": "Schema version used to represent this Decision Point",
"type": "string",
Expand Down Expand Up @@ -37,7 +37,7 @@
"additionalProperties": false,
"properties": {
"schemaVersion": {
"$ref": "#/definitions/schemaVersion"
"$ref": "#/$defs/schemaVersion"
},
"namespace": {
"type": "string",
Expand Down Expand Up @@ -65,7 +65,7 @@
"type": "array",
"minItems": 1,
"items": {
"$ref": "#/definitions/decision_point_value"
"$ref": "#/$defs/decision_point_value"
}
}
},
Expand All @@ -80,5 +80,5 @@
]
}
},
"$ref": "#/definitions/decision_point"
"$ref": "#/$defs/decision_point"
}
6 changes: 3 additions & 3 deletions data/schema/v1/Decision_Point_Group-1-0-1.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "Decision Points Group schema definition",
"$id": "https://certcc.github.io/SSVC/data/schema/v1/Decision_Point_Group-1-0-1.schema.json",
"definitions": {
"$defs": {
"schemaVersion": {
"description": "Schema version used to represent Decision Point Group",
"type": "string",
Expand All @@ -13,7 +13,7 @@
"additionalProperties": false,
"properties": {
"schemaVersion": {
"$ref": "#/definitions/schemaVersion"
"$ref": "#/$defs/schemaVersion"
},
"version": {
"type": "string",
Expand Down Expand Up @@ -44,6 +44,6 @@
]
}
},
"$ref": "#/definitions/decision_point_group"
"$ref": "#/$defs/decision_point_group"

}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://certcc.github.io/SSVC/data/schema/v1/Decision_Point_Value_Selection-1-0-1.schema.json",
"definitions": {
"$defs": {
"id": {
"type": "string",
"description": "Identifier for a vulnerability could be CVE, CERT/CC VU#, OSV id, Bugtraq, GHSA etc.",
Expand Down Expand Up @@ -66,24 +66,24 @@
},
"properties": {
"id": {
"$ref": "#/definitions/id"
"$ref": "#/$defs/id"
},
"role": {
"$ref": "#/definitions/role"
"$ref": "#/$defs/role"
},
"schemaVersion": {
"$ref": "#/definitions/schemaVersion"
"$ref": "#/$defs/schemaVersion"
},
"timestamp": {
"$ref": "#/definitions/timestamp"
"$ref": "#/$defs/timestamp"
},
"selections": {
"description" : "An array of Decision Points and their Values that were down-selected or evaluated ",
"title": "selections",
"type": "array",
"minItems": 1,
"items": {
"$ref": "#/definitions/SsvcdecisionpointselectionSchema"
"$ref": "#/$defs/SsvcdecisionpointselectionSchema"
}
}
},
Expand Down
Loading