json.attributes([*variant_attributes]) json.required_attributes([])