Skip to content

Commit

Permalink
Note where requirement is from.
Browse files Browse the repository at this point in the history
  • Loading branch information
ways committed Nov 22, 2024
1 parent e18a36d commit d2e02e8
Showing 1 changed file with 15 additions and 3 deletions.
18 changes: 15 additions & 3 deletions sedr/edreq11.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,12 @@ def requirementA2_2_A7(version: int) -> tuple[bool, str]:


def requirementA11_1(jsondata: str) -> tuple[bool, str]:
"""Check if the conformance page contains openapi classes, and that they match our version."""
"""
OGC API - Environmental Data Retrieval Standard
Version: 1.1
Requirement A11.1
Check if the conformance page contains openapi classes, and that they match our version."""
spec_url = "https://docs.ogc.org/is/19-086r6/19-086r6.html#_cc7dd5e3-1d54-41ff-b5ba-c5fcb99fa663"

for url in jsondata:
Expand All @@ -64,8 +69,15 @@ def requirementA11_1(jsondata: str) -> tuple[bool, str]:


def requirement9_1(jsondata) -> tuple[bool, str]:
"""Test that the landing page contains required elements.
TODO: See https://github.com/metno/sedr/issues/6 """
"""
OGC API - Common - Part 1: Core
Version: 1.0.0
Requirement 9.1
Test that the landing page contains required elements.
TODO: See https://github.com/metno/sedr/issues/6
"""
spec_ref = "https://docs.ogc.org/is/19-072/19-072.html#_7c772474-7037-41c9-88ca-5c7e95235389"

if "title" not in jsondata:
Expand Down

0 comments on commit d2e02e8

Please sign in to comment.