Last active
March 29, 2023 17:03
-
-
Save cjzopen/67abc35b150a9271313e77bdeaed563e to your computer and use it in GitHub Desktop.
Organization json-ld example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="application/ld+json"> | |
{ | |
"@context": "https://schema.org", | |
"@graph": [{ | |
"@type": "Organization", | |
"@id": "https://www.example.com/#organization", | |
"name": "{{ your name }}", | |
"url": "https://www.example.com/", | |
"address": "{{ address }}", | |
"email": "{{ email }}", | |
"founder": "{{ not important }}", | |
"foundingDate": "{{ not important }}", | |
"telephone": "{{ not important }}", | |
"faxNumber": "{{ not important }}", | |
"contactPoint": [{ | |
"@type": "ContactPoint", | |
"telephone": "{{ phone }}", | |
"email": "{{ email }}", | |
"url": "https://www.example.com/consult/", | |
"contactType": "customer service" | |
}], | |
"sameAs": [ | |
"https://wikipedia.org/wiki/xxxx", | |
"https://www.facebook.com/xxx", | |
"https://www.youtube.com/user/xxx", | |
"https://www.linkedin.com/company/xxx" | |
], | |
"logo": { | |
"@type": "ImageObject", | |
"@id": "https://www.example.com/#logo", | |
"url": "https://www.example.com/img/logo.png", | |
"caption": "{{ your name }}" | |
}, | |
"image": { | |
"@id": "https://www.example.com/#logo" | |
} | |
}, { | |
"@type": "WebSite", | |
"@id": "https://www.example.com/#website", | |
"url": "https://www.example.com/", | |
"name": "{{ your name }}", | |
"publisher": { | |
"@id": "https://www.example.com/#organization" | |
}, | |
"potentialAction": { | |
"@type": "SearchAction", | |
"target": "https://www.example.com/?s={search_term_string}", | |
"query-input": "required name=search_term_string" | |
} | |
}, { | |
"@type": "WebPage", | |
"@id": "https://www.example.com/#webpage", | |
"url": "https://www.example.com/", | |
"inLanguage": "zh-TW", | |
"name": "{{ your title }}", | |
"isPartOf": { | |
"@id": "https://www.example.com/#website" | |
}, | |
"about": { | |
"@id": "https://www.example.com/#organization" | |
}, | |
"description": "{{ your description }}" | |
}] | |
} | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
use @id connect every @type