more structure to forms and views
shared ui got an interface to demo the components
This commit is contained in:
@@ -698,20 +698,13 @@
|
||||
},
|
||||
"quantity" : { }
|
||||
}
|
||||
};
|
||||
defs["Location"] = {
|
||||
"title" : "Location",
|
||||
"required" : [ "name" ],
|
||||
"properties" : {
|
||||
"name" : { }
|
||||
}
|
||||
};
|
||||
defs["Market"] = {
|
||||
"title" : "Market",
|
||||
"required" : [ "location", "prices" ],
|
||||
"properties" : {
|
||||
"location" : {
|
||||
"$ref" : "#/components/schemas/Location"
|
||||
"enum" : [ "BROOKLYN", "BRONX", "STATTEN_ISLAND", "QUEENS" ]
|
||||
},
|
||||
"prices" : {
|
||||
"additionalProperties" : { }
|
||||
@@ -737,7 +730,7 @@
|
||||
"debt" : { },
|
||||
"health" : { },
|
||||
"location" : {
|
||||
"$ref" : "#/components/schemas/Location"
|
||||
"enum" : [ "BROOKLYN", "BRONX", "STATTEN_ISLAND", "QUEENS" ]
|
||||
},
|
||||
"day" : { },
|
||||
"inventory" : {
|
||||
|
||||
Reference in New Issue
Block a user