{
    "type": "object",
    "properties": {
        "_id": {
            "type": "integer"
        },
        "formhub/uuid": {
            "type": "string"
        },
        "start": {
            "type": "string"
        },
        "end": {
            "type": "string"
        },
        "__version__": {
            "type": "string"
        },
        "meta/instanceID": {
            "type": "string"
        },
        "_xform_id_string": {
            "type": "string"
        },
        "_uuid": {
            "type": "string"
        },
        "_attachments": {
            "type": "array",
            "items": {
                "type": "object",
                "properties": {
                    "download_url": {
                        "type": "string"
                    },
                    "download_large_url": {
                        "type": "string"
                    },
                    "download_medium_url": {
                        "type": "string"
                    },
                    "download_small_url": {
                        "type": "string"
                    },
                    "mimetype": {
                        "type": "string"
                    },
                    "filename": {
                        "type": "string"
                    },
                    "instance": {
                        "type": "integer"
                    },
                    "xform": {
                        "type": "integer"
                    },
                    "id": {
                        "type": "integer"
                    },
                    "question_xpath": {
                        "type": "string"
                    }
                },
                "required": [
                    "download_url",
                    "download_large_url",
                    "download_medium_url",
                    "download_small_url",
                    "mimetype",
                    "filename",
                    "instance",
                    "xform",
                    "id",
                    "question_xpath"
                ]
            }
        },
        "_status": {
            "type": "string"
        },
        "_submission_time": {
            "type": "string"
        },
        "_validation_status": {
            "type": "object",
            "properties": {
                "timestamp": {
                    "type": "integer"
                },
                "uid": {
                    "type": "string"
                },
                "by_whom": {
                    "type": "string"
                },
                "color": {
                    "type": "string"
                },
                "label": {
                    "type": "string"
                }
            }
        },
        "today": {
            "type": "string"
        },
        "username": {
            "type": "string"
        },
        "deviceid": {
            "type": "string"
        },
        "personal_QR_code": {
            "type": "string"
        },
        "infra_categ": {
            "type": "string"
        },
        "location": {
            "type": "string"
        },
        "gps_note": {
            "type": "string"
        },
        "infra_subtype": {
            "type": "string"
        },
        "pic1": {
            "type": "string"
        },
        "description": {
            "type": "string"
        },
        "q2nd_pic": {
            "type": "string"
        },
        "pic2": {
            "type": "string"
        },
        "Validation_comments": {
            "type": "string"
        }
    },
    "required": [
        "_id",
        "formhub/uuid",
        "start",
        "end",
        "__version__",
        "meta/instanceID",
        "_xform_id_string",
        "_uuid",
        "_attachments",
        "_status",
        "_geolocation",
        "_submission_time",
        "_tags",
        "_notes",
        "_validation_status",
        "_submitted_by"
    ],
    "version": 1
}
