/**
 * Default JSON-LD graph nodes (Organization, Person, WebSite, WebPage, OfferCatalog).
 * Used for the home page; other pages can add or override via meta.jsonLd.
 */

const BASE = 'https://mifi.ventures';

export const defaultJsonLdGraph: Record<string, unknown>[] = [
  {
    '@type': 'Organization',
    '@id': `${BASE}/#organization`,
    name: 'mifi Ventures, LLC',
    legalName: 'mifi Ventures, LLC',
    url: `${BASE}/`,
    logo: { '@type': 'ImageObject', url: `${BASE}/favicon.svg` },
    description:
      'Software engineering consulting specializing in product-focused frontend architecture, performance optimization, and accessibility-first engineering.',
    founder: { '@id': `${BASE}/#principal` },
    address: {
      '@type': 'PostalAddress',
      addressLocality: 'Boston',
      addressRegion: 'MA',
      addressCountry: 'US',
    },
    geo: { '@type': 'GeoCoordinates', latitude: 42.360082, longitude: -71.05888 },
    areaServed: { '@type': 'Country', name: 'United States' },
    hasOfferCatalog: { '@id': `${BASE}/#services` },
    sameAs: ['https://www.linkedin.com/in/the-mifi', 'https://github.com/the-mifi'],
  },
  {
    '@type': 'Person',
    '@id': `${BASE}/#principal`,
    name: 'Mike Fitzpatrick',
    jobTitle: 'Principal Software Engineer and Architect',
    description:
      'Senior full-stack engineer and architect helping teams ship reliable, accessible, high-performance web products.',
    url: `${BASE}/`,
    worksFor: { '@id': `${BASE}/#organization` },
    knowsAbout: [
      'Frontend Architecture',
      'UI Architecture',
      'React Development',
      'Web Performance Optimization',
      'Core Web Vitals',
      'Technical SEO',
      'Web Accessibility (WCAG)',
      'Component Libraries',
      'Design Systems',
      'JavaScript',
      'TypeScript',
      'Modern Web Development',
      'Greenfield Product Development',
      'Legacy System Modernization',
      'Code Refactoring',
    ],
    sameAs: ['https://www.linkedin.com/in/the-mifi', 'https://github.com/the-mifi'],
  },
  {
    '@type': 'WebSite',
    '@id': `${BASE}/#website`,
    url: `${BASE}/`,
    name: 'mifi Ventures',
    description: 'Software Engineering Consulting — Boston, MA',
    publisher: { '@id': `${BASE}/#organization` },
    potentialAction: {
      '@type': 'ReserveAction',
      target: {
        '@type': 'EntryPoint',
        urlTemplate: 'https://cal.mifi.ventures/the-mifi',
      },
      name: 'Schedule a 30-minute intro call',
    },
  },
  {
    '@type': 'WebPage',
    '@id': `${BASE}/#webpage`,
    url: `${BASE}/`,
    name: 'mifi Ventures — Software Engineering Consulting | Boston, MA',
    description:
      'Boston-based software engineering consulting. Mike Fitzpatrick helps teams build reliable, accessible, high-performance web applications.',
    isPartOf: { '@id': `${BASE}/#website` },
    about: { '@id': `${BASE}/#organization` },
    mainEntity: { '@id': `${BASE}/#organization` },
    primaryImageOfPage: { '@type': 'ImageObject', url: `${BASE}/favicon.svg` },
    inLanguage: 'en-US',
  },
  {
    '@type': 'OfferCatalog',
    '@id': `${BASE}/#services`,
    name: 'Software Engineering Consulting Services',
    description: 'Consulting services offered by mifi Ventures',
    numberOfItems: 6,
    itemListElement: [
      {
        '@type': 'Offer',
        itemOffered: {
          '@type': 'Service',
          name: 'Frontend and UI Architecture',
          description:
            'Product-focused frontend and UI architecture for modern web applications, with an emphasis on clarity, scalability, and long-term maintainability.',
        },
      },
      {
        '@type': 'Offer',
        itemOffered: {
          '@type': 'Service',
          name: 'Greenfield Product Development',
          description:
            'Greenfield product builds and early-stage foundations, getting new projects off the ground quickly with structures designed to grow, not be rewritten.',
        },
      },
      {
        '@type': 'Offer',
        itemOffered: {
          '@type': 'Service',
          name: 'Performance Optimization',
          description:
            'Performance, Core Web Vitals, rendering strategy, and technical SEO optimization focused on real-world user journeys.',
        },
      },
      {
        '@type': 'Offer',
        itemOffered: {
          '@type': 'Service',
          name: 'Accessibility Engineering',
          description:
            'Accessibility-first engineering, ensuring WCAG-compliant interfaces with semantic markup, keyboard parity, and inclusive interaction patterns.',
        },
      },
      {
        '@type': 'Offer',
        itemOffered: {
          '@type': 'Service',
          name: 'System Modernization',
          description:
            'Modernization and stabilization of existing systems, including refactors, framework upgrades, and untangling overgrown frontend codebases.',
        },
      },
      {
        '@type': 'Offer',
        itemOffered: {
          '@type': 'Service',
          name: 'End-to-End Feature Delivery',
          description:
            'End-to-end feature delivery with clear ownership and documentation, spanning frontend and supporting backend work without unnecessary complexity.',
        },
      },
    ],
  },
];
