When creating a schema for a contact address, you’ll typically use JSON-LD (JavaScript Object Notation for Linked Data) to structure the information so that search engines can easily understand it. Below is an example schema for a contact address:
jsonCopy code{
"@context": "https://schema.org",
"@type": "Organization",
"name": "Your Business Name",
"url": "https://www.yourbusinesswebsite.com",
"address": {
"@type": "PostalAddress",
"streetAddress": "123 Main Street",
"addressLocality": "City Name",
"addressRegion": "State/Province",
"postalCode": "12345",
"addressCountry": "Country Name"
},
"contactPoint": {
"@type": "ContactPoint",
"telephone": "+1-800-555-5555",
"contactType": "Customer Service",
"email": "contact@yourbusiness.com",
"availableLanguage": ["English", "German"]
}
}
Key Elements:
- @context: Defines the vocabulary for the schema.
- @type: Describes the type of entity (in this case, an “Organization”).
- name: The name of your business or organization.
- url: Your business’s website URL.
- address: Structured data for the physical address using the “PostalAddress” type.
- contactPoint: Information for customer service, including phone number, contact type, and available languages.
This schema improves how search engines present your contact information in search results, often displaying it in rich snippets.