Settings are for fixed fields. But how many testimonials? The merchant decides, and it changes. That is what blocks are: groups of settings the merchant can add, remove, and reorder.
You declare a block type in the schema's blocks array. Then loop the merchant's blocks with {% for block in section.blocks %} and read each one as block.settings.<id>.
{% for block in section.blocks %}
<figure {{ block.shopify_attributes }}>
<blockquote>{{ block.settings.quote }}</blockquote>
</figure>
{% endfor %}
{% schema %}
{
"name": "Testimonials",
"blocks": [
{ "type": "testimonial", "name": "Testimonial", "settings": [
{ "type": "text", "id": "quote", "label": "Quote", "default": "A great cup." }
] }
],
"presets": [{ "name": "Testimonials", "blocks": [{ "type": "testimonial" }] }]
}
{% endschema %}
Put {{ block.shopify_attributes }} on each block's root element. It renders nothing on the live store, but without it the Theme Editor can't select or reorder the block.