Users' questions and answers posted on your site can be structured and displayed on the Yandex search result pages. To help the search robot detect the best answer, mark up appropriate pages with two Schema.org markup types — Question and Answer.

Snippet without semantic markup:

Snippet with markup (displaying the best answer):

A single page should include one question and the corresponding answers to it.

Supported markup types and schema fields

Special snippets are shown for pages that have the Question and Answer types of markup. The property types that are recognized by Yandex are listed below. The Schema.org data type that the property value should correspond to is indicated in the second column.

Property Type Description Required
name Text Title of the question. Entered as a Question property. Yes
acceptedAnswer or suggestedAnswer Answer Best or regular answer. An answer marked up using this property is highly likely to be shown in the snippet. Entered as a Question property. Yes
text Text Text of the question. Entered as an Answer property. No
upvoteCount Integer

Number of votes for a specific answer.

The answer with the largest value in this field is highly likely to be shown in the snippet unless the acceptedAnswer property is entered. Entered as an Answer property.


Example of markup

You can check your markup using the validator.

Tell us what your question is about so we can direct you to the right specialist:

The markup is created within two weeks. If Yandex doesn't support any of the markup types on the page or the markup is incorrect, it skips it.

The Yandex robot will be able to index the site information even without markup, and it doesn't affect displaying pages in the search results. To set the desired page description in the search results, use the Description meta tag.

For a detailed description of errors, see Structured data validator.

This feedback form is intended for questions about Yandex partner programs and markup. If you are in doubt whether you should use a particular partner program provided by other services (not Yandex), we can't comment on how it influences your site's state in the search.