diff options
Diffstat (limited to 'spec/spec')
-rw-r--r-- | spec/spec/appl-config-option-constraints.yml | 7 | ||||
-rw-r--r-- | spec/spec/constraint.yml | 23 |
2 files changed, 25 insertions, 5 deletions
diff --git a/spec/spec/appl-config-option-constraints.yml b/spec/spec/appl-config-option-constraints.yml index c93a1c7a..acbca0a5 100644 --- a/spec/spec/appl-config-option-constraints.yml +++ b/spec/spec/appl-config-option-constraints.yml @@ -14,10 +14,6 @@ spec-info: description: | This attribute defines a list of constraints. spec-type: list-str - links: - description: | - This attribute shall list links to constraints. - spec-type: list-uid max: description: | This attribute defines the maximum value. @@ -32,7 +28,8 @@ spec-info: spec-type: list-int-or-str description: | This set of attributes defines application configuration option - constraints. + constraints. Additional constraints can be added through the links of + the item using the :ref:`SpecTypeConstraintLinkRole`. required-attributes: none spec-name: Application Configuration Option Constraint Set spec-type: appl-config-option-constraints diff --git a/spec/spec/constraint.yml b/spec/spec/constraint.yml new file mode 100644 index 00000000..446c97f8 --- /dev/null +++ b/spec/spec/constraint.yml @@ -0,0 +1,23 @@ +SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause +copyrights: +- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de) +enabled-by: true +links: +- role: spec-member + uid: root +- role: spec-refinement + spec-key: role + spec-value: constraint + uid: link +spec-description: null +spec-example: null +spec-info: + dict: + attributes: {} + description: | + It defines the constraint role of links. The link target shall be a + constraint. + required-attributes: all +spec-name: Constraint Link Role +spec-type: constraint +type: spec |