{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "title": "Toronto Mesh Nodes",
    "type": "array",
    "items": {
        "title": "Node Detail",
        "type": "object",
        "required": [
            "name",
            "latitude",
            "longitude",
            "status",
            "dateAdded"
        ],
        "properties": {
            "name": {
                "type": "string"
            },
            "latitude": {
                "type": "number"
            },
            "longitude": {
                "type": "number"
            },
            "cardinalDirection": {
                "type": "string",
                "enum": [
                    "North",
                    "North East",
                    "East",
                    "South East",
                    "South",
                    "South West",
                    "West",
                    "North West",
                    "Omni",
                    "None"
                ]
            },
            "cardinalDirectionAntenna": {
                "type": "string",
                "enum": [
                    "North",
                    "North East",
                    "East",
                    "South East",
                    "South",
                    "South West",
                    "West",
                    "North West",
                    "Omni"
                ]
            },
            "IPV6Address": {
                "type": "string",
                "_format": "ipv6"
            },
            "status": {
                "type": "string",
                "enum": [
                    "proposed",
                    "active"
                ]
            },
            "dateAdded": {
                "type": "string",
                "_format": "date-time"
            }
        }
    }
}