json.extract! taxi, :id, :enrollment, :model, :capacity, :driver, :created_at, :updated_at
json.url taxi_url(taxi, format: :json)
