import type { ContractorResponse } from '@/lib/api/contractors';

const now = new Date().toISOString();

export const demoContractors: ContractorResponse[] = [
  {
    id: 1,
    name: 'Mike Johnson',
    company: 'Johnson Plumbing',
    phone: '(555) 123-4567',
    email: 'mike@johnsonplumbing.com',
    website: 'https://johnsonplumbing.example.com',
    notes: 'Very reliable, usually available within 48 hours.',
    street_address: '456 Oak Ave',
    city: 'Springfield',
    state_province: 'IL',
    postal_code: '62704',
    specialties: [{ id: 1, name: 'Plumber', icon: '🔧' }],
    rating: 5,
    is_favorite: true,
    task_count: 3,
    created_by_id: 1,
    created_at: '2024-02-01T10:00:00Z',
    updated_at: now,
  },
  {
    id: 2,
    name: 'Sarah Chen',
    company: 'Bright Spark Electric',
    phone: '(555) 234-5678',
    email: 'sarah@brightspark.com',
    website: '',
    notes: 'Licensed master electrician. Great with older homes.',
    street_address: '',
    city: 'Springfield',
    state_province: 'IL',
    postal_code: '62702',
    specialties: [{ id: 2, name: 'Electrician', icon: '⚡' }],
    rating: 4,
    is_favorite: true,
    task_count: 1,
    created_by_id: 1,
    created_at: '2024-03-15T10:00:00Z',
    updated_at: now,
  },
  {
    id: 3,
    name: 'Carlos Rivera',
    company: 'Rivera HVAC Solutions',
    phone: '(555) 345-6789',
    email: 'carlos@riverahvac.com',
    website: 'https://riverahvac.example.com',
    notes: 'Specializes in high-efficiency systems.',
    street_address: '789 Pine St',
    city: 'Springfield',
    state_province: 'IL',
    postal_code: '62703',
    specialties: [{ id: 3, name: 'HVAC Technician', icon: '❄️' }],
    rating: 4,
    is_favorite: false,
    task_count: 2,
    created_by_id: 1,
    created_at: '2024-04-01T10:00:00Z',
    updated_at: now,
  },
  {
    id: 4,
    name: 'Lisa Park',
    company: 'Green Thumb Landscaping',
    phone: '(555) 456-7890',
    email: 'lisa@greenthumb.com',
    website: '',
    notes: 'Organic lawn care specialist.',
    street_address: '',
    city: 'Springfield',
    state_province: 'IL',
    postal_code: '62704',
    specialties: [{ id: 4, name: 'Landscaper', icon: '🌿' }],
    rating: 5,
    is_favorite: false,
    task_count: 0,
    created_by_id: 1,
    created_at: '2024-05-01T10:00:00Z',
    updated_at: now,
  },
  {
    id: 5,
    name: 'Tom Williams',
    company: 'Williams Roofing',
    phone: '(555) 567-8901',
    email: 'tom@williamsroofing.com',
    website: 'https://williamsroofing.example.com',
    notes: '20 years experience. Does inspections and repairs.',
    street_address: '321 Elm St',
    city: 'Springfield',
    state_province: 'IL',
    postal_code: '62701',
    specialties: [
      { id: 7, name: 'Roofer', icon: '🏠' },
      { id: 6, name: 'General Contractor', icon: '🔨' },
    ],
    rating: 4,
    is_favorite: false,
    task_count: 1,
    created_by_id: 1,
    created_at: '2024-06-01T10:00:00Z',
    updated_at: now,
  },
];
