From 6ae25e7df4885c0bd455b1409608a1f3abc80fc5 Mon Sep 17 00:00:00 2001 From: "Kai A. Hiller" Date: Tue, 8 Apr 2025 19:44:18 +0200 Subject: [PATCH 1/2] Add meta schema to AS registration schema Signed-off-by: Kai A. Hiller --- data/api/application-service/definitions/namespace_list.yaml | 1 + data/api/application-service/definitions/registration.yaml | 1 + 2 files changed, 2 insertions(+) diff --git a/data/api/application-service/definitions/namespace_list.yaml b/data/api/application-service/definitions/namespace_list.yaml index 4f45fc3f..35f5d61a 100644 --- a/data/api/application-service/definitions/namespace_list.yaml +++ b/data/api/application-service/definitions/namespace_list.yaml @@ -11,6 +11,7 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. +$schema: https://json-schema.org/draft/2020-12/schema type: array items: diff --git a/data/api/application-service/definitions/registration.yaml b/data/api/application-service/definitions/registration.yaml index ce702df0..e7e15470 100644 --- a/data/api/application-service/definitions/registration.yaml +++ b/data/api/application-service/definitions/registration.yaml @@ -11,6 +11,7 @@ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. +$schema: https://json-schema.org/draft/2020-12/schema type: object title: Registration From 92084268f1a7dcf5eb23697ae5f460de87da5433 Mon Sep 17 00:00:00 2001 From: "Kai A. Hiller" Date: Wed, 9 Apr 2025 10:37:44 +0200 Subject: [PATCH 2/2] Add newsfragment Signed-off-by: Kai A. Hiller --- changelogs/application_service/newsfragments/2132.clarification | 1 + 1 file changed, 1 insertion(+) create mode 100644 changelogs/application_service/newsfragments/2132.clarification diff --git a/changelogs/application_service/newsfragments/2132.clarification b/changelogs/application_service/newsfragments/2132.clarification new file mode 100644 index 00000000..26f5d085 --- /dev/null +++ b/changelogs/application_service/newsfragments/2132.clarification @@ -0,0 +1 @@ +Declare the Application Service Registration schema to follow JSON Schema spec 2020-12. \ No newline at end of file