{#if Object.keys(schema).length === 0} {:else if schema.type === 'object'} {#if !root}
{#if description}
{description}
{/if}
{/if}
{#each Object.entries(schema.properties ?? {}) as [childKey, childSchema] (childKey)}
{/each}
{:else if schema.uiHint === 'AlbumId'}
{:else if schema.enum && schema.array}
{:else if schema.enum}
{:else if schema.array} {@const values = getValue
([])}
{$t('unsupported_field_type')}
{:else if schema.type === 'boolean'}
getBoolean(schema.default ?? false), setValue} />
{:else if schema.type === 'number'}
{:else if schema.type === 'string'}
getValue
(), setValue} />
{:else}
Unknown schema
{/if}