pluginprojects.sta1.model.Project.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.Projects Show documentation
Show all versions of FROST-Server.Plugin.Projects Show documentation
A Projects Plugin for the SensorThings API
{
"conformance": [
"https://fraunhoferiosb.github.io/FROST-Server/extensions/DataModel-Projects.html"
],
"simplePropertyTypes": [],
"entityTypes": [
{
"name": "Project",
"plural": "Projects",
"adminOnly": false,
"table": "PROJECTS",
"orderByDflt": [],
"entityProperties": [
{
"name": "@iot.id",
"aliases": [
"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": "public",
"type": "Edm.Boolean",
"handlers": [
{
"@class": "de.fraunhofer.iosb.ilt.frostserver.persistence.pgjooq.utils.fieldmapper.FieldMapperBoolean",
"field": "ISPUBLIC"
}
],
"annotations": []
},
{
"name": "properties",
"type": "Object",
"handlers": [
{
"@class": "de.fraunhofer.iosb.ilt.frostserver.persistence.pgjooq.utils.fieldmapper.FieldMapperJson",
"field": "PROPERTIES",
"isMap": true
}
],
"annotations": []
}
],
"navigationProperties": [
{
"name": "Sensors",
"entitySet": true,
"entityType": "Sensor",
"required": false,
"symmetrical": false,
"priority": 0,
"inverse": {
"name": "Projects",
"entitySet": true,
"required": false,
"priority": 0,
"annotations": []
},
"handlers": [
{
"@class": "de.fraunhofer.iosb.ilt.frostserver.persistence.pgjooq.utils.fieldmapper.FieldMapperManyToMany",
"field": "ID",
"linkTable": "SENSOR_PROJECTS",
"linkOurField": "PROJECT_ID",
"linkOtherField": "SENSOR_ID",
"otherTable": "SENSORS",
"otherField": "ID"
}
],
"annotations": []
},
{
"name": "Locations",
"entitySet": true,
"entityType": "Location",
"required": false,
"symmetrical": false,
"priority": 0,
"inverse": {
"name": "Projects",
"entitySet": true,
"required": false,
"priority": 0,
"annotations": []
},
"handlers": [
{
"@class": "de.fraunhofer.iosb.ilt.frostserver.persistence.pgjooq.utils.fieldmapper.FieldMapperManyToMany",
"field": "ID",
"linkTable": "LOCATION_PROJECTS",
"linkOurField": "PROJECT_ID",
"linkOtherField": "LOCATION_ID",
"otherTable": "LOCATIONS",
"otherField": "ID"
}
],
"annotations": []
},
{
"name": "Things",
"entitySet": true,
"entityType": "Thing",
"required": false,
"symmetrical": false,
"priority": 0,
"inverse": {
"name": "Projects",
"entitySet": true,
"required": false,
"priority": 0,
"annotations": []
},
"handlers": [
{
"@class": "de.fraunhofer.iosb.ilt.frostserver.persistence.pgjooq.utils.fieldmapper.FieldMapperManyToMany",
"field": "ID",
"linkTable": "THING_PROJECTS",
"linkOurField": "PROJECT_ID",
"linkOtherField": "THING_ID",
"otherTable": "THINGS",
"otherField": "ID"
}
],
"annotations": []
},
{
"name": "FeaturesOfInterest",
"entitySet": true,
"entityType": "FeatureOfInterest",
"required": false,
"symmetrical": false,
"priority": 0,
"inverse": {
"name": "Projects",
"entitySet": true,
"required": false,
"priority": 0,
"annotations": []
},
"handlers": [
{
"@class": "de.fraunhofer.iosb.ilt.frostserver.persistence.pgjooq.utils.fieldmapper.FieldMapperManyToMany",
"field": "ID",
"linkTable": "FEATURE_PROJECTS",
"linkOurField": "PROJECT_ID",
"linkOtherField": "FEATURE_ID",
"otherTable": "FEATURES",
"otherField": "ID"
}
],
"annotations": []
}
],
"hooks": [],
"annotations": []
}
]
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy