{
	"$schema": "http://json-schema.org/schema",
	"id": "EndpointSchematic",
	"title": "Endpoint Options Schema",
	"type": "object",
	"properties": {
		"name": {
			"type": "string",
			"description": "The name of the endpoint.",
			"$default": {
				"$source": "argv",
				"index": 0
			}
		},
		"method": {
			"type": "string",
			"description": "The HTTP method of the endpoint.",
			"enum": [
				"get",
				"post",
				"put",
				"patch",
				"delete"
			],
			"default": "get"
		}
	}
}