Yes, you may use text as value for address
. While its expected value is another item (namely PostalAddress
) instead of text, Schema.org does not require this (bold emphasis mine):
While we would like all the markup we get to follow the schema, in practice, we expect a lot of data that does not. We expect schema.org properties to be used with new types. We also expect that often, where we expect a property value of type Person, Place, Organization or some other subClassOf Thing, we will get a text string. In the spirit of "some data is better than none", we will accept this markup and do the best we can.
However, it’s questionable if it’s really the "physical address" of an Organization
if you only specify city and state.
If you would use a PostalAddress
item as value, you could specify exactly what the address parts are that you provide, so consumers have a better chance to understand your data:
<p itemprop="address" itemscope itemtype="http://schema.org/PostalAddress">
<span itemprop="addressLocality">Some city</span>,
<span itemprop="addressRegion">WY</span>
</p>
(Terminology: You are using the syntax, or format, Microdata and the vocabulary Schema.org.)
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…