{
    "title": "List carriers products reply v1",
    "description": "Returns available carriers products",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "id": "https://api.nextpertise.nl/schemas/broadband/list_carriers_reply_v1.json",
    "type": "object",
    "properties": {
        "carriers": {
            "type": "array",
            "items": {
                "title": "Generic Broadband Carrier Product",
                "type": "object",
                "properties": {
                    "area": {
                        "title": "Optional string",
                        "description": "A string or no value at all.",
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "name": {
                        "type": "string"
                    },
                    "upload": {
                        "title": "Optional integer",
                        "description": "An integer or no value at all.",
                        "type": [
                            "integer",
                            "null"
                        ]
                    },
                    "nlstype": {
                        "title": "Optional string",
                        "description": "A string or no value at all.",
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "maxnls": {
                        "title": "Optional integer",
                        "description": "An integer or no value at all.",
                        "type": [
                            "integer",
                            "null"
                        ]
                    },
                    "distance": {
                        "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"
                    },
                    "network": {
                        "type": "string"
                    },
                    "product_id": {
                        "type": "integer"
                    },
                    "test_label": {
                        "type": [
                            "boolean",
                            "null"
                        ]
                    },
                    "carriertype": {
                        "title": "Carrier type",
                        "description": "Enum options:<pre class=\"empty-params-pre\">Copper|Copper_shared|Copper_only|BCopper_only|Fiber|FttH|FttO|Radio</pre>. Defines the physical medium for internet access and whether the medium is shared with other (voice) services.\n\nFttH and FttO are both Fiber connections with other parameters.",
                        "type": "string",
                        "enum": [
                            "Copper",
                            "Copper_shared",
                            "Copper_only",
                            "BCopper_only",
                            "Fiber",
                            "FttH",
                            "FttO",
                            "Radio"
                        ]
                    },
                    "copper_pairs": {
                        "title": "Optional integer",
                        "description": "An integer or no value at all.",
                        "type": [
                            "integer",
                            "null"
                        ]
                    },
                    "base_technology": {
                        "title": "Optional string",
                        "description": "A string or no value at all.",
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "data_technology": {
                        "title": "Optional string",
                        "description": "A string or no value at all.",
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "channel_type": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "ont_registration": {
                        "type": "boolean"
                    },
                    "aggregated_carriertype": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "aggregated_data_technology": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "netcode_id": {
                        "type": [
                            "integer",
                            "null"
                        ]
                    },
                    "slas": {
                        "type": "array"
                    },
                    "circuits": {
                        "type": "array"
                    },
                    "on_demand": {
                        "type": "boolean"
                    }
                },
                "additionalProperties": false,
                "required": [
                    "area",
                    "name",
                    "upload",
                    "nlstype",
                    "distance",
                    "download",
                    "supplier",
                    "product_id",
                    "test_label",
                    "carriertype",
                    "copper_pairs",
                    "base_technology",
                    "data_technology"
                ]
            }
        },
        "pagination": {
            "title": "Response Pagination Object",
            "description": "Information about the pagination settings. If a (next|previous)_page returns null, the (next|previous)page does not exist.",
            "type": "object",
            "properties": {
                "previous_page": {
                    "title": "Optional integer",
                    "description": "An integer or no value at all.",
                    "type": [
                        "integer",
                        "null"
                    ]
                },
                "next_page": {
                    "title": "Optional integer",
                    "description": "An integer or no value at all.",
                    "type": [
                        "integer",
                        "null"
                    ]
                },
                "per_page": {
                    "description": "Max amount of tickets per page.",
                    "type": "integer"
                },
                "count": {
                    "title": "Optional integer",
                    "description": "An integer or no value at all.",
                    "type": [
                        "integer",
                        "null"
                    ]
                }
            },
            "required": [
                "previous_page",
                "next_page",
                "per_page",
                "count"
            ]
        }
    },
    "additionalProperties": false,
    "required": [
        "carriers"
    ]
}