-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathenums.yaml
More file actions
86 lines (83 loc) · 1.35 KB
/
enums.yaml
File metadata and controls
86 lines (83 loc) · 1.35 KB
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
85
86
Gender:
path: user/person/
type: enum
properties:
value:
type: String
is_json_value: true
values:
MALE:
properties:
value: _mAl3
FEMALE:
properties:
value: femAle
X:
properties:
value: X
GENDER_X:
properties:
value: gender_x
GENDER_Y:
properties:
value: gender_y
GENDER_Z:
properties:
value: gender_z
GENDER_ABC:
properties:
value: gender_abc
GENDER_DEF:
properties:
value: gender_def
GENDER_LAP:
properties:
value: GENDER_lap
Status:
path: status
type: enum
properties:
value:
type: int
is_json_value: true
values:
status_0:
properties:
value: 0
status_1:
properties:
value: 1
status_2:
properties:
value: 2
status_3:
properties:
value: 3
DoubleStatus:
path: status
type: enum
properties:
value:
type: double
is_json_value: true
values:
status_0:
properties:
value: 0.1
status_1:
properties:
value: 1.1
status_2:
properties:
value: 2.2
status_3:
properties:
value: 3.3
DuplicateEnum:
path: status
type: enum
values:
one: 1
two: 2
three: 3
#four: 3 # Duplicate value throws error