Interval
DatatypeDraftv1.0.0-rc.2
One window of time: a start, an end, a duration, or any two of them. When the start and the end are both given, the end is not before the start.
https://opendevelopmentstandards.org/schema/1.0.0-rc.2/core/Interval.json
Fields
startdate-time (RFC 3339)When the window starts (ISO 8601, with an offset or Z).
enddate-time (RFC 3339)When the window ends (ISO 8601, with an offset or Z).
durationtextHow long the window lasts (ISO 8601 duration, for example PT15M).
- At least one of
start,endorduration.
Forms
A value of this schema takes one of these forms.
Links
Held by Records that embed this one, with their field that holds it.
- ActivityPartintervalWork that happens over time, such as construction, drilling or operation. Its allocations say where and when it happens and which operating states it uses.
- AllocationPartintervalWhere and when an activity happens, and the operating states its sources run in there.
- ConditionEntityintervalA state of the surroundings over an area and a time, such as the ambient sound, the terrain, the weather or the water. Its properties come from a quantities vocabulary; which list holds it (ambient, terrain, weather or hydrology) says what sort it is.
- EvidenceEntityintervalOne observation, measured or calculated: what was observed, of which record, by which instrument or algorithm, over which interval, and the result. As in ISO 19156 (Observations and measurements).
- FileEntityintervalA file that records point at, such as a recording, a certificate, a photo or a grid, with its media type, its place and its hash. A file does not change: a changed file is a new File.
- FrameworkEntityeffectiveA set of rules for one domain, issued by a regulator, an industry body or an organization, such as AER Directive 038. It holds its policies, controls, periods and variables.
- PermitEntityeffectiveA licence or approval that a regulator gives for a development, with its holder, its dates, its status and its own criteria, such as a site's own noise limit.
Examples
An id that another example defines opens that record.
Example 1
{
"start": "2026-07-15T22:00:00-06:00",
"end": "2026-07-16T07:00:00-06:00"
}Show 2 more examplesHide the other examples
Example 2
{
"start": "2026-07-15T18:00:00Z",
"duration": "PT1H"
}Example 3
{
"duration": "P14D"
}Changes and file
Changes
- 0.1.0 First version.
Schema file
Show the JSON SchemaHide the JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://opendevelopmentstandards.org/schema/1.0.0-rc.2/core/Interval.json",
"title": "Interval",
"description": "One window of time: a start, an end, a duration, or any two of them. When the start and the end are both given, the end is not before the start.",
"type": "object",
"properties": {
"start": {
"type": "string",
"format": "date-time",
"description": "When the window starts (ISO 8601, with an offset or Z)."
},
"end": {
"type": "string",
"format": "date-time",
"description": "When the window ends (ISO 8601, with an offset or Z)."
},
"duration": {
"type": "string",
"format": "duration",
"description": "How long the window lasts (ISO 8601 duration, for example PT15M)."
}
},
"anyOf": [
{
"properties": {
"start": true
},
"required": [
"start"
]
},
{
"properties": {
"end": true
},
"required": [
"end"
]
},
{
"properties": {
"duration": true
},
"required": [
"duration"
]
}
],
"patternProperties": {
"^x-": {}
},
"unevaluatedProperties": false,
"examples": [
{
"start": "2026-07-15T22:00:00-06:00",
"end": "2026-07-16T07:00:00-06:00"
},
{
"start": "2026-07-15T18:00:00Z",
"duration": "PT1H"
},
{
"duration": "P14D"
}
],
"x-ods-status": "draft",
"x-ods-kind": "datatype",
"x-ods-module": "core",
"x-ods-changes": {
"0.1.0": "First version."
}
}