pluginmodelom.model.Deployment.json Maven / Gradle / Ivy
{
"conformance": [
"http://www.opengis.net/spec/iot_sensing/2.0/req/sensing-extension-om/datamodel"
],
"simplePropertyTypes": [],
"entityTypes": [
{
"name": "Deployment",
"plural": "Deployments",
"adminOnly": false,
"table": "deployments",
"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,
"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": "properties",
"type": "Object",
"handlers": [
{
"@class": "de.fraunhofer.iosb.ilt.frostserver.persistence.pgjooq.utils.fieldmapper.FieldMapperJson",
"field": "properties",
"isMap": true
}
],
"annotations": []
},
{
"name": "reason",
"type": "Edm.String",
"handlers": [
{
"@class": "de.fraunhofer.iosb.ilt.frostserver.persistence.pgjooq.utils.fieldmapper.FieldMapperString",
"field": "reason"
}
],
"annotations": []
},
{
"name": "encodingType",
"type": "Edm.String",
"handlers": [
{
"@class": "de.fraunhofer.iosb.ilt.frostserver.persistence.pgjooq.utils.fieldmapper.FieldMapperString",
"field": "encoding_type"
}
],
"annotations": []
},
{
"name": "position",
"type": "Geometry",
"handlers": [
{
"@class": "de.fraunhofer.iosb.ilt.frostserver.persistence.pgjooq.utils.fieldmapper.FieldMapperGeometry",
"fieldSource": "position",
"fieldGeom": "geom"
}
],
"annotations": []
},
{
"name": "deploymentTime",
"type": "TimeValue",
"handlers": [
{
"@class": "de.fraunhofer.iosb.ilt.frostserver.persistence.pgjooq.utils.fieldmapper.FieldMapperTimeValue",
"fieldStart": "time_start",
"fieldEnd": "time_end"
}
],
"annotations": []
}
],
"navigationProperties": [
{
"name": "Sensor",
"entitySet": false,
"entityType": "Sensor",
"required": true,
"symmetrical": false,
"priority": 0,
"inverse": {
"name": "Deployments",
"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": "Host",
"entitySet": false,
"entityType": "Thing",
"required": true,
"symmetrical": false,
"priority": 0,
"inverse": {
"name": "Deployments",
"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": "Datastreams",
"entitySet": true,
"entityType": "Datastream",
"required": false,
"symmetrical": false,
"priority": 0,
"inverse": {
"name": "Deployments",
"entitySet": true,
"required": false,
"priority": 0,
"annotations": []
},
"handlers": [
{
"@class": "de.fraunhofer.iosb.ilt.frostserver.persistence.pgjooq.utils.fieldmapper.FieldMapperManyToMany",
"field": "id",
"linkTable": "deployment_datastream",
"linkOurField": "deployment_id",
"linkOtherField": "datastream_id",
"otherTable": "datastreams",
"otherField": "id"
}
],
"annotations": []
}
],
"annotations": []
}
]
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy