-
-
Notifications
You must be signed in to change notification settings - Fork 137
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
serialize identifier to ld+json @id #102
Conversation
BC break for me. I need to set a property named |
It's kind of breaking but this package sticks to the schema.org ld+json standard. ANd this clearly states that the At the moment there is no way to keep |
google needs it. check https://developers.google.com/search/docs/data-types/job-posting and |
It refers to the normal structured data testtool. Have you tried what Google shows if you use |
the test tool says |
Could you post your resulting schema ld+json? If you want you can replace all sensitive information but please keep up the whole structure as is. |
|
Hey, the documentation for I've used this snippet and got a valid preview. The <html>
<head>
<title>Software Engineer</title>
<script type="application/ld+json">
{
"@context":"https://schema.org/",
"@type":"JobPosting",
"title":"PHP Open Source Developer",
"description":"Open Source developers are needed everywhere and can help multiple ways.",
"@id":"https://github.com/spatie/schema-org/php-open-source-developer",
"datePosted":"2019-10-10",
"validThrough":"2019-12-31T23:59",
"employmentType":"VOLUNTEER",
"hiringOrganization":{
"@type":"Organization",
"name":"Spatie",
"sameAs":[
"https://spatie.be",
"https://github.com/spatie"
],
"logo":"https://avatars0.githubusercontent.com/u/7535935?s=512&v=4"
},
"jobLocation":{
"@type":"Place",
"address":{
"@type":"PostalAddress",
"streetAddress":"Samberstraat 69/D",
"addressLocality":"Antwerp",
"addressRegion":"Antwerp",
"postalCode":"2060",
"addressCountry":"BE"
}
},
"baseSalary":{
"@type":"MonetaryAmount",
"currency":"EUR",
"value":{
"@type":"QuantitativeValue",
"value":0,
"unitText":"YEAR"
}
}
}
</script>
</head>
<body>
</body>
</html> |
thanks for investigating. |
fixes #98
replaces #79
https://schema.org/docs/datamodel.html#identifierBg