{
    "title": "Get provider products reply v1",
    "description": "Returns available products for a given provider",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "id": "https://api.nextpertise.nl/schemas/broadband/get_provider_products_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"
                ]
            }
        }
    },
    "additionalProperties": false,
    "required": [
        "carriers"
    ]
}