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

use base-class properties when available #5

Open
satra opened this issue Sep 26, 2018 · 3 comments
Open

use base-class properties when available #5

satra opened this issue Sep 26, 2018 · 3 comments

Comments

@satra
Copy link

satra commented Sep 26, 2018

@vsoch - just took a quick look at containers, which is derived from softwareappliance but creates new properties instead of using the baseclass ones.

in schema.org new things should only add properties that are not in its parent classes.

perhaps its just a rendering thing in openschemas, but the way schema.org does it is kinda nice:

https://schema.org/SoftwareApplication

tells you which properties are specific to this thing, and which are derived from parents, grandparents, etc.,. this will make it easier to comment on specific properties that are being added for these classes.

@vsoch
Copy link
Member

vsoch commented Sep 26, 2018

ooof thanks @satra ! I'm looking at the original sheets and this information is represented there, so it's 100% a bug / bad on my part (hopefully with just rendering on jekyll). I'll have a look later today and let you know when I figure it out! Thank you for the feedback and catching this 🐛 !

@vsoch
Copy link
Member

vsoch commented Sep 26, 2018

hey @satra one quick question - if you look at bioschemas, for example here --> http://bioschemas.org/specifications/DataCatalog/ is this structure akin to what I was doing (which is different than what schema.org is doing?) If so, then what I can do is mimic what schema.org is doing.

@vsoch
Copy link
Member

vsoch commented Sep 26, 2018

and I should probably make it okay that a draft specification can inherit from another draft (e.g., Container --> ContainerRecipe) or maybe it should be the case that the parent must be integrated into schema.org first (and then not trigger an error, as it would not being integrated).

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

2 participants