import { COMPARE } from './compare'; import { FAQS } from './faqs'; import { IOS_TESTFLIGHT_URL } from './links'; import { SITE_PAGES, SITE_URL } from './site-metadata'; const PUBLISHER_ID = `${SITE_URL}/#org`; const APP_ID = `${SITE_URL}/#app`; const PUBLISHER = { '@type': 'Organization', '@id': PUBLISHER_ID, name: 'Jotley', url: `${SITE_URL}/`, logo: `${SITE_URL}/jotley-logo.png`, }; // Only publish facts shown on the site; no unverified ratings or reviews. const APP = { '@type': 'SoftwareApplication', '@id': APP_ID, name: 'Jotley', alternateName: 'Jotley: Live AI Transcription', url: SITE_URL, description: 'Jotley is a free voice notes app for Mac, iPhone and iPad. It transcribes as you speak, then summarizes and answers questions about your notes with Apple Intelligence on your device. On Mac it also transcribes system and app audio.', applicationCategory: 'ProductivityApplication', applicationSubCategory: 'Voice notes and transcription', operatingSystem: 'macOS 27 or later, iOS 27 or later, iPadOS 27 or later', isAccessibleForFree: true, downloadUrl: [IOS_TESTFLIGHT_URL, `${SITE_URL}${SITE_PAGES.download.path}`], image: `${SITE_URL}/jotley-icon.png`, featureList: [ 'Free, unlimited live transcription', 'Free, unlimited AI summaries with built-in or custom templates', 'Chat with your notes using Apple Intelligence on your device', 'Keeps transcribing when your iPhone is locked', 'On Mac, transcribes system audio, app audio and your microphone, with no meeting bots', 'Markdown note export', 'Optional private iCloud sync', ], author: { '@id': PUBLISHER_ID }, publisher: { '@id': PUBLISHER_ID }, sameAs: [IOS_TESTFLIGHT_URL], }; const WEBSITE = { '@type': 'WebSite', '@id': `${SITE_URL}/#website`, name: 'Jotley', url: SITE_URL, description: SITE_PAGES.home.description, inLanguage: 'en-US', publisher: { '@id': PUBLISHER_ID }, }; export const SITE_STRUCTURED_DATA = { '@context': 'https://schema.org', '@graph': [PUBLISHER, WEBSITE, APP], }; // The support page: the same questions and answers the FAQ shows. export const SUPPORT_STRUCTURED_DATA = { '@context': 'https://schema.org', '@graph': [ { '@type': 'FAQPage', '@id': `${SITE_URL}${SITE_PAGES.support.path}#faq`, url: `${SITE_URL}${SITE_PAGES.support.path}`, about: { '@id': APP_ID }, mainEntity: FAQS.map(({ q, a }) => ({ '@type': 'Question', name: q, acceptedAnswer: { '@type': 'Answer', text: a }, })), }, PUBLISHER, APP, ], }; // The compare page: the same questions and answers the page shows. export const COMPARE_STRUCTURED_DATA = { '@context': 'https://schema.org', '@graph': [ { '@type': 'FAQPage', '@id': `${SITE_URL}${SITE_PAGES.compare.path}#faq`, url: `${SITE_URL}${SITE_PAGES.compare.path}`, about: { '@id': APP_ID }, mainEntity: COMPARE.faqs.map(({ q, a }) => ({ '@type': 'Question', name: q, acceptedAnswer: { '@type': 'Answer', text: a }, })), }, PUBLISHER, APP, ], }; export function jsonLd(data: object) { return { __html: JSON.stringify(data).replace(/