plugincoremodelv2.model.Datastream.json Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of FROST-Server.Plugin.CoreModelV2 Show documentation
Show all versions of FROST-Server.Plugin.CoreModelV2 Show documentation
The SensorThings API Version 2.0 Core Data Model.
{
"conformance": [],
"simplePropertyTypes": [],
"entityTypes": [
{
"name": "Datastream",
"plural": "Datastreams",
"adminOnly": false,
"table": "datastreams",
"orderByDflt": [],
"entityProperties": [
{
"name": "id",
"aliases": [
"@iot.id"
],
"type": "Id",
"handlers": [
{
"@class": "de.fraunhofer.iosb.ilt.frostserver.persistence.pgjooq.utils.fieldmapper.FieldMapperId",
"field": "id"
}
],
"annotations": []
},
{
"name": "name",
"type": "Edm.String",
"required": true,
"nullable": false,
"handlers": [
{
"@class": "de.fraunhofer.iosb.ilt.frostserver.persistence.pgjooq.utils.fieldmapper.FieldMapperString",
"field": "name"
}
],
"annotations": []
},
{
"name": "description",
"type": "Edm.String",
"handlers": [
{
"@class": "de.fraunhofer.iosb.ilt.frostserver.persistence.pgjooq.utils.fieldmapper.FieldMapperString",
"field": "description"
}
],
"annotations": []
},
{
"name": "definition",
"type": "Edm.String",
"handlers": [
{
"@class": "de.fraunhofer.iosb.ilt.frostserver.persistence.pgjooq.utils.fieldmapper.FieldMapperString",
"field": "definition"
}
],
"annotations": []
},
{
"name": "resultType",
"type": "Object",
"required": true,
"nullable": false,
"hasCustomProperties": true,
"handlers": [
{
"@class": "de.fraunhofer.iosb.ilt.frostserver.persistence.pgjooq.utils.fieldmapper.FieldMapperJson",
"field": "result_type",
"isMap": true
}
],
"annotations": []
},
{
"name": "properties",
"type": "Object",
"hasCustomProperties": true,
"handlers": [
{
"@class": "de.fraunhofer.iosb.ilt.frostserver.persistence.pgjooq.utils.fieldmapper.FieldMapperJson",
"field": "properties",
"isMap": true
}
],
"annotations": []
},
{
"name": "phenomenonTime",
"type": "TimeInterval",
"handlers": [
{
"@class": "de.fraunhofer.iosb.ilt.frostserver.persistence.pgjooq.utils.fieldmapper.FieldMapperTimeInterval",
"fieldStart": "phenomenon_time_start",
"fieldEnd": "phenomenon_time_end"
}
],
"annotations": []
},
{
"name": "resultTime",
"type": "TimeInterval",
"handlers": [
{
"@class": "de.fraunhofer.iosb.ilt.frostserver.persistence.pgjooq.utils.fieldmapper.FieldMapperTimeInterval",
"fieldStart": "result_time_start",
"fieldEnd": "result_time_end"
}
],
"annotations": []
},
{
"name": "observedArea",
"type": "Edm.Geometry",
"handlers": [
{
"@class": "de.fraunhofer.iosb.ilt.frostserver.persistence.pgjooq.utils.fieldmapper.FieldMapperGeometry",
"fieldSource": "",
"fieldGeom": "observed_area"
}
],
"annotations": []
}
],
"navigationProperties": [
{
"name": "Sensor",
"entitySet": false,
"entityType": "Sensor",
"required": true,
"symmetrical": false,
"priority": 0,
"inverse": {
"name": "Datastreams",
"entitySet": true,
"required": false,
"priority": 0,
"annotations": []
},
"handlers": [
{
"@class": "de.fraunhofer.iosb.ilt.frostserver.persistence.pgjooq.utils.fieldmapper.FieldMapperOneToMany",
"field": "sensor_id",
"otherTable": "sensors",
"otherField": "id"
}
],
"annotations": []
},
{
"name": "Thing",
"entitySet": false,
"entityType": "Thing",
"required": true,
"symmetrical": false,
"priority": 0,
"inverse": {
"name": "Datastreams",
"entitySet": true,
"required": false,
"priority": 0,
"annotations": []
},
"handlers": [
{
"@class": "de.fraunhofer.iosb.ilt.frostserver.persistence.pgjooq.utils.fieldmapper.FieldMapperOneToMany",
"field": "thing_id",
"otherTable": "things",
"otherField": "id"
}
],
"annotations": []
},
{
"name": "ultimateFeatureOfInterest",
"entitySet": false,
"entityType": "Feature",
"required": false,
"symmetrical": false,
"priority": 0,
"inverse": {
"name": "Datastreams",
"entitySet": true,
"required": false,
"priority": 0,
"annotations": []
},
"handlers": [
{
"@class": "de.fraunhofer.iosb.ilt.frostserver.persistence.pgjooq.utils.fieldmapper.FieldMapperOneToMany",
"field": "feature_id",
"otherTable": "features",
"otherField": "id"
}
],
"annotations": []
}
],
"annotations": []
}
]
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy