in src/app/shared/utils/jsonSchemaAdaptor.ts [281:288]
enumNames : (propertySchema as EnumSchema).enumValues.map(item => (typeof(item.displayName) !== 'string' && item.displayName as any)?.en || item.displayName || item.name),
required: [],
type: (propertySchema as EnumSchema).enumValues.some(item => typeof item.enumValue === 'string') ? 'string' : 'number',
} : undefined;
}
if (propertySchema['@type'] === DtdlSchemaComplexType.Object) {
if (!(propertySchema as ObjectSchema).fields) {