File tree Expand file tree Collapse file tree 4 files changed +7
-4
lines changed
Expand file tree Collapse file tree 4 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -5,11 +5,14 @@ All notable changes to this project will be documented in this file.
55The format is based on [ Keep a Changelog] ( http://keepachangelog.com/en/1.0.0/ )
66and this project adheres to [ Semantic Versioning] ( http://semver.org/spec/v2.0.0.html ) .
77
8- ## [ Unreleased]
8+ ## [ v0.1.0] - TBD
9+
10+ Initial release
911
1012### Added
1113
1214- Conformance endpoint ` /conformance ` and root body ` conformsTo ` attribute.
15+ - Field ` product_id ` to Opportunity and Order Properties
1316- Endpoint /product/{productId}/order-parameters.
1417- Links in Product entity to order-parameters and constraints endpoints for that product.
1518- Add links ` opportunities ` and ` create-order ` to Product
3538
3639none
3740
38- ## [ v0.1.0] - 2024-10-23
39-
40- Initial release
4141
4242[ unreleased ] : https://github.com/stapi-spec/stapi-fastapi/compare/v0.1.0...main
4343[ v0.1.0 ] : https://github.com/stapi-spec/stapi-fastapi/tree/v0.1.0
Original file line number Diff line number Diff line change 1111
1212# Copied and modified from https://github.com/stac-utils/stac-pydantic/blob/main/stac_pydantic/item.py#L11
1313class OpportunityPropertiesBase (BaseModel ):
14+ product_id : str
1415 datetime : DatetimeInterval
1516 model_config = ConfigDict (extra = "allow" )
1617
Original file line number Diff line number Diff line change 99
1010
1111class OrderProperties (BaseModel ):
12+ product_id : str
1213 datetime : DatetimeInterval
1314 model_config = ConfigDict (extra = "allow" )
1415
Original file line number Diff line number Diff line change @@ -147,6 +147,7 @@ def mock_test_spotlight_opportunities() -> list[Opportunity]:
147147 coordinates = Position2D (longitude = 0.0 , latitude = 0.0 ),
148148 ),
149149 properties = TestSpotlightProperties (
150+ product_id = "xyz123" ,
150151 datetime = (start , end ),
151152 off_nadir = 20 ,
152153 ),
You can’t perform that action at this time.
0 commit comments