Skip to main content

Generalized Policy Management profile for the Dataspace Protocol

1 Introduction

This section is not normative.

This document provides a mapping profile for Generalized Policy Management (GPM), targeting the Eclipse Foundation's Dataspace Protocol (DSP), developed by the International Data Spaces Association (IDSA) and maintained by the Eclipse Dataspace Working Group (EDWG). In particular, it maps parameters of the following specifications on the GPM model.

  • Eclipse Dataspace Protocol v1.0.2/2025-1-err2 (10 Sep 2026)

The DSP model is not bound to a single serialization. The mappings provided in this GPM profile refer to its RDF representation in JSON-LD.

2 Mapping DSP to GPM

The DSP includes a Contract Negotiation Protocol, which sets out a framework for two parties to reach an agreement on a policy that defines the terms for the one (the consumer) to use a dataset of the other (the provider). It specifies the format of request and offer messages, amongst others.

The following subsection maps a DSP request or offer message onto a GPM request.

2.1 DSP Request/Offer Message

A DSP request or offer message MUST be mapped to a GPM Request, which contains the mapping of the message offer.

The following properties can occur in an DSP request or offer message.

2.1.1 @context

The @context property is defined as required in DSP. Its value is an array of IRIs, which contains at least the IRI https://w3id.org/dspace/2025/1/context.jsonld.

Mapping:

The JSON-LD contexts listed in the @context array of a DSP message SHOULD be used to interpret the terms it contains, but are not mapped themselves.

2.1.2 providerPid

The providerPid property is defined as required for offer messages, but as optional for request messages in DSP. Its value is a string that uniquely identifies the provider within the dataspace.

Mapping:

If a DSP message contains the providerPid property, each GPM rule in its mapping MUST have a provider with the value of this property as identifier, prefixed with urn:example:gpm:fallback: if the value is not a valid IRI.

2.1.3 consumerPid

The consumerPid property is defined as required for request messages, but as optional for offer messages in DSP. Its value is a string that uniquely identifies the consumer within the dataspace.

Mapping:

If a DSP message contains the consumerPid property, each GPM rule in its mapping MUST have a consumer with the value of this property as identifier, prefixed with urn:example:gpm:fallback: if the value is not a valid IRI.

2.1.4 offer

The offer property is defined as required by DSP. Its value is a message offer (regardless of the type of message)

2.1.5 @type

The @type property is defined as required by DSP. Its value is string Offer.

Mapping:

This property is ignored.

2.1.6 @id

The @id property is defined as required by DSP. Its value is an IRI identifying the message offer.

Mapping:

The mapping of a message offer MUST have the value of the @id property as identifier.

2.1.7 target

The target property is defined as required in DSP. Its value is a string that uniquely identifies the dataset to which the message offer pertains.

Mapping:

The mapping of each rule (obligation, permission, or prohibition) in the message offer MUST have as target of its operation the value of the target property, prefixed with urn:example:gpm:fallback: if the value is not a valid IRI.

2.1.8 permission, obligation, prohibition

The properties permission, obligation, and prohibition are defined as optional by DSP. Their values are arrays of DSP rules.

Mapping:

For each rule in an DSP message offer, its mapping MUST contain a GPM rule, the class of which is the class IRI corresponding to the property that links the message offer to the rule: dsp:Permission for permission, dsp:Duty for obligation, and dsp:Prohibition for prohibition.

A rule's properties are then mapped as follows.

2.1.8.1 action

The action property is defined as required by DSP. Its value is a string identifying the action to which the rule pertains.

Mapping:

The mapping of a DSP rule MUST have an action, the class of which is the value of rule's action property, prefixed with urn:example:gpm:fallback: if the value is not a valid IRI.

2.1.8.2 constraint

...