mirror of
https://github.com/partofmyid/register.git
synced 2026-06-05 10:36:50 +07:00
schema update
This commit is contained in:
parent
f7e46d472b
commit
03e2eca4b3
1 changed files with 6 additions and 1 deletions
|
|
@ -1,4 +1,5 @@
|
||||||
{
|
{
|
||||||
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"description": {
|
"description": {
|
||||||
|
|
@ -11,7 +12,10 @@
|
||||||
"type": "string"
|
"type": "string"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"required": ["username"]
|
"required": ["username"],
|
||||||
|
"additionalProperties": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"record": {
|
"record": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
|
|
@ -67,6 +71,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"required": [],
|
||||||
"anyOf": [
|
"anyOf": [
|
||||||
{ "required": ["A"] },
|
{ "required": ["A"] },
|
||||||
{ "required": ["AAAA"] },
|
{ "required": ["AAAA"] },
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue