From 1fce758513a51f35fd38ce684a51c3f497a5d833 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Fri, 24 Jul 2020 14:17:15 +0200 Subject: spec: Move specification of specification items This makes it reusable. --- spec-spec/spec/spec.yml | 72 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 72 insertions(+) create mode 100644 spec-spec/spec/spec.yml (limited to 'spec-spec/spec/spec.yml') diff --git a/spec-spec/spec/spec.yml b/spec-spec/spec/spec.yml new file mode 100644 index 00000000..e67e920e --- /dev/null +++ b/spec-spec/spec/spec.yml @@ -0,0 +1,72 @@ +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: type + spec-value: spec + uid: root +spec-description: null +spec-example: | + 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: type + spec-value: example + uid: root + spec-description: null + spec-example: null + spec-info: + dict: + attributes: + an-example-attribute: + description: | + It shall be an example. + spec-type: optional-str + example-number: + description: | + It shall be the example number. + spec-type: int + description: | + This set of attributes specifies an example. + mandatory-attributes: all + spec-name: Example Item Type + spec-type: spec + type: spec +spec-info: + dict: + attributes: + spec-description: + description: | + It shall be the description of the specification type. + spec-type: optional-str + spec-example: + description: | + If the value is present, then it shall be an example of the + specification type. + spec-type: optional-str + spec-info: + description: null + spec-type: spec-info + spec-name: + description: | + It shall be the human readable name of the specification type. + spec-type: optional-str + spec-type: + description: | + It shall the specification type. + spec-type: name + description: | + This set of attributes specifies specification types. + mandatory-attributes: all +spec-name: Specification Item Type +spec-type: spec +type: spec -- cgit v1.2.3