Activity
PartDraftv1.0.0-rc.2
An activity: work that happens over time, such as construction, drilling or operation. Its allocations say where and when it happens and which operating states it uses.
https://opendevelopmentstandards.org/schema/1.0.0-rc.2/core/Activity.json
Fields
idtextnot emptyThe record's id: unique within the document.
nameRequiredtextThe name people use for the record.
descriptiontextWhat the record is, in words.
typeWhat sort of work it is, such as
drillingoroperation.intervalWhen the activity happens.
allocationsList ofPartAllocationWhere the activity happens.
Links
Holds Parts this record embeds, with the field that holds each.
Held by Records that embed this one, with their field that holds it.
Examples
An id that another example defines opens that record.
Example 2
{
"id": "activity-operation",
"name": "Operation",
"type": "operation",
"interval": {
"start": "2026-09-01T00:00:00-06:00"
},
"allocations": [
{
"feature": "feature-wellsite",
"states": [
{
"state": "state-loaded"
}
]
}
]
}Show 1 more exampleHide the other example
Example 1
{
"id": "activity-1",
"name": "Operation"
}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/Activity.json",
"title": "Activity",
"description": "An activity: work that happens over time, such as construction, drilling or operation. Its allocations say where and when it happens and which operating states it uses.",
"type": "object",
"properties": {
"id": {
"type": "string",
"minLength": 1,
"description": "The record's id: unique within the document."
},
"name": {
"type": "string",
"description": "The name people use for the record."
},
"description": {
"type": "string",
"description": "What the record is, in words."
},
"type": {
"type": "string",
"pattern": "^[a-z0-9]+(_[a-z0-9]+)*(\\.[a-z0-9]+(_[a-z0-9]+)*)*$",
"x-ods-vocabulary": "core/activity_types",
"description": "What sort of work it is, such as `drilling` or `operation`."
},
"interval": {
"$ref": "Interval.json",
"description": "When the activity happens."
},
"allocations": {
"type": "array",
"items": {
"$ref": "Allocation.json"
},
"description": "Where the activity happens."
}
},
"required": [
"name"
],
"patternProperties": {
"^x-": {}
},
"unevaluatedProperties": false,
"examples": [
{
"id": "activity-1",
"name": "Operation"
},
{
"id": "activity-operation",
"name": "Operation",
"type": "operation",
"interval": {
"start": "2026-09-01T00:00:00-06:00"
},
"allocations": [
{
"feature": "feature-wellsite",
"states": [
{
"state": "state-loaded"
}
]
}
]
}
],
"x-ods-status": "draft",
"x-ods-kind": "part",
"x-ods-module": "core",
"x-ods-changes": {
"0.1.0": "First version."
}
}