summaryrefslogtreecommitdiffstats
path: root/javatoscachecker/checker/src/test/resources/spec/data_types/user_defined_basic_with_invalid_default_unknown_value.yaml
blob: 6eb4db203c3a3257f2a3527dc96abfd199aa01a6 (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
tosca_definitions_version: tosca_simple_yaml_1_1

metadata:
  outcome: "fail"
  error: ""

data_types:
  org.onap.tosca.checker.SomeDataType:
    properties:
      firstName:
        type: string
        required: true
      lastName:
        type: string
        required: true
      streetNo:
        type: integer
        required: true
      streetName:
        type: string
        required: true
      state:
        type: string
        default: "XX"
        constraints:
          - valid_values: [AK,AL,AR,AZ,CA,CO,CT,DE,FL,GA,HI,IA,ID,IL,IN,KS,KY,LA,MA,MD,ME,MI,MN,MO,MS,MT,NC,ND,NE,NH,NJ,NM,NV,NY,OH,OK,OR,PA,RI,SC,SD,TN,TX,UT,VA,VT,WA,WI,WV,WY]