{#if subparts.length > 0}
{schema.description}
{/if}
{#if $values.length === 0}
No values are defined
{#if $messages.length > 0}
{#each $messages as message}
{/each}
{/if}
{:else if subparts.length === 0}
{#each $values as value, i (value)}
{/each}
{:else}
{#each $values as value, i (value)}
{#if !isTagRenderingBlock}
{singular} {value}
{/if}
{#if isTagRenderingBlock}
{#if i > 0}
{/if}
{#if i + 1 < $values.length}
{/if}
{:else if schema.hints.types}
{:else}
{#each subparts as subpart}
{/each}
{/if}