Skip to content

Differentiating geographic region vs specific locations in SpecialAnnouncement #2514

@vickitardif

Description

@vickitardif

Some of the early markup we are seeing for SpecialAnnouncement has different needs related to locations:

  1. The geographic region the announcement relates to. For example, a shelter-in-place order for a city or state.

  2. The specific location like a business or testing facility. For example, special opening hours for a supermarket.

  3. A geographic region and specific locations. For example, locations where children in a particular city can get free meals.

I propose the following:

  • The existing spatialCoverage property for the applicable region if needed.
  • Creating a new property announcementLocation for specific sites related to the announcement. The expected type for anouncementLocation is LocalBusiness.

As an example:

{
  "@context": "http://schema.org/",
  "@type": "SpecialAnnouncement",
  "category": "https://www.wikidata.org/wiki/Q81068910",
  "name": "Breakfast and lunch for school children",
  "text": "The city of Boston will provide free breakfast and lunch meals will be provided for school age children attending Boston schools.",
  "datePosted": "2020-03-17",
  "newsUpdatesAndGuidelines": "https://www.bostonpublicschools.org/Page/8098",
  "spatialCoverage": {
    "@type": "City",
    "name": "Boston, MA"
  },
  "announcementLocation": [
    {
      "@type": "School",
      "name": "Charlestown High School",
      "address": {
        "@type": "PostalAddress",
        "streetAddress": "240 Medford Street",
        "addressLocality": "Charlestown",
        "addressRegion": "Massachusetts"
      }
    },
    {
      "@type": "School",
      "name": "East Boston High School",
      "address": {
        "@type": "PostalAddress",
        "streetAddress": "86 White Street",
        "addressLocality": "Charlestown",
        "addressRegion": "Massachusetts"
      }
    }
  ]
}

This would also help prevent people from overloading about with extraneous information.

cc: @danbri @tmarshbing

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions