Skip to content
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

QuantitativeValueDistribution should be subtype of QuantitativeValue #46

Open
vberkel opened this issue Nov 20, 2019 · 2 comments
Open

Comments

@vberkel
Copy link

vberkel commented Nov 20, 2019

Describe the bug
Currently the http://schema.org/QuantitativeValueDistribution is a subtype of StructuredValue
Thing > Intangible > StructuredValue > QuantitativeValueDistribution

From schemaorg/schemaorg#1698 @vholland proposal was:

  • New type QuantitativeValueDistribution: A subtype of QuantitativeValue for describing a statistical distribution of values.

As we have it useful properties of QuantitativeValue such as minValue or maxValue are unavailable to data items based on the Schema.org vocabulary.

Expected behaviour
http://schema.org/QuantitativeValueDistribution should be a subtype of http://schema.org/QuantitativeValue

Screenshots
If applicable, add screenshots to help explain your problem.
image

Additional context
Google Docs and Schema.org are misaligned on the properties that a MonetaryAmountDistribution has. From https://developers.google.com/search/docs/data-types/occupation the documentation also expects the same:

  • QuantitativeValueDistribution (extension of QuantitativeValue)
  • MonetaryAmountDistribution (extension of QuantitativeValueDistribution)

Occupation estimatedSalary with properties minValue maxValue are not available:
image

@mfhepp
Copy link

mfhepp commented Nov 20, 2019

+1
In fact, my idea when designing QuantitativeValue was that it can be a point value, an interval, or any other specification of a quantitative value, e.g, by a distribution.

@RichardWallis RichardWallis transferred this issue from schemaorg/schemaorg Jul 13, 2020
@RichardWallis
Copy link

See issue #7 for the context of the move from the main Schema.org issue tracker to this repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants