diff --git a/data/schema/v1/Decision_Point-1-0-1.schema.json b/data/schema/v1/Decision_Point-1-0-1.schema.json index 168cb8f0..75b573d9 100644 --- a/data/schema/v1/Decision_Point-1-0-1.schema.json +++ b/data/schema/v1/Decision_Point-1-0-1.schema.json @@ -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", @@ -37,7 +37,7 @@ "additionalProperties": false, "properties": { "schemaVersion": { - "$ref": "#/definitions/schemaVersion" + "$ref": "#/$defs/schemaVersion" }, "namespace": { "type": "string", @@ -65,7 +65,7 @@ "type": "array", "minItems": 1, "items": { - "$ref": "#/definitions/decision_point_value" + "$ref": "#/$defs/decision_point_value" } } }, @@ -80,5 +80,5 @@ ] } }, - "$ref": "#/definitions/decision_point" + "$ref": "#/$defs/decision_point" } diff --git a/data/schema/v1/Decision_Point_Group-1-0-1.schema.json b/data/schema/v1/Decision_Point_Group-1-0-1.schema.json index b1c1a4e7..7ff2f5dd 100644 --- a/data/schema/v1/Decision_Point_Group-1-0-1.schema.json +++ b/data/schema/v1/Decision_Point_Group-1-0-1.schema.json @@ -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", @@ -13,7 +13,7 @@ "additionalProperties": false, "properties": { "schemaVersion": { - "$ref": "#/definitions/schemaVersion" + "$ref": "#/$defs/schemaVersion" }, "version": { "type": "string", @@ -44,6 +44,6 @@ ] } }, - "$ref": "#/definitions/decision_point_group" + "$ref": "#/$defs/decision_point_group" } diff --git a/data/schema/v1/Decision_Point_Value_Selection-1-0-1.schema.json b/data/schema/v1/Decision_Point_Value_Selection-1-0-1.schema.json index 48c9e562..b7bd1b8a 100644 --- a/data/schema/v1/Decision_Point_Value_Selection-1-0-1.schema.json +++ b/data/schema/v1/Decision_Point_Value_Selection-1-0-1.schema.json @@ -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.", @@ -66,16 +66,16 @@ }, "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 ", @@ -83,7 +83,7 @@ "type": "array", "minItems": 1, "items": { - "$ref": "#/definitions/SsvcdecisionpointselectionSchema" + "$ref": "#/$defs/SsvcdecisionpointselectionSchema" } } },