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
8 changes: 3 additions & 5 deletions apis/datasets/v1/dataset_type.proto
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,15 @@

// Field is the request representation of a dataset field. It intentionally combines only a protobuf field descriptor
// with its Tilebox annotation, matching the information represented separately by AnnotatedType.
message Field {
reserved 3;
reserved queryable;

// The descriptor contains the name of the field, the type, optional labels (e.g. repeated) and other information.
// If the type is TYPE_MESSAGE, then the type_name must be a fully qualified name to a well known type, e.g.
// `datasets.v1.Vec3` or `google.protobuf.Timestamp`.
google.protobuf.FieldDescriptorProto descriptor = 1 [(buf.validate.field).required = true];

// Additional documentation, source mapping, and query metadata for the field.
FieldAnnotation annotation = 2;
}

Check failure on line 25 in apis/datasets/v1/dataset_type.proto

View workflow job for this annotation

GitHub Actions / Buf

Previously present reserved range "[3]" on message "Field" is missing values: [3] were removed.

Check failure on line 25 in apis/datasets/v1/dataset_type.proto

View workflow job for this annotation

GitHub Actions / Buf

Previously present reserved name "queryable" on message "Field" was deleted.

// DatasetKind is an enum describing the kind of dataset. A dataset kind specifies a set of default fields, that
// cannot be modified and will always be present for every DatasetMessageType of that kind.
Expand Down Expand Up @@ -63,9 +60,10 @@
// Queryable fields are not necessarily backed by a secondary database index.
bool queryable = 4;

// Optional JSON Schema reference to emit as `$ref` when advertising this field as a queryable.
// Optional JSON Schema reference for this field when it corresponds to a well known schema.
// For example, this may reference the canonical STAC extension schema definition for a property.
string queryable_json_schema_ref = 5 [features.field_presence = EXPLICIT];
// Emitted as `$ref` when advertising this field as a queryable in STAC.
string json_schema_ref = 5 [features.field_presence = EXPLICIT];

Check failure on line 66 in apis/datasets/v1/dataset_type.proto

View workflow job for this annotation

GitHub Actions / Buf

Field "5" on message "FieldAnnotation" changed name from "queryable_json_schema_ref" to "json_schema_ref".

Check failure on line 66 in apis/datasets/v1/dataset_type.proto

View workflow job for this annotation

GitHub Actions / Buf

Field "5" with name "json_schema_ref" on message "FieldAnnotation" changed option "json_name" from "queryableJsonSchemaRef" to "jsonSchemaRef".

// Semantic display roles fulfilled by this field.
repeated FieldRole roles = 6 [
Expand Down
Loading