How do you structure the JSON-LD for a FAQPage where you have groups of questions on a page?


Questions about Billing
Question 1
Question 2

Questions about Shipping
Question 1
Answer 1

,"name":"Frequently asked questions"
    {"@type":"Question","name":"How do i see my previous bills?","acceptedAnswer":{"@type":"Answer","text":"Click the link that says 'Previous bills'."}}
    ,{"@type":"Question","name":"How do a pay my bill?","acceptedAnswer":{"@type":"Answer","text":"Call 1-800-pay-bill"}}
    ,{"@type":"Question","name":"How do i update my profile?","acceptedAnswer":{"@type":"Answer","text":"Click the link that says 'Edit profile'."}}
  • Why would you want to use structured data on the FAQ page? If you are searching for some structured data to use, you probably don't know what you are doing and you are looking for structured data for the wrong reasons. – Stephen Ostermiller Feb 8 at 23:10
  • 1
    Well you got me there, i wouldn't be asking a question if i knew what i was doing. – user3693957 Feb 9 at 0:31
  • There is a QAPage structured data that you can add a question and answer to. there's also a new FAQPage structured type that i assume you can add many questions to. our page has groups of FAQ topics but don't know how to add them as groups. are you saying the FAQPage type shouldn't be used? – user3693957 Feb 9 at 0:34
  • If you know that somebody is going to use it and you want to make your data available for that purpose then go ahead and use structured data. If you are asking "which structured data should I use", it means you don't know who would be using it. At best you are making your site more machine readable and somebody will stumble upon that. You are probably just wasting your time. At worst, you are making your content easy to steal. Lots of people seem to be implementing structured data assuming that Google uses all of it, but Google only uses a few types for rich snippets. – Stephen Ostermiller Feb 9 at 1:53
  • Did you try something? If yes, please edit your question to include a JSON-LD example showing what you’ve got / what you’ve tried. – unor Feb 9 at 15:33

I got an answer to this. It's correct the way i have it only it should be using ListItem in the mainEntity instead of an array. no need to add the topic of each set of questions.

New contributor
user3693957 is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our Code of Conduct.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.