@@ -380,10 +380,8 @@ def landing_page(self, **kwargs) -> stac.LandingPage:
380
380
if self .extension_is_enabled ("FilterExtension" ):
381
381
landing_page ["links" ].append (
382
382
{
383
- # TODO: replace this with Relations.queryables.value,
384
- "rel" : "http://www.opengis.net/def/rel/ogc/1.0/queryables" ,
385
- # TODO: replace this with MimeTypes.jsonschema,
386
- "type" : "application/schema+json" ,
383
+ "rel" : Relations .queryables .value ,
384
+ "type" : MimeTypes .jsonschema .value ,
387
385
"title" : "Queryables" ,
388
386
"href" : urljoin (base_url , "queryables" ),
389
387
"method" : "GET" ,
@@ -586,10 +584,8 @@ async def landing_page(self, **kwargs) -> stac.LandingPage:
586
584
if self .extension_is_enabled ("FilterExtension" ):
587
585
landing_page ["links" ].append (
588
586
{
589
- # TODO: replace this with Relations.queryables.value,
590
- "rel" : "http://www.opengis.net/def/rel/ogc/1.0/queryables" ,
591
- # TODO: replace this with MimeTypes.jsonschema,
592
- "type" : "application/schema+json" ,
587
+ "rel" : Relations .queryables .value ,
588
+ "type" : MimeTypes .jsonschema .value ,
593
589
"title" : "Queryables" ,
594
590
"href" : urljoin (base_url , "queryables" ),
595
591
"method" : "GET" ,
0 commit comments