Json schema validation middleware not triggered

I think your validate_json plugin needs to be inside the extended_paths object, not in the v1 object

"extended_paths": {
    "validate_json": [{
        "method": "POST",
        "path": "/test",
        "schema": {
            "title": "Person",
            "type": "object",
            "properties": {
                "id": {
                   "type": "string"
                }
            },
            "required": ["id"]
        },
        "error_response_code": 422
    }]
...