Source
A source: a part of a feature that emits, such as a compressor, an engine, a stack or an outfall. As in ISO 14224:2016, levels 6 to 8. A source can hold smaller sources, such as a compressor's engine and cooler.
https://opendevelopmentstandards.org/schema/1.0.0-rc.2/core/Source.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 source it is, such as
compressor.locationWhere the record is, as one point.
geometryThe source's shape, for a line or area source.
propertiesList ofPartPropertyFacts about the record. Each
typecomes from a quantities vocabulary.operatingStatesList ofPartOperating stateThe ways the source runs.
emissionsList ofPartEmissionWhat the source gives off, one emission for each quantity and operating state.
sourcesList ofSource (nested)The smaller sources that make up this one.
Links
Holds Parts this record embeds, with the field that holds each.
- Operating statePartoperatingStatesA named way that a source runs, set by its operating properties, such as speed, load, flow rate or mode. Off is an operating state. Each emission names the state it holds for.
- EmissionPartemissionsWhat a source gives off in one operating state, such as sound power, a pollutant rate or a discharge. A module schema can require more of it for its domain.
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": "source-compressor",
"name": "Compressor package",
"type": "compressor",
"location": {
"point": {
"type": "Point",
"coordinates": [
-113.8148,
52.2683
]
},
"relativeHeight": 3.5
},
"properties": [
{
"type": "rated_power",
"value": {
"amount": 1000,
"unit": "kW"
}
}
],
"operatingStates": [
{
"id": "state-loaded",
"name": "Loaded",
"type": "full_load"
},
{
"id": "state-idle",
"name": "Idle",
"type": "idle"
}
],
"emissions": [
{
"id": "emission-loaded",
"type": "sound_power_level",
"state": "state-loaded",
"value": {
"amount": 102,
"unit": "dB"
}
}
]
}Show 1 more exampleHide the other example
Example 1
{
"id": "source-1",
"name": "Compressor"
}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/Source.json",
"title": "Source",
"description": "A source: a part of a feature that emits, such as a compressor, an engine, a stack or an outfall. As in ISO 14224:2016, levels 6 to 8. A source can hold smaller sources, such as a compressor's engine and cooler.",
"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/source_types",
"description": "What sort of source it is, such as `compressor`."
},
"location": {
"$ref": "Location.json",
"description": "Where the record is, as one point."
},
"geometry": {
"$ref": "Geometry.json",
"description": "The source's shape, for a line or area source."
},
"properties": {
"type": "array",
"items": {
"$ref": "Property.json"
},
"description": "Facts about the record. Each `type` comes from a quantities vocabulary."
},
"operatingStates": {
"type": "array",
"items": {
"$ref": "OperatingState.json"
},
"description": "The ways the source runs."
},
"emissions": {
"type": "array",
"items": {
"$ref": "Emission.json"
},
"description": "What the source gives off, one emission for each quantity and operating state."
},
"sources": {
"type": "array",
"items": {
"$ref": "Source.json"
},
"description": "The smaller sources that make up this one."
}
},
"required": [
"name"
],
"patternProperties": {
"^x-": {}
},
"unevaluatedProperties": false,
"examples": [
{
"id": "source-1",
"name": "Compressor"
},
{
"id": "source-compressor",
"name": "Compressor package",
"type": "compressor",
"location": {
"point": {
"type": "Point",
"coordinates": [
-113.8148,
52.2683
]
},
"relativeHeight": 3.5
},
"properties": [
{
"type": "rated_power",
"value": {
"amount": 1000,
"unit": "kW"
}
}
],
"operatingStates": [
{
"id": "state-loaded",
"name": "Loaded",
"type": "full_load"
},
{
"id": "state-idle",
"name": "Idle",
"type": "idle"
}
],
"emissions": [
{
"id": "emission-loaded",
"type": "sound_power_level",
"state": "state-loaded",
"value": {
"amount": 102,
"unit": "dB"
}
}
]
}
],
"x-ods-status": "draft",
"x-ods-kind": "part",
"x-ods-module": "core",
"x-ods-changes": {
"0.1.0": "First version."
}
}