LogicAppsUX
LogicAppsUX copied to clipboard
JSON schema representation is confusing
Describe the Bug with repro steps
Create a new data map with source and target JSON schemas.
The schema summary displays the source schema as having a container called "root". This is made-up by the mapper, presumably when it converts into an internal XML representation to be supported by XSLT. There isn't anything called "root" anywhere in the schema. This caused a lot of frustration with a developer trying to match what the schema view says is in the schema; surely it expects me to pass in:
{
"root": {...}
}
and failing to map any fields.
This UI widget I would assume is bespoke, so I don't see any reason that when displaying a JSON schema, it couldn't omit the "root" object entirely and just display the schema as it actually is.
Screenshots or Videos
Version
v4.85.3
Additional context
No response