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

$organizationSchema = [
    '@context' => 'https://schema.org',
    '@type' => 'Organization',
    '@id' => 'https://ukdataservices.co.uk/#organization',
    'name' => 'UK Data Services',
    'legalName' => 'UK Data Services Limited',
    'url' => 'https://ukdataservices.co.uk',
    'logo' => [
        '@type' => 'ImageObject',
        'url' => 'https://ukdataservices.co.uk/assets/images/ukds-main-logo.png',
        'width' => 300,
        'height' => 100
    ],
    'image' => 'https://ukdataservices.co.uk/assets/images/ukds-main-logo.png',
    'description' => 'Enterprise web scraping and data analytics services for UK businesses. Specialising in competitive intelligence, price monitoring, and GDPR-compliant data extraction.',
    'telephone' => '+44 1692 689150',
    'email' => 'info@ukdataservices.co.uk',
    'address' => [
        '@type' => 'PostalAddress',
        'streetAddress' => 'Professional Data Services Centre',
        'addressLocality' => 'London',
        'addressRegion' => 'England',
        'postalCode' => 'EC1A 1BB',
        'addressCountry' => 'GB'
    ],
    'geo' => [
        '@type' => 'GeoCoordinates',
        'latitude' => 51.5074,
        'longitude' => -0.1278
    ],
    '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' => [
        'https://www.linkedin.com/company/ukdataservices',
        'https://twitter.com/ukdataservices'
    ],
    'contactPoint' => [
        [
            '@type' => 'ContactPoint',
            'telephone' => '+44 1692 689150',
            'contactType' => 'sales',
            'availableLanguage' => 'English',
            'areaServed' => 'GB',
            'hoursAvailable' => [
                '@type' => 'OpeningHoursSpecification',
                'dayOfWeek' => ['Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday'],
                'opens' => '09:00',
                'closes' => '17:30'
            ]
        ],
        [
            '@type' => 'ContactPoint',
            'email' => 'info@ukdataservices.co.uk',
            'contactType' => 'customer service',
            'availableLanguage' => 'English',
            'areaServed' => 'GB'
        ]
    ],
    'foundingDate' => '2018',
    'numberOfEmployees' => [
        '@type' => 'QuantitativeValue',
        'value' => '15'
    ],
    'aggregateRating' => [
        '@type' => 'AggregateRating',
        'ratingValue' => '4.9',
        'reviewCount' => '127',
        'bestRating' => '5',
        'worstRating' => '1'
    ]
];
?>
<script type="application/ld+json">
<?php echo json_encode($organizationSchema, JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES); ?>
</script>
