From ce50bf7f2601601964d144b4751894d8e4a58b8f Mon Sep 17 00:00:00 2001 From: Kevin Broch Date: Tue, 27 May 2025 14:54:59 -0700 Subject: [PATCH 1/2] chore: wip --- schemas/profile_release_schema.json | 3 ++- schemas/profile_schema.json | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/schemas/profile_release_schema.json b/schemas/profile_release_schema.json index 0bacc3900..b5d973778 100644 --- a/schemas/profile_release_schema.json +++ b/schemas/profile_release_schema.json @@ -20,5 +20,6 @@ "type": "string", "description": "One line description of this Profile Release" } - } + }, + "additionalProperties": false } diff --git a/schemas/profile_schema.json b/schemas/profile_schema.json index c7936f491..96a542134 100644 --- a/schemas/profile_schema.json +++ b/schemas/profile_schema.json @@ -30,5 +30,6 @@ "cert_test_procedures": { "$ref": "schema_defs.json#/$defs/cert_test_procedures" } - } + }, + "additionalProperties": false } From c525eb7e1577fae3a2c036731b53e2202b9eb87f Mon Sep 17 00:00:00 2001 From: Kevin Broch Date: Wed, 28 May 2025 17:43:14 -0700 Subject: [PATCH 2/2] chore: wip --- schemas/proc_cert_model_schema.json | 14 +------------- schemas/profile_release_schema.json | 3 +++ schemas/schema_defs.json | 15 +++++++++++++++ 3 files changed, 19 insertions(+), 13 deletions(-) diff --git a/schemas/proc_cert_model_schema.json b/schemas/proc_cert_model_schema.json index a489454cb..6f1636ee2 100644 --- a/schemas/proc_cert_model_schema.json +++ b/schemas/proc_cert_model_schema.json @@ -81,19 +81,7 @@ "description": "Reference to the class this model belongs to" }, "versions": { - "type": "array", - "items": { - "type": "object", - "required": ["version"], - "properties": { - "version": { - "$ref": "schema_defs.json#/$defs/semantic_version" - } - }, - "additionalProperties": false - }, - "minItems": 1, - "description": "List of semantic versions within the model" + "$ref": "schema_defs.json#/$defs/versions" }, "base": { "type": "integer", diff --git a/schemas/profile_release_schema.json b/schemas/profile_release_schema.json index b5d973778..d9fbb9ff7 100644 --- a/schemas/profile_release_schema.json +++ b/schemas/profile_release_schema.json @@ -19,6 +19,9 @@ "long name": { "type": "string", "description": "One line description of this Profile Release" + }, + "versions": { + "$ref": "schema_defs.json#/$defs/versions" } }, "additionalProperties": false diff --git a/schemas/schema_defs.json b/schemas/schema_defs.json index 8560534e6..29009240c 100644 --- a/schemas/schema_defs.json +++ b/schemas/schema_defs.json @@ -374,6 +374,21 @@ }, "additionalProperties": false } + }, + "versions": { + "type": "array", + "items": { + "type": "object", + "required": ["version"], + "properties": { + "version": { + "$ref": "schema_defs.json#/$defs/semantic_version" + } + }, + "additionalProperties": false + }, + "minItems": 1, + "description": "List of semantic versions" } } }