Skip to content

getScope

getScope<T>(path): string

Build a JsonForms scope pointer from a typed dot-path. Equivalent to the JsonPointer fragment-encoding rule: turns 'properties.label' into '#/properties/label'. Generic over the schema type so TypeScript autocompletes valid paths.

T extends object

"" | PropertyPath<T>

string

getScope<typeof mySchema>('properties.label');
// => '#/properties/label'

https://jsonforms.io/docs/uischema/controls/#scope-string