JSON-LD marking to structuring your site in Yandex

JSON-LD marking to structuring your site in Yandex

Json-LD is a format for presenting information in the form of objects with related data. This structure allows you to make data machine -readable and convenient for automatic processing. To place the json-ld marking on the pages of your site, you should use the tag <script> indicating the type application/ld+json.

Before publication, it is recommended to check the correctness of the created marking through the syntax validate.

JSON-LD format is used for:

  • display of structured data in the interfaces of postal services;
  • Building bread crumbs in Snippets of the site pages in Yandex;
  • creating blocks of questions and answers in a mobile search results.

Data in JSON-LD format, as in the usual JSON, are a pair of key-meaning. But JSON-LD expands the standard using special reserved keys that allow you to determine the context or establish connections between objects. For example:

  • @Context - indicates the used description of the entities;
  • @Type - denotes the type of object that is described in the structure.

Please note: all keys and values are sensitive to the register - they need to be written strictly in compliance with the correct spelling.

Key features of json-ld as a format for structuring the site data in Yandex

In the JSON-LD format, general rules inherited from the JSON standard:

  • Object -The structure of unique pairs key is the key in curly brackets. Repeat of keys in one object is unacceptable.
  • Array - list of values in square brackets. The order of elements is not fixed, unless otherwise indicated.
  • Line - The sequence of Unicode characters in double quotes. Slena scanning of symbols in the reverse slash is permissible.
  • Number - Presented in the usual form. You can not use leading zeros, octagonal and hexadecimal values.
  • True / False - binary values are applicable for fields with two acceptable options.
  • Null - indicates the absence of meaning. If null is installed for @value, @list or @set, the object will not be taken into account.

An example of using json-ld to display your site information in Yandex

The simplest example of using marking for automatic data processing is a ticket booking:

<script type="application/ld+json">
{
 "@context": "http://schema.org",
 "@type": "FlightReservation",
 "reservationId": "RXJ34P"
}
</script>

What is contained in this object:

  • @Context - reports that the dictionary is used schema.org;
  • @Type - defines the type of essence, in this case it is FlightReservation;
  • Reservationid - A reservation parameter unique to each transaction.

Marking can be supplemented with other fields, including the date of the flight, the destination, passenger data, etc. All possible keys and values can be found in the documentation according to the scheme schema.org.

Additional information on JSON-LD and support for structuring your site data in Yandex

If you are developing a system of marking letters, notifications or cards on the pages of your site, json-ld is a universal and modern solution. It allows you to adapt the data to automatic indexation, providing a more complete and visually noticeable presentation of your content in the search results.

To introduce json-ld markings on your site and its verification for correctness, you can contact the SEO specialists CEO for SEO and automation. Write to the address info@seo.computer or contact whatsApp +79202044461.

ID: 61

Send a request and we will provide a consultation on SEO promotion of your website