-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inconsistences between schema and example files #252
Comments
Adding another one:
should be "odrl:target" |
Is this diagram still valid? |
Already reported (but not yet fixed) in #232 |
https://docs.internationaldataspaces.org/ids-knowledgebase/v/dataspace-protocol/contract-negotiation/contract.negotiation.protocol#id-2.1-contract-request-message |
The Consumer must include an offer property, which itself must have a @id property Where is offer.@id? -- https://github.com/International-Data-Spaces-Association/ids-specification/blob/2024-1/catalog/message/example/catalog.json "odrl:hasPolicy": [ |
The example for the catalog contains a
But ODRL only has a odrl:eq , which is correctly stated in the JSON Schema.
Additionally, the
But the JSON Schema says it must be a JSON Array. |
https://github.com/International-Data-Spaces-Association/ids-specification/blob/main/negotiation/message/schema/contract-schema.json#L156 |
@schoenenberg @IgorBalog-Eng please check whether #264 has solved your findings. |
While implementing new catalog classes following schema and provided example files I have discovered that there are some differences between schema and examples. Here are those differences:
https://github.com/International-Data-Spaces-Association/ids-specification/blob/main/catalog/message/schema/dataset-schema.json
Dataset
in example not as array ( "odrl:hasPolicy" : [ {):
"Distribution": {
dct:format not defined in schema
example:
https://github.com/International-Data-Spaces-Association/ids-specification/blob/main/catalog/message/example/dataset.json
example catalog:
Catalog->dcat:dataset->dcat:distribution->"dct:format": "dspace:s3+push",
vs
example dataset
"dct:format": {
"@id": "dspace:s3+push"
}
Missing:
dataset->dcat:distribution->dcat:accessService->"@type": "dcat:DataService",
example catalog
dcat:dataset->odrl:hasPolicy
"dspace:providerId": "http://example.com/Provider",
missing @id of the policy/offer
vs defined Offer object in negotiation schema
https://github.com/International-Data-Spaces-Association/ids-specification/blob/main/negotiation/message/schema/contract-schema.json
Hope I managed to collect all differences for catalog and referenced objects from negotiation module.
It could be also that I did not read schema files correct and this ticket is not applicable.
The text was updated successfully, but these errors were encountered: