Hallo,
ich versuche ein JobPosting Script für Google Jobs zu erstellen. Da es aber verschiedene Standorte gibt bei denen man arbeiten kann muss ich verschiedene Standorten in das Script einfügen. Laut Google Search Central kann ich die Property
jobLocation
mehrfach in einem Array hinzufügen. Ich habe schon so einiges probiert, was auch online vorgeschlagen wurde, jedoch gibt es immer fehler mit den google rich results, wenn ich das script testen will.
<script type="application/ld+json">
{
"@context": "https://schema.org/",
"@type": "JobPosting",
"title": "Test Job",
"description": "test beschreibung",
"hiringOrganization" : {
"@type": "Organization",
"name": "Test firma",
"sameAs": "https://test123.de",
"logo": "https://test123.de"
},
"industry": "test industry",
"employmentType": "FULL_TIME",
"datePosted": "2023-07-18",
"validThrough": "",
"jobLocation": {
"@type": "Place",
"address": {
"@type": "PostalAddress",
"streetAddress": "",
"addressLocality": "Hamburg",
"postalCode": "",
"addressCountry": "DE"
}
},
{
"@type": "Place",
"address": {
"@type": "PostalAddress",
"streetAddress": "",
"addressLocality": "Berlin",
"postalCode": "",
"addressCountry": "DE"
}
}
],
</script>
Das war einer meiner Versuche aber Google Rich Results sowie schema.org zeigen weiterhin Fehler an. Ich weiß im Moment nicht weiter, vielleicht kennt jemand hier sich mit dem Thema etwas aus und kann mir helfen mehrere Standorte in das JobPosting Script zu bekommen.
Danke im Voraus!