summaryrefslogtreecommitdiffstats
path: root/catalog-be/src/test/resources/yamlValidation/noValid/data_types_valid-02.yaml
blob: d4ba271134459177411399fdf5673acd41d96a5d (plain)
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
data_types:
  datatype_test:
    derived_from: tosca.datatypes.Root
    properties:
      pr_1:
        type: map
        entry_schema:
          type: boolean
      pr_2:
        type: string
        description: Globally unique identifier of the VNFD
        required: true
        constraints:
          - equal: fgh
      pr_3:
        type: string
        description: Globally unique identifier of the VNFD
        required: true
        constraints:
          - greater_than: a
      pr_4:
        type: string
        description: Globally unique identifier of the VNFD
        required: true
        constraints:
          - greater_or_equal: b
      pr_5:
        type: string
        description: Globally unique identifier of the VNFD
        required: true
        constraints:
          - less_than: z
      pr_6:
        type: string
        description: Globally unique identifier of the VNFD
        required: true
        constraints:
          - less_or_equal: y
      pr_7:
        type: string
        description: Globally unique identifier of the VNFD
        required: true
        constraints:
          - in_range:
              - bb
              - yy
      pr_8:
        type: string
        description: Globally unique identifier of the VNFD
        required: true
        constraints:
          - valid_values:
              - dd
              - rr
      pr_9:
        type: string
        description: Globally unique identifier of the VNFD
        required: true
        constraints:
          - length: 3
      pr_10:
        type: string
        description: Globally unique identifier of the VNFD
        required: true
        constraints:
          - min_length: 3
      pr_11:
        type: string
        description: Globally unique identifier of the VNFD
        required: true
        constraints:
          - min_length: 3
      pr_12:
        type: string
        description: Globally unique identifier of the VNFD
        required: true
        constraints:
          - max_length: 3
      pr_13:
        type: string
        description: Globally unique identifier of the VNFD
        required: true
        constraints:
          - pattern: '[a-z]'