@microsoft/fast-element > Schema > getSchema
Schema.getSchema() method
Gets the JSON schema for a property name
Signature:
getSchema(rootPropertyName: string): JSONSchema | null;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
rootPropertyName |
string |
the root property the JSON schema is mapped to |
Returns:
JSONSchema | null
The JSON schema for the root property