{
    "title": "Set tags request v1",
    "description": "Assign a set of tags to a product identified by an nid.",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "id": "https://api.nextpertise.nl/schemas/broadband/set_tags_request_v1.json",
    "type": "object",
    "properties": {
        "nid": {
            "title": "Broadband NID",
            "description": "Carrier or circuit identification. To harmonize the way ordered broadband products are identified.",
            "type": [
                "string",
                "null"
            ],
            "pattern": "^[0-9]{4}[A-Z]{2}[0-9]{5}[0-9A-Z]{4}$"
        },
        "tags": {
            "type": "array",
            "items": {
                "type": "string",
                "pattern": "[a-zA-Z0-9\\/=:_-]+"
            }
        }
    },
    "additionalProperties": false,
    "required": [
        "nid",
        "tags"
    ]
}