Function jsonSchemaToColumns

  • Converts JSON schema properties to the column format expected by the Table component.

    Parameters

    • schemaProperties: Record<string, JSONSchema>

      Properties section of a JSON schema.

    • required: string[] = []

      List of required property names.

    Returns Record<string, ITableColumn>

    Columns in the Table component format.