New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MonetaryAmountDistribution example does not match the documentation #2058
Comments
These properties are all in pending. E.g.: However, on another note, for all of these properties the "Used on these types" referenced is QuantitativeValueDistribution. As MonetaryAmountDistribution is not a subtype of QuantitativeValueDistribution (they are both subtypes of QuantitativeValue), these properties wouldn't be valid for MonetaryAmountDistribution. Accordingly, either MonetaryAmountDistribution should be modelled as a subtype of QuantitativeValueDistribution, or the domain of these properties should be extended to include MonetaryAmountDistribution. Having written what I did above I see on #1698 that it is the first of these solutions that was indeed proposed by @vholland (emphasis mine): "New type MonetaryAmountDistribution: A subtype of QuantitativeValueDistribution for describing a statistical distribution of monetary amounts." |
Fixed a bug - QuantitativeValueDistribution now has correct supertype, it was mistakenly marked up as QuantitativeValue instead of StructuredValue. We also need to check #2058 here
Yes, the intention was to make MonetaryValueDistribution a subtype of QuantitativeValueDistribution. |
Fixed in master branch for next release |
https://pending.schema.org/MonetaryAmountDistribution
The JSON-LD example on the page contains
of all the properties only
currency
is actually documented.The text was updated successfully, but these errors were encountered: