<address itemscope itemtype="http://schema.org/GovernmentOrganization">
<h2>
<a href="#" title="Pages du service Service name" itemprop="url">
<span class="sr-only">Accéder à la page de: </span><span itemprop="name">Service name</span></a>
</h2>
<h3 class="vd-heading-light h4 mt-0">division</h3>
<p>Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo.</p>
<p itemscope itemtype="http://schema.org/Person" class="mb-0">
<span itemprop="name">Alain Duvoisin</span> <br>
<span itemprop="jobTitle">Garde Forestier</span> <br>
</p>
<p itemprop="address" itemscope itemtype="http://schema.org/PostalAddress">
<span itemprop="streetAddress">Rue de la Barre 2</span> <br>
Case postale <span itemprop="postOfficeBoxNumber">5278</span><br>
<span itemprop="postalCode">1000</span>
<span itemprop="addressLocality">Lausanne</span>
<span class="sr-only" itemprop="addressCountry">Suisse</span>
</p>
<p>
<a href="tel:+41 21 123 45 67" content="+41 21 123 45 67" itemprop="telephone">+41 21 123 45 67</a><br>
<a href="mailto:service.departement@vd.ch" itemprop="email">service.departement@vd.ch</a><br>
<a href="https://www.google.ch/maps/search/Rue%20de%20la%20Barre%202%205278%201000%20Lausanne%20Suisse%20">Visualiser sur la carte</a><br>
<a href="https://www.fake-url.com">Lien libre</a>
</p>
<p><a href="#" title="Nous écrire Formulaire de contact" class="btn btn-dark">Nous écrire</a>
</p>
<div itemscope itemtype="http://schema.org/GovernmentBuilding">
<h3>Heures d'ouverture<span class="sr-only"> du Service name</span></h3>
<p itemprop="openingHours" content="Mo,Tu,We,Th,Fr 08:00-11:30,13:30-16:30">du lundi au vendredi de 8h00 à 11h30 et de 13h30 à 16h30</p>
<p>Nous sommes fermés pendant la période des fêtes</p>
</div>
<h3>CCP<span class="sr-only"> du Service name</span></h3>
<p>10-206496-4</p>
<img class="img-fluid" src="https://placehold.it/960x640/ea09ff/000001?text=Default|960x640" srcset="https://placehold.it/320x210/d8e7ff/000001?text=320x210 320w, https://placehold.it/540x360/a4c6fc/000001?text=540x360 540w, https://placehold.it/720x480/6ba4ff/000001?text=720x480 720w, https://placehold.it/960x640/3f89ff/000001?text=960x640 960w, https://placehold.it/1140x760/0a68ff/fffffa?text=1140x760 1140w" alt="Alternative text" itemprop="image">
</address>
<address itemscope itemtype="http://schema.org/GovernmentOrganization">
<h2
{%- if titleModifier %} class="{{ titleModifier }}"{% endif %}>
{%- if url %}
<a href="{{ url }}" title="Pages du service {{ name }}" itemprop="url">
{%- endif %}
{%- if accessibleLink %}
<span class="sr-only">{{ accessibleLink }}</span>{% endif -%}
<span itemprop="name">{{ name }}</span>
{%- if url -%}
</a>
{%- endif %}
</h2>
{% if division -%}
<h3 class="vd-heading-light h4 mt-0">{{ division }}</h3>
{%- endif %}
{% if description %}<p>{{ description }}</p>{% endif %}
{% if person -%}
<p itemscope itemtype ="http://schema.org/Person" class="mb-0">
<span itemprop="name">{{ person.name }}</span> <br>
{% if person.jobTitle -%}
<span itemprop="jobTitle">{{ person.jobTitle }}</span> <br>
{%- endif %}
</p>
{%- endif %}
{% if address -%}
<p itemprop="address" itemscope itemtype="http://schema.org/PostalAddress">
<span itemprop="streetAddress">{{ address.streetAddress }}</span> <br>
{% if address.postOfficeBoxNumber -%}
Case postale <span itemprop="postOfficeBoxNumber">{{ address.postOfficeBoxNumber }}</span><br>
{%- endif %}
<span itemprop="postalCode">{{ address.postalCode }}</span>
<span itemprop="addressLocality">{{ address.addressLocality }}</span>
<span class="sr-only" itemprop="addressCountry">{{ address.addressCountry }}</span>
</p>
{%- endif %}
<p>
{% if telephone -%}
<a href="tel:{{ telephone }}"
content="{{ telephone }}"
itemprop="telephone">{{ telephone }}</a><br>
{%- endif %}
{% if email -%}
<a href="mailto:{{ email }}"
itemprop="email">{{ email }}</a><br>
{%- endif %}
{% if address %}
<a href="https://www.google.ch/maps/search/
{%- for item, value in address -%}
{{ value | urlencode }}%20
{%- endfor -%}
">Visualiser sur la carte</a><br>
{% endif %}
{% if additionalUrl %}
{% for item in additionalUrl %}
<a href="{{ item.url }}">{{ item.text }}</a>
{% endfor %}
{% endif %}
</p>
<p>{% render '@button--default', button, true %}</p>
<div itemscope itemtype="http://schema.org/GovernmentBuilding">
{% if openingHours.title %}<h3>{{ openingHours.title }}<span class="sr-only"> du {{ name }}</span></h3>{% endif %}
{% if openingHours.openingHours %}
{% for hour in openingHours.openingHours %}
<p itemprop="openingHours" content="{{ hour.microdata }}">{{ hour.text }}</p>
{% endfor %}
{% endif %}
{% if openingHours.info -%}
<p>{{ openingHours.info }}</p>
{%- endif %}
</div>
{% if account %}<h3>{{ account.type }}<span class="sr-only"> du {{ name }}</span></h3>{% endif %}
<p>{{ account.number }}</p>
{% if image -%}
<img class="img-fluid"
src="https://placehold.it/960x640/ea09ff/000001?text=Default|960x640"
srcset="https://placehold.it/320x210/d8e7ff/000001?text=320x210 320w, https://placehold.it/540x360/a4c6fc/000001?text=540x360 540w, https://placehold.it/720x480/6ba4ff/000001?text=720x480 720w, https://placehold.it/960x640/3f89ff/000001?text=960x640 960w, https://placehold.it/1140x760/0a68ff/fffffa?text=1140x760 1140w"
alt="Alternative text"
itemprop="image">
{%- endif %}
</address>
{
"name": "Service name",
"accessibleLink": "Accéder à la page de: ",
"url": "#",
"division": "division",
"description": "Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Vestibulum tortor quam, feugiat vitae, ultricies eget, tempor sit amet, ante. Donec eu libero sit amet quam egestas semper. Aenean ultricies mi vitae est. Mauris placerat eleifend leo.",
"address": {
"streetAddress": "Rue de la Barre 2",
"postOfficeBoxNumber": "5278",
"postalCode": "1000",
"addressLocality": "Lausanne",
"addressCountry": "Suisse"
},
"account": {
"type": "CCP",
"number": "10-206496-4"
},
"person": {
"name": "Alain Duvoisin",
"jobTitle": "Garde Forestier"
},
"telephone": "+41 21 123 45 67",
"email": "service.departement@vd.ch",
"additionalUrl": [
{
"url": "https://www.fake-url.com",
"text": "Lien libre"
}
],
"button": {
"text": "Nous écrire",
"href": "#",
"title": "Formulaire de contact"
},
"openingHours": {
"title": "Heures d'ouverture",
"openingHours": [
{
"text": "du lundi au vendredi de 8h00 à 11h30 et de 13h30 à 16h30",
"microdata": "Mo,Tu,We,Th,Fr 08:00-11:30,13:30-16:30"
}
],
"info": "Nous sommes fermés pendant la période des fêtes"
},
"image": true
}
Make sure to follow structred data and test them.