From f46fa53f4c9a7f91a0aa47c3f54ef6b03d915732 Mon Sep 17 00:00:00 2001 From: Pete Gadomski Date: Tue, 3 Oct 2023 13:15:32 -0600 Subject: [PATCH] feat: add ITEM_SEARCH_URI --- stac-api/CHANGELOG.md | 4 ++++ stac-api/src/conformance.rs | 3 +++ stac-api/src/lib.rs | 3 ++- 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/stac-api/CHANGELOG.md b/stac-api/CHANGELOG.md index ef322b23..f626854c 100644 --- a/stac-api/CHANGELOG.md +++ b/stac-api/CHANGELOG.md @@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), ## [Unreleased] +### Added + +- Item search conformance URI ([#193](https://github.com/stac-utils/stac-rs/pull/193)) + ## [0.3.0] - 2023-09-25 ### Added diff --git a/stac-api/src/conformance.rs b/stac-api/src/conformance.rs index a938c63a..2f417fb5 100644 --- a/stac-api/src/conformance.rs +++ b/stac-api/src/conformance.rs @@ -16,6 +16,9 @@ pub const OGC_API_FEATURES_URI: &str = /// The GeoJSON spec conformance uri. pub const GEOJSON_URI: &str = "http://www.opengis.net/spec/ogcapi-features-1/1.0/conf/geojson"; +/// The item search conformance uri. +pub const ITEM_SEARCH_URI: &str = "https://api.stacspec.org/v1.0.0/item-search"; + /// To support "generic" clients that want to access multiple OGC API Features /// implementations - and not "just" a specific API / server, the server has to /// declare the conformance classes it implements and conforms to. diff --git a/stac-api/src/lib.rs b/stac-api/src/lib.rs index a207cace..ea520a6e 100644 --- a/stac-api/src/lib.rs +++ b/stac-api/src/lib.rs @@ -77,7 +77,8 @@ mod url_builder; pub use { collections::Collections, conformance::{ - Conformance, COLLECTIONS_URI, CORE_URI, FEATURES_URI, GEOJSON_URI, OGC_API_FEATURES_URI, + Conformance, COLLECTIONS_URI, CORE_URI, FEATURES_URI, GEOJSON_URI, ITEM_SEARCH_URI, + OGC_API_FEATURES_URI, }, error::Error, fields::Fields,