required: - name - type