opengeospatial / ogcapi-records

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

update party definition #187

Closed tomkralidis closed 1 year ago

tomkralidis commented 1 year ago

https://github.com/opengeospatial/ogcapi-records/blob/master/core/openapi/schemas/party.yaml allows the ability to specify a contact by reference (URL) or inline. In the inline case, the roles array is allowed, however this is not available when specifying by reference/URL.

Any objections to updating the provider model to include roles as an optional property for either scenario?

tomkralidis commented 1 year ago

Example:

"providers": [{
  "link": {
    "href": "https://example.org/contact"
  },
  "roles": ["distributor"]
}]
pvretano commented 1 year ago

28-NOV-2022: @tomkralidis SWG is agreement with the change. Go ahead and create a PR for review at the next SWG meeting.

tomkralidis commented 1 year ago

PR in #192

pvretano commented 1 year ago

12-DEC-2022: Closing at PR #192 was merged.