{ "components":{ "parameters":{ "bbox":{ "description":"Only features that have a geometry that intersects the bounding box are selected.The bounding box is provided as four or six numbers, depending on whether the coordinate reference system includes a vertical axis (height or depth).", "explode":false, "in":"query", "name":"bbox", "required":false, "schema":{ "items":{ "type":"number" }, "maxItems":6, "minItems":4, "type":"array" }, "style":"form" }, "bbox-crs":{ "description":"Indicates the coordinate reference system for the given bbox coordinates.", "explode":false, "in":"query", "name":"bbox-crs", "required":false, "schema":{ "format":"uri", "type":"string" }, "style":"form" }, "bbox-crs-epsg":{ "description":"Indicates the EPSG for the given bbox coordinates.", "explode":false, "in":"query", "name":"bbox-crs", "required":false, "schema":{ "default":4326, "type":"integer" }, "style":"form" }, "crs":{ "description":"Indicates the coordinate reference system for the results.", "explode":false, "in":"query", "name":"crs", "required":false, "schema":{ "format":"uri", "type":"string" }, "style":"form" }, "f":{ "description":"The optional f parameter indicates the output format which the server shall provide as part of the response document. The default format is GeoJSON.", "explode":false, "in":"query", "name":"f", "required":false, "schema":{ "default":"json", "enum":[ "json", "html", "jsonld" ], "type":"string" }, "style":"form" }, "lang":{ "description":"The optional lang parameter instructs the server return a response in a certain language, if supported. If the language is not among the available values, the Accept-Language header language will be used if it is supported. If the header is missing, the default server language is used. Note that providers may only support a single language (or often no language at all), that can be different from the server language. Language strings can be written in a complex (e.g. \"fr-CA,fr;q=0.9,en-US;q=0.8,en;q=0.7\"), simple (e.g. \"de\") or locale-like (e.g. \"de-CH\" or \"fr_BE\") fashion.", "in":"query", "name":"lang", "required":false, "schema":{ "default":"en-US", "enum":[ "en-US" ], "type":"string" } }, "offset":{ "description":"The optional offset parameter indicates the index within the result set from which the server shall begin presenting results in the response document. The first element has an index of 0 (default).", "explode":false, "in":"query", "name":"offset", "required":false, "schema":{ "default":0, "minimum":0, "type":"integer" }, "style":"form" }, "properties":{ "description":"The properties that should be included. The parameter value is a comma-separated list of property names.", "explode":false, "in":"query", "name":"properties", "required":false, "schema":{ "items":{ "type":"string" }, "type":"array" }, "style":"form" }, "resourceId":{ "description":"Configuration resource identifier", "in":"path", "name":"resourceId", "required":true, "schema":{ "default":"wis2-discovery-metadata", "type":"string" } }, "skipGeometry":{ "description":"This option can be used to skip response geometries for each feature.", "explode":false, "in":"query", "name":"skipGeometry", "required":false, "schema":{ "default":false, "type":"boolean" }, "style":"form" }, "vendorSpecificParameters":{ "description":"Additional \"free-form\" parameters that are not explicitly defined", "in":"query", "name":"vendorSpecificParameters", "schema":{ "additionalProperties":true, "type":"object" }, "style":"form" } }, "responses":{ "200":{ "description":"successful operation" }, "204":{ "description":"no content" }, "Queryables":{ "content":{ "application/json":{ "schema":{ "$ref":"#/components/schemas/queryables" } } }, "description":"successful queryables operation" }, "Tiles":{ "content":{ "application/json":{ "schema":{ "$ref":"#/components/schemas/tiles" } } }, "description":"Retrieves the tiles description for this collection" }, "default":{ "content":{ "application/json":{ "schema":{ "$ref":"https://schemas.opengis.net/ogcapi/processes/part1/1.0/openapi/schemas/exception.yaml" } } }, "description":"Unexpected error" } }, "schemas":{ "queryable":{ "properties":{ "description":{ "description":"a human-readable narrative describing the queryable", "type":"string" }, "language":{ "default":"en", "description":"the language used for the title and description", "type":"string" }, "queryable":{ "description":"the token that may be used in a CQL predicate", "type":"string" }, "title":{ "description":"a human readable title for the queryable", "type":"string" }, "type":{ "description":"the data type of the queryable", "type":"string" }, "type-ref":{ "description":"a reference to the formal definition of the type", "format":"url", "type":"string" } }, "required":[ "queryable", "type" ], "type":"object" }, "queryables":{ "properties":{ "queryables":{ "items":{ "$ref":"#/components/schemas/queryable" }, "type":"array" } }, "required":[ "queryables" ], "type":"object" }, "tilematrixsetlink":{ "properties":{ "tileMatrixSet":{ "type":"string" }, "tileMatrixSetURI":{ "type":"string" } }, "required":[ "tileMatrixSet" ], "type":"object" }, "tiles":{ "properties":{ "links":{ "items":{ "$ref":"https://schemas.opengis.net/ogcapi/tiles/part1/1.0/openapi/ogcapi-tiles-1.yaml#/components/schemas/link" }, "type":"array" }, "tileMatrixSetLinks":{ "items":{ "$ref":"#/components/schemas/tilematrixsetlink" }, "type":"array" } }, "required":[ "tileMatrixSetLinks", "links" ], "type":"object" } } }, "info":{ "contact":{ "name":"GDC provider name", "url":"https://www.canada.ca/en/services/environment/weather.html", "x-ogc-serviceContact":{ "addresses":[ { "administrativeArea":"Canada", "city":"Fredericton", "deliveryPoint":[ "77 Westmorland Street, Suite 260" ] } ], "contactInstructions":"During hours of service", "emails":[ { "value":"tomkralidis@gmail.com" } ], "hoursOfService":"host", "links":[ { "href":"https://weather.gc.ca/mainmenu/contact_us_e.html", "type":"text/html" } ], "name":"Tom Kralidis", "phones":[ { "type":"main", "value":"None" }, { "type":"fax", "value":"+01-416-802-5741" } ], "position":"${WIS2_GDC_METADATA_CONTACT_POSITION:Position name}" } }, "description":"Meteorological Service of Canada Global Discovery Catalogue (GDC)", "license":{ "name":"WMO Unified Data Policy", "url":"https://library.wmo.int/idurl/4/58009" }, "termsOfService":"https://eccc-msc.github.io/open-data/usage-policy/readme_en", "title":"Meteorological Service of Canada Global Discovery Catalogue (GDC)", "version":"0.23.3", "x-keywords":[ "wmo", "wis2", "gdc" ] }, "openapi":"3.0.2", "paths":{ "/":{ "get":{ "description":"Landing page", "operationId":"getLandingPage", "parameters":[ { "$ref":"#/components/parameters/f" }, { "$ref":"#/components/parameters/lang" } ], "responses":{ "200":{ "$ref":"https://schemas.opengis.net/ogcapi/features/part1/1.0/openapi/ogcapi-features-1.yaml#/components/responses/LandingPage" }, "400":{ "$ref":"https://schemas.opengis.net/ogcapi/features/part1/1.0/openapi/ogcapi-features-1.yaml#/components/responses/InvalidParameter" }, "500":{ "$ref":"https://schemas.opengis.net/ogcapi/features/part1/1.0/openapi/ogcapi-features-1.yaml#/components/responses/ServerError" } }, "summary":"Landing page", "tags":[ "server" ] } }, "/collections":{ "get":{ "description":"Collections", "operationId":"getCollections", "parameters":[ { "$ref":"#/components/parameters/f" }, { "$ref":"#/components/parameters/lang" } ], "responses":{ "200":{ "$ref":"https://schemas.opengis.net/ogcapi/features/part1/1.0/openapi/ogcapi-features-1.yaml#/components/responses/LandingPage" }, "400":{ "$ref":"https://schemas.opengis.net/ogcapi/features/part1/1.0/openapi/ogcapi-features-1.yaml#/components/responses/InvalidParameter" }, "500":{ "$ref":"https://schemas.opengis.net/ogcapi/features/part1/1.0/openapi/ogcapi-features-1.yaml#/components/responses/ServerError" } }, "summary":"Collections", "tags":[ "server" ] } }, "/collections/wis2-discovery-metadata":{ "get":{ "description":"WIS2 discovery metadata", "operationId":"describeWis2-discovery-metadataCollection", "parameters":[ { "$ref":"#/components/parameters/f" }, { "$ref":"#/components/parameters/lang" } ], "responses":{ "200":{ "$ref":"https://schemas.opengis.net/ogcapi/features/part1/1.0/openapi/ogcapi-features-1.yaml#/components/responses/Collection" }, "400":{ "$ref":"https://schemas.opengis.net/ogcapi/features/part1/1.0/openapi/ogcapi-features-1.yaml#/components/responses/InvalidParameter" }, "404":{ "$ref":"https://schemas.opengis.net/ogcapi/features/part1/1.0/openapi/ogcapi-features-1.yaml#/components/responses/NotFound" }, "500":{ "$ref":"https://schemas.opengis.net/ogcapi/features/part1/1.0/openapi/ogcapi-features-1.yaml#/components/responses/ServerError" } }, "summary":"Get WIS2 discovery metadata metadata", "tags":[ "wis2-discovery-metadata" ] } }, "/collections/wis2-discovery-metadata/items":{ "get":{ "description":"WIS2 discovery metadata", "operationId":"getWis2-discovery-metadataFeatures", "parameters":[ { "description":"The optional f parameter indicates the output format which the server shall provide as part of the response document. The default format is GeoJSON.", "explode":false, "in":"query", "name":"f", "required":false, "schema":{ "default":"json", "enum":[ "json", "html", "jsonld", "csv" ], "type":"string" }, "style":"form" }, { "$ref":"#/components/parameters/lang" }, { "$ref":"#/components/parameters/bbox" }, { "description":"The optional limit parameter limits the number of items that are presented in the response document (maximum=1000, default=100).", "explode":false, "in":"query", "name":"limit", "required":false, "schema":{ "default":100, "maximum":1000, "minimum":1, "type":"integer" }, "style":"form" }, { "$ref":"#/components/parameters/crs" }, { "$ref":"#/components/parameters/bbox-crs" }, { "description":"The properties that should be included. The parameter value is a comma-separated list of property names.", "explode":false, "in":"query", "name":"properties", "required":false, "schema":{ "items":{ "enum":[ "centre-id", "contacts.addresses.administrativeArea", "contacts.addresses.city", "contacts.addresses.country", "contacts.addresses.deliveryPoint", "contacts.addresses.name", "contacts.addresses.postalCode", "contacts.contactInstructions", "contacts.emails.value", "contacts.hoursOfService", "contacts.identifier", "contacts.name", "contacts.organization", "contacts.phones.value", "contacts.position", "contacts.roles", "created", "description", "formats.name", "keywords", "language", "rights", "status.description", "status.id", "status.title", "themes.concepts.description", "themes.concepts.id", "themes.concepts.title", "themes.scheme", "title", "type", "updated", "wmo:dataPolicy", "time.resolution" ], "type":"string" }, "type":"array" }, "style":"form" }, { "$ref":"#/components/parameters/vendorSpecificParameters" }, { "$ref":"#/components/parameters/skipGeometry" }, { "$ref":"https://raw.githubusercontent.com/opengeospatial/ogcapi-records/master/core/openapi/parameters/sortby.yaml" }, { "$ref":"#/components/parameters/offset" }, { "$ref":"https://raw.githubusercontent.com/opengeospatial/ogcapi-records/master/core/openapi/parameters/q.yaml" }, { "$ref":"https://schemas.opengis.net/ogcapi/features/part1/1.0/openapi/ogcapi-features-1.yaml#/components/parameters/datetime" }, { "explode":false, "in":"query", "name":"centre-id", "required":false, "schema":{ "type":"string" }, "style":"form" }, { "explode":false, "in":"query", "name":"contacts.addresses.administrativeArea", "required":false, "schema":{ "type":"string" }, "style":"form" }, { "explode":false, "in":"query", "name":"contacts.addresses.city", "required":false, "schema":{ "type":"string" }, "style":"form" }, { "explode":false, "in":"query", "name":"contacts.addresses.country", "required":false, "schema":{ "type":"string" }, "style":"form" }, { "explode":false, "in":"query", "name":"contacts.addresses.deliveryPoint", "required":false, "schema":{ "type":"string" }, "style":"form" }, { "explode":false, "in":"query", "name":"contacts.addresses.name", "required":false, "schema":{ "type":"string" }, "style":"form" }, { "explode":false, "in":"query", "name":"contacts.addresses.postalCode", "required":false, "schema":{ "type":"string" }, "style":"form" }, { "explode":false, "in":"query", "name":"contacts.contactInstructions", "required":false, "schema":{ "type":"string" }, "style":"form" }, { "explode":false, "in":"query", "name":"contacts.emails.value", "required":false, "schema":{ "type":"string" }, "style":"form" }, { "explode":false, "in":"query", "name":"contacts.hoursOfService", "required":false, "schema":{ "type":"string" }, "style":"form" }, { "explode":false, "in":"query", "name":"contacts.identifier", "required":false, "schema":{ "type":"string" }, "style":"form" }, { "explode":false, "in":"query", "name":"contacts.name", "required":false, "schema":{ "type":"string" }, "style":"form" }, { "explode":false, "in":"query", "name":"contacts.organization", "required":false, "schema":{ "type":"string" }, "style":"form" }, { "explode":false, "in":"query", "name":"contacts.phones.value", "required":false, "schema":{ "type":"string" }, "style":"form" }, { "explode":false, "in":"query", "name":"contacts.position", "required":false, "schema":{ "type":"string" }, "style":"form" }, { "explode":false, "in":"query", "name":"contacts.roles", "required":false, "schema":{ "type":"string" }, "style":"form" }, { "explode":false, "in":"query", "name":"created", "required":false, "schema":{ "format":"date", "type":"string" }, "style":"form" }, { "explode":false, "in":"query", "name":"description", "required":false, "schema":{ "type":"string" }, "style":"form" }, { "explode":false, "in":"query", "name":"formats.name", "required":false, "schema":{ "type":"string" }, "style":"form" }, { "explode":false, "in":"query", "name":"keywords", "required":false, "schema":{ "type":"string" }, "style":"form" }, { "explode":false, "in":"query", "name":"language", "required":false, "schema":{ "type":"object" }, "style":"form" }, { "explode":false, "in":"query", "name":"rights", "required":false, "schema":{ "type":"string" }, "style":"form" }, { "explode":false, "in":"query", "name":"status.description", "required":false, "schema":{ "type":"string" }, "style":"form" }, { "explode":false, "in":"query", "name":"status.id", "required":false, "schema":{ "type":"string" }, "style":"form" }, { "explode":false, "in":"query", "name":"status.title", "required":false, "schema":{ "type":"string" }, "style":"form" }, { "explode":false, "in":"query", "name":"themes.concepts.description", "required":false, "schema":{ "type":"string" }, "style":"form" }, { "explode":false, "in":"query", "name":"themes.concepts.id", "required":false, "schema":{ "type":"string" }, "style":"form" }, { "explode":false, "in":"query", "name":"themes.concepts.title", "required":false, "schema":{ "type":"string" }, "style":"form" }, { "explode":false, "in":"query", "name":"themes.scheme", "required":false, "schema":{ "type":"string" }, "style":"form" }, { "explode":false, "in":"query", "name":"title", "required":false, "schema":{ "type":"string" }, "style":"form" }, { "explode":false, "in":"query", "name":"type", "required":false, "schema":{ "type":"string" }, "style":"form" }, { "explode":false, "in":"query", "name":"updated", "required":false, "schema":{ "format":"date", "type":"string" }, "style":"form" }, { "explode":false, "in":"query", "name":"wmo:dataPolicy", "required":false, "schema":{ "type":"string" }, "style":"form" }, { "explode":false, "in":"query", "name":"time.resolution", "required":false, "schema":{ "type":"string" }, "style":"form" } ], "responses":{ "200":{ "$ref":"https://schemas.opengis.net/ogcapi/features/part1/1.0/openapi/ogcapi-features-1.yaml#/components/responses/Features" }, "400":{ "$ref":"https://schemas.opengis.net/ogcapi/features/part1/1.0/openapi/ogcapi-features-1.yaml#/components/responses/InvalidParameter" }, "404":{ "$ref":"https://schemas.opengis.net/ogcapi/features/part1/1.0/openapi/ogcapi-features-1.yaml#/components/responses/NotFound" }, "500":{ "$ref":"https://schemas.opengis.net/ogcapi/features/part1/1.0/openapi/ogcapi-features-1.yaml#/components/responses/ServerError" } }, "summary":"Get WIS2 discovery metadata items", "tags":[ "wis2-discovery-metadata" ] }, "options":{ "description":"WIS2 discovery metadata", "operationId":"optionsWis2-discovery-metadataFeatures", "responses":{ "200":{ "description":"options response" } }, "summary":"Options for WIS2 discovery metadata items", "tags":[ "wis2-discovery-metadata" ] }, "post":{ "description":"WIS2 discovery metadata", "operationId":"getCQL2Wis2-discovery-metadataFeatures", "requestBody":{ "content":{ "application/json":{ "schema":{ "$ref":"https://schemas.opengis.net/cql2/1.0/cql2.json" } } }, "description":"Get items with CQL2", "required":true }, "responses":{ "200":{ "$ref":"https://schemas.opengis.net/ogcapi/features/part1/1.0/openapi/ogcapi-features-1.yaml#/components/responses/Features" }, "400":{ "$ref":"https://schemas.opengis.net/ogcapi/features/part1/1.0/openapi/ogcapi-features-1.yaml#/components/responses/InvalidParameter" }, "500":{ "$ref":"https://schemas.opengis.net/ogcapi/features/part1/1.0/openapi/ogcapi-features-1.yaml#/components/responses/ServerError" } }, "summary":"Get WIS2 discovery metadata items with CQL2", "tags":[ "wis2-discovery-metadata" ] } }, "/collections/wis2-discovery-metadata/items/{featureId}":{ "get":{ "description":"WIS2 discovery metadata", "operationId":"getWis2-discovery-metadataFeature", "parameters":[ { "$ref":"https://schemas.opengis.net/ogcapi/features/part1/1.0/openapi/ogcapi-features-1.yaml#/components/parameters/featureId" }, { "$ref":"#/components/parameters/crs" }, { "$ref":"#/components/parameters/f" }, { "$ref":"#/components/parameters/lang" } ], "responses":{ "200":{ "$ref":"https://schemas.opengis.net/ogcapi/features/part1/1.0/openapi/ogcapi-features-1.yaml#/components/responses/Feature" }, "400":{ "$ref":"https://schemas.opengis.net/ogcapi/features/part1/1.0/openapi/ogcapi-features-1.yaml#/components/responses/InvalidParameter" }, "404":{ "$ref":"https://schemas.opengis.net/ogcapi/features/part1/1.0/openapi/ogcapi-features-1.yaml#/components/responses/NotFound" }, "500":{ "$ref":"https://schemas.opengis.net/ogcapi/features/part1/1.0/openapi/ogcapi-features-1.yaml#/components/responses/ServerError" } }, "summary":"Get WIS2 discovery metadata item by id", "tags":[ "wis2-discovery-metadata" ] }, "options":{ "description":"WIS2 discovery metadata", "operationId":"optionsWis2-discovery-metadataFeature", "parameters":[ { "$ref":"https://schemas.opengis.net/ogcapi/features/part1/1.0/openapi/ogcapi-features-1.yaml#/components/parameters/featureId" } ], "responses":{ "200":{ "description":"options response" } }, "summary":"Options for WIS2 discovery metadata item by id", "tags":[ "wis2-discovery-metadata" ] } }, "/collections/wis2-discovery-metadata/queryables":{ "get":{ "description":"WIS2 discovery metadata", "operationId":"getWis2-discovery-metadataQueryables", "parameters":[ { "description":"The properties that should be included. The parameter value is a comma-separated list of property names.", "explode":false, "in":"query", "name":"properties", "required":false, "schema":{ "items":{ "enum":[ "centre-id", "contacts.addresses.administrativeArea", "contacts.addresses.city", "contacts.addresses.country", "contacts.addresses.deliveryPoint", "contacts.addresses.name", "contacts.addresses.postalCode", "contacts.contactInstructions", "contacts.emails.value", "contacts.hoursOfService", "contacts.identifier", "contacts.name", "contacts.organization", "contacts.phones.value", "contacts.position", "contacts.roles", "created", "description", "formats.name", "keywords", "language", "rights", "status.description", "status.id", "status.title", "themes.concepts.description", "themes.concepts.id", "themes.concepts.title", "themes.scheme", "title", "type", "updated", "wmo:dataPolicy", "time.resolution" ], "type":"string" }, "type":"array" }, "style":"form" }, { "$ref":"#/components/parameters/f" }, { "description":"The profile to be applied to a given request", "explode":false, "in":"query", "name":"profile", "required":false, "schema":{ "enum":[ "actual-domain", "valid-domain" ], "type":"string" }, "style":"form" }, { "$ref":"#/components/parameters/lang" } ], "responses":{ "200":{ "$ref":"#/components/responses/Queryables" }, "400":{ "$ref":"https://schemas.opengis.net/ogcapi/features/part1/1.0/openapi/ogcapi-features-1.yaml#/components/responses/InvalidParameter" }, "404":{ "$ref":"https://schemas.opengis.net/ogcapi/features/part1/1.0/openapi/ogcapi-features-1.yaml#/components/responses/NotFound" }, "500":{ "$ref":"https://schemas.opengis.net/ogcapi/features/part1/1.0/openapi/ogcapi-features-1.yaml#/components/responses/ServerError" } }, "summary":"Get WIS2 discovery metadata queryables", "tags":[ "wis2-discovery-metadata" ] } }, "/collections/wis2-discovery-metadata/schema":{ "get":{ "description":"WIS2 discovery metadata", "operationId":"getWis2-discovery-metadataSchema", "parameters":[ { "$ref":"#/components/parameters/f" }, { "$ref":"#/components/parameters/lang" } ], "responses":{ "200":{ "$ref":"#/components/responses/Queryables" }, "400":{ "$ref":"https://schemas.opengis.net/ogcapi/features/part1/1.0/openapi/ogcapi-features-1.yaml#/components/responses/InvalidParameter" }, "404":{ "$ref":"https://schemas.opengis.net/ogcapi/features/part1/1.0/openapi/ogcapi-features-1.yaml#/components/responses/NotFound" }, "500":{ "$ref":"https://schemas.opengis.net/ogcapi/features/part1/1.0/openapi/ogcapi-features-1.yaml#/components/responses/ServerError" } }, "summary":"Get WIS2 discovery metadata schema", "tags":[ "wis2-discovery-metadata" ] } }, "/conformance":{ "get":{ "description":"API conformance definition", "operationId":"getConformanceDeclaration", "parameters":[ { "$ref":"#/components/parameters/f" }, { "$ref":"#/components/parameters/lang" } ], "responses":{ "200":{ "$ref":"https://schemas.opengis.net/ogcapi/features/part1/1.0/openapi/ogcapi-features-1.yaml#/components/responses/LandingPage" }, "400":{ "$ref":"https://schemas.opengis.net/ogcapi/features/part1/1.0/openapi/ogcapi-features-1.yaml#/components/responses/InvalidParameter" }, "500":{ "$ref":"https://schemas.opengis.net/ogcapi/features/part1/1.0/openapi/ogcapi-features-1.yaml#/components/responses/ServerError" } }, "summary":"API conformance definition", "tags":[ "server" ] } }, "/jobs":{ "get":{ "description":"Retrieve a list of jobs", "operationId":"getJobs", "responses":{ "200":{ "$ref":"#/components/responses/200" }, "404":{ "$ref":"https://schemas.opengis.net/ogcapi/processes/part1/1.0/openapi/responses/NotFound.yaml" }, "default":{ "$ref":"#/components/responses/default" } }, "summary":"Retrieve jobs list", "tags":[ "jobs" ] } }, "/jobs/{jobId}":{ "delete":{ "description":"Cancel / delete job", "operationId":"deleteJob", "parameters":[ { "description":"job identifier", "in":"path", "name":"jobId", "required":true, "schema":{ "type":"string" } } ], "responses":{ "204":{ "$ref":"#/components/responses/204" }, "404":{ "$ref":"https://schemas.opengis.net/ogcapi/processes/part1/1.0/openapi/responses/NotFound.yaml" }, "default":{ "$ref":"#/components/responses/default" } }, "summary":"Cancel / delete job", "tags":[ "jobs" ] }, "get":{ "description":"Retrieve job details", "operationId":"getJob", "parameters":[ { "description":"job identifier", "in":"path", "name":"jobId", "required":true, "schema":{ "type":"string" } }, { "$ref":"#/components/parameters/f" } ], "responses":{ "200":{ "$ref":"#/components/responses/200" }, "404":{ "$ref":"https://schemas.opengis.net/ogcapi/processes/part1/1.0/openapi/responses/NotFound.yaml" }, "default":{ "$ref":"#/components/responses/default" } }, "summary":"Retrieve job details", "tags":[ "jobs" ] } }, "/jobs/{jobId}/results":{ "get":{ "description":"Retrieve job results", "operationId":"getJobResults", "parameters":[ { "description":"job identifier", "in":"path", "name":"jobId", "required":true, "schema":{ "type":"string" } }, { "$ref":"#/components/parameters/f" } ], "responses":{ "200":{ "$ref":"#/components/responses/200" }, "404":{ "$ref":"https://schemas.opengis.net/ogcapi/processes/part1/1.0/openapi/responses/NotFound.yaml" }, "default":{ "$ref":"#/components/responses/default" } }, "summary":"Retrieve job results", "tags":[ "jobs" ] } }, "/openapi":{ "get":{ "description":"This document", "operationId":"getOpenapi", "parameters":[ { "$ref":"#/components/parameters/f" }, { "$ref":"#/components/parameters/lang" }, { "description":"UI to render the OpenAPI document", "explode":false, "in":"query", "name":"ui", "required":false, "schema":{ "default":"swagger", "enum":[ "swagger", "redoc" ], "type":"string" }, "style":"form" } ], "responses":{ "200":{ "$ref":"#/components/responses/200" }, "400":{ "$ref":"https://schemas.opengis.net/ogcapi/features/part1/1.0/openapi/ogcapi-features-1.yaml#/components/responses/InvalidParameter" }, "default":{ "$ref":"#/components/responses/default" } }, "summary":"This document", "tags":[ "server" ] } }, "/processes":{ "get":{ "description":"Processes", "operationId":"getProcesses", "parameters":[ { "$ref":"#/components/parameters/f" } ], "responses":{ "200":{ "$ref":"https://schemas.opengis.net/ogcapi/processes/part1/1.0/openapi/responses/ProcessList.yaml" }, "default":{ "$ref":"#/components/responses/default" } }, "summary":"Processes", "tags":[ "server" ] } }, "/processes/pywcmp-wis2-wcmp2-ets":{ "get":{ "description":"Validate a WCMP2 document against the ETS", "operationId":"describePywcmp-wis2-wcmp2-etsProcess", "parameters":[ { "$ref":"#/components/parameters/f" } ], "responses":{ "200":{ "$ref":"#/components/responses/200" }, "default":{ "$ref":"#/components/responses/default" } }, "summary":"Get process metadata", "tags":[ "pywcmp-wis2-wcmp2-ets" ] } }, "/processes/pywcmp-wis2-wcmp2-ets/execution":{ "post":{ "description":"Validate a WCMP2 document against the ETS", "operationId":"executePywcmp-wis2-wcmp2-etsJob", "parameters":[ { "description":"Indicates client preferences, including whether the client is capable of asynchronous processing.", "in":"header", "name":"Prefer", "required":false, "schema":{ "enum":[ "respond-sync", "respond-async" ], "type":"string" } } ], "requestBody":{ "content":{ "application/json":{ "example":{ "inputs":{ "fail_on_schema_validation":true, "record":{ "conformsTo":[ "http://wis.wmo.int/spec/wcmp/2/conf/core" ], "geometry":{ "coordinates":[ [ [ -180, -90 ], [ -180, 90 ], [ 180, 90 ], [ 180, -90 ], [ -180, -90 ] ] ], "type":"Polygon" }, "id":"urn:wmo:md:ca-eccc-msc:nwp.msc_nwp_gdps", "linkTemplates":[ { "rel":"data", "title":"MSC Datamart", "type":"text/html", "uriTemplate":"https://dd.weather.gc.ca/{yyyymmdd}/WXO-DD/model_gem_global", "variables":{ "yyyymmdd":{ "description":"date in yyyymmdd format", "type":"string" } } } ], "links":[ { "href":"https://open.canada.ca/en/open-government-licence-canada", "rel":"license", "title":"Open Government Licence - Canada", "type":"text/html" }, { "href":"https://geo.weather.gc.ca/geomet?lang=en&service=WMS&request=GetCapabilities&layers=GDPS.ETA_TT", "rel":"service", "title":"Air temperature [degrees]", "type":"application/xml" }, { "channel":"origin/a/wis2/ca-eccc-msc/data/core/weather/prediction/forecast/medium-range/deterministic/global", "href":"mqtts://everyone:everyone@globalbroker.meteo.fr:8883", "rel":"items", "title":"Data notifications", "type":"application/geo+json" } ], "properties":{ "contacts":[ { "addresses":[ { "administrativeArea":"NB", "city":"Fredericton", "country":"CAN", "deliveryPoint":[ "77 Westmorland Street, suite 260" ], "postalCode":"E3B 6Z4" } ], "contactInstructions":"email", "emails":[ { "value":"enviroinfo@ec.gc.ca" } ], "links":[ { "href":"https://www.canada.ca/en/environment-climate-change.html", "rel":"canonical", "type":"text/html" } ], "name":"National Inquiry Response Team", "organization":"Government of Canada; Environment and Climate Change Canada; Meteorological Service of Canada", "phones":[ { "value":"+18199972800" } ], "roles":[ "host", "producer" ] } ], "created":"2018-01-01T11:11:23Z", "description":"The Global Deterministic Prediction System (GDPS) carries out physics calculations to arrive at deterministic predictions of atmospheric elements from the current day out to 10 days into the future. Atmospheric elements include temperature, precipitation, cloud cover, wind speed and direction, humidity and others. This product contains raw numerical results of these calculations. Geographical coverage is global. Data is available at horizontal resolution of about 15 km up to 33 vertical levels. Predictions are performed twice a day.", "language":{ "code":"en" }, "themes":[ { "concepts":[ { "id":"Prediction" }, { "id":"Global" }, { "id":"Deterministic" }, { "id":"Weather forecasts" }, { "id":"Air temperature" }, { "id":"Meteorological data" } ], "scheme":"https://canada.multites.net/cst" }, { "concepts":[ { "id":"weather", "title":"Weather", "url":"https://codes.wmo.int/wis/topic-hierarchy/earth-system-discipline/weather" } ], "scheme":"https://codes.wmo.int/wis/topic-hierarchy/earth-system-discipline" } ], "title":"Global Deterministic Prediction System", "type":"dataset", "updated":"2022-06-17T08:22:24Z", "wmo:dataPolicy":"core" }, "time":{ "interval":[ "1963-10-01", ".." ] }, "type":"Feature" }, "relax_centre_id_checks":false } }, "schema":{ "$ref":"https://schemas.opengis.net/ogcapi/processes/part1/1.0/openapi/schemas/execute.yaml" } } }, "description":"Mandatory execute request JSON", "required":true }, "responses":{ "200":{ "content":{ "application/json":{ "schema":{ "description":"WCMP2 Executable Test Suite report", "properties":{ "datetime":{ "format":"date-time", "type":"string" }, "generated_by":{ "type":"string" }, "id":{ "format":"uuid", "type":"string" }, "metadata_id":{ "type":"string" }, "report_type":{ "enum":[ "ets" ], "type":"string" }, "summary":{ "description":"summary information", "properties":{ "FAILED":{ "type":"integer" }, "PASSED":{ "type":"integer" }, "SKIPPED":{ "type":"integer" } }, "required":[ "PASSED", "FAILED", "SKIPPED" ], "type":"object" }, "tests":{ "items":{ "properties":{ "code":{ "enum":[ "PASSED", "FAILED", "SKIPPED" ], "type":"string" }, "id":{ "format":"uri", "type":"string" }, "message":{ "type":"string" } }, "required":[ "id", "code" ], "type":"object" }, "type":"array" } }, "required":[ "id", "report_type", "summary", "generated_by", "datetime", "metadata_id", "tests" ], "title":"WCMP2 Executable Test Suite report", "type":"object" } } }, "description":"Process output schema" }, "201":{ "$ref":"https://schemas.opengis.net/ogcapi/processes/part1/1.0/openapi/responses/ExecuteAsync.yaml" }, "404":{ "$ref":"https://schemas.opengis.net/ogcapi/processes/part1/1.0/openapi/responses/NotFound.yaml" }, "500":{ "$ref":"https://schemas.opengis.net/ogcapi/processes/part1/1.0/openapi/responses/ServerError.yaml" }, "default":{ "$ref":"#/components/responses/default" } }, "summary":"Process WCMP2 ETS validator execution", "tags":[ "pywcmp-wis2-wcmp2-ets" ] } }, "/processes/pywcmp-wis2-wcmp2-kpi":{ "get":{ "description":"Validate a WCMP2 document against the KPI suite", "operationId":"describePywcmp-wis2-wcmp2-kpiProcess", "parameters":[ { "$ref":"#/components/parameters/f" } ], "responses":{ "200":{ "$ref":"#/components/responses/200" }, "default":{ "$ref":"#/components/responses/default" } }, "summary":"Get process metadata", "tags":[ "pywcmp-wis2-wcmp2-kpi" ] } }, "/processes/pywcmp-wis2-wcmp2-kpi/execution":{ "post":{ "description":"Validate a WCMP2 document against the KPI suite", "operationId":"executePywcmp-wis2-wcmp2-kpiJob", "parameters":[ { "description":"Indicates client preferences, including whether the client is capable of asynchronous processing.", "in":"header", "name":"Prefer", "required":false, "schema":{ "enum":[ "respond-sync", "respond-async" ], "type":"string" } } ], "requestBody":{ "content":{ "application/json":{ "example":{ "inputs":{ "record":{ "conformsTo":[ "http://wis.wmo.int/spec/wcmp/2/conf/core" ], "geometry":{ "coordinates":[ [ [ -180, -90 ], [ -180, 90 ], [ 180, 90 ], [ 180, -90 ], [ -180, -90 ] ] ], "type":"Polygon" }, "id":"urn:wmo:md:ca-eccc-msc:nwp.msc_nwp_gdps", "linkTemplates":[ { "rel":"data", "title":"MSC Datamart", "type":"text/html", "uriTemplate":"https://dd.weather.gc.ca/{yyyymmdd}/WXO-DD/model_gem_global", "variables":{ "yyyymmdd":{ "description":"date in yyyymmdd format", "type":"string" } } } ], "links":[ { "href":"https://open.canada.ca/en/open-government-licence-canada", "rel":"license", "title":"Open Government Licence - Canada", "type":"text/html" }, { "href":"https://geo.weather.gc.ca/geomet?lang=en&service=WMS&request=GetCapabilities&layers=GDPS.ETA_TT", "rel":"service", "title":"Air temperature [degrees]", "type":"application/xml" }, { "channel":"origin/a/wis2/ca-eccc-msc/data/core/weather/prediction/forecast/medium-range/deterministic/global", "href":"mqtts://everyone:everyone@globalbroker.meteo.fr:8883", "rel":"items", "title":"Data notifications", "type":"application/geo+json" } ], "properties":{ "contacts":[ { "addresses":[ { "administrativeArea":"NB", "city":"Fredericton", "country":"CAN", "deliveryPoint":[ "77 Westmorland Street, suite 260" ], "postalCode":"E3B 6Z4" } ], "contactInstructions":"email", "emails":[ { "value":"enviroinfo@ec.gc.ca" } ], "links":[ { "href":"https://www.canada.ca/en/environment-climate-change.html", "rel":"canonical", "type":"text/html" } ], "name":"National Inquiry Response Team", "organization":"Government of Canada; Environment and Climate Change Canada; Meteorological Service of Canada", "phones":[ { "value":"+18199972800" } ], "roles":[ "host", "producer" ] } ], "created":"2018-01-01T11:11:23Z", "description":"The Global Deterministic Prediction System (GDPS) carries out physics calculations to arrive at deterministic predictions of atmospheric elements from the current day out to 10 days into the future. Atmospheric elements include temperature, precipitation, cloud cover, wind speed and direction, humidity and others. This product contains raw numerical results of these calculations. Geographical coverage is global. Data is available at horizontal resolution of about 15 km up to 33 vertical levels. Predictions are performed twice a day.", "language":{ "code":"en" }, "themes":[ { "concepts":[ { "id":"Prediction" }, { "id":"Global" }, { "id":"Deterministic" }, { "id":"Weather forecasts" }, { "id":"Air temperature" }, { "id":"Meteorological data" } ], "scheme":"https://canada.multites.net/cst" }, { "concepts":[ { "id":"weather", "title":"Weather", "url":"https://codes.wmo.int/wis/topic-hierarchy/earth-system-discipline/weather" } ], "scheme":"https://codes.wmo.int/wis/topic-hierarchy/earth-system-discipline" } ], "title":"Global Deterministic Prediction System", "type":"dataset", "updated":"2022-06-17T08:22:24Z", "wmo:dataPolicy":"core" }, "time":{ "interval":[ "1963-10-01", ".." ] }, "type":"Feature" } } }, "schema":{ "$ref":"https://schemas.opengis.net/ogcapi/processes/part1/1.0/openapi/schemas/execute.yaml" } } }, "description":"Mandatory execute request JSON", "required":true }, "responses":{ "200":{ "content":{ "application/json":{ "schema":{ "definitions":{ "summary":{ "properties":{ "comments":{ "type":"string" }, "percentage":{ "type":"number" }, "score":{ "type":"number" }, "total":{ "type":"integer" } }, "required":[ "total", "score", "percentage" ], "type":"object" } }, "description":"WCMP2 Key Performance Indicator report", "properties":{ "datetime":{ "format":"date-time", "type":"string" }, "generated_by":{ "type":"string" }, "id":{ "format":"uuid", "type":"string" }, "metadata_id":{ "type":"string" }, "report_type":{ "enum":[ "ets" ], "type":"string" }, "summary":{ "properties":{ "grade":{ "enum":[ "A", "B", "C", "D", "E", "F" ], "type":"string" } }, "required":[ "grade" ], "type":"object" }, "tests":{ "items":{ "allOf":[ "#/definitions/summary", { "properties":{ "id":{ "format":"uri", "type":"string" }, "title":{ "type":"string" } }, "required":[ "id", "title", "total", "score", "percentage" ] } ] }, "minItems":1, "type":"array" } }, "required":[ "id", "report_type", "summary", "generated_by", "datetime", "metadata_id", "tests" ], "title":"WCMP2 Key Performance Indicator report", "type":"object" } } }, "description":"Process output schema" }, "201":{ "$ref":"https://schemas.opengis.net/ogcapi/processes/part1/1.0/openapi/responses/ExecuteAsync.yaml" }, "404":{ "$ref":"https://schemas.opengis.net/ogcapi/processes/part1/1.0/openapi/responses/NotFound.yaml" }, "500":{ "$ref":"https://schemas.opengis.net/ogcapi/processes/part1/1.0/openapi/responses/ServerError.yaml" }, "default":{ "$ref":"#/components/responses/default" } }, "summary":"Process WCMP2 KPI evaluator execution", "tags":[ "pywcmp-wis2-wcmp2-kpi" ] } } }, "servers":[ { "description":"Meteorological Service of Canada Global Discovery Catalogue (GDC)", "url":"https://wis2-gdc.weather.gc.ca" } ], "tags":[ { "description":"Meteorological Service of Canada Global Discovery Catalogue (GDC)", "externalDocs":{ "description":"information", "url":"https://eccc-msc.github.io/open-data/wmo-wis2/readme_en" }, "name":"server" }, { "description":"WIS2 discovery metadata", "name":"wis2-discovery-metadata" }, { "name":"coverages" }, { "name":"edr" }, { "name":"records" }, { "name":"features" }, { "name":"maps" }, { "name":"processes" }, { "name":"jobs" }, { "name":"tiles" }, { "name":"stac" } ] }