The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

SemanticWeb::Schema::MonetaryAmount - A monetary value or range

VERSION

version v0.0.4

DESCRIPTION

A monetary value or range. This type can be used to describe an amount of money such as $50 USD, or a range as in describing a bank account being suitable for a balance between £1,000 and £1,000,000 GBP, or the value of a salary, etc. It is recommended to use PriceSpecification Types to describe the price of an Offer, Invoice, etc.

ATTRIBUTES

currency

The currency in which the monetary amount is expressed.

Use standard formats: ISO 4217 currency format e.g. "USD"; Ticker symbol for cryptocurrencies e.g. "BTC"; well known names for Local Exchange Tradings Systems (LETS) and other currency types e.g. "Ithaca HOUR".

A currency should be one of the following types:

Str

max_value

maxValue

The upper value of some characteristic or property.

A max_value should be one of the following types:

Num

min_value

minValue

The lower value of some characteristic or property.

A min_value should be one of the following types:

Num

valid_from

validFrom

The date when the item becomes valid.

A valid_from should be one of the following types:

Str

valid_through

validThrough

The date after when the item is not valid. For example the end of an offer, salary period, or a period of opening hours.

A valid_through should be one of the following types:

Str

value

The value of the quantitative value or property value node.

A value should be one of the following types:

Num
InstanceOf['SemanticWeb::Schema::StructuredValue']
Bool
Str

SEE ALSO

SemanticWeb::Schema::StructuredValue

AUTHOR

Robert Rothenberg <rrwo@cpan.org>

COPYRIGHT AND LICENSE

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

This is free software, licensed under:

  The Artistic License 2.0 (GPL Compatible)