{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "id": "http://integracja.firefighters.ki.agh.edu.pl",
    "description": "RQ from firefightersPost, RS from notification center",
    "type": "object",
    "properties": {
        "notificationId": {
            "id": "http://integracja.firefighters.ki.agh.edu.pl/notificationId",
            "type": "string"
        },
        "postName": {
            "id": "http://integracja.firefighters.ki.agh.edu.pl/postName",
            "type": "string"
        },
        "actionName": {
            "id": "http://integracja.firefighters.ki.agh.edu.pl/actionName",
            "type": "string"
        },
        "accidentType": {
            "id": "http://integracja.firefighters.ki.agh.edu.pl/type",
            "type": "string"
        },
        "community": {
            "id": "http://integracja.firefighters.ki.agh.edu.pl/community",
            "type": "string"
        },
        "areaSize": {
            "id": "http://integracja.firefighters.ki.agh.edu.pl/areaSize",
            "type": "string"
        },
        "objectName": {
            "id": "http://integracja.firefighters.ki.agh.edu.pl/objectName",
            "type": "string"
        },
        "owner": {
            "id": "http://integracja.firefighters.ki.agh.edu.pl/owner",
            "type": "string"
        },
        "otherDamages": {
            "id": "http://integracja.firefighters.ki.agh.edu.pl/otherDamages",
            "type": "array",
            "items": {
                "id": "http://integracja.firefighters.ki.agh.edu.pl/otherDamages/0",
                "type": "object",
                "properties": {
                    "damageName": {
                        "id": "http://integracja.firefighters.ki.agh.edu.pl/otherDamages/0/damageName",
                        "type": "string"
                    }
                },
                "additionalProperties": false
            },
            "additionalItems": false
        },
        "creator": {
            "id": "http://integracja.firefighters.ki.agh.edu.pl/creator",
            "type": "string"
        },
        "usedEquipment": {
            "id": "http://integracja.firefighters.ki.agh.edu.pl/usedEquipment",
            "type": "array",
            "items": {
                "id": "http://integracja.firefighters.ki.agh.edu.pl/usedEquipment/0",
                "type": "object",
                "properties": {
                    "name": {
                        "id": "http://integracja.firefighters.ki.agh.edu.pl/usedEquipment/0/name",
                        "type": "string"
                    },
                    "workTimeInH": {
                        "id": "http://integracja.firefighters.ki.agh.edu.pl/usedEquipment/0/workTimeInH",
                        "type": "integer"
                    },
                    "fuelType": {
                        "id": "http://integracja.firefighters.ki.agh.edu.pl/usedEquipment/0/fuelType",
                        "type": "string"
                    }
                },
                "additionalProperties": false
            },
            "additionalItems": false
        },
        "firefighters": {
            "id": "http://integracja.firefighters.ki.agh.edu.pl/firefighters",
            "type": "array",
            "items": {
                "id": "http://integracja.firefighters.ki.agh.edu.pl/firefighters/0",
                "type": "object",
                "properties": {
                    "name": {
                        "id": "http://integracja.firefighters.ki.agh.edu.pl/firefighters/0/name",
                        "type": "string"
                    },
                    "surname": {
                        "id": "http://integracja.firefighters.ki.agh.edu.pl/firefighters/0/surname",
                        "type": "string"
                    }
                },
                "additionalProperties": false
            },
            "additionalItems": false
        },
        "brigades": {
            "id": "http://integracja.firefighters.ki.agh.edu.pl/brigades",
            "type": "array",
            "items": {
                "id": "http://integracja.firefighters.ki.agh.edu.pl/brigades/0",
                "type": "object",
                "properties": {
                    "name": {
                        "id": "http://integracja.firefighters.ki.agh.edu.pl/brigades/0/name",
                        "type": "string"
                    },
                    "membersNumber": {
                        "id": "http://integracja.firefighters.ki.agh.edu.pl/brigades/0/membersNumber",
                        "type": "integer"
                    },
                    "distanceInKm": {
                        "id": "http://integracja.firefighters.ki.agh.edu.pl/brigades/0/distanceInKm",
                        "type": "integer"
                    },
                    "departureTime": {
                        "id": "http://integracja.firefighters.ki.agh.edu.pl/brigades/0/departureTime",
                        "format": "date-time"
                    },
                    "arrivalTime": {
                        "id": "http://integracja.firefighters.ki.agh.edu.pl/brigades/0/arrivalTime",
                        "format": "date-time"
                    },
                    "pumpworkTime": {
                        "id": "http://integracja.firefighters.ki.agh.edu.pl/brigades/0/pumpworkTime",
                        "type": "string"
                    }
                },
                "additionalProperties": false
            },
            "additionalItems": false
        }
    },
    "additionalProperties": false
}