Hi
i have a question regarding the json-schema suport
So if i go to the example:
[:map
{:title "Address"}
[:id string?]
[:tags [:set keyword?]]
[:address
[:map {:json-schema/title "Something"}
[:street {:json-schema/title "Something Else"} string?]
[:city string?]
[:zip int?]
[:lonlat [:tuple double? double?]]]]]
and add title to :street that will not work i would expect to see "Something Else" as a title property for street
I do see "Something" as the title for Addess
Generated JSON-schema :
{:type "object",
:properties {:id {:type "string"},
:tags {:type "array",
:items {:type "string"},
:uniqueItems true},
:address {:type "object",
:properties {:street {:type "string"},
:city {:type "string"},
:zip {:type "integer",
:format "int64"},
:lonlat {:type "array",
:items [{:type "number"}
{:type "number"}],
:additionalItems false}},
:required [:street :city :zip :lonlat],
:title "Something"}},
:required [:id :tags :address],
:title "Address"}
Why is not "Something Else" a title for street am i missing something?