Proposer
British Cycling, Run Together, GoodGym, SportStarta, British Triathlon
Use Case
"As a potential participant of an event with a route, I want to know how long the route is - using either an exact value or approximate range"
Why is this not covered by existing properties?
Distance isn't covered in the existing model
Please provide a link to example data
Proposal
Propose using the existing schema.org https://schema.org/distance property on the Event type, but having it contain an object of type QuantitativeValue instead of a string.
The specification should also mandate that minValue, maxValue and value are all represented as number types in JSON (see this rule)
Example
From the beta work on this topic, the following looks like a good start:
// 0-5
"distance": {
"type": "QuantitativeValue",
"minValue": 0,
"maxValue": 5,
"unitCode": "KMT"
}
// 5
"distance": {
"type": "QuantitativeValue",
"value": 5,
"unitCode": "KMT"
}
// 50+
"distance": {
"type": "QuantitativeValue",
"minValue": 50,
"unitCode": "KMT"
}
Beta use
Use beta:distance for early implementations of this proposal.
Proposer
British Cycling, Run Together, GoodGym, SportStarta, British Triathlon
Use Case
"As a potential participant of an event with a route, I want to know how long the route is - using either an exact value or approximate range"
Why is this not covered by existing properties?
Distance isn't covered in the existing model
Please provide a link to example data
Proposal
Propose using the existing schema.org
https://schema.org/distanceproperty on theEventtype, but having it contain an object of typeQuantitativeValueinstead of a string.The specification should also mandate that
minValue,maxValueandvalueare all represented as number types in JSON (see this rule)Example
From the beta work on this topic, the following looks like a good start:
Beta use
Use
beta:distancefor early implementations of this proposal.