<?php
/**
 * Organization Schema Component
 * Generates Organization structured data for improved SEO
 *
 * Usage: Include this file in the <head> of every page
 * <?php include(['DOCUMENT_ROOT'] . '/includes/schema/organization-schema.php'); ?>
 */

$organizationSchema = [
    '@context' => 'https://schema.org',
    '@type' => 'Organization',
    '@id' => 'https://ukaiautomation.co.uk/#organization',
    'name' => 'UK AI Automation',
    'legalName' => 'DataNorfolk Limited',
    'url' => 'https://ukaiautomation.co.uk',
    'logo' => [
        '@type' => 'ImageObject',
        'url' => 'https://ukaiautomation.co.uk/assets/images/ukaiautomation-logo.svg',
        'width' => 300,
        'height' => 100
    ],
    'image' => 'https://ukaiautomation.co.uk/assets/images/ukaiautomation-logo.svg',
    'description' => 'UK-based AI automation consultancy. We help legal and consultancy firms automate document extraction, research, and data workflows.',
    'email' => 'info@ukaiautomation.co.uk',
    'telephone' => '+441692689150',
    'address' => [
        '@type' => 'PostalAddress',
        'streetAddress' => '',
        'addressLocality' => 'North Walsham',
        'addressRegion' => 'Norfolk',
        'postalCode' => 'NR28',
        'addressCountry' => 'GB'
    ],
    'geo' => [
        '@type' => 'GeoCoordinates',
        'latitude' => 52.8269,
        'longitude' => 1.3816
    ],
    'areaServed' => [
        [
            '@type' => 'Country',
            'name' => 'United Kingdom'
        ],
        [
            '@type' => 'City',
            'name' => 'London'
        ],
        [
            '@type' => 'City',
            'name' => 'Manchester'
        ],
        [
            '@type' => 'City',
            'name' => 'Birmingham'
        ],
        [
            '@type' => 'City',
            'name' => 'Edinburgh'
        ],
        [
            '@type' => 'City',
            'name' => 'Cardiff'
        ]
    ],
    'sameAs' => [],
    'contactPoint' => [
        [
            '@type' => 'ContactPoint',
            'telephone' => '+441692689150',
            'contactType' => 'customer service',
            'availableLanguage' => 'English',
            'areaServed' => 'GB',
            'hoursAvailable' => [
                '@type' => 'OpeningHoursSpecification',
                'dayOfWeek' => ['Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday'],
                'opens' => '09:00',
                'closes' => '17:30'
            ]
        ],
        [
            '@type' => 'ContactPoint',
            'email' => 'info@ukaiautomation.co.uk',
            'contactType' => 'sales',
            'availableLanguage' => 'English',
            'areaServed' => 'GB'
        ]
    ],
    'foundingDate' => '2013',
    'numberOfEmployees' => [
        '@type' => 'QuantitativeValue',
        'value' => '1'
    ]
];
?>
<script type=application/ld+json>
<?php echo json_encode($organizationSchema, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES); ?>
</script>
