XML validator
The XML validator checks your XML file against its XSD schema, verifying syntax, structure, content model, and data types. This XML file transmits data for your site's display in Yandex Search.
The validator doesn't check the set of elements in the feed. For example, if an XML file is missing an element that is required for the partner program, the validator won't detect that. As a result, the feed will not work in the partner program.
Manually check your XML file elements to ensure they meet the technical requirements of the program.
How to check the file
1. Select a validation schema
There are several types of validation schemes available in the tool. Select the one you need.
Doctors
Check your YML feed before you submit data about the doctors and medical services listed on your site to Yandex Search. For a full list of requirements for the doctor data transfer format, see Help.
Realty
Validate the format of the export file for Yandex Realty. It contains basic information about the ads. See the technical requirements.
Videos
Validate the format of the export file for Yandex Video. You can submit data about the videos placed on your site.
Market
Validate the format of the YML export file for online store search.
Business
Validate the format of the export file for the Yandex Business partner program. You can submit data about your company's branches for bulk addition to Yandex Maps and to Yandex Search snippets. See the technical requirements.
The default option is Doctors. If you have a different schema that you didn't specify, an error will appear:
Row: 3 Position: 38
More details
<detail>cvc-elt.1.a: Cannot find the declaration of element
'yml_catalog'.</detail>
You can also upload your own schema. To do this, select Other.
2. Choose the source of XML data for validation.
-
File
You can upload a custom XSD file and use it to validate your XML documents.
Click Choose file and upload the file.
-
Link
Enter the URL of your custom XSD schema.
-
Code
Copy the contents of the XSD schema into the text box.
Click Check.