Closed oalt closed 3 years ago
The idea behind requiring at least one property per resource (and thus one propertyClass per resourceClass) was that a resource without payload does not make sense. We do not have any native title and description any more. (Just to commemorate).
Yours is a valid corner-case. I did not consider it, so far. An argument could be:
Alternatively:
What do you think?
Following the principle that systems shouldn't patronize the users without a really urgent need (for example, if malfunction or complexity is caused), there is an argument not to require a minimum number of properties.
However personally I would continue to consider user-stories and epics as requirements.
Have removed from the schema the requirement to have >0 properties for resources and statements. Similarly, propertyClasses, subjectClasses and objectClasses have no more minimal item count.
Instead, the check will be made in the constraintCheck including the items of any parent element.
Currently the schema defines, that a resource class shall define at least one property class reference. In the following case this leads to an error:
In that case an "Epic" element should be defined based on the "Requirement" element by inheritance. The properties are just the same and reused by inheritance. Only the title is changed: