M
M
Maxim Valerievich2015-03-20 03:41:59
JSON
Maxim Valerievich, 2015-03-20 03:41:59

How to correctly specify multiple phones via schema.org and json?

Hello. Tell me how to correctly specify several phones using json.
Now I have this:

"@context": [
    "http://schema.org",
    {
      "phones": "http://schema.org/contactPoint",
      "type": "http://schema.org/contactType",
      "number": "http://schema.org/telephone"
    }
  ],
  "phones" : [
  {
      "@type" : "Мобильный телефон",
      "number" : "+7 927 667 19 67"
  }, {
      "@type" : "Городской телефон",
      "number" : "+7 (8352) 37 19 67"
  }
  ]

What Google says is excellent and the type of phone indicates mobile and landline. But Yandex says that he does not know what type this is. Or for Yandex to make a separate phone through the telephone array?
"telephone" : [
     { "@value" : "+7 927 667 19 67"},
     { "@value" : "+7 (8352) 37 19 67" }
  ],

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Valerievich, 2015-03-23
@S-anches

So answered Yandex will be correct.

{"@context": [
   "http://schema.org",
   {
     "phones": "http://schema.org/contactPoint",
     "type": "http://schema.org/contactType",
     "number": "http://schema.org/telephone"
   }
 ],
 "phones" : ["+7 927 667 19 67", "+7 (8352) 37 19 67"]
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question