{
    "additionalProperties": false,
    "definitions": {},
    "description": "api-box input json schema",
    "properties": {
        "endpoints": {
            "items": {
                "properties": {
                    "methods": {
                        "items": {
                            "properties": {
                                "content_type": {
                                    "type": "string"
                                },
                                "input": {
                                    "type": "object"
                                },
                                "method": {
                                    "enum": [
                                        "GET",
                                        "POST",
                                        "PUT",
                                        "DELETE"
                                    ]
                                },
                                "result": {
                                    "anyOf": [
                                        {
                                            "type": "string"
                                        },
                                        {
                                            "type": "number"
                                        },
                                        {
                                            "type": "boolean"
                                        },
                                        {
                                            "type": "object"
                                        },
                                        {
                                            "type": "array"
                                        }
                                    ]
                                }
                            },
                            "required": [
                                "method",
                                "result"
                            ],
                            "type": "object"
                        },
                        "minItems": 1,
                        "type": "array",
                        "_uniqueItems": true
                    },
                    "path": {
                        "type": "string"
                    }
                },
                "required": [
                    "path"
                ],
                "type": "object"
            },
            "type": "array",
            "_uniqueItems": true
        },
        "global": {
            "type": "object"
        },
        "name": {
            "type": "string"
        },
        "prefix": {
            "type": "string"
        },
        "version": {
            "type": "string"
        }
    },
    "required": [
        "name",
        "endpoints"
    ],
    "type": "object"
}