IDS Messages
See what IDS message types can be sent and received.
Message Types
IDS messages and their content are defined here. The table below lists the supported message types. Thereby, it is to be distinguished whether the Dataspace Connector provides functionality for sending messages as request or response, or for processing incoming messages.
IDS Message Type | Outgoing | Incoming | Description |
---|---|---|---|
ArtifactRequestMessage | request | x | message asking for retrieving a specified artifact |
DescriptionRequestMessage | request | x | message requesting metadata (If no URI is supplied via the ids:requestedElement field, this messages is treated like a self-description request.) |
ContractRequestMessage | request | x | message containing a contract offer |
ArtifactResponseMessage | response | x | message that contains the artifact’s data in the payload |
DescriptionResponseMessage | response | x | message containing the metadata of a requested object |
ContractAgreementMessage | request + response | x | message containing a contract agreement |
ContractRejectionMessage | response | x | message indicating rejection of a contract |
RejectionMessage | response | x | message that notifies the issuer that processing the request message has failed |
NotificationMessage | request | x | message is informative and no response is expected |
LogMessage | request | x | message that is used to transfer logs e.g. to the clearing house |
MessageProcessedNotificationMessage | response | x | message that notifies whether a message has been received and successfully processed |
ConnectorUpdateMessage | request | message notifying the recipient(s) about the availability and current configuration of a connector | |
ConnectorUnavailableMessage | request | message indicating that a specific connector is unavailable | |
ResourceUpdateMessage | request | x | message indicating the availability and current description of a specific resource |
ResourceUnavailableMessage | request | message indicating that a specific resource is unavailable | |
QueryMessage | request | message intended to be consumed by specific components |
request
= initially send this kind of IDS message, response
= response with this IDS message
Messaging Sequence
IDS-Multipart Messages
The most common way to exchange IDS-Messages in an IDS data ecosystem between the participants are multipart messages. IDS multipart messages consist of two parts, a header
and a payload
. The header
part contains the actual IDS-Message, such as a ConnectorUpdateMessage
, LogMessage
or a DescriptionRequestMessage
. A payload
may be required for some IDS multipart message types, but it does not always have to be. IDS-Messages exist which do not require a payload
for additional information, such as a ConnectorUnavailableMessage
to an IDS Metadata Broker. The IDS Metadata Broker already knows which connector changes its status by the ids:affectedConnector
in the message header and thus the actual ConnectorUnavailableMessage
. If a QueryMessage
is sent as a counterexample, the query itself must be present in the payload
of the multipart message, which makes the payload mandatory for this specific message-type. Following is a listing of all IDS-Messages as sent by the Dataspace Connector, with an example of each. Fields in the actual IDS-Messages in the header, which are mandatory, are additionally listed separately.
More information about Multipart in the IDS context, can be found here.
Examples
Notification Messages
ConnectorUnavailableMessage
Mandatory fields: @context
@type
@id
ids:affectedConnector
ids:issuerConnector
ids:securityToken
ids:modelVersion
ids:senderAgent
ids:issued
Content-Disposition: form-data; name="header"
Content-Length: 1140
{
"@context" : {
"ids" : "https://w3id.org/idsa/core/",
"idsc" : "https://w3id.org/idsa/code/"
},
"@type" : "ids:ConnectorUnavailableMessage",
"@id" : "https://w3id.org/idsa/autogen/connectorUnavailableMessage/f0a54a08-c055-47a3-af39-c1f6cc5661e9",
"ids:affectedConnector" : {
"@id" : "https://w3id.org/idsa/autogen/baseConnector/7b934432-a85e-41c5-9f65-669219dde4ea"
},
"ids:issuerConnector" : {
"@id" : "https://w3id.org/idsa/autogen/baseConnector/7b934432-a85e-41c5-9f65-669219dde4ea"
},
"ids:securityToken" : {
"@type" : "ids:DynamicAttributeToken",
"@id" : "https://w3id.org/idsa/autogen/dynamicAttributeToken/f0b59452-0620-43f5-87ab-ff9adc6479c7",
"ids:tokenFormat" : {
"@id" : "https://w3id.org/idsa/code/JWT"
},
"ids:tokenValue" : "..."
},
"ids:modelVersion" : "4.2.7",
"ids:senderAgent" : {
"@id" : "https://w3id.org/idsa/autogen/baseConnector/7b934432-a85e-41c5-9f65-669219dde4ea"
},
"ids:issued" : {
"@value" : "2022-07-07T08:27:30.484+02:00",
"@type" : "http://www.w3.org/2001/XMLSchema#dateTimeStamp"
}
}
Content-Disposition: form-data; name="payload"
Content-Length: 0
ConnectorUpdateMessage
Mandatory fields: @context
@type
@id
ids:affectedConnector
ids:issued
ids:issuerConnector
ids:modelVersion
ids:securityToken
ids:senderAgent
Content-Disposition: form-data; name="header"
Content-Length: 1130
{
"@context" : {
"ids" : "https://w3id.org/idsa/core/",
"idsc" : "https://w3id.org/idsa/code/"
},
"@type" : "ids:ConnectorUpdateMessage",
"@id" : "https://w3id.org/idsa/autogen/connectorUpdateMessage/38e8a1e1-937a-42b5-bb5b-984e4fa68c0b",
"ids:affectedConnector" : {
"@id" : "https://w3id.org/idsa/autogen/baseConnector/7b934432-a85e-41c5-9f65-669219dde4ea"
},
"ids:issuerConnector" : {
"@id" : "https://w3id.org/idsa/autogen/baseConnector/7b934432-a85e-41c5-9f65-669219dde4ea"
},
"ids:securityToken" : {
"@type" : "ids:DynamicAttributeToken",
"@id" : "https://w3id.org/idsa/autogen/dynamicAttributeToken/ccc80ff6-54e9-4381-b130-d47bb973c9f7",
"ids:tokenFormat" : {
"@id" : "https://w3id.org/idsa/code/JWT"
},
"ids:tokenValue" : "..."
},
"ids:modelVersion" : "4.2.7",
"ids:senderAgent" : {
"@id" : "https://w3id.org/idsa/autogen/baseConnector/7b934432-a85e-41c5-9f65-669219dde4ea"
},
"ids:issued" : {
"@value" : "2022-07-07T08:25:11.702+02:00",
"@type" : "http://www.w3.org/2001/XMLSchema#dateTimeStamp"
}
}
Content-Disposition: form-data; name="payload"
Content-Length: 1994
{
"@context" : {
"ids" : "https://w3id.org/idsa/core/",
"idsc" : "https://w3id.org/idsa/code/"
},
"@type" : "ids:BaseConnector",
"@id" : "https://w3id.org/idsa/autogen/baseConnector/7b934432-a85e-41c5-9f65-669219dde4ea",
"ids:publicKey" : {
"@type" : "ids:PublicKey",
"@id" : "https://w3id.org/idsa/autogen/publicKey/78eb73a3-3a2a-4626-a0ff-631ab50a00f9",
"ids:keyType" : {
"@id" : "https://w3id.org/idsa/code/RSA"
},
"ids:keyValue" : "..."
},
"ids:version" : "8.0.0",
"ids:description" : [ {
"@value" : "IDS Connector reference implementation",
"@type" : "http://www.w3.org/2001/XMLSchema#string"
} ],
"ids:hasDefaultEndpoint" : {
"@type" : "ids:ConnectorEndpoint",
"@id" : "https://w3id.org/idsa/autogen/connectorEndpoint/e5e2ab04-633a-44b9-87d9-a097ae6da3cf",
"ids:accessURL" : {
"@id" : "https://localhost:8080/api/ids/data"
}
},
"ids:outboundModelVersion" : "4.2.7",
"ids:maintainer" : {
"@id" : "https://sovity.de/"
},
"ids:inboundModelVersion" : [ "4.2.6", "4.2.7", "4.2.0", "4.2.1", "4.1.2", "4.0.0", "4.1.0", "4.2.4", "4.2.5", "4.2.2", "4.2.3" ],
"ids:title" : [ {
"@value" : "Dataspace Connector",
"@type" : "http://www.w3.org/2001/XMLSchema#string"
} ],
"ids:securityProfile" : {
"@id" : "https://w3id.org/idsa/code/BASE_SECURITY_PROFILE"
},
"ids:curator" : {
"@id" : "https://example.org/"
}
}
LogMessage
Mandatory fields: @context
@type
@id
ids:issued
ids:issuerConnector
ids:modelVersion
ids:securityToken
ids:senderAgent
Content-Disposition: form-data; name="header"
Content-Length: 1081
{
"@context" : {
"ids" : "https://w3id.org/idsa/core/",
"idsc" : "https://w3id.org/idsa/code/"
},
"@type" : "ids:LogMessage",
"@id" : "https://w3id.org/idsa/autogen/logMessage/e81faecf-d9a9-405c-979a-5314cb125008",
"ids:modelVersion" : "4.2.7",
"ids:issued" : {
"@value" : "2022-07-07T10:16:51.121Z",
"@type" : "http://www.w3.org/2001/XMLSchema#dateTimeStamp"
},
"ids:issuerConnector" : {
"@id" : "https://w3id.org/idsa/autogen/baseConnector/7b934432-a85e-41c5-9f65-669219dde4ea"
},
"ids:recipientConnector" : [ {
"@id" : "https://ch-ids.aisec.fraunhofer.de/messages/log/eec72aac-ab93-4988-a62e-19b7078a8693"
} ],
"ids:senderAgent" : {
"@id" : "https://w3id.org/idsa/autogen/baseConnector/7b934432-a85e-41c5-9f65-669219dde4ea"
},
"ids:securityToken" : {
"@type" : "ids:DynamicAttributeToken",
"@id" : "https://w3id.org/idsa/autogen/dynamicAttributeToken/64d37082-e2aa-4881-9e12-0ac9c2532e77",
"ids:tokenValue" : "...",
"ids:tokenFormat" : {
"@id" : "https://w3id.org/idsa/code/JWT"
}
}
}
Content-Disposition: form-data; name="payload"; filename="payload"
Content-Type: application/ld+json; charset=utf-8
Content-Length: 1234
<message-to-log>
MessageProcessedNotificationMessage
Mandatory fields: @context
@type
@id
ids:correlationMessage
ids:issued
ids:issuerConnector
ids:modelVersion
ids:securityToken
ids:senderAgent
Content-Disposition: form-data; name="header"
Content-Type: text/plain;charset=UTF-8
Content-Length: 1269
{
"@context" : {
"ids" : "https://w3id.org/idsa/core/",
"idsc" : "https://w3id.org/idsa/code/"
},
"@type" : "ids:MessageProcessedNotificationMessage",
"@id" : "https://w3id.org/idsa/autogen/messageProcessedNotificationMessage/71ff549c-829a-438d-a6e8-18158c36bfdb",
"ids:modelVersion" : "4.2.7",
"ids:issued" : {
"@value" : "2022-07-07T08:45:54.823Z",
"@type" : "http://www.w3.org/2001/XMLSchema#dateTimeStamp"
},
"ids:correlationMessage" : {
"@id" : "https://w3id.org/idsa/autogen/contractAgreementMessage/13ca5af6-b111-4ef4-bc76-d00f5e61e4c9"
},
"ids:issuerConnector" : {
"@id" : "https://w3id.org/idsa/autogen/baseConnector/7b934432-a85e-41c5-9f65-669219dde4ea"
},
"ids:recipientConnector" : [ {
"@id" : "https://w3id.org/idsa/autogen/baseConnector/7b934432-a85e-41c5-9f65-669219dde4ea"
} ],
"ids:senderAgent" : {
"@id" : "https://w3id.org/idsa/autogen/baseConnector/7b934432-a85e-41c5-9f65-669219dde4ea"
},
"ids:securityToken" : {
"@type" : "ids:DynamicAttributeToken",
"@id" : "https://w3id.org/idsa/autogen/dynamicAttributeToken/7affbc35-d7e1-4f50-93ea-957ad9b2bb4e",
"ids:tokenValue" : "...",
"ids:tokenFormat" : {
"@id" : "https://w3id.org/idsa/code/JWT"
}
}
}
Content-Disposition: form-data; name="payload"
Content-Type: text/plain;charset=UTF-8
Content-Length: 36
Received contract agreement message.
ResourceUnavailableMessage
Mandatory fields: @context
@type
@id
ids:affectedResource
ids:issued
ids:issuerConnector
ids:modelVersion
ids:securityToken
ids:senderAgent
Content-Disposition: form-data; name="header"
Content-Length: 1092
{
"@context" : {
"ids" : "https://w3id.org/idsa/core/",
"idsc" : "https://w3id.org/idsa/code/"
},
"@type" : "ids:ResourceUnavailableMessage",
"@id" : "https://w3id.org/idsa/autogen/resourceUnavailableMessage/1ed79ee0-a0ba-4bd1-a7b3-4eddb3f9b92c",
"ids:affectedResource" : {
"@id" : "http://localhost:8080/api/offers/d870252b-c4c9-4b61-8957-b1696995c621"
},
"ids:modelVersion" : "4.2.7",
"ids:issued" : {
"@value" : "2022-07-07T08:36:39.439Z",
"@type" : "http://www.w3.org/2001/XMLSchema#dateTimeStamp"
},
"ids:issuerConnector" : {
"@id" : "https://w3id.org/idsa/autogen/baseConnector/7b934432-a85e-41c5-9f65-669219dde4ea"
},
"ids:senderAgent" : {
"@id" : "https://w3id.org/idsa/autogen/baseConnector/7b934432-a85e-41c5-9f65-669219dde4ea"
},
"ids:securityToken" : {
"@type" : "ids:DynamicAttributeToken",
"@id" : "https://w3id.org/idsa/autogen/dynamicAttributeToken/2e6a8a7b-457a-4375-82c5-b5be669baecd",
"ids:tokenValue" : "...",
"ids:tokenFormat" : {
"@id" : "https://w3id.org/idsa/code/JWT"
}
}
}
Content-Disposition: form-data; name="payload"
Content-Length: 0
ResourceUpdateMessage
Mandatory fields: @context
@type
@id
ids:affectedResource
ids:issued
ids:issuerConnector
ids:modelVersion
ids:securityToken
ids:senderAgent
Content-Disposition: form-data; name="header"
Content-Length: 1082
{
"@context" : {
"ids" : "https://w3id.org/idsa/core/",
"idsc" : "https://w3id.org/idsa/code/"
},
"@type" : "ids:ResourceUpdateMessage",
"@id" : "https://w3id.org/idsa/autogen/resourceUpdateMessage/ee841bcf-a25c-4d1d-882b-ac21a0d45549",
"ids:affectedResource" : {
"@id" : "http://localhost:8080/api/offers/d870252b-c4c9-4b61-8957-b1696995c621"
},
"ids:modelVersion" : "4.2.7",
"ids:issued" : {
"@value" : "2022-07-07T08:33:06.494Z",
"@type" : "http://www.w3.org/2001/XMLSchema#dateTimeStamp"
},
"ids:issuerConnector" : {
"@id" : "https://w3id.org/idsa/autogen/baseConnector/7b934432-a85e-41c5-9f65-669219dde4ea"
},
"ids:senderAgent" : {
"@id" : "https://w3id.org/idsa/autogen/baseConnector/7b934432-a85e-41c5-9f65-669219dde4ea"
},
"ids:securityToken" : {
"@type" : "ids:DynamicAttributeToken",
"@id" : "https://w3id.org/idsa/autogen/dynamicAttributeToken/cb49028f-c90a-4026-9a4d-4e0be384e2d0",
"ids:tokenValue" : "...",
"ids:tokenFormat" : {
"@id" : "https://w3id.org/idsa/code/JWT"
}
}
}
Content-Disposition: form-data; name="payload"
Content-Length: 3782
{
"@context" : {
"ids" : "https://w3id.org/idsa/core/",
"idsc" : "https://w3id.org/idsa/code/"
},
"@type" : "ids:Resource",
"@id" : "http://localhost:8080/api/offers/d870252b-c4c9-4b61-8957-b1696995c621",
"ids:version" : "1",
"ids:language" : [ {
"@id" : "https://w3id.org/idsa/code/DE"
} ],
"ids:keyword" : [ {
"@value" : "abc",
"@language" : "DE"
} ],
"ids:title" : [ {
"@value" : "TestTitel",
"@language" : "DE"
} ],
"ids:description" : [ {
"@value" : "abc",
"@language" : "DE"
} ],
"ids:representation" : [ {
"@type" : "ids:Representation",
"@id" : "http://localhost:8080/api/representations/ca9a4ff5-4f6f-4d05-b1a2-6a29cb256596",
"ids:mediaType" : {
"@type" : "ids:IANAMediaType",
"@id" : "https://w3id.org/idsa/autogen/iANAMediaType/308bdf03-1f1d-4853-aa7b-6a6cb9be0482",
"ids:filenameExtension" : "xml"
},
"ids:language" : {
"@id" : "https://w3id.org/idsa/code/DE"
},
"ids:instance" : [ {
"@type" : "ids:Artifact",
"@id" : "http://localhost:8080/api/artifacts/21bc7ed1-5579-4ab7-b591-534435e3b2a1",
"ids:fileName" : "dsc-checkstyle.xml",
"ids:creationDate" : {
"@value" : "2022-07-07T08:10:18.250Z",
"@type" : "http://www.w3.org/2001/XMLSchema#dateTimeStamp"
},
"ids:byteSize" : 7720,
"ids:checkSum" : "795006632"
} ],
"ids:created" : {
"@value" : "2022-07-07T08:10:18.096Z",
"@type" : "http://www.w3.org/2001/XMLSchema#dateTimeStamp"
},
"ids:modified" : {
"@value" : "2022-07-07T08:10:18.096Z",
"@type" : "http://www.w3.org/2001/XMLSchema#dateTimeStamp"
},
"ids:representationStandard" : {
"@id" : ""
}
} ],
"ids:paymentModality" : {
"@id" : "https://w3id.org/idsa/code/FREE"
},
"ids:publisher" : {
"@id" : "http://example.org"
},
"ids:sovereign" : {
"@id" : ""
},
"ids:standardLicense" : {
"@id" : "http://example.org"
},
"ids:resourceEndpoint" : [ {
"@type" : "ids:ConnectorEndpoint",
"@id" : "https://w3id.org/idsa/autogen/connectorEndpoint/e9a65216-5973-4365-bf4a-030e204249a7",
"ids:endpointDocumentation" : [ {
"@id" : ""
} ],
"ids:accessURL" : {
"@id" : "http://localhost:8080/api/offers/d870252b-c4c9-4b61-8957-b1696995c621"
}
} ],
"ids:contractOffer" : [ {
"@type" : "ids:ContractOffer",
"@id" : "http://localhost:8080/api/contracts/be023918-a3f4-4e36-bc7c-9158edd1bf46",
"ids:provider" : {
"@id" : ""
},
"ids:permission" : [ {
"@type" : "ids:Permission",
"@id" : "http://localhost:8080/api/rules/3c31dfd7-f498-423f-8787-1ac9f4b86c45",
"ids:title" : [ {
"@value" : "",
"@type" : "http://www.w3.org/2001/XMLSchema#string"
} ],
"ids:description" : [ {
"@value" : "",
"@type" : "http://www.w3.org/2001/XMLSchema#string"
} ],
"ids:action" : [ {
"@id" : "https://w3id.org/idsa/code/USE"
} ]
} ],
"ids:contractEnd" : {
"@value" : "2022-07-31T00:00:00.000Z",
"@type" : "http://www.w3.org/2001/XMLSchema#dateTimeStamp"
},
"ids:consumer" : {
"@id" : ""
},
"ids:contractStart" : {
"@value" : "2022-07-01T00:00:00.000Z",
"@type" : "http://www.w3.org/2001/XMLSchema#dateTimeStamp"
},
"ids:contractDate" : {
"@value" : "2022-07-07T08:33:06.480Z",
"@type" : "http://www.w3.org/2001/XMLSchema#dateTimeStamp"
}
} ],
"ids:created" : {
"@value" : "2022-07-07T08:10:17.553Z",
"@type" : "http://www.w3.org/2001/XMLSchema#dateTimeStamp"
},
"ids:modified" : {
"@value" : "2022-07-07T08:10:17.553Z",
"@type" : "http://www.w3.org/2001/XMLSchema#dateTimeStamp"
}
}
Request Message
ArtifactRequestMessage
Mandatory fields: @context
@type
@id
ids:issued
ids:issuerConnector
ids:modelVersion
ids:requestedArtifact
ids:securityToken
ids:senderAgent
Content-Disposition: form-data; name="header"
Content-Length: 1299
{
"@context" : {
"ids" : "https://w3id.org/idsa/core/",
"idsc" : "https://w3id.org/idsa/code/"
},
"@type" : "ids:ArtifactRequestMessage",
"@id" : "https://w3id.org/idsa/autogen/artifactRequestMessage/d8515ef5-99e8-43de-9304-90e289b2ed3f",
"ids:requestedArtifact" : {
"@id" : "http://localhost:8080/api/artifacts/21bc7ed1-5579-4ab7-b591-534435e3b2a1"
},
"ids:modelVersion" : "4.2.7",
"ids:issued" : {
"@value" : "2022-07-07T08:46:08.860Z",
"@type" : "http://www.w3.org/2001/XMLSchema#dateTimeStamp"
},
"ids:issuerConnector" : {
"@id" : "https://w3id.org/idsa/autogen/baseConnector/7b934432-a85e-41c5-9f65-669219dde4ea"
},
"ids:recipientConnector" : [ {
"@id" : "http://localhost:8080/api/ids/data"
} ],
"ids:senderAgent" : {
"@id" : "https://w3id.org/idsa/autogen/baseConnector/7b934432-a85e-41c5-9f65-669219dde4ea"
},
"ids:securityToken" : {
"@type" : "ids:DynamicAttributeToken",
"@id" : "https://w3id.org/idsa/autogen/dynamicAttributeToken/3c5aa9ad-34f3-4e1c-8aac-2e2bc59768da",
"ids:tokenValue" : "...",
"ids:tokenFormat" : {
"@id" : "https://w3id.org/idsa/code/JWT"
}
},
"ids:transferContract" : {
"@id" : "http://localhost:8080/api/agreements/7c2b7a6f-1baf-44b2-bbf8-96bc772f4feb"
}
}
Content-Disposition: form-data; name="payload"
Content-Length: 557
{"headers":{"user-agent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Firefox/102.0","accept":"text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8","accept-language":"de,en-US;q=0.7,en;q=0.3","accept-encoding":"gzip, deflate, br","connection":"keep-alive","cookie":"...","upgrade-insecure-requests":"1","sec-fetch-dest":"document","sec-fetch-mode":"navigate","sec-fetch-site":"none","sec-fetch-user":"?1"},"params":{},"pathVariables":{},"optional":null}
ContractRequestMessage
Mandatory fields: @context
@type
@id
ids:issued
ids:issuerConnector
ids:modelVersion
ids:securityToken
ids:senderAgent
Content-Disposition: form-data; name="header"
Content-Length: 1186
{
"@context" : {
"ids" : "https://w3id.org/idsa/core/",
"idsc" : "https://w3id.org/idsa/code/"
},
"@type" : "ids:ContractRequestMessage",
"@id" : "https://w3id.org/idsa/autogen/contractRequestMessage/0bc75b68-f8b3-4234-b852-3b289c03175f",
"ids:modelVersion" : "4.2.7",
"ids:issued" : {
"@value" : "2022-07-07T08:45:54.640Z",
"@type" : "http://www.w3.org/2001/XMLSchema#dateTimeStamp"
},
"ids:issuerConnector" : {
"@id" : "https://w3id.org/idsa/autogen/baseConnector/7b934432-a85e-41c5-9f65-669219dde4ea"
},
"ids:recipientConnector" : [ {
"@id" : "http://localhost:8080/api/ids/data"
} ],
"ids:senderAgent" : {
"@id" : "https://w3id.org/idsa/autogen/baseConnector/7b934432-a85e-41c5-9f65-669219dde4ea"
},
"ids:securityToken" : {
"@type" : "ids:DynamicAttributeToken",
"@id" : "https://w3id.org/idsa/autogen/dynamicAttributeToken/174343dc-b37a-43b4-acf7-1fc6204352dc",
"ids:tokenValue" : "...",
"ids:tokenFormat" : {
"@id" : "https://w3id.org/idsa/code/JWT"
}
},
"ids:transferContract" : {
"@id" : "https://w3id.org/idsa/autogen/contractRequest/7033417a-e979-4d31-a3a2-cf7e891f2425"
}
}
Content-Disposition: form-data; name="payload"
Content-Length: 1093
{
"@context" : {
"ids" : "https://w3id.org/idsa/core/",
"idsc" : "https://w3id.org/idsa/code/"
},
"@type" : "ids:ContractRequest",
"@id" : "https://w3id.org/idsa/autogen/contractRequest/7033417a-e979-4d31-a3a2-cf7e891f2425",
"ids:permission" : [ {
"@type" : "ids:Permission",
"@id" : "http://localhost:8080/api/rules/3c31dfd7-f498-423f-8787-1ac9f4b86c45",
"ids:target" : {
"@id" : "http://localhost:8080/api/artifacts/21bc7ed1-5579-4ab7-b591-534435e3b2a1"
},
"ids:title" : [ {
"@value" : "",
"@type" : "http://www.w3.org/2001/XMLSchema#string"
} ],
"ids:description" : [ {
"@value" : "",
"@type" : "http://www.w3.org/2001/XMLSchema#string"
} ],
"ids:assignee" : [ {
"@id" : "https://w3id.org/idsa/autogen/baseConnector/7b934432-a85e-41c5-9f65-669219dde4ea"
} ],
"ids:action" : [ {
"@id" : "https://w3id.org/idsa/code/USE"
} ],
"type" : "PROVIDE_ACCESS"
} ],
"ids:consumer" : {
"@id" : "https://w3id.org/idsa/autogen/baseConnector/7b934432-a85e-41c5-9f65-669219dde4ea"
}
}
DescriptionRequestMessage
Mandatory fields: @context
@type
@id
ids:issued
ids:issuerConnector
ids:modelVersion
ids:securityToken
ids:senderAgent
Content-Disposition: form-data; name="header"
Content-Length: 1119
{
"@context" : {
"ids" : "https://w3id.org/idsa/core/",
"idsc" : "https://w3id.org/idsa/code/"
},
"@type" : "ids:DescriptionRequestMessage",
"@id" : "https://w3id.org/idsa/autogen/descriptionRequestMessage/5a359082-000c-4904-8759-ef62b40c6731",
"ids:issuerConnector" : {
"@id" : "https://w3id.org/idsa/autogen/baseConnector/7b934432-a85e-41c5-9f65-669219dde4ea"
},
"ids:securityToken" : {
"@type" : "ids:DynamicAttributeToken",
"@id" : "https://w3id.org/idsa/autogen/dynamicAttributeToken/7816c63b-ab7a-4d70-b406-bed042e3c847",
"ids:tokenFormat" : {
"@id" : "https://w3id.org/idsa/code/JWT"
},
"ids:tokenValue" : "..."
},
"ids:modelVersion" : "4.2.7",
"ids:senderAgent" : {
"@id" : "https://w3id.org/idsa/autogen/baseConnector/7b934432-a85e-41c5-9f65-669219dde4ea"
},
"ids:issued" : {
"@value" : "2022-07-07T08:17:26.674+02:00",
"@type" : "http://www.w3.org/2001/XMLSchema#dateTimeStamp"
},
"ids:recipientConnector" : [ {
"@id" : "https://localhost:8080/api/ids/data"
} ],
"ids:depth" : "10"
}
Content-Disposition: form-data; name="payload"
Content-Length: 0
QueryMessage
Mandatory fields: @context
@type
@id
ids:issued
ids:issuerConnector
ids:modelVersion
ids:securityToken
ids:senderAgent
Content-Disposition: form-data; name="header"
Content-Length: 1218
{
"@context" : {
"ids" : "https://w3id.org/idsa/core/",
"idsc" : "https://w3id.org/idsa/code/"
},
"@type" : "ids:QueryMessage",
"@id" : "https://w3id.org/idsa/autogen/queryMessage/7a0b16cc-2d04-4fe8-8ebe-fd82af01f309",
"ids:queryLanguage" : {
"@id" : "https://w3id.org/idsa/code/SPARQL"
},
"ids:queryScope" : {
"@id" : "https://w3id.org/idsa/code/ALL"
},
"ids:recipientScope" : {
"@id" : "https://w3id.org/idsa/code/BROKER"
},
"ids:issuerConnector" : {
"@id" : "https://w3id.org/idsa/autogen/baseConnector/7b934432-a85e-41c5-9f65-669219dde4ea"
},
"ids:securityToken" : {
"@type" : "ids:DynamicAttributeToken",
"@id" : "https://w3id.org/idsa/autogen/dynamicAttributeToken/02300961-9901-42f0-891b-48a622706b1b",
"ids:tokenFormat" : {
"@id" : "https://w3id.org/idsa/code/JWT"
},
"ids:tokenValue" : "..."
},
"ids:modelVersion" : "4.2.7",
"ids:senderAgent" : {
"@id" : "https://w3id.org/idsa/autogen/baseConnector/7b934432-a85e-41c5-9f65-669219dde4ea"
},
"ids:issued" : {
"@value" : "2022-07-07T08:33:10.708+02:00",
"@type" : "http://www.w3.org/2001/XMLSchema#dateTimeStamp"
}
}
Content-Disposition: form-data; name="payload"
Content-Length: 109
"SELECT ?subject ?predicate ?object\nFROM <urn:x-arq:UnionGraph>\nWHERE {\n ?subject ?predicate ?object\n};"
Response Message
ArtifactResponseMessage
Mandatory fields: @context
@type
@id
ids:correlationMessage
ids:issued
ids:issuerConnector
ids:modelVersion
ids:securityToken
ids:senderAgent
Content-Disposition: form-data; name="header"
Content-Type: text/plain;charset=UTF-8
Content-Length: 1365
{
"@context" : {
"ids" : "https://w3id.org/idsa/core/",
"idsc" : "https://w3id.org/idsa/code/"
},
"@type" : "ids:ArtifactResponseMessage",
"@id" : "https://w3id.org/idsa/autogen/artifactResponseMessage/035077a5-f9d7-4bfc-819f-269754f29f19",
"ids:modelVersion" : "4.2.7",
"ids:issued" : {
"@value" : "2022-07-07T08:46:08.902Z",
"@type" : "http://www.w3.org/2001/XMLSchema#dateTimeStamp"
},
"ids:correlationMessage" : {
"@id" : "https://w3id.org/idsa/autogen/artifactRequestMessage/d8515ef5-99e8-43de-9304-90e289b2ed3f"
},
"ids:issuerConnector" : {
"@id" : "https://w3id.org/idsa/autogen/baseConnector/7b934432-a85e-41c5-9f65-669219dde4ea"
},
"ids:recipientConnector" : [ {
"@id" : "https://w3id.org/idsa/autogen/baseConnector/7b934432-a85e-41c5-9f65-669219dde4ea"
} ],
"ids:senderAgent" : {
"@id" : "https://w3id.org/idsa/autogen/baseConnector/7b934432-a85e-41c5-9f65-669219dde4ea"
},
"ids:securityToken" : {
"@type" : "ids:DynamicAttributeToken",
"@id" : "https://w3id.org/idsa/autogen/dynamicAttributeToken/674762e1-e8bd-4c61-bd65-c467b8b2927d",
"ids:tokenValue" : "...",
"ids:tokenFormat" : {
"@id" : "https://w3id.org/idsa/code/JWT"
}
},
"ids:transferContract" : {
"@id" : "http://localhost:8080/api/agreements/7c2b7a6f-1baf-44b2-bbf8-96bc772f4feb"
}
}
Content-Disposition: form-data; name="payload"
Content-Type: text/plain;charset=UTF-8
Content-Length: 1234
<Base64-encoded artifact-data to be transferred>
ContractAgreementMessage
Mandatory fields: @context
@type
@id
ids:correlationMessage
ids:issued
ids:issuerConnector
ids:modelVersion
ids:securityToken
ids:senderAgent
Content-Disposition: form-data; name="header"
Content-Length: 1183
{
"@context" : {
"ids" : "https://w3id.org/idsa/core/",
"idsc" : "https://w3id.org/idsa/code/"
},
"@type" : "ids:ContractAgreementMessage",
"@id" : "https://w3id.org/idsa/autogen/contractAgreementMessage/13ca5af6-b111-4ef4-bc76-d00f5e61e4c9",
"ids:modelVersion" : "4.2.7",
"ids:issued" : {
"@value" : "2022-07-07T08:45:54.774Z",
"@type" : "http://www.w3.org/2001/XMLSchema#dateTimeStamp"
},
"ids:correlationMessage" : {
"@id" : "http://localhost:8080/api/agreements/7c2b7a6f-1baf-44b2-bbf8-96bc772f4feb"
},
"ids:issuerConnector" : {
"@id" : "https://w3id.org/idsa/autogen/baseConnector/7b934432-a85e-41c5-9f65-669219dde4ea"
},
"ids:recipientConnector" : [ {
"@id" : "http://localhost:8080/api/ids/data"
} ],
"ids:senderAgent" : {
"@id" : "https://w3id.org/idsa/autogen/baseConnector/7b934432-a85e-41c5-9f65-669219dde4ea"
},
"ids:securityToken" : {
"@type" : "ids:DynamicAttributeToken",
"@id" : "https://w3id.org/idsa/autogen/dynamicAttributeToken/ae6dc27a-cc67-45c2-8e5a-258b96dd6e02",
"ids:tokenValue" : "...",
"ids:tokenFormat" : {
"@id" : "https://w3id.org/idsa/code/JWT"
}
}
}
Content-Disposition: form-data; name="payload"
Content-Length: 1715
{
"@context" : {
"ids" : "https://w3id.org/idsa/core/",
"idsc" : "https://w3id.org/idsa/code/"
},
"@type" : "ids:ContractAgreement",
"@id" : "http://localhost:8080/api/agreements/7c2b7a6f-1baf-44b2-bbf8-96bc772f4feb",
"ids:provider" : {
"@id" : "https://w3id.org/idsa/autogen/baseConnector/7b934432-a85e-41c5-9f65-669219dde4ea"
},
"ids:permission" : [ {
"@type" : "ids:Permission",
"@id" : "http://localhost:8080/api/rules/3c31dfd7-f498-423f-8787-1ac9f4b86c45",
"ids:target" : {
"@id" : "http://localhost:8080/api/artifacts/21bc7ed1-5579-4ab7-b591-534435e3b2a1"
},
"ids:title" : [ {
"@value" : "",
"@type" : "http://www.w3.org/2001/XMLSchema#string"
} ],
"ids:description" : [ {
"@value" : "",
"@type" : "http://www.w3.org/2001/XMLSchema#string"
} ],
"ids:assignee" : [ {
"@id" : "https://w3id.org/idsa/autogen/baseConnector/7b934432-a85e-41c5-9f65-669219dde4ea"
} ],
"ids:assigner" : [ {
"@id" : "https://w3id.org/idsa/autogen/baseConnector/7b934432-a85e-41c5-9f65-669219dde4ea"
} ],
"ids:action" : [ {
"@id" : "https://w3id.org/idsa/code/USE"
} ]
} ],
"ids:contractEnd" : {
"@value" : "2022-07-31T00:00:00.000Z",
"@type" : "http://www.w3.org/2001/XMLSchema#dateTimeStamp"
},
"ids:consumer" : {
"@id" : "https://w3id.org/idsa/autogen/baseConnector/7b934432-a85e-41c5-9f65-669219dde4ea"
},
"ids:contractStart" : {
"@value" : "2022-07-07T08:45:54.695Z",
"@type" : "http://www.w3.org/2001/XMLSchema#dateTimeStamp"
},
"ids:contractDate" : {
"@value" : "2022-07-07T08:45:54.694Z",
"@type" : "http://www.w3.org/2001/XMLSchema#dateTimeStamp"
}
}
DescriptionResponseMessage
Mandatory fields: @context
@type
@id
ids:issued
ids:issuerConnector
ids:modelVersion
ids:securityToken
ids:senderAgent
Content-Disposition: form-data; name="header"
Content-Type: text/plain;charset=UTF-8
Content-Length: 1252
{
"@context" : {
"ids" : "https://w3id.org/idsa/core/",
"idsc" : "https://w3id.org/idsa/code/"
},
"@type" : "ids:DescriptionResponseMessage",
"@id" : "https://w3id.org/idsa/autogen/descriptionResponseMessage/3d946ef3-6642-4119-9c28-04e4326834ee",
"ids:modelVersion" : "4.2.7",
"ids:issued" : {
"@value" : "2022-07-07T08:38:56.901Z",
"@type" : "http://www.w3.org/2001/XMLSchema#dateTimeStamp"
},
"ids:correlationMessage" : {
"@id" : "https://w3id.org/idsa/autogen/descriptionRequestMessage/a7afb583-fbf5-4e41-9b77-bb9fc81e8359"
},
"ids:issuerConnector" : {
"@id" : "https://w3id.org/idsa/autogen/baseConnector/7b934432-a85e-41c5-9f65-669219dde4ea"
},
"ids:recipientConnector" : [ {
"@id" : "https://w3id.org/idsa/autogen/baseConnector/7b934432-a85e-41c5-9f65-669219dde4ea"
} ],
"ids:senderAgent" : {
"@id" : "https://w3id.org/idsa/autogen/baseConnector/7b934432-a85e-41c5-9f65-669219dde4ea"
},
"ids:securityToken" : {
"@type" : "ids:DynamicAttributeToken",
"@id" : "https://w3id.org/idsa/autogen/dynamicAttributeToken/f56d76a0-85d8-41ce-91c0-48cd4bb28671",
"ids:tokenValue" : "...",
"ids:tokenFormat" : {
"@id" : "https://w3id.org/idsa/code/JWT"
}
}
}
Content-Disposition: form-data; name="payload"
Content-Type: text/plain;charset=UTF-8
Content-Length: 2112
{
"@context" : {
"ids" : "https://w3id.org/idsa/core/",
"idsc" : "https://w3id.org/idsa/code/"
},
"@type" : "ids:BaseConnector",
"@id" : "https://w3id.org/idsa/autogen/baseConnector/7b934432-a85e-41c5-9f65-669219dde4ea",
"ids:version" : "8.0.0",
"ids:publicKey" : {
"@type" : "ids:PublicKey",
"@id" : "https://w3id.org/idsa/autogen/publicKey/21a9a8da-47ab-4666-87c9-e29d8cd7cf68",
"ids:keyType" : {
"@id" : "https://w3id.org/idsa/code/RSA"
},
"ids:keyValue" : "TUlJQklqQU5CZ2txaGtpRzl3MEJBUUVGQUFPQ0FROEFNSUlCQ2dLQ0FRRUF1dzZtRnJkZmxYWlRKZ0ZPQTVzbURYQzA5U21wSldvR3B5RVJaTkV5MzFwS2RzUkdoVGlwUjI3ajlpcm1tcWlodjdnSWd6Q254NmtJUk5HSTJ1MG9GUTVGZ3ZPMXh4Z3pjaWhkcEYwQ2hlT2Y5SU5naXNQa3E1aGo4QWUvRFlYa3ZqaFE2YzZhay9aWWZqME5wcXlFUGNKNU1MUm1ZR2V4TWFNWm1UYnFESnZKbDVKRzMrYkUzWWEyMWhUWllPeGlTaWNwZkZnSjMwa241YVVJQXRkMDVJWnk3ejFzRGlWTHRUWGxMZmUvWlFDNHBuakZ0cyt0YzEyc1g5aWhJbW5Da2QwV3Z6M0NUWm95QlNzYzFUZEJrYjltMEM1dHZnMGZRUDRRZ0YvekgyUW9abm5ySTUydUFaOE1vbVd0WTJsdDNEMGtrcFI2OXBmVkRKN3kzdk4vZXdJREFRQUI="
},
"ids:title" : [ {
"@value" : "Dataspace Connector",
"@type" : "http://www.w3.org/2001/XMLSchema#string"
} ],
"ids:description" : [ {
"@value" : "IDS Connector reference implementation",
"@type" : "http://www.w3.org/2001/XMLSchema#string"
} ],
"ids:hasDefaultEndpoint" : {
"@type" : "ids:ConnectorEndpoint",
"@id" : "https://w3id.org/idsa/autogen/connectorEndpoint/4d34d882-0986-4135-b1b6-239a3a74253f",
"ids:accessURL" : {
"@id" : "https://localhost:8080/api/ids/data"
}
},
"ids:resourceCatalog" : [ {
"@type" : "ids:ResourceCatalog",
"@id" : "http://localhost:8080/api/catalogs/44789a95-796c-4cde-a651-8a0fed0b2b63"
} ],
"ids:securityProfile" : {
"@id" : "https://w3id.org/idsa/code/BASE_SECURITY_PROFILE"
},
"ids:maintainer" : {
"@id" : "https://sovity.de/"
},
"ids:curator" : {
"@id" : "https://example.org/"
},
"ids:inboundModelVersion" : [ "4.2.6", "4.2.7", "4.2.0", "4.2.1", "4.1.2", "4.0.0", "4.1.0", "4.2.4", "4.2.5", "4.2.2", "4.2.3" ],
"ids:outboundModelVersion" : "4.2.7"
}
RejectionMessage
Mandatory fields: @context
@type
@id
ids:correlationMessage
ids:issued
ids:issuerConnector
ids:modelVersion
ids:securityToken
ids:senderAgent
ontent-Disposition: form-data; name="header"
Content-Type: text/plain;charset=UTF-8
Content-Length: 1218
{
"@context" : {
"ids" : "https://w3id.org/idsa/core/",
"idsc" : "https://w3id.org/idsa/code/"
},
"@type" : "ids:RejectionMessage",
"@id" : "https://w3id.org/idsa/autogen/rejectionMessage/75d823a2-aff7-451a-8cc3-85f645faecf4",
"ids:rejectionReason" : {
"@id" : "https://w3id.org/idsa/code/MESSAGE_TYPE_NOT_SUPPORTED"
},
"ids:issuerConnector" : {
"@id" : "https://w3id.org/idsa/autogen/baseConnector/7b934432-a85e-41c5-9f65-669219dde4ea"
},
"ids:securityToken" : {
"@type" : "ids:DynamicAttributeToken",
"@id" : "https://w3id.org/idsa/autogen/dynamicAttributeToken/37e0f550-e235-4a4f-870e-c28925054f3c",
"ids:tokenFormat" : {
"@id" : "https://w3id.org/idsa/code/JWT"
},
"ids:tokenValue" : "..."
},
"ids:modelVersion" : "4.2.7",
"ids:senderAgent" : {
"@id" : "https://w3id.org/idsa/autogen/baseConnector/7b934432-a85e-41c5-9f65-669219dde4ea"
},
"ids:issued" : {
"@value" : "2022-07-07T09:11:20.151+02:00",
"@type" : "http://www.w3.org/2001/XMLSchema#dateTimeStamp"
},
"ids:correlationMessage" : {
"@id" : "https://w3id.org/idsa/autogen/queryMessage/97c17e76-14b1-4dbb-a544-0fb0cedf82aa"
}
}
Content-Disposition: form-data; name="payload"
Content-Type: text/plain;charset=UTF-8
Content-Length: 47
No handler for provided message type was found!
Custom Messages
SubscriptionMessage (custom RequestMessage)
Mandatory fields: @context
@type
@id
ids:issued
ids:issuerConnector
ids:modelVersion
ids:securityToken
ids:senderAgent
Content-Disposition: form-data; name="header"
Content-Length: 1147
{
"@context" : {
"ids" : "https://w3id.org/idsa/core/",
"idsc" : "https://w3id.org/idsa/code/"
},
"@type" : "ids:RequestMessage",
"@id" : "https://w3id.org/idsa/autogen/requestMessage/36f79dcc-1d3e-45e4-9ddb-c3096b431573",
"ids:modelVersion" : "4.2.7",
"ids:issued" : {
"@value" : "2022-07-07T09:50:06.995Z",
"@type" : "http://www.w3.org/2001/XMLSchema#dateTimeStamp"
},
"ids:issuerConnector" : {
"@id" : "https://w3id.org/idsa/autogen/baseConnector/7b934432-a85e-41c5-9f65-669219dde4ea"
},
"ids:recipientConnector" : [ {
"@id" : "http://localhost:8080/api/ids/data"
} ],
"ids:senderAgent" : {
"@id" : "https://w3id.org/idsa/autogen/baseConnector/7b934432-a85e-41c5-9f65-669219dde4ea"
},
"ids:securityToken" : {
"@type" : "ids:DynamicAttributeToken",
"@id" : "https://w3id.org/idsa/autogen/dynamicAttributeToken/0b96575d-a63f-4805-940b-e2b3fb3bb748",
"ids:tokenValue" : "...",
"ids:tokenFormat" : {
"@id" : "https://w3id.org/idsa/code/JWT"
}
},
"ids:target" : {
"@id" : "http://localhost:8080/api/offers/d870252b-c4c9-4b61-8957-b1696995c621"
}
}
Content-Disposition: form-data; name="payload"
Content-Length: 251
{"title":"My Title","description":"My description","target":"http://localhost:8080/api/offers/d870252b-c4c9-4b61-8957-b1696995c621","location":"https://localhost:8080/api/ids/data","subscriber":"https://localhost:8080/api/ids/data","pushData":false,"idsProtocol":false}