summaryrefslogtreecommitdiffstats
path: root/spec/spec/spec-mandatory-attributes.yml
blob: 700de958e47a6101a0ee084fb9a9b6c7762ac866 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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