{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "description": "Installation parameters provided for a CBSD",
    "type": "object",
    "required": [
        "latitude",
        "longitude",
        "height",
        "heightType",
        "antennaGain",
        "indoorDeployment"
    ],
    "properties": {
        "latitude": {
            "type": "number",
            "description": "Latitude in WGS84 coordinates, provided in decimal degrees",
            "minimum": -90,
            "maximum": 90
        },
        "longitude": {
            "type": "number",
            "description": "Longitude in WGS84 coordinates, provided in decimal degrees",
            "minimum": -180,
            "maximum": 180
        },
        "height": {
            "type": "number",
            "description": "Height of CBSD antenna, provided in meters. See heightType for interpretation."
        },
        "heightType": {
            "enum": [
                "AMSL",
                "AGL"
            ],
            "description": "The reference for the height parameter. AMSL indicates the height is measured relative to mean sea level. AGL indicates the height is measured relative to local ground level at latitude, longitude."
        },
        "horizontalAccuracy": {
            "type": "number",
            "description": "A measurement in meters of the horizontal accuracy of the indicated location.",
            "minimum": 0
        },
        "verticalAccuracy": {
            "type": "number",
            "description": "A measurement in meters of the vertical accuracy of the indicated location.",
            "minimum": 0
        },
        "indoorDeployment": {
            "type": "boolean",
            "description": "True if the equipment is installed indoors, false if outdoors"
        },
        "eirpCapability": {
            "type": "integer",
            "description": "Maximum EIRP of the CBSD in units of dBm/10MHz.",
            "minimum": -127,
            "maximum": 47
        },
        "antennaAzimuth": {
            "type": "integer",
            "description": "Heading of antenna azimuth relative to true north, provided in decimal degrees. Positive indicates easterly.",
            "minimum": 0,
            "maximum": 359
        },
        "antennaDowntilt": {
            "type": "integer",
            "description": "Downtilt of the antenna (vertically down is positive) in decimal degrees.",
            "minimum": -90,
            "maximum": 90
        },
        "antennaGain": {
            "type": "integer",
            "description": "Maximum gain in dB of the antenna along the boresight",
            "minimum": -127,
            "maximum": 128
        },
        "antennaBeamwidth": {
            "type": "integer",
            "description": "Beamwidth to 3dB points of the antenna coverage pattern, provided in decimal degrees and measured at the horizon. A value of 360 indicates an omni-directional antenna.",
            "minimum": 0,
            "maximum": 360
        },
        "antennaModel": {
            "type": "string",
            "description": "If an external antenna is used, the model of the antenna is optionally provided in this field."
        }
    }
}