{
    "title": "Get carrier products reply v1",
    "description": "Returns available products for a given carrier",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "id": "https://api.nextpertise.nl/schemas/broadband/get_carrier_products_reply_v1.json",
    "type": "object",
    "properties": {
        "circuits": {
            "type": "array",
            "items": {
                "title": "Generic Broadband Circuit Product",
                "type": "object",
                "properties": {
                    "active": {
                        "type": "boolean"
                    },
                    "is_pvc": {
                        "type": "boolean"
                    },
                    "area": {
                        "title": "Optional string",
                        "description": "A string or no value at all.",
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "qos": {
                        "title": "Optional string",
                        "description": "A string or no value at all.",
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "name": {
                        "title": "Optional string",
                        "description": "A string or no value at all.",
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "upload": {
                        "title": "Optional integer",
                        "description": "An integer or no value at all.",
                        "type": [
                            "integer",
                            "null"
                        ]
                    },
                    "quality": {
                        "title": "Optional string",
                        "description": "A string or no value at all.",
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "download": {
                        "title": "Optional integer",
                        "description": "An integer or no value at all.",
                        "type": [
                            "integer",
                            "null"
                        ]
                    },
                    "supplier": {
                        "type": "string"
                    },
                    "product_id": {
                        "type": "integer"
                    },
                    "overbooking": {
                        "title": "Optional integer",
                        "description": "An integer or no value at all.",
                        "type": [
                            "integer",
                            "null"
                        ]
                    }
                },
                "additionalProperties": false,
                "required": [
                    "qos",
                    "name",
                    "upload",
                    "quality",
                    "download",
                    "supplier",
                    "product_id",
                    "overbooking"
                ]
            }
        },
        "slas": {
            "type": "array",
            "items": {
                "title": "Generic Broadband SLA Product",
                "type": "object",
                "properties": {
                    "name": {
                        "type": "string"
                    },
                    "supplier": {
                        "type": "string"
                    },
                    "product_id": {
                        "type": "integer"
                    },
                    "description": {
                        "type": "string"
                    }
                },
                "additionalProperties": false,
                "required": [
                    "name",
                    "supplier",
                    "product_id",
                    "description"
                ]
            }
        }
    },
    "additionalProperties": false,
    "required": [
        "circuits",
        "slas"
    ]
}