{"openapi":"3.0.2","info":{"title":"SensorThings v2.0","version":"1.0.0","description":"Version v2.0 of the OGC SensorThings API."},"servers":[{"url":"https://sensordata-demo-frost.staging.lizard.net/FROST-Server","description":"FROST-Server"}],"paths":{"/v2.0":{},"/v2.0/Datastreams":{"get":{"parameters":[{"$ref":"#/components/parameters/skip"},{"$ref":"#/components/parameters/top"},{"$ref":"#/components/parameters/count"},{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/expand"},{"$ref":"#/components/parameters/filter"}],"responses":{"200":{"$ref":"#/components/responses/Datastreams-get-200"}}}},"/v2.0/Datastreams({entityId})":{"parameters":[{"$ref":"#/components/parameters/entityId"}],"get":{"parameters":[{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/expand"}],"responses":{"200":{"$ref":"#/components/responses/Datastream-get-200"}}}},"/v2.0/Datastreams({entityId})/Observations":{"parameters":[{"$ref":"#/components/parameters/entityId"}],"get":{"parameters":[{"$ref":"#/components/parameters/skip"},{"$ref":"#/components/parameters/top"},{"$ref":"#/components/parameters/count"},{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/expand"},{"$ref":"#/components/parameters/filter"}],"responses":{"200":{"$ref":"#/components/responses/Observations-get-200"}}}},"/v2.0/Datastreams({entityId})/ObservedProperty":{"parameters":[{"$ref":"#/components/parameters/entityId"}],"get":{"parameters":[{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/expand"}],"responses":{"200":{"$ref":"#/components/responses/ObservedProperty-get-200"}}}},"/v2.0/Datastreams({entityId})/Sensor":{"parameters":[{"$ref":"#/components/parameters/entityId"}],"get":{"parameters":[{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/expand"}],"responses":{"200":{"$ref":"#/components/responses/Sensor-get-200"}}}},"/v2.0/Datastreams({entityId})/Thing":{"parameters":[{"$ref":"#/components/parameters/entityId"}],"get":{"parameters":[{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/expand"}],"responses":{"200":{"$ref":"#/components/responses/Thing-get-200"}}}},"/v2.0/FeaturesOfInterest":{"get":{"parameters":[{"$ref":"#/components/parameters/skip"},{"$ref":"#/components/parameters/top"},{"$ref":"#/components/parameters/count"},{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/expand"},{"$ref":"#/components/parameters/filter"}],"responses":{"200":{"$ref":"#/components/responses/FeaturesOfInterest-get-200"}}}},"/v2.0/FeaturesOfInterest({entityId})":{"parameters":[{"$ref":"#/components/parameters/entityId"}],"get":{"parameters":[{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/expand"}],"responses":{"200":{"$ref":"#/components/responses/FeatureOfInterest-get-200"}}}},"/v2.0/FeaturesOfInterest({entityId})/Observations":{"$ref":"#/paths/~1v2.0~1Datastreams%28%7BentityId%7D%29~1Observations"},"/v2.0/HistoricalLocations":{"get":{"parameters":[{"$ref":"#/components/parameters/skip"},{"$ref":"#/components/parameters/top"},{"$ref":"#/components/parameters/count"},{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/expand"},{"$ref":"#/components/parameters/filter"}],"responses":{"200":{"$ref":"#/components/responses/HistoricalLocations-get-200"}}}},"/v2.0/HistoricalLocations({entityId})":{"parameters":[{"$ref":"#/components/parameters/entityId"}],"get":{"parameters":[{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/expand"}],"responses":{"200":{"$ref":"#/components/responses/HistoricalLocation-get-200"}}}},"/v2.0/HistoricalLocations({entityId})/Locations":{"parameters":[{"$ref":"#/components/parameters/entityId"}],"get":{"parameters":[{"$ref":"#/components/parameters/skip"},{"$ref":"#/components/parameters/top"},{"$ref":"#/components/parameters/count"},{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/expand"},{"$ref":"#/components/parameters/filter"}],"responses":{"200":{"$ref":"#/components/responses/Locations-get-200"}}}},"/v2.0/HistoricalLocations({entityId})/Thing":{"$ref":"#/paths/~1v2.0~1Datastreams%28%7BentityId%7D%29~1Thing"},"/v2.0/Locations":{"get":{"parameters":[{"$ref":"#/components/parameters/skip"},{"$ref":"#/components/parameters/top"},{"$ref":"#/components/parameters/count"},{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/expand"},{"$ref":"#/components/parameters/filter"}],"responses":{"200":{"$ref":"#/components/responses/Locations-get-200"}}}},"/v2.0/Locations({entityId})":{"parameters":[{"$ref":"#/components/parameters/entityId"}],"get":{"parameters":[{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/expand"}],"responses":{"200":{"$ref":"#/components/responses/Location-get-200"}}}},"/v2.0/Locations({entityId})/HistoricalLocations":{"parameters":[{"$ref":"#/components/parameters/entityId"}],"get":{"parameters":[{"$ref":"#/components/parameters/skip"},{"$ref":"#/components/parameters/top"},{"$ref":"#/components/parameters/count"},{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/expand"},{"$ref":"#/components/parameters/filter"}],"responses":{"200":{"$ref":"#/components/responses/HistoricalLocations-get-200"}}}},"/v2.0/Locations({entityId})/Things":{"parameters":[{"$ref":"#/components/parameters/entityId"}],"get":{"parameters":[{"$ref":"#/components/parameters/skip"},{"$ref":"#/components/parameters/top"},{"$ref":"#/components/parameters/count"},{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/expand"},{"$ref":"#/components/parameters/filter"}],"responses":{"200":{"$ref":"#/components/responses/Things-get-200"}}}},"/v2.0/Observations":{"get":{"parameters":[{"$ref":"#/components/parameters/skip"},{"$ref":"#/components/parameters/top"},{"$ref":"#/components/parameters/count"},{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/expand"},{"$ref":"#/components/parameters/filter"}],"responses":{"200":{"$ref":"#/components/responses/Observations-get-200"}}}},"/v2.0/Observations({entityId})":{"parameters":[{"$ref":"#/components/parameters/entityId"}],"get":{"parameters":[{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/expand"}],"responses":{"200":{"$ref":"#/components/responses/Observation-get-200"}}}},"/v2.0/Observations({entityId})/Datastream":{"$ref":"#/paths/~1v2.0~1Datastreams%28%7BentityId%7D%29"},"/v2.0/Observations({entityId})/FeatureOfInterest":{"$ref":"#/paths/~1v2.0~1FeaturesOfInterest%28%7BentityId%7D%29"},"/v2.0/ObservedProperties":{"get":{"parameters":[{"$ref":"#/components/parameters/skip"},{"$ref":"#/components/parameters/top"},{"$ref":"#/components/parameters/count"},{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/expand"},{"$ref":"#/components/parameters/filter"}],"responses":{"200":{"$ref":"#/components/responses/ObservedProperties-get-200"}}}},"/v2.0/ObservedProperties({entityId})":{"$ref":"#/paths/~1v2.0~1Datastreams%28%7BentityId%7D%29~1ObservedProperty"},"/v2.0/ObservedProperties({entityId})/Datastreams":{"parameters":[{"$ref":"#/components/parameters/entityId"}],"get":{"parameters":[{"$ref":"#/components/parameters/skip"},{"$ref":"#/components/parameters/top"},{"$ref":"#/components/parameters/count"},{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/expand"},{"$ref":"#/components/parameters/filter"}],"responses":{"200":{"$ref":"#/components/responses/Datastreams-get-200"}}}},"/v2.0/Sensors":{"get":{"parameters":[{"$ref":"#/components/parameters/skip"},{"$ref":"#/components/parameters/top"},{"$ref":"#/components/parameters/count"},{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/expand"},{"$ref":"#/components/parameters/filter"}],"responses":{"200":{"$ref":"#/components/responses/Sensors-get-200"}}}},"/v2.0/Sensors({entityId})":{"$ref":"#/paths/~1v2.0~1Datastreams%28%7BentityId%7D%29~1Sensor"},"/v2.0/Sensors({entityId})/Datastreams":{"$ref":"#/paths/~1v2.0~1ObservedProperties%28%7BentityId%7D%29~1Datastreams"},"/v2.0/Things":{"get":{"parameters":[{"$ref":"#/components/parameters/skip"},{"$ref":"#/components/parameters/top"},{"$ref":"#/components/parameters/count"},{"$ref":"#/components/parameters/select"},{"$ref":"#/components/parameters/expand"},{"$ref":"#/components/parameters/filter"}],"responses":{"200":{"$ref":"#/components/responses/Things-get-200"}}}},"/v2.0/Things({entityId})":{"$ref":"#/paths/~1v2.0~1Datastreams%28%7BentityId%7D%29~1Thing"},"/v2.0/Things({entityId})/Datastreams":{"$ref":"#/paths/~1v2.0~1ObservedProperties%28%7BentityId%7D%29~1Datastreams"},"/v2.0/Things({entityId})/HistoricalLocations":{"$ref":"#/paths/~1v2.0~1Locations%28%7BentityId%7D%29~1HistoricalLocations"},"/v2.0/Things({entityId})/Locations":{"$ref":"#/paths/~1v2.0~1HistoricalLocations%28%7BentityId%7D%29~1Locations"}},"components":{"schemas":{"Datastream":{"type":"object","properties":{"@id":{"$ref":"#/components/schemas/selfLink"},"Observations":{"type":"array","items":{"$ref":"#/components/schemas/Observation"}},"Observations@count":{"$ref":"#/components/schemas/count"},"Observations@navigationLink":{"$ref":"#/components/schemas/navigationLink"},"Observations@nextLink":{"$ref":"#/components/schemas/nextLink"},"ObservedProperty":{"$ref":"#/components/schemas/ObservedProperty"},"ObservedProperty@navigationLink":{"$ref":"#/components/schemas/navigationLink"},"Sensor":{"$ref":"#/components/schemas/Sensor"},"Sensor@navigationLink":{"$ref":"#/components/schemas/navigationLink"},"Thing":{"$ref":"#/components/schemas/Thing"},"Thing@navigationLink":{"$ref":"#/components/schemas/navigationLink"},"description":{"type":"string"},"id":{"type":"string","readOnly":true},"name":{"type":"string"},"observationType":{"type":"string"},"observedArea":{"type":"object"},"phenomenonTime":{"type":"object","properties":{"end":{"type":"string"},"start":{"type":"string"}}},"properties":{"$ref":"#/components/schemas/properties"},"resultTime":{"type":"object","properties":{"end":{"type":"string"},"start":{"type":"string"}}},"unitOfMeasurement":{"type":"object","properties":{"definition":{"type":"string"},"name":{"type":"string"},"symbol":{"type":"string"}}}}},"Datastreams":{"type":"object","properties":{"@count":{"$ref":"#/components/schemas/count"},"@nextLink":{"$ref":"#/components/schemas/nextLink"},"value":{"type":"array","items":{"$ref":"#/components/schemas/Datastream"}}}},"FeatureOfInterest":{"type":"object","properties":{"@id":{"$ref":"#/components/schemas/selfLink"},"Observations":{"type":"array","items":{"$ref":"#/components/schemas/Observation"}},"Observations@count":{"$ref":"#/components/schemas/count"},"Observations@navigationLink":{"$ref":"#/components/schemas/navigationLink"},"Observations@nextLink":{"$ref":"#/components/schemas/nextLink"},"description":{"type":"string"},"encodingType":{"type":"string"},"feature":{"type":"object"},"id":{"type":"string","readOnly":true},"name":{"type":"string"},"properties":{"$ref":"#/components/schemas/properties"}}},"FeaturesOfInterest":{"type":"object","properties":{"@count":{"$ref":"#/components/schemas/count"},"@nextLink":{"$ref":"#/components/schemas/nextLink"},"value":{"type":"array","items":{"$ref":"#/components/schemas/FeatureOfInterest"}}}},"HistoricalLocation":{"type":"object","properties":{"@id":{"$ref":"#/components/schemas/selfLink"},"Locations":{"type":"array","items":{"$ref":"#/components/schemas/Location"}},"Locations@count":{"$ref":"#/components/schemas/count"},"Locations@navigationLink":{"$ref":"#/components/schemas/navigationLink"},"Locations@nextLink":{"$ref":"#/components/schemas/nextLink"},"Thing":{"$ref":"#/components/schemas/Thing"},"Thing@navigationLink":{"$ref":"#/components/schemas/navigationLink"},"id":{"type":"string","readOnly":true},"time":{"type":"string"}}},"HistoricalLocations":{"type":"object","properties":{"@count":{"$ref":"#/components/schemas/count"},"@nextLink":{"$ref":"#/components/schemas/nextLink"},"value":{"type":"array","items":{"$ref":"#/components/schemas/HistoricalLocation"}}}},"Location":{"type":"object","properties":{"@id":{"$ref":"#/components/schemas/selfLink"},"HistoricalLocations":{"type":"array","items":{"$ref":"#/components/schemas/HistoricalLocation"}},"HistoricalLocations@count":{"$ref":"#/components/schemas/count"},"HistoricalLocations@navigationLink":{"$ref":"#/components/schemas/navigationLink"},"HistoricalLocations@nextLink":{"$ref":"#/components/schemas/nextLink"},"Things":{"type":"array","items":{"$ref":"#/components/schemas/Thing"}},"Things@count":{"$ref":"#/components/schemas/count"},"Things@navigationLink":{"$ref":"#/components/schemas/navigationLink"},"Things@nextLink":{"$ref":"#/components/schemas/nextLink"},"description":{"type":"string"},"encodingType":{"type":"string"},"id":{"type":"string","readOnly":true},"location":{"type":"object"},"name":{"type":"string"},"properties":{"$ref":"#/components/schemas/properties"}}},"Locations":{"type":"object","properties":{"@count":{"$ref":"#/components/schemas/count"},"@nextLink":{"$ref":"#/components/schemas/nextLink"},"value":{"type":"array","items":{"$ref":"#/components/schemas/Location"}}}},"Observation":{"type":"object","properties":{"@id":{"$ref":"#/components/schemas/selfLink"},"Datastream":{"$ref":"#/components/schemas/Datastream"},"Datastream@navigationLink":{"$ref":"#/components/schemas/navigationLink"},"FeatureOfInterest":{"$ref":"#/components/schemas/FeatureOfInterest"},"FeatureOfInterest@navigationLink":{"$ref":"#/components/schemas/navigationLink"},"id":{"type":"string","readOnly":true},"parameters":{"type":"object"},"phenomenonTime":{"type":"object","properties":{"end":{"type":"string"},"start":{"type":"string"}}},"result":{"type":"string"},"resultQuality":{"type":"string"},"resultTime":{"type":"string"},"validTime":{"type":"object","properties":{"end":{"type":"string"},"start":{"type":"string"}}}}},"Observations":{"type":"object","properties":{"@count":{"$ref":"#/components/schemas/count"},"@nextLink":{"$ref":"#/components/schemas/nextLink"},"value":{"type":"array","items":{"$ref":"#/components/schemas/Observation"}}}},"ObservedProperties":{"type":"object","properties":{"@count":{"$ref":"#/components/schemas/count"},"@nextLink":{"$ref":"#/components/schemas/nextLink"},"value":{"type":"array","items":{"$ref":"#/components/schemas/ObservedProperty"}}}},"ObservedProperty":{"type":"object","properties":{"@id":{"$ref":"#/components/schemas/selfLink"},"Datastreams":{"type":"array","items":{"$ref":"#/components/schemas/Datastream"}},"Datastreams@count":{"$ref":"#/components/schemas/count"},"Datastreams@navigationLink":{"$ref":"#/components/schemas/navigationLink"},"Datastreams@nextLink":{"$ref":"#/components/schemas/nextLink"},"definition":{"type":"string"},"description":{"type":"string"},"id":{"type":"string","readOnly":true},"name":{"type":"string"},"properties":{"$ref":"#/components/schemas/properties"}}},"Sensor":{"type":"object","properties":{"@id":{"$ref":"#/components/schemas/selfLink"},"Datastreams":{"type":"array","items":{"$ref":"#/components/schemas/Datastream"}},"Datastreams@count":{"$ref":"#/components/schemas/count"},"Datastreams@navigationLink":{"$ref":"#/components/schemas/navigationLink"},"Datastreams@nextLink":{"$ref":"#/components/schemas/nextLink"},"description":{"type":"string"},"encodingType":{"type":"string"},"id":{"type":"string","readOnly":true},"metadata":{"type":"string"},"name":{"type":"string"},"properties":{"$ref":"#/components/schemas/properties"}}},"Sensors":{"type":"object","properties":{"@count":{"$ref":"#/components/schemas/count"},"@nextLink":{"$ref":"#/components/schemas/nextLink"},"value":{"type":"array","items":{"$ref":"#/components/schemas/Sensor"}}}},"Thing":{"type":"object","properties":{"@id":{"$ref":"#/components/schemas/selfLink"},"Datastreams":{"type":"array","items":{"$ref":"#/components/schemas/Datastream"}},"Datastreams@count":{"$ref":"#/components/schemas/count"},"Datastreams@navigationLink":{"$ref":"#/components/schemas/navigationLink"},"Datastreams@nextLink":{"$ref":"#/components/schemas/nextLink"},"HistoricalLocations":{"type":"array","items":{"$ref":"#/components/schemas/HistoricalLocation"}},"HistoricalLocations@count":{"$ref":"#/components/schemas/count"},"HistoricalLocations@navigationLink":{"$ref":"#/components/schemas/navigationLink"},"HistoricalLocations@nextLink":{"$ref":"#/components/schemas/nextLink"},"Locations":{"type":"array","items":{"$ref":"#/components/schemas/Location"}},"Locations@count":{"$ref":"#/components/schemas/count"},"Locations@navigationLink":{"$ref":"#/components/schemas/navigationLink"},"Locations@nextLink":{"$ref":"#/components/schemas/nextLink"},"description":{"type":"string"},"id":{"type":"string","readOnly":true},"name":{"type":"string"},"properties":{"$ref":"#/components/schemas/properties"}}},"Things":{"type":"object","properties":{"@count":{"$ref":"#/components/schemas/count"},"@nextLink":{"$ref":"#/components/schemas/nextLink"},"value":{"type":"array","items":{"$ref":"#/components/schemas/Thing"}}}},"count":{"type":"integer","format":"int64","description":"The total number of entities in the entityset","readOnly":true},"entityId":{"type":"integer","format":"int64","description":"The ID of an entity","readOnly":true},"navigationLink":{"type":"string","description":"A link to a related entity or entity set","readOnly":true},"nextLink":{"type":"string","description":"The link to the next page of entities","readOnly":true},"properties":{"type":"object","description":"a set of additional properties specified for the entity in the form \"name\":\"value\" pairs","additionalProperties":true},"selfLink":{"type":"string","description":"A globally unique identifier for an Entity.","readOnly":true}},"parameters":{"count":{"name":"$count","in":"query","description":"Flag indicating if the total number of items in the collection should be returned.","required":false,"schema":{"type":"boolean"}},"entityId":{"name":"entityId","in":"path","description":"The id of the requested entity","required":true,"schema":{"type":"integer","format":"int64"}},"expand":{"name":"$expand","in":"query","description":"The list of related queries that need to be included in the result.","required":false,"schema":{"type":"string"}},"filter":{"name":"$filter","in":"query","description":"A filter query.","required":false,"schema":{"type":"string"}},"select":{"name":"$select","in":"query","description":"The list of properties that need to be returned.","required":false,"schema":{"type":"string"}},"skip":{"name":"$skip","in":"query","description":"The number of elements to skip from the collection","required":false,"schema":{"type":"integer","format":"int64"}},"top":{"name":"$top","in":"query","description":"The number of elements to return","required":false,"schema":{"type":"integer","format":"int64"}}},"responses":{"Datastream-get-200":{"description":"A single entity of type Datastream","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Datastream"}}}},"Datastreams-get-200":{"description":"A set of entities of type Datastream","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Datastreams"}}}},"FeatureOfInterest-get-200":{"description":"A single entity of type FeatureOfInterest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeatureOfInterest"}}}},"FeaturesOfInterest-get-200":{"description":"A set of entities of type FeatureOfInterest","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeaturesOfInterest"}}}},"HistoricalLocation-get-200":{"description":"A single entity of type HistoricalLocation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HistoricalLocation"}}}},"HistoricalLocations-get-200":{"description":"A set of entities of type HistoricalLocation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HistoricalLocations"}}}},"Location-get-200":{"description":"A single entity of type Location","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Location"}}}},"Locations-get-200":{"description":"A set of entities of type Location","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Locations"}}}},"Observation-get-200":{"description":"A single entity of type Observation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Observation"}}}},"Observations-get-200":{"description":"A set of entities of type Observation","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Observations"}}}},"ObservedProperties-get-200":{"description":"A set of entities of type ObservedProperty","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservedProperties"}}}},"ObservedProperty-get-200":{"description":"A single entity of type ObservedProperty","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ObservedProperty"}}}},"Sensor-get-200":{"description":"A single entity of type Sensor","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Sensor"}}}},"Sensors-get-200":{"description":"A set of entities of type Sensor","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Sensors"}}}},"Thing-get-200":{"description":"A single entity of type Thing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Thing"}}}},"Things-get-200":{"description":"A set of entities of type Thing","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Things"}}}}}}}