schemaorg / schemaorg

Schema.org - schemas and supporting software
https://schema.org/
Apache License 2.0
5.41k stars 825 forks source link

Ranges of addressLocality and addressRegion #2857

Closed tmciver closed 2 weeks ago

tmciver commented 3 years ago

The range for both addressLocality and addressRegion is Text. I wonder if the range should instead be "Text or URL" so that localities and regions can be referenced by their URI's too.

Another thought along these lines is having more specific sub-types of PostalAddress like USPostalAddress, UKPostalAddress, etc. Then USPostalAddress could have addressCity and addressState whose ranges could be "Text or City" and "Text or State", respectively. UKPostalAddress could then have appropriate members which should solve the problem described in this comment of issue #75.

github-actions[bot] commented 3 years ago

This issue is being tagged as Stale due to inactivity.