five-on-it / apps/client/src/ui/studio/Inspector
apps/client/src/ui/studio/Inspector
The studio's inspector: the selected element of a city spec as a form made from the city spec's JSON Schema (@foi/catalogue's templateJsonSchema('city'), the one the API serves): a list for each choice, a number, a box to tick or a text for the plain fields, the schema's words as their hints, JSON for the rest (points, lists of points, arms, lines), and the whole element as JSON beside, so every field of the spec is reachable. A change is the element replaced; Delete removes it.