Sha256: 59feb657bd5e1b014300dede66aa84c4abb875f7f5aa1fb30fe772d57c941aea

Contents?: true

Size: 1.98 KB

Versions: 1

Compression:

Stored size: 1.98 KB

Contents

{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "id": "http://json-schema.org/openstudio-urban-modeling/district_system_properties.json#",
  "title": "URBANopt Electrical Connector",
  "description": "Schema for an URBANopt Electrical Connector object",
  "type": "object",
  "properties": {
    "id": {
      "description": "Unique id used to refer to this feature within this dataset.",
      "type": "string"
    },
    "project_id": {
      "description": "Project which this feature belongs to.",
      "type": "string"
    },
    "type": {
      "description": "Type of feature.",
      "type": "string",
      "enum": [
        "ElectricalConnector"
      ]
    },
    "source_name": {
      "description": "Name of the original data source.",
      "type": "string"
    },
    "source_id": {
      "description": "Id of the feature in original data source.",
      "type": "string"
    },
    "name": {
      "description": "Feature name",
      "type": "string"
    },
    "connector_type": {
      "$ref": "#/definitions/ElectricalConnectorType"
    },
    "lengths": {
      "description": "Length (ft) of each segment, generated on export.",
      "type": "array",
      "items": {
        "type": "number"
      }
    },
    "total_length": {
      "description": "Total length (ft) of the connector, generated on export.",
      "type": "number"
    },
    "start_junction_id": {
      "description": "Id of the junction that this connector starts at.",
      "type": "string"
    },
    "end_junction_id": {
      "description": "Id of the junction that this connector ends at.",
      "type": "string"
    },
    "user_data": {
      "description": "Arbitrary user data"
    }
  },
  "required": [
    "type",
    "connector_type",
    "start_junction_id",
    "end_junction_id"
  ],
  "additionalProperties": false,
  "definitions": {
    "ElectricalConnectorType": {
      "description": "Type of electrical connector",
      "type": "string",
      "enum": [
        "Wire"
      ]
    }
  }
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
urbanopt-geojson-0.1.0 lib/urbanopt/geojson/schema/electrical_connector_properties.json