capabilitiesInfo object

capabilitiesInfo object

Deze pagina’s zijn in het engels ten behoeve van mogelijk internationale ontwikkelaars


This object is used in the following endpoints:


Information about all capabilities of a data service provider is contained in a single capabilitiesInfo object, as defined below.

Note: the capabilitiesInfo object is aligned with the iSHARE /capabilities endpoint, but has been appended with optional DSGO specific attributes, which are indicated with an asterisk *. These attributes are optional in order to ensure compatibility with the iSHARE framework.

Parameters

Type

Description

Parameters

Type

Description

capabilitiesInfo

required

root level object

Contains information about capabilities. MUST be provided for every participant that provides services within DSGO

 

publicServices

optional

array of objects

MUST contain a list of public features

 

 

identifier

required

string

Identifier of the data service, MUST be unique and defined by the data service provider

 

 

title

required

string

Human readable name of the data service, MUST be limited to a maximum of 100 characters

 

 

description

optional

string in publicServices

Short description of the data service, MUST be limited to a maximum of 1000 characters

 

 

endpointDescription

optional

string in publicServices

URL that provides a description of the service endpoint. Could be for instance a URL to an OpenAPI description, a WSDL document, a a SPARQL Service Description, a DCAT Data Catalog, etc.

 

 

endpointUrl

required

string

URL to the data service

 

 

tokenEndpoint

optional

string

URL where access token for the feature could be retrieved. This is optional because if title is access token, it is not needed to mention it twice, or if the data service does not require an access token.

 

 

status

required

string

Provides information on the status of the service. Must be either active or deprecated

 

 

serviceType

required

string

A framework-defined service is required from a framework perspective (including for instance the /capabilities endpoint), a dataspace-defined service is required from a dataspace perspective and a self-defined service is define by the provider of the service (actual data services are part of this category). Allowed values areframework-defined, dataspace-defined, self-defined

 

 

version

required

object

Versioning information of the provided service.

 

 

 

compliesWithFrameworkVersions

optional

array of strings

Array of framework versions that the service complies with, at a framework level. If not included, the service is assumed to be compliant with the latest version.

 

 

 

compliesWithDataspaceVersions

optional

array of strings in version

Array of dataspace versions that the service complies with, at a dataspace level. If not included, the service is assumed to be compliant with the latest version.

 

 

 

capabilityVersion

required

array of strings

Version of the provided data service. Not related to the version numbering of the framework or dataspace.

 

 

methods

optional

array of strings

Array of HTTP methods supported by the endpoint, for example:GET, POST, UPDATE, DELETE, etc.

 

 

aal*

optional

string

Authentication Assurance Levels defined for the data service. Allowed values are QSeal , adSeal, ClientPassword. (see also Betrouwbaarheidsniveaus)

 

 

conformsTo*

optional

array of strings

MUST contain a (reference to) (one or more) recognised standard to indicate ontologies, semantics, schemes to which the resource in the data service conforms. In order to be machine-readable, this MUST contain an array of URLs, if this is not possible, it MAY contain a human-readable description of the standard.

 

restrictedServices

Optional

Array of objects

MUST contain supported restricted features. The structure and parameters are exactly the same as defined in publicServices above. This object should only be provided to the parties which provided a valid access token. If an access token was not provided or restricted endpoints do not exist, restrictedServices MUST not be returned.

A party may also have private (internal or bilateral) endpoints, which are endpoints for their own internal organization, also known as endpoints that are implemented, but not to share with the others. These endpoints are not within the scope of DSGO and MUST not be returned to other DSGO parties.

See below for an example capabilitiesInfo object.

"capabilitiesInfo": { "publicServices": [ { "identifier": "/capabilities", "title": "Capabilities", "description": "digiGO Capabilities", "endpointDescription": "https://api.digigo.nu/capabilities", "endpointURL": "https://api.digigo.nu/capabilities", "tokenEndpoint": "https://api.digigo.nu/token", "status": "active", "serviceType": "framework-defined", "version": { "compliesWithFrameworkVersions": [ "2.1" ], "compliesWithDataspaceVersions": [ "1.3" ], "capabilityVersion": [ "1.0" ] }, "methods": [ "GET" ], "aal": [ "QSeal", "AdSeal", "ClientPassword" ], "conformsTo": [ "https://afsprakenstelseldsgo.atlassian.net/wiki/spaces/DSGO/pages/316968962/capabilities", "https://example.standard.org/v1/examplestandard" ], } ] }