All Downloads are FREE. Search and download functionalities are using the official Maven repository.

plugincoremodelv2.model.Observation.json Maven / Gradle / Ivy

There is a newer version: 2.5.0
Show newest version
{
    "conformance": [],
    "simplePropertyTypes": [],
    "entityTypes": [
        {
            "name": "Observation",
            "plural": "Observations",
            "adminOnly": false,
            "table": "observations",
            "orderByDflt": [
                "phenomenonTime"
            ],
            "entityProperties": [
                {
                    "name": "id",
                    "aliases": [
                        "@iot.id"
                    ],
                    "type": "Id",
                    "handlers": [
                        {
                            "@class": "de.fraunhofer.iosb.ilt.frostserver.persistence.pgjooq.utils.fieldmapper.FieldMapperId",
                            "field": "id"
                        }
                    ],
                    "annotations": []
                },
                {
                    "name": "phenomenonTime",
                    "type": "TM_Object",
                    "handlers": [
                        {
                            "@class": "de.fraunhofer.iosb.ilt.frostserver.persistence.pgjooq.utils.fieldmapper.FieldMapperTimeInterval",
                            "fieldStart": "phenomenon_time_start",
                            "fieldEnd": "phenomenon_time_end"
                        }
                    ],
                    "annotations": []
                },
                {
                    "name": "resultTime",
                    "type": "Edm.DateTimeOffset",
                    "handlers": [
                        {
                            "@class": "de.fraunhofer.iosb.ilt.frostserver.persistence.pgjooq.utils.fieldmapper.FieldMapperTimeInstant",
                            "field": "result_time"
                        }
                    ],
                    "annotations": []
                },
                {
                    "name": "validTime",
                    "type": "TimeInterval",
                    "handlers": [
                        {
                            "@class": "de.fraunhofer.iosb.ilt.frostserver.persistence.pgjooq.utils.fieldmapper.FieldMapperTimeInterval",
                            "fieldStart": "valid_time_start",
                            "fieldEnd": "valid_time_end"
                        }
                    ],
                    "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": "result",
                    "type": "Edm.Untyped",
                    "handlers": [
                        {
                            "@class": "de.fraunhofer.iosb.ilt.frostserver.persistence.pgjooq.utils.fieldmapper.FieldMapperResult",
                            "fieldType": "result_type",
                            "fieldString": "result_string",
                            "fieldNumber": "result_number",
                            "fieldJson": "result_json",
                            "fieldBoolean": "result_boolean"
                        }
                    ],
                    "annotations": []
                }
            ],
            "navigationProperties": [
                {
                    "name": "Datastream",
                    "entitySet": false,
                    "entityType": "Datastream",
                    "required": true,
                    "symmetrical": false,
                    "priority": 0,
                    "inverse": {
                        "name": "Observations",
                        "entitySet": true,
                        "required": false,
                        "priority": 0,
                        "annotations": []
                    },
                    "handlers": [
                        {
                            "@class": "de.fraunhofer.iosb.ilt.frostserver.persistence.pgjooq.utils.fieldmapper.FieldMapperOneToMany",
                            "field": "datastream_id",
                            "otherTable": "datastreams",
                            "otherField": "id"
                        }
                    ],
                    "annotations": []
                },
                {
                    "name": "proximateFeatureOfInterest",
                    "entitySet": false,
                    "entityType": "Feature",
                    "required": false,
                    "symmetrical": false,
                    "priority": 0,
                    "inverse": {
                        "name": "Observations",
                        "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": []
                }
            ],
            "validators": {
                "createValidators": [
                    {
                        "name": "CM-ObsPhenTime",
                        "validator": {
                            "@class": "de.fraunhofer.iosb.ilt.frostserver.plugin.coremodel.PhenomenonTimeValidator"
                        }
                    }
                ],
                "updateValidators": []
            },
            "annotations": []
        }
    ]
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy