Skip to content

refactor 'expectedDataType' definition in Metric.json#64

Merged
jbrown-xentity merged 1 commit intomainfrom
bug/Metric-expectedDataType-fix
Mar 10, 2026
Merged

refactor 'expectedDataType' definition in Metric.json#64
jbrown-xentity merged 1 commit intomainfrom
bug/Metric-expectedDataType-fix

Conversation

@zopalmer14
Copy link

I agree with James's assessment. Updated the expectedDataType definition to remove references to anySimpleType as it doesn't exist. The property description and examples in the documentation suggest a simple string should be sufficient.

DOI DCAT-US 3.0 Documentation: Metric - expectedDataType

'xsd:anySimpleType' Documentation: XML built-in datatypes, XML anySimpleType

Previous work: GSA/dcat-us3-tools@2a00049#diff-53ebd1692a2d4cfa5e4a21fd688a1e6846b4a546e02c47991bc42af76839d0d8

Should resolve: #21

Updated the 'expectedDataType' definition to remove references to 'anySimpleType' as it doesn't exist. The property description and examples in the documentation suggest a simple string should be sufficient.
@zopalmer14 zopalmer14 added bug Something isn't working ready-for-review labels Mar 5, 2026
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.

Looks good from my end, well documented.

@zopalmer14 zopalmer14 linked an issue Mar 6, 2026 that may be closed by this pull request
@jbrown-xentity jbrown-xentity merged commit eb4583b into main Mar 10, 2026
1 of 2 checks passed
@zopalmer14 zopalmer14 deleted the bug/Metric-expectedDataType-fix branch March 13, 2026 19:27
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.

[Bug] Metric.expectedDataType

2 participants