From 139a5dd2a08977292e7c7e497504fe9b50bca10a Mon Sep 17 00:00:00 2001 From: Lukas Bindreiter Date: Wed, 29 Jul 2026 14:24:14 +0200 Subject: [PATCH] Remove JSON Schema --- apis/datasets/stac/v1/authentication.proto | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/apis/datasets/stac/v1/authentication.proto b/apis/datasets/stac/v1/authentication.proto index f9c5001..e594510 100644 --- a/apis/datasets/stac/v1/authentication.proto +++ b/apis/datasets/stac/v1/authentication.proto @@ -172,20 +172,6 @@ message AuthenticationParameter { (buf.validate.field).required = true ]; string description = 3 [features.field_presence = EXPLICIT]; - JSONSchema schema = 4; -} - -// JSONSchema represents the object and boolean forms allowed by JSON Schema draft-07. The object form is intentionally -// kept as Struct: Authentication parameters may use any draft-07 keywords, including nested schemas and custom keywords. -message JSONSchema { - option (buf.validate.message).oneof = { - fields: [ - "object", - "boolean" - ] - required: true - }; - - google.protobuf.Struct object = 1; - bool boolean = 2 [features.field_presence = EXPLICIT]; + // JSON Schema draft-07 object. Struct preserves arbitrary keywords, nested schemas, and custom keywords. + google.protobuf.Struct schema = 4; }