3

In the schema.org I can not see any information that tells us a field is mandatory or not.

For example, the FAQPage has no information about mandatory fields.

However, the Google Developers Doc claims that the mainEntity is required.

Which one is telling the truth?

1
  • Very logical question, I was curious about the answer
    – ardacar
    Jan 17 at 17:33

1 Answer 1

8

They're both telling the truth.

Schema.org just provides a vocabulary: an agreed way to represent information. The things which use that vocabulary, like Google Search, can have their own requirements.

In the case of FAQPage, Google uses the vocabulary to represent a certain type of information (FAQs) in a special way (an expanded search result). For it to work, certain pieces of information have to be provided in specific ways.

Similarly, the English language has an agreed vocabulary. None of it is mandatory — we can use or not use words as we wish — but certain uses of it have their own requirements. For instance, if I want to write a legally valid contract.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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