createHeadlessForm currently relies on JSONSchemaObjectType as schema input type and Fields as output type which does not provide any concrete JSON schema typing whatsoever.
It would be handy if createHeadlessForm accepts types like the ones coming from @types/json-schema as input and some well defined typings for the Fields type.
I see there are already TODOs in the codebase for this but still wanted to track it more explicitly here as well.