more structure to forms and views

shared ui got an interface to demo the components
This commit is contained in:
2026-08-28 16:20:35 -04:00
parent d1ef2956d8
commit 2e47b8bfce
50 changed files with 941 additions and 610 deletions
+2 -9
View File
@@ -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" : {