{
    "title": "List offers request v1",
    "description": "Returns offers",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "id": "https://api.nextpertise.nl/schemas/broadband/list_offers_request_v1.json",
    "type": "object",
    "properties": {
        "pagination": {
            "title": "Request Pagination Object",
            "description": "Used to limit the amount of items returned.",
            "type": "object",
            "properties": {
                "per_page": {
                    "description": "Amount of items per page. '0' means 'all' on some endpoints.",
                    "type": "integer",
                    "maximum": 10000,
                    "minimum": 0
                },
                "page": {
                    "description": "The requested page-index, starts at 1.",
                    "type": "integer",
                    "minimum": 1
                }
            },
            "required": [
                "per_page",
                "page"
            ]
        },
        "sort": {
            "type": "object",
            "properties": {
                "customer_id": {
                    "type": "integer",
                    "enum": [
                        "ASC",
                        "DESC"
                    ]
                },
                "id": {
                    "type": "integer",
                    "enum": [
                        "ASC",
                        "DESC"
                    ]
                },
                "created_at": {
                    "type": "string",
                    "enum": [
                        "ASC",
                        "DESC"
                    ],
                    "description": "Enum options:<pre class=\"empty-params-pre\">ASC|DESC</pre>. undefined"
                },
                "reference": {
                    "type": "string",
                    "enum": [
                        "ASC",
                        "DESC"
                    ],
                    "description": "Enum options:<pre class=\"empty-params-pre\">ASC|DESC</pre>. undefined"
                },
                "uuid": {
                    "type": "string",
                    "enum": [
                        "ASC",
                        "DESC"
                    ],
                    "description": "Enum options:<pre class=\"empty-params-pre\">ASC|DESC</pre>. undefined"
                },
                "updated_at": {
                    "type": "string",
                    "enum": [
                        "ASC",
                        "DESC"
                    ],
                    "description": "Enum options:<pre class=\"empty-params-pre\">ASC|DESC</pre>. undefined"
                },
                "publication_date": {
                    "type": "string",
                    "enum": [
                        "ASC",
                        "DESC"
                    ],
                    "description": "Enum options:<pre class=\"empty-params-pre\">ASC|DESC</pre>. undefined"
                },
                "changed_after_publication": {
                    "type": "boolean",
                    "enum": [
                        "ASC",
                        "DESC"
                    ]
                },
                "first_expiration_date": {
                    "type": "string",
                    "enum": [
                        "ASC",
                        "DESC"
                    ],
                    "description": "Enum options:<pre class=\"empty-params-pre\">ASC|DESC</pre>. undefined"
                },
                "status": {
                    "type": "string",
                    "enum": [
                        "ASC",
                        "DESC"
                    ],
                    "description": "Enum options:<pre class=\"empty-params-pre\">ASC|DESC</pre>. undefined"
                }
            },
            "additionalProperties": false,
            "maxProperties": 1
        },
        "filter": {
            "type": "object",
            "properties": {
                "city": {
                    "type": "string"
                },
                "street": {
                    "type": "string"
                },
                "housenr": {
                    "type": "string"
                },
                "zipcode": {
                    "type": "string"
                },
                "provice": {
                    "type": "string"
                },
                "municipality": {
                    "type": "string"
                },
                "customer_id": {
                    "type": "integer"
                },
                "id": {
                    "type": "integer"
                },
                "created_at": {
                    "type": "string"
                },
                "reference": {
                    "type": "string"
                },
                "uuid": {
                    "type": "string"
                },
                "updated_at": {
                    "type": "string"
                },
                "publication_date": {
                    "type": "string"
                },
                "changed_after_publication": {
                    "type": "boolean"
                },
                "first_expiration_date": {
                    "type": "string"
                },
                "status": {
                    "type": "string"
                },
                "offer_number": {
                    "type": "string"
                },
                "open": {
                    "type": "boolean"
                }
            },
            "additionalProperties": false
        }
    },
    "additionalProperties": false
}