'Article', 'NewsArticle' => 'News Article', 'BlogPosting' => 'Blog Post', 'TechArticle' => 'Tech Article', 'ScholarlyArticle' => 'Scholarly Article', 'SatiricalArticle' => 'Satirical Article', 'AnalysisNewsArticle' => 'Analysis News Article', 'OpinionNewsArticle' => 'Opinion News Article', 'ReviewNewsArticle' => 'Review News Article', // Business 'LocalBusiness' => 'Local Business', 'Restaurant' => 'Restaurant', 'Store' => 'Store', 'Hotel' => 'Hotel', 'MedicalBusiness' => 'Medical Business', 'LegalService' => 'Legal Service', 'FinancialService' => 'Financial Service', 'AutoDealer' => 'Auto Dealer', 'RealEstateAgent' => 'Real Estate Agent', 'ProfessionalService' => 'Professional Service', 'CafeOrCoffeeShop' => 'Café or Coffee Shop', 'Bakery' => 'Bakery', 'MedicalClinic' => 'Medical Clinic', 'Dentist' => 'Dentist', 'Pharmacy' => 'Pharmacy', 'BeautySalon' => 'Beauty Salon', 'TravelAgency' => 'Travel Agency', 'Service' => 'Service', // Creative 'Book' => 'Book', 'Movie' => 'Movie', 'MusicAlbum' => 'Music Album', 'MusicRecording' => 'Music Recording', 'VideoObject' => 'Video', 'Podcast' => 'Podcast', 'PodcastEpisode' => 'Podcast Episode', 'Course' => 'Course', 'SoftwareApplication' => 'Software Application', 'MobileApplication' => 'Mobile App', 'WebApplication' => 'Web App', // People / Org 'Person' => 'Person', 'Organization' => 'Organization', 'NGO' => 'NGO', 'Corporation' => 'Corporation', 'EducationalOrganization' => 'Educational Organization', 'GovernmentOrganization' => 'Government Organization', // Products / Commerce 'Product' => 'Product', 'ProductGroup' => 'Product Group', 'Offer' => 'Offer', 'AggregateOffer' => 'Aggregate Offer', 'ItemList' => 'Item List', // Events 'Event' => 'Event', 'BusinessEvent' => 'Business Event', 'MusicEvent' => 'Music Event', 'SportsEvent' => 'Sports Event', 'FoodEvent' => 'Food Event', 'EducationEvent' => 'Education Event', 'OnlineEvent' => 'Online Event', // Review & Rating 'Review' => 'Review', 'AggregateRating' => 'Aggregate Rating', // QA & How-To 'FAQPage' => 'FAQ Page', 'HowTo' => 'How-To', 'QAPage' => 'Q&A Page', // Recipe & Food 'Recipe' => 'Recipe', 'NutritionInformation' => 'Nutrition Information', // Place 'Place' => 'Place', 'LandmarksOrHistoricalBuildings' => 'Landmark', // Job 'JobPosting' => 'Job Posting', // Medical 'MedicalCondition' => 'Medical Condition', 'Drug' => 'Drug', 'MedicalProcedure' => 'Medical Procedure', // Breadcrumb / Site 'BreadcrumbList' => 'Breadcrumb', 'WebPage' => 'Web Page', 'WebSite' => 'Website', 'SearchAction' => 'Sitelinks Searchbox', // Misc 'Dataset' => 'Dataset', 'Table' => 'Table', 'DefinedTerm' => 'Defined Term', 'Speakable' => 'Speakable', ]; } /** * Build the JSON-LD array for a given post. */ public static function build( $post_id ) { // Custom / pasted schema markup - if Schema Data already looks like a // complete schema.org object (has its own @type), use it verbatim // instead of running it through a per-type builder. This is what lets // someone paste a full