summaryrefslogtreecommitdiffstats
path: root/spec-spec/spec/spec-mandatory-attributes.yml
diff options
context:
space:
mode:
Diffstat (limited to 'spec-spec/spec/spec-mandatory-attributes.yml')
-rw-r--r--spec-spec/spec/spec-mandatory-attributes.yml30
1 files changed, 30 insertions, 0 deletions
diff --git a/spec-spec/spec/spec-mandatory-attributes.yml b/spec-spec/spec/spec-mandatory-attributes.yml
new file mode 100644
index 00000000..700de958
--- /dev/null
+++ b/spec-spec/spec/spec-mandatory-attributes.yml
@@ -0,0 +1,30 @@
+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: |
+ It defines which explicit attributes are mandatory.
+spec-example: null
+spec-info:
+ list:
+ description: |
+ The list defines the mandatory attributes through their key names.
+ spec-type: name
+ str:
+ assert:
+ in:
+ - all
+ - at-least-one
+ - at-most-one
+ - exactly-one
+ - none
+ description: |
+ It defines how many explicit attributes are mandatory. If `none` is
+ used, then none of the explicit attributes is mandatory, they are all
+ optional.
+spec-name: Specification Mandatory Attributes
+spec-type: spec-mandatory-attributes
+type: spec