Skip to content

Commit 6b55d5b

Browse files
committed
Update schema
1 parent 40fb444 commit 6b55d5b

File tree

3 files changed

+55
-9
lines changed

3 files changed

+55
-9
lines changed

Cargo.lock

Lines changed: 9 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

schemas/migration.schema.json

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,29 @@
191191
"kind",
192192
"custom_type"
193193
]
194+
},
195+
{
196+
"type": "object",
197+
"properties": {
198+
"kind": {
199+
"type": "string",
200+
"const": "enum"
201+
},
202+
"name": {
203+
"type": "string"
204+
},
205+
"values": {
206+
"type": "array",
207+
"items": {
208+
"type": "string"
209+
}
210+
}
211+
},
212+
"required": [
213+
"kind",
214+
"name",
215+
"values"
216+
]
194217
}
195218
]
196219
},

schemas/model.schema.json

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,29 @@
190190
"kind",
191191
"custom_type"
192192
]
193+
},
194+
{
195+
"type": "object",
196+
"properties": {
197+
"kind": {
198+
"type": "string",
199+
"const": "enum"
200+
},
201+
"name": {
202+
"type": "string"
203+
},
204+
"values": {
205+
"type": "array",
206+
"items": {
207+
"type": "string"
208+
}
209+
}
210+
},
211+
"required": [
212+
"kind",
213+
"name",
214+
"values"
215+
]
193216
}
194217
]
195218
},

0 commit comments

Comments
 (0)