正确的RDF-a 1.1治疗师实践模式

时间:2017-04-25 14:49:21

标签: schema.org rdfa

我正在努力为在几种实践中工作的心理健康治疗师找到正确的模式。众所周知,几乎唯一的专业医疗服务schema.org似乎听说过“医疗服务”......

让我概述一下我如何设置模式定义:

<div vocab="https://schema.org">

    <div resource="https://example.com/practice.phtml" typeOf="Organization">
        <span property="name">main practice</span>
        <!-- looks like there's no other information required, data testing tool doesn't complain -->
    </div>

    <div resource="https://example.com/practice-01.phtml" typeOf="LocalBusiness">
        <meta property="parentOrganization" resource="https://example.com/practice.phtml">
        <span property="name">Practice #1</span>
            <link property="additionalType" href="https://schema.org/HealthAndBeautyBusiness">
            <link property="additionalType" href="https://schema.org/MedicalBusiness">
            <link property="additionalType" href="https://schema.org/ProfessionalService">
            <link property="additionalType" href="http://www.productontology.org/id/Psychotherapy">

        Located at
        <div property="address" typeOf="PostalAddress">
            <span property="streetAddress">Street 1</span>,
            <span property="postalCode">12345</span>,
            <span property="addressLocality">City 1</span>.
            <span property="addressCountry">SE</span>.
        </div>
        Phone: <span property="telephone">+431234567</span>
        <div property="image" content="https://example.com/img/practice01.jpg"></div>
        <div property="priceRange" content="$$"></div>
    </div>

    <div resource="https://example.com/practice-02.phtml" typeOf="LocalBusiness">
        <meta property="parentOrganization" resource="https://example.com/practice.phtml">
        <span property="name">Practice #2</span>
        Located at
        <div property="address" typeOf="PostalAddress">
            <span property="streetAddress">Street 2</span>,
            <span property="postalCode">98765</span>,
            <span property="addressLocality">City 2</span>.
            <span property="addressCountry">SE</span>.
        </div>
        Phone: <span property="telephone">+431234567</span>
        <div property="image" content="https://example.com/img/practice02.jpg"></div>
        <div property="priceRange" content="$$"></div>
    </div>

<div>

Google的结构化数据测试工具以这种形式接受它,但是,我想知道为什么不需要其他“主要”练习的信息?也, a)我的additionalType定义是否允许搜索引擎正确猜测所提供服务的类型以及是否 b)它们会显示在地图上的正确地址上(是的,我也会添加地图坐标,只是想避免那里的膨胀代码)。

0 个答案:

没有答案
相关问题