summaryrefslogtreecommitdiff
path: root/spec/spec/spec-bool.yml
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2020-05-18 10:20:58 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2020-05-28 10:38:23 +0200
commitb9f3aa7a96c5ae96fb52f3420dbae63a99eb4e08 (patch)
tree214b6bba8c0ad9f12b108e05380bb8e0d4910e64 /spec/spec/spec-bool.yml
parent1a363799ff1cfad049520634cd8c2230c4c574cd (diff)
spec: Add specification of specification items
Diffstat (limited to 'spec/spec/spec-bool.yml')
-rw-r--r--spec/spec/spec-bool.yml34
1 files changed, 34 insertions, 0 deletions
diff --git a/spec/spec/spec-bool.yml b/spec/spec/spec-bool.yml
new file mode 100644
index 00000000..12f932b6
--- /dev/null
+++ b/spec/spec/spec-bool.yml
@@ -0,0 +1,34 @@
+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
+spec-description: null
+spec-example: null
+spec-info:
+ dict:
+ attributes:
+ assert:
+ description: |
+ This optional attribute defines the value constraint of the specified
+ boolean value. If the value of the assert attribute is true, then
+ the value of the specified boolean value shall be true. If the value
+ of the assert attribute is false, then the value of the specified
+ boolean value shall be false. In case the assert attribute is not
+ present, then the value of the specified boolean value may be true or
+ false.
+ spec-type: bool
+ description:
+ description: |
+ This mandatory attribute shall be the description of the specified
+ boolean value.
+ spec-type: optional-str
+ description: |
+ This attribute set specifies a boolean value.
+ required-attributes:
+ - description
+spec-name: Boolean Value Specification
+spec-type: spec-bool
+type: spec