oapi-profile-builder 2.0.0__tar.gz → 2.0.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (19) hide show
  1. {oapi_profile_builder-2.0.0/src/oapi_profile_builder.egg-info → oapi_profile_builder-2.0.2}/PKG-INFO +17 -1
  2. {oapi_profile_builder-2.0.0 → oapi_profile_builder-2.0.2}/README.md +16 -0
  3. {oapi_profile_builder-2.0.0 → oapi_profile_builder-2.0.2}/pyproject.toml +1 -1
  4. {oapi_profile_builder-2.0.0 → oapi_profile_builder-2.0.2/src/oapi_profile_builder.egg-info}/PKG-INFO +17 -1
  5. {oapi_profile_builder-2.0.0 → oapi_profile_builder-2.0.2}/LICENSE +0 -0
  6. {oapi_profile_builder-2.0.0 → oapi_profile_builder-2.0.2}/setup.cfg +0 -0
  7. {oapi_profile_builder-2.0.0 → oapi_profile_builder-2.0.2}/src/oapi_profile_builder/__init__.py +0 -0
  8. {oapi_profile_builder-2.0.0 → oapi_profile_builder-2.0.2}/src/oapi_profile_builder/cite.py +0 -0
  9. {oapi_profile_builder-2.0.0 → oapi_profile_builder-2.0.2}/src/oapi_profile_builder/cite_features.py +0 -0
  10. {oapi_profile_builder-2.0.0 → oapi_profile_builder-2.0.2}/src/oapi_profile_builder/cli.py +0 -0
  11. {oapi_profile_builder-2.0.0 → oapi_profile_builder-2.0.2}/src/oapi_profile_builder/compile.py +0 -0
  12. {oapi_profile_builder-2.0.0 → oapi_profile_builder-2.0.2}/src/oapi_profile_builder/generate.py +0 -0
  13. {oapi_profile_builder-2.0.0 → oapi_profile_builder-2.0.2}/src/oapi_profile_builder/models.py +0 -0
  14. {oapi_profile_builder-2.0.0 → oapi_profile_builder-2.0.2}/src/oapi_profile_builder/server_validation.py +0 -0
  15. {oapi_profile_builder-2.0.0 → oapi_profile_builder-2.0.2}/src/oapi_profile_builder.egg-info/SOURCES.txt +0 -0
  16. {oapi_profile_builder-2.0.0 → oapi_profile_builder-2.0.2}/src/oapi_profile_builder.egg-info/dependency_links.txt +0 -0
  17. {oapi_profile_builder-2.0.0 → oapi_profile_builder-2.0.2}/src/oapi_profile_builder.egg-info/entry_points.txt +0 -0
  18. {oapi_profile_builder-2.0.0 → oapi_profile_builder-2.0.2}/src/oapi_profile_builder.egg-info/requires.txt +0 -0
  19. {oapi_profile_builder-2.0.0 → oapi_profile_builder-2.0.2}/src/oapi_profile_builder.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: oapi-profile-builder
3
- Version: 2.0.0
3
+ Version: 2.0.2
4
4
  Summary: Authoritative tooling for creating OGC API Service Profiles (EDR, Features)
5
5
  Author-email: Shane Mill <shane.mill@noaa.gov>
6
6
  License: Apache License
@@ -110,6 +110,22 @@ collections:
110
110
  unit: # REQUIRED per OGC API - EDR Part 3
111
111
  label: Celsius
112
112
  symbol: C
113
+
114
+ # Example requirement and abstract test for asciidoc/PDF
115
+ requirements:
116
+ - id: items-endpoint
117
+ statement: The service SHALL provide a /collections/water_gauge/items endpoint.
118
+ parts:
119
+ - The service SHALL return GeoJSON FeatureCollection.
120
+ - Each feature SHALL include gauge_height property.
121
+
122
+ abstract_tests:
123
+ - id: items-endpoint
124
+ requirement_id: items-endpoint
125
+ steps:
126
+ - Send GET request to /collections/water_gauge/items.
127
+ - Verify response Content-Type is application/geo+json.
128
+ - Verify each feature contains gauge_height property.
113
129
  ```
114
130
 
115
131
  See [`examples/minimal_profile.yaml`](examples/minimal_profile.yaml) for a complete working example and [`examples/nwsviz_profile.yaml`](examples/nwsviz_profile.yaml) for a full profile with 13 collections, 3 processes, requirements, abstract tests, and document metadata.
@@ -65,6 +65,22 @@ collections:
65
65
  unit: # REQUIRED per OGC API - EDR Part 3
66
66
  label: Celsius
67
67
  symbol: C
68
+
69
+ # Example requirement and abstract test for asciidoc/PDF
70
+ requirements:
71
+ - id: items-endpoint
72
+ statement: The service SHALL provide a /collections/water_gauge/items endpoint.
73
+ parts:
74
+ - The service SHALL return GeoJSON FeatureCollection.
75
+ - Each feature SHALL include gauge_height property.
76
+
77
+ abstract_tests:
78
+ - id: items-endpoint
79
+ requirement_id: items-endpoint
80
+ steps:
81
+ - Send GET request to /collections/water_gauge/items.
82
+ - Verify response Content-Type is application/geo+json.
83
+ - Verify each feature contains gauge_height property.
68
84
  ```
69
85
 
70
86
  See [`examples/minimal_profile.yaml`](examples/minimal_profile.yaml) for a complete working example and [`examples/nwsviz_profile.yaml`](examples/nwsviz_profile.yaml) for a full profile with 13 collections, 3 processes, requirements, abstract tests, and document metadata.
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "oapi-profile-builder"
7
- version = "2.0.0"
7
+ version = "2.0.2"
8
8
  description = "Authoritative tooling for creating OGC API Service Profiles (EDR, Features)"
9
9
  readme = "README.md"
10
10
  license = { file = "LICENSE" }
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: oapi-profile-builder
3
- Version: 2.0.0
3
+ Version: 2.0.2
4
4
  Summary: Authoritative tooling for creating OGC API Service Profiles (EDR, Features)
5
5
  Author-email: Shane Mill <shane.mill@noaa.gov>
6
6
  License: Apache License
@@ -110,6 +110,22 @@ collections:
110
110
  unit: # REQUIRED per OGC API - EDR Part 3
111
111
  label: Celsius
112
112
  symbol: C
113
+
114
+ # Example requirement and abstract test for asciidoc/PDF
115
+ requirements:
116
+ - id: items-endpoint
117
+ statement: The service SHALL provide a /collections/water_gauge/items endpoint.
118
+ parts:
119
+ - The service SHALL return GeoJSON FeatureCollection.
120
+ - Each feature SHALL include gauge_height property.
121
+
122
+ abstract_tests:
123
+ - id: items-endpoint
124
+ requirement_id: items-endpoint
125
+ steps:
126
+ - Send GET request to /collections/water_gauge/items.
127
+ - Verify response Content-Type is application/geo+json.
128
+ - Verify each feature contains gauge_height property.
113
129
  ```
114
130
 
115
131
  See [`examples/minimal_profile.yaml`](examples/minimal_profile.yaml) for a complete working example and [`examples/nwsviz_profile.yaml`](examples/nwsviz_profile.yaml) for a full profile with 13 collections, 3 processes, requirements, abstract tests, and document metadata.