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

How to express a licensing period or leasing period? #2735

Open
jaygray0919 opened this issue Oct 13, 2020 · 3 comments
Open

How to express a licensing period or leasing period? #2735

jaygray0919 opened this issue Oct 13, 2020 · 3 comments
Labels
no-issue-activity Discuss has gone quiet. Auto-tagging to encourage people to re-engage with the issue (or close it!).

Comments

@jaygray0919
Copy link

Schema.org provides a specification of calendar dates. For example, the @PriceSpecification property validFrom expects a beginning date (a point in time). And the property validThrough expects an ending date (also a point in time).

However, there are many contracts that specify time periods rather than specific dates/points-in-time.
Consider a software product with offer/@Offer that has an acquisition price and an optional maintenance price.
There would be two @Offer, each with a @PriceSpecification.
But we don't know the point-in-time (Date)
Instead, we should use DateTime and specify a date range e.g. @PriceSpecification/validPeriod where the offer-1 "validPeriod" is P1Y and offer-2 "validPeriod" is P2Y.

I would interpret the above to say in the vernacular: the price of the product for year 1 is (5x), and the price of the product for year 2 is (1x).

A financial lease is similar, but usually with a constant payment stream over the "validPeriod."

A mortgage is much more difficult, so let's not go there.

The type @OwnnershipInfo is similar to a software license or a lease. But the properties ownedFrom and ownedTo also are Date specific, not DateTime specific which supports time periods

How to handle this issue?

One approach might be to re-define validFrom (or ownedFrom) as either a beginning Date or the beginning of a time period.

Another approach might be to create a new property with the label validFor where values would be in the ISO 8601 time interval format

For example @CreativeWork/temporalCoverage allows ISO 8601 values.

So a third approach might be to add the property temporalCoverage to types such as @PriceSpecification.

Am I missing a solution to the time period problem for prices, ownership and leasing?

Or would one of the above make sense to add to the schema.org data model?

copying @mfhepp as GoodRelations was the source of these terms.

@jvandriel
Copy link

I think some of your answers might be found in #2689

@jaygray0919
Copy link
Author

Thanks for the link @jvandriel Jarno. Many of our issues are discussed there; in fact, our problems are a subset of that issue, so we'll participate there.

@github-actions
Copy link

This issue is being tagged as Stale due to inactivity.

@github-actions github-actions bot added the no-issue-activity Discuss has gone quiet. Auto-tagging to encourage people to re-engage with the issue (or close it!). label Dec 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
no-issue-activity Discuss has gone quiet. Auto-tagging to encourage people to re-engage with the issue (or close it!).
Projects
None yet
Development

No branches or pull requests

2 participants