Skip to content

Commit 464545f

Browse files
Remove JSON Schema (#68)
1 parent e37aceb commit 464545f

1 file changed

Lines changed: 2 additions & 16 deletions

File tree

‎apis/datasets/stac/v1/authentication.proto‎

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -172,20 +172,6 @@ message AuthenticationParameter {
172172
(buf.validate.field).required = true
173173
];
174174
string description = 3 [features.field_presence = EXPLICIT];
175-
JSONSchema schema = 4;
176-
}
177-
178-
// JSONSchema represents the object and boolean forms allowed by JSON Schema draft-07. The object form is intentionally
179-
// kept as Struct: Authentication parameters may use any draft-07 keywords, including nested schemas and custom keywords.
180-
message JSONSchema {
181-
option (buf.validate.message).oneof = {
182-
fields: [
183-
"object",
184-
"boolean"
185-
]
186-
required: true
187-
};
188-
189-
google.protobuf.Struct object = 1;
190-
bool boolean = 2 [features.field_presence = EXPLICIT];
175+
// JSON Schema draft-07 object. Struct preserves arbitrary keywords, nested schemas, and custom keywords.
176+
google.protobuf.Struct schema = 4;
191177
}

0 commit comments

Comments
 (0)