Source

PartDraftv1.0.0-rc.2

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

  • id
    textnot empty

    The record's id: unique within the document.

  • nameRequired
    text

    The name people use for the record.

  • description
    text

    What the record is, in words.

  • type

    What sort of source it is, such as compressor.

  • location

    Where the record is, as one point.

  • geometry

    The source's shape, for a line or area source.

  • properties

    Facts about the record. Each type comes from a quantities vocabulary.

  • operatingStates

    The ways the source runs.

  • emissions

    What the source gives off, one emission for each quantity and operating state.

  • sources
    List ofSource (nested)

    The smaller sources that make up this one.

Links

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 example

Example 1

{
  "id": "source-1",
  "name": "Compressor"
}

Changes and file

Changes

  1. 0.1.0 First version.

Schema file

Show 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."
  }
}