Skip to content
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

Should cr:FileObject subclass sc:DataDownload? #823

Open
csbrown opened this issue Mar 3, 2025 · 0 comments
Open

Should cr:FileObject subclass sc:DataDownload? #823

csbrown opened this issue Mar 3, 2025 · 0 comments

Comments

@csbrown
Copy link

csbrown commented Mar 3, 2025

The sc:Dataset spec suggests that the distribution property should be of class sc:DataDownload (which extends sc:Thing > sc:CreativeWork > sc:MediaObject > sc:DataDownload). cr:FileObject is defined as extending sc:CreativeWork. We are using cr:FileObject in the distribution property -- I think probably therefore it needs to extend sc:DataDownload. Probably this wont break any parsers, but would be 1) technically correct which is the best kind of correct and 2) provide a number of useful properties, e.g. the sha256 property which exists on sc:MediaObject but not on sc:CreativeWork.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant