buildingSMART / bSDD

The buildingSMART Data Dictionary repository, where we publish the documentation, examples and more. We don't publish here the data, the source code of the bSDD service or the front end of the website.
https://www.buildingsmart.org/users/services/buildingsmart-data-dictionary/
MIT License
129 stars 36 forks source link

More documentation on "Property inheritance" (file bSDD JSON import model.md) #74

Closed gverduci closed 10 months ago

gverduci commented 10 months ago

In the first case Parent Class → child Class the documentation states:

The child Class does not inherit properties from the parent Class. If authors want child classes to also have properties of parent classes, they should specify them intentionally in import files.

Is it possible to improve the bolded part, with more information about how the author should act?

atomczak commented 10 months ago

If you want the child class to inherit properties of class(es) above in the hierarchy, right now, the only way to do that is to list all of those properties in your input file manually. The import mechanism does not look at the properties of the parent. In other words: we do not resolve inheritance, all properties need to be added to classes by the author of a data dictionary.