> */ public static function all(): array { return array( 'ecommerce' => array( 'label' => __( 'Online shop', 'ai-rank-suite' ), 'icon' => '🛒', 'noun' => 'shop', 'type' => 'OnlineStore', 'summary' => __( 'Product markup that survives Merchant Center, variant pricing, and the questions buyers ask before they buy.', 'ai-rank-suite' ), 'knows' => array( 'online retail', 'product selection', 'shipping and delivery', 'returns and warranty' ), 'prompts' => array( 'best %category% to buy online', 'where can I buy %product% with fast delivery', 'is %brand% a trustworthy shop', '%brand% returns policy', '%product% alternatives compared', ), 'faq' => array( __( 'How long does delivery take?', 'ai-rank-suite' ), __( 'What is your returns policy?', 'ai-rank-suite' ), __( 'Which payment methods do you accept?', 'ai-rank-suite' ), __( 'Do you ship internationally?', 'ai-rank-suite' ), ), 'schema' => array( 'Product', 'Offer', 'FAQPage', 'BreadcrumbList' ), 'focus' => array( 'commerce', 'duplication' ), 'why' => __( 'Assistants recommending a product read the description, the identifier and the return policy. A catalogue missing any of the three is never the recommendation.', 'ai-rank-suite' ), ), 'medical' => array( 'label' => __( 'Medical practice / clinic', 'ai-rank-suite' ), 'icon' => '🩺', 'noun' => 'doctor', 'type' => 'MedicalOrganization', 'summary' => __( 'Practice identity, treatments as subjects, opening hours, and the booking questions patients ask an assistant first.', 'ai-rank-suite' ), 'knows' => array( 'general medicine', 'preventive care', 'diagnostics', 'patient consultation' ), 'prompts' => array( 'best %type% in %city%', '%type% in %city% that speaks English', '%type% near me open on Saturday', 'how much does %treatment% cost in %city%', 'can I get an appointment at %brand% this week', ), 'faq' => array( __( 'Do I need a referral?', 'ai-rank-suite' ), __( 'Which insurances do you accept?', 'ai-rank-suite' ), __( 'How do I book an appointment?', 'ai-rank-suite' ), __( 'What should I bring to my first visit?', 'ai-rank-suite' ), ), 'schema' => array( 'MedicalOrganization', 'MedicalProcedure', 'Physician', 'FAQPage' ), 'focus' => array( 'geo', 'site' ), 'why' => __( 'Health answers are held to a higher evidence bar. Credentials, named practitioners and a corrections policy are what let an assistant repeat you at all.', 'ai-rank-suite' ), 'sensitive' => true, ), 'legal' => array( 'label' => __( 'Law firm', 'ai-rank-suite' ), 'icon' => '⚖️', 'noun' => 'lawyer', 'type' => 'LegalService', 'summary' => __( 'Practice areas as subjects, bar admissions as credentials, and the questions people ask before they call a lawyer.', 'ai-rank-suite' ), 'knows' => array( 'employment law', 'contract law', 'family law', 'commercial litigation' ), 'prompts' => array( 'best %type% in %city%', 'do I need a lawyer for %topic%', 'how much does a %type% cost in %city%', '%type% in %city% for a free first consultation', 'is %brand% a good law firm', ), 'faq' => array( __( 'What does a first consultation cost?', 'ai-rank-suite' ), __( 'Which areas of law do you cover?', 'ai-rank-suite' ), __( 'How quickly can you take on a case?', 'ai-rank-suite' ), __( 'Do you work on a fixed fee?', 'ai-rank-suite' ), ), 'schema' => array( 'LegalService', 'Attorney', 'Service', 'FAQPage' ), 'focus' => array( 'geo', 'content' ), 'why' => __( 'Legal queries are jurisdictional. Declaring the areas you serve and the law you practise is what stops an assistant recommending you to someone in the wrong country.', 'ai-rank-suite' ), 'sensitive' => true, ), 'restaurant' => array( 'label' => __( 'Restaurant / café', 'ai-rank-suite' ), 'icon' => '🍽️', 'noun' => 'restaurant', 'type' => 'Restaurant', 'summary' => __( 'Cuisine, menu, opening hours and reservations — the four things every "where should we eat" answer is built from.', 'ai-rank-suite' ), 'knows' => array( 'cuisine', 'menu', 'reservations', 'catering' ), 'prompts' => array( 'best %cuisine% restaurant in %city%', 'where to eat near %landmark%', '%cuisine% in %city% with vegan options', 'restaurants in %city% open late', 'is %brand% good for a group booking', ), 'faq' => array( __( 'Do you take reservations?', 'ai-rank-suite' ), __( 'Do you have vegetarian and vegan dishes?', 'ai-rank-suite' ), __( 'Is there parking nearby?', 'ai-rank-suite' ), __( 'Can you cater for allergies?', 'ai-rank-suite' ), ), 'schema' => array( 'Restaurant', 'Menu', 'FAQPage', 'Review' ), 'focus' => array( 'geo', 'site' ), 'why' => __( 'Restaurant answers are decided on opening hours and cuisine before anything else. Both are structured data, and both are usually missing.', 'ai-rank-suite' ), ), 'hotel' => array( 'label' => __( 'Hotel / accommodation', 'ai-rank-suite' ), 'icon' => '🏨', 'noun' => 'hotel', 'type' => 'Hotel', 'summary' => __( 'Amenities, room types, check-in times and location — assistants answer travel questions from exactly these fields.', 'ai-rank-suite' ), 'knows' => array( 'accommodation', 'hospitality', 'local tourism', 'business travel' ), 'prompts' => array( 'best hotels in %city% for %purpose%', 'hotels near %landmark% with free parking', 'family-friendly hotel in %city%', 'is %brand% a good hotel', 'cheapest hotel in %city% with a pool', ), 'faq' => array( __( 'What time is check-in and check-out?', 'ai-rank-suite' ), __( 'Is breakfast included?', 'ai-rank-suite' ), __( 'Do you have parking?', 'ai-rank-suite' ), __( 'Are pets allowed?', 'ai-rank-suite' ), ), 'schema' => array( 'Hotel', 'LodgingBusiness', 'FAQPage', 'Review' ), 'focus' => array( 'geo', 'content' ), 'why' => __( 'Travel is the category assistants have taken over fastest, because the answer is a shortlist and a shortlist is what they are good at producing.', 'ai-rank-suite' ), ), 'trades' => array( 'label' => __( 'Trades & home services', 'ai-rank-suite' ), 'icon' => '🔧', 'noun' => 'tradesperson', 'type' => 'HomeAndConstructionBusiness', 'summary' => __( 'Service area, emergency availability and call-out pricing — the three filters every "I need someone now" query applies.', 'ai-rank-suite' ), 'knows' => array( 'installation', 'repair', 'maintenance', 'emergency callout' ), 'prompts' => array( 'emergency %trade% in %city%', '%trade% near me open now', 'how much does a %trade% call-out cost in %city%', 'best rated %trade% in %city%', '%trade% in %city% for %job%', ), 'faq' => array( __( 'Which areas do you cover?', 'ai-rank-suite' ), __( 'Do you offer emergency call-outs?', 'ai-rank-suite' ), __( 'What does a call-out cost?', 'ai-rank-suite' ), __( 'Are you insured and certified?', 'ai-rank-suite' ), ), 'schema' => array( 'HomeAndConstructionBusiness', 'Service', 'FAQPage' ), 'focus' => array( 'geo', 'site' ), 'why' => __( 'Trade queries are urgent and local. An entity without an explicit service area gets filtered out before quality is even considered.', 'ai-rank-suite' ), ), 'realestate' => array( 'label' => __( 'Real estate', 'ai-rank-suite' ), 'icon' => '🏘️', 'noun' => 'estate agent', 'type' => 'RealEstateAgent', 'summary' => __( 'Neighbourhoods as subjects, listings as structured data, and the questions buyers ask before they contact an agent.', 'ai-rank-suite' ), 'knows' => array( 'residential sales', 'property valuation', 'lettings', 'local market analysis' ), 'prompts' => array( 'best estate agent in %city%', 'how much is my flat in %city% worth', 'buying property in %city% as a foreigner', '%city% property market outlook', 'is %brand% a reputable agency', ), 'faq' => array( __( 'What is your commission?', 'ai-rank-suite' ), __( 'How long does a sale usually take?', 'ai-rank-suite' ), __( 'Do you handle rentals as well as sales?', 'ai-rank-suite' ), __( 'How do you value a property?', 'ai-rank-suite' ), ), 'schema' => array( 'RealEstateAgent', 'Residence', 'FAQPage' ), 'focus' => array( 'geo', 'content' ), 'why' => __( 'Property questions are answered per neighbourhood. Naming the districts you work in is the difference between being local and being nearby.', 'ai-rank-suite' ), ), 'automotive' => array( 'label' => __( 'Automotive', 'ai-rank-suite' ), 'icon' => '🚗', 'noun' => 'garage', 'type' => 'AutoRepair', 'summary' => __( 'Makes serviced, workshop capabilities and pricing — the filters used by every "who can fix this" question.', 'ai-rank-suite' ), 'knows' => array( 'vehicle servicing', 'diagnostics', 'bodywork', 'tyres' ), 'prompts' => array( 'best garage in %city% for %make%', '%make% specialist near me', 'how much is a service for a %make% in %city%', 'car inspection in %city% same day', 'is %brand% a reliable garage', ), 'faq' => array( __( 'Which makes do you service?', 'ai-rank-suite' ), __( 'Do you offer a courtesy car?', 'ai-rank-suite' ), __( 'How long does a service take?', 'ai-rank-suite' ), __( 'Do you give a warranty on repairs?', 'ai-rank-suite' ), ), 'schema' => array( 'AutoRepair', 'Service', 'FAQPage' ), 'focus' => array( 'geo', 'commerce' ), 'why' => __( 'Vehicle queries name a make. An entity that lists the makes it services matches those questions directly.', 'ai-rank-suite' ), ), 'saas' => array( 'label' => __( 'SaaS / software', 'ai-rank-suite' ), 'icon' => '💻', 'noun' => 'software', 'type' => 'OnlineBusiness', 'summary' => __( 'Comparison and alternatives coverage — the two query shapes that decide software purchases inside assistants.', 'ai-rank-suite' ), 'knows' => array( 'software', 'integrations', 'data security', 'onboarding' ), 'prompts' => array( 'best %category% software', '%competitor% alternatives', '%brand% vs %competitor%', '%category% tool with %feature%', 'is %brand% worth the price', ), 'faq' => array( __( 'Is there a free trial?', 'ai-rank-suite' ), __( 'How does pricing work?', 'ai-rank-suite' ), __( 'Where is my data stored?', 'ai-rank-suite' ), __( 'Which integrations do you support?', 'ai-rank-suite' ), ), 'schema' => array( 'SoftwareApplication', 'Offer', 'FAQPage', 'HowTo' ), 'focus' => array( 'content', 'geo' ), 'why' => __( '"X vs Y" and "alternatives to X" are the two highest-intent prompts in software, and both are answered from comparison pages an assistant can quote.', 'ai-rank-suite' ), ), 'agency' => array( 'label' => __( 'Agency / consultancy', 'ai-rank-suite' ), 'icon' => '📈', 'noun' => 'agency', 'type' => 'ProfessionalService', 'summary' => __( 'Services, sectors and case evidence — assistants shortlist agencies on proof, not on adjectives.', 'ai-rank-suite' ), 'knows' => array( 'strategy', 'implementation', 'analytics', 'training' ), 'prompts' => array( 'best %service% agency in %city%', '%service% agency for %industry%', 'how much does %service% cost', '%brand% reviews', 'agencies like %competitor%', ), 'faq' => array( __( 'What does a typical engagement cost?', 'ai-rank-suite' ), __( 'Which industries do you work with?', 'ai-rank-suite' ), __( 'How quickly can you start?', 'ai-rank-suite' ), __( 'Do you work remotely?', 'ai-rank-suite' ), ), 'schema' => array( 'ProfessionalService', 'Service', 'FAQPage', 'Review' ), 'focus' => array( 'content', 'geo' ), 'why' => __( 'Every agency site claims expertise. Named sectors, named services and verifiable results are the only parts a machine can act on.', 'ai-rank-suite' ), ), 'education' => array( 'label' => __( 'Education & training', 'ai-rank-suite' ), 'icon' => '🎓', 'noun' => 'training provider', 'type' => 'EducationalOrganization', 'summary' => __( 'Courses, accreditation and outcomes — the fields that make a programme comparable to another one.', 'ai-rank-suite' ), 'knows' => array( 'courses', 'certification', 'admissions', 'career outcomes' ), 'prompts' => array( 'best %subject% course in %city%', 'online %subject% certification worth it', '%subject% training for beginners', 'how long does a %subject% course take', 'is %brand% accredited', ), 'faq' => array( __( 'What are the entry requirements?', 'ai-rank-suite' ), __( 'How long does the course take?', 'ai-rank-suite' ), __( 'Is the qualification recognised?', 'ai-rank-suite' ), __( 'What does it cost?', 'ai-rank-suite' ), ), 'schema' => array( 'EducationalOrganization', 'Course', 'FAQPage' ), 'focus' => array( 'content', 'geo' ), 'why' => __( 'Course questions compare duration, cost and recognition. Course schema carries all three; prose carries none of them.', 'ai-rank-suite' ), ), 'publisher' => array( 'label' => __( 'Publisher / magazine', 'ai-rank-suite' ), 'icon' => '📰', 'noun' => 'publication', 'type' => 'NewsMediaOrganization', 'summary' => __( 'Author entities, editorial policies and freshness — what decides whether an assistant cites you or the wire service.', 'ai-rank-suite' ), 'knows' => array( 'reporting', 'analysis', 'local news', 'investigations' ), 'prompts' => array( 'latest news about %topic%', 'what happened with %event%', 'best %topic% publications', '%topic% explained', 'is %brand% a reliable source', ), 'faq' => array( __( 'Who writes for you?', 'ai-rank-suite' ), __( 'How do you handle corrections?', 'ai-rank-suite' ), __( 'How is your journalism funded?', 'ai-rank-suite' ), __( 'Can I republish your articles?', 'ai-rank-suite' ), ), 'schema' => array( 'NewsMediaOrganization', 'NewsArticle', 'Person', 'FAQPage' ), 'focus' => array( 'geo', 'duplication' ), 'why' => __( 'Publishers compete on trust. The editorial, corrections and funding policies are literal schema properties, and almost no site sets them.', 'ai-rank-suite' ), ), 'beauty' => array( 'label' => __( 'Beauty & wellbeing', 'ai-rank-suite' ), 'icon' => '💇', 'noun' => 'salon', 'type' => 'BeautySalon', 'summary' => __( 'Treatments, prices and booking — short, local, high-intent queries decided entirely on structured fields.', 'ai-rank-suite' ), 'knows' => array( 'hair', 'skincare', 'treatments', 'bridal' ), 'prompts' => array( 'best %treatment% in %city%', '%treatment% near me open Sunday', 'how much does %treatment% cost in %city%', 'walk-in %type% in %city%', 'is %brand% good for %treatment%', ), 'faq' => array( __( 'Do I need an appointment?', 'ai-rank-suite' ), __( 'How much does a treatment cost?', 'ai-rank-suite' ), __( 'How long does it take?', 'ai-rank-suite' ), __( 'Which products do you use?', 'ai-rank-suite' ), ), 'schema' => array( 'BeautySalon', 'Service', 'FAQPage' ), 'focus' => array( 'geo', 'site' ), 'why' => __( 'These are the shortest queries there are, and they are decided on opening hours, price band and distance — all structured, all usually absent.', 'ai-rank-suite' ), ), 'finance' => array( 'label' => __( 'Finance & insurance', 'ai-rank-suite' ), 'icon' => '🏦', 'noun' => 'adviser', 'type' => 'FinancialService', 'summary' => __( 'Regulated identity, licence numbers and product terms — the fields an assistant needs before it dares recommend anything financial.', 'ai-rank-suite' ), 'knows' => array( 'financial advice', 'insurance', 'lending', 'regulation' ), 'prompts' => array( 'best %product% in %country%', '%product% for self-employed', 'is %brand% regulated', 'how much %product% cover do I need', '%brand% reviews and complaints', ), 'faq' => array( __( 'Are you regulated, and by whom?', 'ai-rank-suite' ), __( 'How are you paid — fees or commission?', 'ai-rank-suite' ), __( 'What does the cover include?', 'ai-rank-suite' ), __( 'How do I make a claim?', 'ai-rank-suite' ), ), 'schema' => array( 'FinancialService', 'FinancialProduct', 'FAQPage' ), 'focus' => array( 'geo', 'site' ), 'why' => __( 'Assistants are cautious with money. A visible regulator, licence number and LEI move you from "a website" to "a regulated entity".', 'ai-rank-suite' ), 'sensitive' => true, ), ); } /** * Pack ids, for REST validation. * * @return list */ public static function ids(): array { return array_keys( self::all() ); } /** * The catalog as the admin app consumes it. * * @return list> */ public static function for_client(): array { $out = array(); foreach ( self::all() as $id => $pack ) { $out[] = array_merge( array( 'id' => $id ), $pack ); } return $out; } }