@shakerquiz/contracts 0.0.172 → 0.0.173
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -52,6 +52,9 @@
|
|
|
52
52
|
"is_first": {
|
|
53
53
|
"type": "boolean"
|
|
54
54
|
},
|
|
55
|
+
"celebrant": {
|
|
56
|
+
"type": "string"
|
|
57
|
+
},
|
|
55
58
|
"ads_from": {
|
|
56
59
|
"type": "string"
|
|
57
60
|
},
|
|
@@ -122,6 +125,19 @@
|
|
|
122
125
|
"then": {
|
|
123
126
|
"required": ["email"]
|
|
124
127
|
}
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
"if": {
|
|
131
|
+
"properties": {
|
|
132
|
+
"is_birthday": { "const": true }
|
|
133
|
+
}
|
|
134
|
+
},
|
|
135
|
+
"then": {
|
|
136
|
+
"required": ["celebrant"],
|
|
137
|
+
"properties": {
|
|
138
|
+
"celebrant": { "type": "string" }
|
|
139
|
+
}
|
|
140
|
+
}
|
|
125
141
|
}
|
|
126
142
|
]
|
|
127
143
|
}
|