Dataset schema
Click to expand Click to collapse
JSON Schema
The following JSON object is a standardized description of your dataset's schema. More about JSON schema.
{
- "title":"ukpn-smart-meter-consumption-lv-feeder@ukpowernetworks",
- "type":"object",
- "oneOf":,[
- {
- "$ref":"#/definitions/ukpn-smart-meter-consumption-lv-feeder@ukpowernetworks"
}
] - "definitions":{
- "ukpn-smart-meter-consumption-lv-feeder@ukpowernetworks":,{
- "properties":{
- "records":{
- "type":"array",
- "items":{
- "$ref":"#/definitions/ukpn-smart-meter-consumption-lv-feeder@ukpowernetworks_records"
}
}
} - "records":
} - "properties":
- "geoJSON":,{
- "title":"Geo JSON object",
- "description":"Schema for a Geo JSON object",
- "type":"object",
- "required":,[
- "type"
] - "properties":,{
- "crs":,{
- "$ref":"#/definitions/crs"
} - "bbox":{
- "$ref":"#/definitions/bbox"
}
} - "crs":
- "oneOf":[
- ,{
- "$ref":"#/definitions/geometry"
} - ,{
- "$ref":"#/definitions/geometryCollection"
} - ,{
- "$ref":"#/definitions/feature"
} - {
- "$ref":"#/definitions/featureCollection"
}
]
} - "bbox":,{
- "description":"A bounding box as defined by GeoJSON",
- "type":"array",
- "items":{
- "type":"number"
}
} - "crs":,{
- "title":"crs",
- "description":"a Coordinate Reference System object",
- "type":,[
- "object",
- "null"
] - "required":,[
- "type",
- "properties"
] - "properties":,{
- "type":,{
- "type":"string"
} - "properties":{
- "type":"object"
}
} - "type":
- "additionalProperties":false,
- "oneOf":[
- ,{
- "$ref":"#/definitions/namedCrs"
} - {
- "$ref":"#/definitions/linkedCrs"
}
]
} - "namedCrs":,{
- "properties":{
- "type":,{
- "enum":[
- "name"
]
} - "enum":
- "properties":{
- "required":,[
- "name"
] - "additionalProperties":false,
- "properties":{
- "name":{
- "type":"string"
}
} - "name":
} - "required":
} - "type":
} - "properties":
- "linkedObject":,{
- "type":"object",
- "required":,[
- "href"
] - "properties":{
- "href":,{
- "type":"string",
- "format":"uri"
} - "type":{
- "type":"string",
- "description":"Suggested values: proj4, ogjwkt, esriwkt"
}
} - "href":
} - "linkedCrs":,{
- "properties":{
- "type":,{
- "enum":[
- "link"
]
} - "enum":
- "properties":{
- "$ref":"#/definitions/linkedObject"
}
} - "type":
} - "properties":
- "geometryCollection":,{
- "title":"GeometryCollection",
- "description":"A collection of geometry objects",
- "required":,[
- "geometries"
] - "properties":{
- "type":,{
- "enum":[
- "GeometryCollection"
]
} - "enum":
- "geometries":{
- "type":"array",
- "items":{
- "$ref":"http://json-schema.org/geojson/geometry.json#"
}
}
} - "type":
} - "feature":,{
- "title":"Feature",
- "description":"A Geo JSON feature object",
- "required":,[
- "geometry",
- "properties"
] - "properties":{
- "type":,{
- "enum":[
- "Feature"
]
} - "enum":
- "geometry":,{
- "oneOf":[
- ,{
- "type":"null"
} - {
- "$ref":"#/definitions/geometry"
}
]
} - "oneOf":
- "properties":,{
- "type":[
- "object",
- "null"
]
} - "type":
- "id":{}
} - "type":
} - "featureCollection":,{
- "title":"FeatureCollection",
- "description":"A Geo JSON feature collection",
- "required":,[
- "features"
] - "properties":{
- "type":,{
- "enum":[
- "FeatureCollection"
]
} - "enum":
- "features":{
- "type":"array",
- "items":{
- "$ref":"#/definitions/feature"
}
}
} - "type":
} - "geometry":,{
- "title":"geometry",
- "description":"One geometry as defined by GeoJSON",
- "type":"object",
- "required":,[
- "type",
- "coordinates"
] - "oneOf":,[
- ,{
- "title":"Point",
- "properties":{
- "type":,{
- "enum":[
- "Point"
]
} - "enum":
- "coordinates":{
- "$ref":"#/definitions/position"
}
} - "type":
} - ,{
- "title":"MultiPoint",
- "properties":{
- "type":,{
- "enum":[
- "MultiPoint"
]
} - "enum":
- "coordinates":{
- "$ref":"#/definitions/positionArray"
}
} - "type":
} - ,{
- "title":"LineString",
- "properties":{
- "type":,{
- "enum":[
- "LineString"
]
} - "enum":
- "coordinates":{
- "$ref":"#/definitions/lineString"
}
} - "type":
} - ,{
- "title":"MultiLineString",
- "properties":{
- "type":,{
- "enum":[
- "MultiLineString"
]
} - "enum":
- "coordinates":{
- "type":"array",
- "items":{
- "$ref":"#/definitions/lineString"
}
}
} - "type":
} - ,{
- "title":"Polygon",
- "properties":{
- "type":,{
- "enum":[
- "Polygon"
]
} - "enum":
- "coordinates":{
- "$ref":"#/definitions/polygon"
}
} - "type":
} - {
- "title":"MultiPolygon",
- "properties":{
- "type":,{
- "enum":[
- "MultiPolygon"
]
} - "enum":
- "coordinates":{
- "type":"array",
- "items":{
- "$ref":"#/definitions/polygon"
}
}
} - "type":
}
] - "position":,{
- "description":"A single position",
- "type":"array",
- "minItems":2,
- "items":,[
- ,{
- "type":"number"
} - {
- "type":"number"
}
] - "additionalItems":false
} - "positionArray":,{
- "description":"An array of positions",
- "type":"array",
- "items":{
- "$ref":"#/definitions/position"
}
} - "lineString":,{
- "description":"An array of two or more positions",
- "allOf":[
- ,{
- "$ref":"#/definitions/positionArray"
} - {
- "minItems":2
}
]
} - "linearRing":,{
- "description":"An array of four positions where the first equals the last",
- "allOf":[
- ,{
- "$ref":"#/definitions/positionArray"
} - {
- "minItems":4
}
]
} - "polygon":{
- "description":"An array of linear rings",
- "type":"array",
- "items":{
- "$ref":"#/definitions/linearRing"
}
}
} - "ukpn-smart-meter-consumption-lv-feeder@ukpowernetworks_records":{
- "properties":{
- "fields":{
- "type":"object",
- "properties":{
- "dataset_id":,{
- "type":"string",
- "title":"dataset_id",
- "description":"Unique dataset identifier"
} - "dno":,{
- "type":"string",
- "title":"dno",
- "description":"Distribution Network Operator"
} - "dno_alias":,{
- "type":"string",
- "title":"dno_alias",
- "description":"Distribution Network Operator and Licence Area"
} - "secondary_substation_id":,{
- "type":"string",
- "title":"secondary_substation_id",
- "description":"Site reference"
} - "lv_feeder_id":,{
- "type":"integer",
- "title":"lv_feeder_id",
- "description":"Feeder ID Number"
} - "geopoint":,{
- "type":"array",
- "minItems":2,
- "maxItems":2,
- "items":,{
- "type":"number"
} - "title":"substation_geo_location",
- "description":"Geo point (Latitude and Longitude) of secondary substation location."
} - "aggregated_device_count_active":,{
- "type":"integer",
- "title":"aggregated_device_count_active",
- "description":"Number of Active Smart Meters"
} - "primary_consumption_active_import":,{
- "type":"integer",
- "title":"primary_consumption_active_import",
- "description":"Single Element meter aggregated value (Wh)",
- "unit":"Wh"
} - "secondary_consumption_active_import":,{
- "type":"integer",
- "title":"secondary_consumption_active_import",
- "description":"Twin or Dual Tariff meters where we have a secondary measurement - aggregated value (Wh)",
- "unit":"Wh"
} - "total_consumption_active_import":,{
- "type":"integer",
- "title":"total_consumption_active_import",
- "description":"Sum of Primary and Secondary Consumption (Wh)",
- "unit":"Wh"
} - "aggregated_device_count_reactive":,{
- "type":"integer",
- "title":"aggregated_device_count_reactive",
- "description":""
} - "total_consumption_reactive_import":,{
- "type":"integer",
- "title":"total_consumption_reactive_import",
- "description":"",
- "unit":"Wh"
} - "data_collection_log_timestamp":,{
- "type":"string",
- "format":"date-time",
- "title":"data_collection_log_timestamp",
- "description":"Interval read time"
} - "insert_time":,{
- "type":"string",
- "format":"date-time",
- "title":"insert_time",
- "description":"Record insertion timestamp"
} - "last_modified_time":{
- "type":"string",
- "format":"date-time",
- "title":"last_modified_time",
- "description":"Last update of the record"
}
} - "dataset_id":
}
} - "fields":
} - "properties":
} - "ukpn-smart-meter-consumption-lv-feeder@ukpowernetworks":
}