opengeospatial / ogcapi-records

An open standard for the discovery of geospatial resources on the Web.
https://ogcapi.ogc.org/records
Other
60 stars 27 forks source link

add optional id to a theme concept #194

Closed tomkralidis closed 1 year ago

tomkralidis commented 1 year ago

Adds an optional id to a theme concept. Example:

        {
            "concepts": [
                {
                    "id": "adbef130576",
                    "name": "atmosphericComposition",
                    "url": "https://wis.wmo.int/2012/codelists/WMOCodeLists.xml#WMO_CategoryCode_atmosphericComposition"
                }
            ],
            "scheme": "https://wis.wmo.int/2012/codelists/WMOCodeLists.xml#WMO_CategoryCode"
        }
pvretano commented 1 year ago

12-DEC-2022: After SWG discussion the structure of the "concepts" item will be change to have "id", "title", "description" and "url". The "id" is the identifier of the concept. The "title" is the human-readable title for the concept. The "description" is a human-readable narrative about the concept and the "url" is a reference to the concept. The "id" is mandatory, the rest are options. @tomkralidis will make the necessary revisions.

tomkralidis commented 1 year ago

FYI PR has been updated accordingly and ready for review.

tomkralidis commented 1 year ago

Updated example (based on current PR):

        {
            "concepts": [
                {
                    "id": "atmosphericComposition",
                    "title": "Atmospheric composition",
                    "url": "https://wis.wmo.int/2012/codelists/WMOCodeLists.xml#WMO_CategoryCode_atmosphericComposition"
                }
            ],
            "scheme": "https://wis.wmo.int/2012/codelists/WMOCodeLists.xml#WMO_CategoryCode"
        }