如何为Schema.org'Preschool'编写工作时间?

问题描述 投票:1回答:1

我正在为多个幼儿园进行结构化标记。尽管ChildCare类型允许openingHours,但Preschool类型不允许。谁能推荐一个包括此内容的好方法?我热衷于仅将其设置为Preschool类型,因为这就是GMB中设置的类别。

这里是到目前为止我对整个结构化标记的理解。我也在尝试找到一种方法来将priceRange放入其中,但似乎无法弄清楚。

{                                                                       
    "@context": "http://schema.org",                                                                    
    "@type": "Preschool",                                                                   
    "name": "Name of Preschool",                                                                    
    "description": "Description of Preschool",                                                                  
    "address": {                                                                    
        "@type": "PostalAddress",                                                               
        "streetAddress": "Address of Preschool",                                                                
        "addressLocality": "City Name",
        "addressRegion": "State Name",                                                          
        "postalCode": "Zip Code",                                                               
        "addressCountry": "United States"
        },
    "image": "Image URL",                                                                   
    "logo": "Image URL",                                                                    
    "url": "Preschool URL",
    "foundingDate": "2016-05-01",

    "founder": {
        "@type": "Person",
        "name": "Name of Founder"
    },

    "numberOfEmployees": {
        "@type": "QuantitativeValue",
        "value": "2"
    },

    "contactPoint": {
        "@type": "ContactPoint",
        "telephone": "Phone Number",
        "contactType": "Customer Service",
        "areaServed": {
            "@type": "Place",
            "name": "Neighborhood of the Preschool",
            "branchCode": "Preschool Code", 
            "hasMap": "Google Map URL",
            "geo": {
                "@type": "GeoCoordinates",
                "latitude": "Coordinate",
                "longitude": "Coordinate"     
        } 
        }    
    },
    "parentOrganization": {
        "@type": "Organization",
        "name": "Name of Parent Company",
        "url": "URL of Parent Company"
    }
}
schema.org json-ld
1个回答
0
投票

它适用于ChildCare类型,因为它具有ChildCare作为父类型,并具有LocalBusinessLocalBusiness属性。

如果您的学龄前儿童也确实是企业,则可以通过同时使用两种类型来使用MTE:

openingHours

这允许您使用priceRange"@type": ["Preschool", "LocalBusiness"] 中的属性。

© www.soinside.com 2019 - 2024. All rights reserved.