{
  "key": "{{ item[1].key }}",
  "required": {{ item[1].required }},
  {% if item[1].default is defined and item[1].default and item[1].default != "null" %}"default": "{{ item[1].default }}",{% endif %}
  {% if item[1].array is defined %}"array": {{ item[1].array }}, {% endif %}
  {% if item[1].elements is defined %}"elements": [{% for e in item[1].elements %}"{{ e }}"{%- if not loop.last %},{% endif %}{% endfor %}],{% endif %}
  {% if item[1].min is defined %}"min": {{ item[1].min | int }},{% endif %}
  {% if item[1].max is defined %}"max": {{ item[1].max | int }},{% endif %}
  {% if item[1].size is defined %}"size": {{ item[1].size | int }},{% endif %}
  {% if item[1].encrypt is defined %}"encrypt": {{ item[1].encrypt }}{% endif%}
}