{"openapi":"3.0.2","info":{"title":"SensorThings ODATA_4.01","version":"1.0.0","description":"Version ODATA_4.01 of the OGC SensorThings API, including Part 2 - Tasking."},"servers":[{"url":"https://demography.k8s.ilt-dmz.iosb.fraunhofer.de","description":"FROST-Server"}],"paths":{"/ODATA_4.01":{},"/ODATA_4.01/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"}}}},"/ODATA_4.01/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"}}}},"/ODATA_4.01/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"}}}},"/ODATA_4.01/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"}}}},"/ODATA_4.01/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"}}}},"/ODATA_4.01/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"}}}},"/ODATA_4.01/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"}}}},"/ODATA_4.01/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"}}}},"/ODATA_4.01/FeaturesOfInterest({entityId})/Observations":{"$ref":"#/paths/~1ODATA_4.01~1Datastreams%28%7BentityId%7D%29~1Observations"},"/ODATA_4.01/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"}}}},"/ODATA_4.01/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"}}}},"/ODATA_4.01/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"}}}},"/ODATA_4.01/HistoricalLocations({entityId})/Thing":{"$ref":"#/paths/~1ODATA_4.01~1Datastreams%28%7BentityId%7D%29~1Thing"},"/ODATA_4.01/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"}}}},"/ODATA_4.01/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"}}}},"/ODATA_4.01/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"}}}},"/ODATA_4.01/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"}}}},"/ODATA_4.01/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"}}}},"/ODATA_4.01/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"}}}},"/ODATA_4.01/Observations({entityId})/Datastream":{"$ref":"#/paths/~1ODATA_4.01~1Datastreams%28%7BentityId%7D%29"},"/ODATA_4.01/Observations({entityId})/FeatureOfInterest":{"$ref":"#/paths/~1ODATA_4.01~1FeaturesOfInterest%28%7BentityId%7D%29"},"/ODATA_4.01/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"}}}},"/ODATA_4.01/ObservedProperties({entityId})":{"$ref":"#/paths/~1ODATA_4.01~1Datastreams%28%7BentityId%7D%29~1ObservedProperty"},"/ODATA_4.01/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"}}}},"/ODATA_4.01/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"}}}},"/ODATA_4.01/Sensors({entityId})":{"$ref":"#/paths/~1ODATA_4.01~1Datastreams%28%7BentityId%7D%29~1Sensor"},"/ODATA_4.01/Sensors({entityId})/Datastreams":{"$ref":"#/paths/~1ODATA_4.01~1ObservedProperties%28%7BentityId%7D%29~1Datastreams"},"/ODATA_4.01/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"}}}},"/ODATA_4.01/Things({entityId})":{"$ref":"#/paths/~1ODATA_4.01~1Datastreams%28%7BentityId%7D%29~1Thing"},"/ODATA_4.01/Things({entityId})/Datastreams":{"$ref":"#/paths/~1ODATA_4.01~1ObservedProperties%28%7BentityId%7D%29~1Datastreams"},"/ODATA_4.01/Things({entityId})/HistoricalLocations":{"$ref":"#/paths/~1ODATA_4.01~1Locations%28%7BentityId%7D%29~1HistoricalLocations"},"/ODATA_4.01/Things({entityId})/Locations":{"$ref":"#/paths/~1ODATA_4.01~1HistoricalLocations%28%7BentityId%7D%29~1Locations"}},"components":{"schemas":{"Datastream":{"type":"object","properties":{"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":"integer","format":"int64","readOnly":true},"name":{"type":"string"},"observationType":{"type":"string"},"observedArea":{"type":"object"},"phenomenonTime":{"type":"object","properties":{"end":{"type":"string","format":"date-time"},"start":{"type":"string","format":"date-time"}}},"properties":{"$ref":"#/components/schemas/properties"},"resultTime":{"type":"object","properties":{"end":{"type":"string","format":"date-time"},"start":{"type":"string","format":"date-time"}}},"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":{"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":"integer","format":"int64","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":{"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":"integer","format":"int64","readOnly":true},"time":{"type":"string","format":"date-time"}}},"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":{"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":"integer","format":"int64","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":{"Datastream":{"$ref":"#/components/schemas/Datastream"},"Datastream@navigationLink":{"$ref":"#/components/schemas/navigationLink"},"FeatureOfInterest":{"$ref":"#/components/schemas/FeatureOfInterest"},"FeatureOfInterest@navigationLink":{"$ref":"#/components/schemas/navigationLink"},"id":{"type":"integer","format":"int64","readOnly":true},"parameters":{"type":"object"},"phenomenonTime":{"type":"object","properties":{"end":{"type":"string","format":"date-time"},"start":{"type":"string","format":"date-time"}}},"result":{},"resultQuality":{"type":"object"},"resultTime":{"type":"string","format":"date-time"},"validTime":{"type":"object","properties":{"end":{"type":"string","format":"date-time"},"start":{"type":"string","format":"date-time"}}}}},"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":{"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":"integer","format":"int64","readOnly":true},"name":{"type":"string"},"properties":{"$ref":"#/components/schemas/properties"}}},"Sensor":{"type":"object","properties":{"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":"integer","format":"int64","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":{"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":"integer","format":"int64","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"}}}},"context":{"type":"string","description":"The link to the OData context","readOnly":true},"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":"The direct link to the 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"}}}}}}}