Skip to content

Refactor 'relation' definition in Relationship.json#57

Merged
jbrown-xentity merged 1 commit intomainfrom
bug/Relationship-relation-fix
Mar 3, 2026
Merged

Refactor 'relation' definition in Relationship.json#57
jbrown-xentity merged 1 commit intomainfrom
bug/Relationship-relation-fix

Conversation

@zopalmer14
Copy link

I agree with James's past work. Updated the 'relation' definition in Relationship.json to remove references to the 'Resource' class, which doesn't exist. It should accept strings that look like an identifier/IRI for another asset/resource.

DOI DCAT-US 3.0 Documentation: Relationship - relation

Previous work: GSA/dcat-us3-tools@49d062b

Related to/addressing: #15

I agree with James's past work. Updated the 'relation' definition in Relationship.json to remove references to the 'Resource' class, which doesn't exist. It should accept strings that look like an identifier/IRI another asset/resource.
Copy link
Collaborator

@jbrown-xentity jbrown-xentity left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The only implementation of this class is in Dataset. So this should be defining another Dataset usually, or possibly another resource, but it shouldn't be inline. The reference should be to another ID, which should be a link or IRI.
Agreed and approve.

Copy link
Collaborator

@neilmb neilmb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed, this looks right to me.

@jbrown-xentity jbrown-xentity added bug Something isn't working approved and removed ready-for-review labels Feb 27, 2026
@jbrown-xentity jbrown-xentity merged commit 9bced90 into main Mar 3, 2026
1 check passed
@zopalmer14 zopalmer14 deleted the bug/Relationship-relation-fix branch March 5, 2026 15:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants