summaryrefslogtreecommitdiff
path: root/spec/spec/spec-int.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-int.yml
parent1a363799ff1cfad049520634cd8c2230c4c574cd (diff)
spec: Add specification of specification items
Diffstat (limited to 'spec/spec/spec-int.yml')
-rw-r--r--spec/spec/spec-int.yml31
1 files changed, 31 insertions, 0 deletions
diff --git a/spec/spec/spec-int.yml b/spec/spec/spec-int.yml
new file mode 100644
index 00000000..2f7394b0
--- /dev/null
+++ b/spec/spec/spec-int.yml
@@ -0,0 +1,31 @@
+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 constraints of the
+ specified integer value. In case the assert attribute is not
+ present, then the value of the specified integer value may be every
+ valid integer number.
+ spec-type: spec-assert-int
+ description:
+ description: |
+ This mandatory attribute shall be the description of the specified
+ integer value.
+ spec-type: optional-str
+ description: |
+ This attribute set specifies an integer value.
+ required-attributes:
+ - description
+spec-name: Integer Value Specification
+spec-type: spec-int
+type: spec