diff --git a/src/doc/yaml_interface.rst b/src/doc/yaml_interface.rst index 52d33a174e6c98f77f4bc55b1593545f864ee0b2..f5dea11acc3a23c3d6eb9680e1c3e488c4b43a54 100644 --- a/src/doc/yaml_interface.rst +++ b/src/doc/yaml_interface.rst @@ -98,7 +98,6 @@ would declare a list of elements with datatype Project. Keywords ======== -- **parent**: Parent of this entity. - **importance**: Importance of this entity. Possible values: "recommended", "obligatory", "suggested" - **datatype**: The datatype of this property, e.g. TEXT, INTEGER or Project. - **unit**: The unit of the property, e.g. "m/s". @@ -106,9 +105,11 @@ Keywords - **recommended_properties**: Add properties to this entity with importance "recommended". - **obligatory_properties**: Add properties to this entity with importance "obligatory". - **suggested_properties**: Add properties to this entity with importance "suggested". -- **inherit_from_recommended**: Inherit from another entity using the specified importance level including the higher importance level "obligatory". This would add a corresponding parent and add all obligatory and recommended properties from the parent. -- **inherit_from_suggested including higher importance levels**: Inherit from another entity using the specified importance level. This would add a corresponding parent and add all obligatory, recommended and suggested properties from the parent. -- **inherit_from_obligatory**: Inherit from another entity using the specified importance level. This would add a corresponding parent and add all obligatory properties from the parent. +- **inherit_from_XXX**: This keyword accepts a list of other RecordTypes. Those RecordTypes are + added as parents, and all Properties with at least the importance ``XXX`` are inherited. For + example, ``inherited_from_recommended`` will inherit all Properties of importance ``recommended`` + and ``obligatory``, but not ``suggested``. +- **parent**: Parent of this entity. (*Deprecated*) Usage =====