Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 2 additions & 16 deletions apis/datasets/stac/v1/authentication.proto
Original file line number Diff line number Diff line change
Expand Up @@ -172,20 +172,6 @@
(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;

Check failure on line 176 in apis/datasets/stac/v1/authentication.proto

View workflow job for this annotation

GitHub Actions / Buf

Field "4" with name "schema" on message "AuthenticationParameter" changed type from "datasets.stac.v1.JSONSchema" to "google.protobuf.Struct".
}
Loading