{
	"$schema": "http://json-schema.org/draft-07/schema#",
	"$id": "http://json-schema.int.adscore.com/user/reset_complete.schema.json",
	"title": "User Reset Complete",
	"description": "Validates attached token and performs password reset",
	"type": "object",
	"required": [
		"route_params", "body"
	],
	"properties": {
		"route": {
			"type": "object",
			"properties": {
				"path": {
					"const": "/user/reset/{id}/{token}"
				},
				"methods": {
					"const": ["GET"]
				}
			}
		},
		"route_params": {
			"type": "object",
			"description": "Route attributes",
			"required": [
				"id",
				"token"
			],
			"properties": {
				"id": {
					"type": "integer",
					"description": "User ID"
				},
				"token": {
					"type": "string",
					"description": "Token used to authorize request",
					"minLength": 1
				}
			}
		},
		"body": {
			"type": "object",
			"description": "Request body",
			"required": [
				"password"
			],
			"properties": {
				"password": {
					"type": "string",
					"description": "New password to set",
					"minLength": 1
				}
			}
		}
	}
}
		
