NAME

SemanticWeb::Schema::DefinedRegion - A DefinedRegion is a geographic area defined by potentially arbitrary (rather than political

VERSION

version v11.01.0

DESCRIPTION

A DefinedRegion is a geographic area defined by potentially arbitrary (rather than political, administrative or natural geographical) criteria. Properties are provided for defining a region by reference to sets of postal codes. Examples: a delivery destination when shopping. Region where regional pricing is configured. Requirement 1: Country: US States: "NY", "CA" Requirement 2: Country: US PostalCode Set: { [94000-94585], [97000, 97999], [13000, 13599]} { [12345, 12345], [78945, 78945], } Region = state, canton, prefecture, autonomous community...

ATTRIBUTES

address_country

addressCountry

The country. For example, USA. You can also provide the two-letter [ISO 3166-1 alpha-2 country code](http://en.wikipedia.org/wiki/ISO_3166-1).

A address_country should be one of the following types:

InstanceOf['SemanticWeb::Schema::Country']
Str

_has_address_country

A predicate for the "address_country" attribute.

address_region

addressRegion

The region in which the locality is, and which is in the country. For example, California or another appropriate first-level [Administrative division](https://en.wikipedia.org/wiki/List_of_administrative_divisions_by _country)

A address_region should be one of the following types:

Str

_has_address_region

A predicate for the "address_region" attribute.

postal_code

postalCode

The postal code. For example, 94043.

A postal_code should be one of the following types:

Str

_has_postal_code

A predicate for the "postal_code" attribute.

postal_code_prefix

postalCodePrefix

A defined range of postal codes indicated by a common textual prefix. Used for non-numeric systems such as UK.

A postal_code_prefix should be one of the following types:

Str

_has_postal_code_prefix

A predicate for the "postal_code_prefix" attribute.

postal_code_range

postalCodeRange

A defined range of postal codes.

A postal_code_range should be one of the following types:

InstanceOf['SemanticWeb::Schema::PostalCodeRangeSpecification']

_has_postal_code_range

A predicate for the "postal_code_range" attribute.

SEE ALSO

SemanticWeb::Schema::StructuredValue

SOURCE

The development version is on github at https://github.com/robrwo/SemanticWeb-Schema and may be cloned from git://github.com/robrwo/SemanticWeb-Schema.git

BUGS

Please report any bugs or feature requests on the bugtracker website https://github.com/robrwo/SemanticWeb-Schema/issues

When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.

AUTHOR

Robert Rothenberg <rrwo@cpan.org>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2018-2020 by Robert Rothenberg.

This is free software, licensed under:

  The Artistic License 2.0 (GPL Compatible)