{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "type": "object",
    "properties": {
        "truckDetails": {
            "type": "array",
            "items": {
                "type": "object",
                "properties": {
                    "objectId": {
                        "type": "string"
                    },
                    "address": {
                        "type": "string"
                    },
                    "applicant": {
                        "type": "string"
                    },
                    "block": {
                        "type": "string"
                    },
                    "blocklot": {
                        "type": "string"
                    },
                    "cnn": {
                        "type": "string"
                    },
                    "facilityType": {
                        "type": "string"
                    },
                    "fooditems": {
                        "type": "string"
                    },
                    "latitude": {
                        "type": "string"
                    },
                    "location": {
                        "type": "object",
                        "properties": {
                            "type": {
                                "type": "string"
                            },
                            "coordinates": {
                                "type": "array",
                                "items": {
                                    "type": "integer"
                                }
                            }
                        },
                        "required": [
                            "type",
                            "coordinates"
                        ]
                    },
                    "locationDescription": {
                        "type": "string"
                    },
                    "longitude": {
                        "type": "string"
                    },
                    "lot": {
                        "type": "string"
                    },
                    "permit": {
                        "type": "string"
                    },
                    "priorpermit": {
                        "type": "string"
                    },
                    "received": {
                        "type": "string"
                    },
                    "schedule": {
                        "type": "string"
                    },
                    "status": {
                        "type": "string"
                    }
                },
                "required": [
                    "objectId",
                    "address",
                    "applicant",
                    "block",
                    "blocklot",
                    "cnn",
                    "facilityType",
                    "fooditems",
                    "latitude",
                    "location",
                    "locationDescription",
                    "longitude",
                    "lot",
                    "permit",
                    "priorpermit",
                    "received",
                    "schedule",
                    "status"
                ]
            }
        }
    },
    "required": [
        "truckDetails"
    ]
}