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

Requirements for every entity #225

Closed
ptsefton opened this issue Nov 30, 2022 Discussed in #224 · 4 comments · Fixed by #260
Closed

Requirements for every entity #225

ptsefton opened this issue Nov 30, 2022 Discussed in #224 · 4 comments · Fixed by #260

Comments

@ptsefton
Copy link
Contributor

ptsefton commented Nov 30, 2022

Is the @type property required?

Discussed in #224

Originally posted by Code42Cate November 27, 2022
Hey everyone,

I've been reading the RO-Crate 1.1 specification and was wondering if the @type property is required on every entity? I can not find anything clearly stating this, I also looked into the JSON-LD standard. No examples in the specification have an entity without @type, but I found some entities in ROHub crates that do not have them. Thank you for your help :)

Cheers, Jonas

@ptsefton ptsefton added this to the RO-Crate 1.2 milestone Nov 30, 2022
@stain
Copy link
Contributor

stain commented Dec 8, 2022

I would suggest we modify this for RO-Crate 1.2 to be explicit, so that every entity MUST have at least @type and SHOULD have name. If no appropriate type is available, you can use Thing (anything) or WebPage (if you're pointing to a page) or DefinedTerm (if it's a semantic concept defined elsewhere)

@simleo
Copy link
Contributor

simleo commented Dec 9, 2022

ro-crate-py already requires entities to have a @type

@stain
Copy link
Contributor

stain commented Mar 23, 2023

Need a new generic Requirements for every entity section right after data/context entity, perhaps this can also suggest that any other schema.org properties and types can be used. Or does this fit into the JSON-LD appendix?

Current Table of contents for 1.2-DRAFT:

@stain stain changed the title Is the @type property required? Requirements for every entity May 17, 2023
@stain stain added this to To do in RO-Crate specifications May 17, 2023
@stain
Copy link
Contributor

stain commented May 17, 2023

#260 is adding it to the "Metadata of the RO-Crate" section

RO-Crate specifications automation moved this from To do to Done May 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging a pull request may close this issue.

3 participants