{
	"$schema": "http://json-schema.org/draft-07/schema#",
	"$id": "http://json-schema.int.adscore.com/gwoc/domain/delete.schema.json",
	"title": "GWoC Domain Delete",
	"description": "Delete domain from GWoC mapping system",
	"type": "object",
	"required": [
		"route_params"
	],
	"properties": {
		"route": {
			"type": "object",
			"properties": {
				"path": {
					"const": "/account/{account_id}/gwoc/domain/{id}"
				},
				"methods": {
					"const": ["DELETE"]
				}
			}
		},
		"route_params": {
			"type": "object",
			"description": "Route attributes",
			"required": [
				"account_id", "id"
			],
			"properties": {
				"account_id": {
					"type": "integer",
                    "description": "Account ID"
				},
                "id": {
					"type": "integer",
                    "description": "GWoC Domain ID"
				}
			}
		}
	}
}
