NAME

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

VERSION

version v23.0.0

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 SemanticWeb::Schema::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](http://en.wikipedia.org/wiki/ISO_4217), e.g. "USD"; [Ticker symbol](https://en.wikipedia.org/wiki/List_of_cryptocurrencies) for cryptocurrencies, e.g. "BTC"; well known names for [Local Exchange Trading Systems](https://en.wikipedia.org/wiki/Local_exchange_trading_system) (LETS) and other currency types, e.g. "Ithaca HOUR".

A currency should be one of the following types:

Str

_has_currency

A predicate for the "currency" attribute.

max_value

maxValue

The upper value of some characteristic or property.

A max_value should be one of the following types:

Num

_has_max_value

A predicate for the "max_value" attribute.

min_value

minValue

The lower value of some characteristic or property.

A min_value should be one of the following types:

Num

_has_min_value

A predicate for the "min_value" attribute.

valid_from

validFrom

The date when the item becomes valid.

A valid_from should be one of the following types:

Str

_has_valid_from

A predicate for the "valid_from" attribute.

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

_has_valid_through

A predicate for the "valid_through" attribute.

value

The value of a SemanticWeb::Schema::QuantitativeValue (including SemanticWeb::Schema::Observation) or property value node.

A value should be one of the following types:

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

_has_value

A predicate for the "value" 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 <[email protected]>

COPYRIGHT AND LICENSE

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

This is free software, licensed under:

The Artistic License 2.0 (GPL Compatible)