{
    "openapi": "3.1.0",
    "info": {
        "title": "Data Receipt API",
        "version": "1",
        "description": "Read your requests and their data from R, a script, or anything else that speaks HTTP. Create a token under Settings > API tokens and send it as a bearer header."
    },
    "servers": [
        {
            "url": "https:\/\/datareceipt.io\/api\/v1"
        }
    ],
    "security": [
        {
            "http": []
        }
    ],
    "paths": {
        "\/requests": {
            "get": {
                "operationId": "v1.requests.index",
                "description": "Newest first, with each request's column spec and how many submissions\nand rows it has received.",
                "summary": "List your requests",
                "tags": [
                    "Request"
                ],
                "parameters": [
                    {
                        "name": "per_page",
                        "in": "query",
                        "description": "Requests per page, 1 to 100.",
                        "schema": {
                            "type": "integer",
                            "default": 50
                        }
                    },
                    {
                        "name": "page",
                        "in": "query",
                        "description": "Page number.",
                        "schema": {
                            "type": "integer",
                            "default": 1
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Paginated set of `DataRequestResource`",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#\/components\/schemas\/DataRequestResource"
                                            }
                                        },
                                        "links": {
                                            "type": "object",
                                            "properties": {
                                                "first": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ]
                                                },
                                                "last": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ]
                                                },
                                                "prev": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ]
                                                },
                                                "next": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "first",
                                                "last",
                                                "prev",
                                                "next"
                                            ]
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "current_page": {
                                                    "type": "integer",
                                                    "minimum": 1
                                                },
                                                "from": {
                                                    "type": [
                                                        "integer",
                                                        "null"
                                                    ],
                                                    "minimum": 1
                                                },
                                                "last_page": {
                                                    "type": "integer",
                                                    "minimum": 1
                                                },
                                                "links": {
                                                    "type": "array",
                                                    "description": "Generated paginator links.",
                                                    "items": {
                                                        "type": "object",
                                                        "properties": {
                                                            "url": {
                                                                "type": [
                                                                    "string",
                                                                    "null"
                                                                ]
                                                            },
                                                            "label": {
                                                                "type": "string"
                                                            },
                                                            "active": {
                                                                "type": "boolean"
                                                            }
                                                        },
                                                        "required": [
                                                            "url",
                                                            "label",
                                                            "active"
                                                        ]
                                                    }
                                                },
                                                "path": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ],
                                                    "description": "Base path for paginator generated URLs."
                                                },
                                                "per_page": {
                                                    "type": "integer",
                                                    "description": "Number of items shown per page.",
                                                    "minimum": 0
                                                },
                                                "to": {
                                                    "type": [
                                                        "integer",
                                                        "null"
                                                    ],
                                                    "description": "Number of the last item in the slice.",
                                                    "minimum": 1
                                                },
                                                "total": {
                                                    "type": "integer",
                                                    "description": "Total number of items being paginated.",
                                                    "minimum": 0
                                                }
                                            },
                                            "required": [
                                                "current_page",
                                                "from",
                                                "last_page",
                                                "links",
                                                "path",
                                                "per_page",
                                                "to",
                                                "total"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "links",
                                        "meta"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "$ref": "#\/components\/responses\/AuthenticationException"
                    }
                }
            }
        },
        "\/requests\/{id}": {
            "get": {
                "operationId": "v1.requests.show",
                "summary": "Get one request and its spec",
                "tags": [
                    "Request"
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "description": "The request id, as shown in its URL on the site.",
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "`DataRequestResource`",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#\/components\/schemas\/DataRequestResource"
                                        }
                                    },
                                    "required": [
                                        "data"
                                    ]
                                }
                            }
                        }
                    },
                    "404": {
                        "$ref": "#\/components\/responses\/ModelNotFoundException"
                    },
                    "401": {
                        "$ref": "#\/components\/responses\/AuthenticationException"
                    }
                }
            }
        },
        "\/requests\/{id}\/data": {
            "get": {
                "operationId": "v1.requests.data",
                "description": "All accepted rows across all submissions, oldest submission first. Each\nrow carries the id of the submission it came from and its position in\nthat submission; `values` is an object keyed by column name in the\nrequest's column order, with `null` for an empty cell.\n\nPages are counted in submissions, not rows, and the cursor is a\nsubmission id. Follow `links.next` (or pass `meta.next_cursor` as\n`cursor`) until it is `null`. `meta.columns` is the request's spec and\n`meta.submissions` describes the submissions on this page, so one\npaginated call is enough to build a typed table with sender columns.\n\nCells that broke a rule on a column set to accept and flag keep the\nsender's text as a string in `values`, and each row's `flags` lists\nthem (empty for a clean row).",
                "summary": "Get every row of a request",
                "tags": [
                    "RequestData"
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "description": "The request id.",
                        "schema": {
                            "type": "integer"
                        }
                    },
                    {
                        "name": "per_page",
                        "in": "query",
                        "description": "Submissions per page, 1 to 100.",
                        "schema": {
                            "type": "integer",
                            "default": 20
                        }
                    },
                    {
                        "name": "cursor",
                        "in": "query",
                        "description": "Opaque cursor from a previous page's `meta.next_cursor`.",
                        "schema": {
                            "type": "string"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "type": "object",
                                                "properties": {
                                                    "submission_id": {
                                                        "type": "integer"
                                                    },
                                                    "row": {
                                                        "type": "integer"
                                                    },
                                                    "values": {
                                                        "type": "object",
                                                        "additionalProperties": {
                                                            "anyOf": [
                                                                {
                                                                    "type": "string"
                                                                },
                                                                {
                                                                    "type": "integer"
                                                                },
                                                                {
                                                                    "type": "number"
                                                                },
                                                                {
                                                                    "type": "boolean"
                                                                },
                                                                {
                                                                    "type": "null"
                                                                }
                                                            ]
                                                        }
                                                    },
                                                    "flags": {
                                                        "type": "array",
                                                        "items": {
                                                            "type": "object",
                                                            "properties": {
                                                                "column": {
                                                                    "type": "string"
                                                                },
                                                                "value": {
                                                                    "type": [
                                                                        "string",
                                                                        "null"
                                                                    ]
                                                                },
                                                                "message": {
                                                                    "type": "string"
                                                                }
                                                            },
                                                            "required": [
                                                                "column",
                                                                "value",
                                                                "message"
                                                            ]
                                                        }
                                                    }
                                                },
                                                "required": [
                                                    "submission_id",
                                                    "row",
                                                    "values",
                                                    "flags"
                                                ]
                                            }
                                        },
                                        "links": {
                                            "type": "object",
                                            "properties": {
                                                "next": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ]
                                                },
                                                "prev": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "next",
                                                "prev"
                                            ]
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "request_id": {
                                                    "type": "integer"
                                                },
                                                "columns": {
                                                    "type": "array",
                                                    "items": {
                                                        "type": "object",
                                                        "properties": {
                                                            "name": {
                                                                "type": "string"
                                                            },
                                                            "type": {
                                                                "type": "string",
                                                                "enum": [
                                                                    "text",
                                                                    "numeric",
                                                                    "integer",
                                                                    "date",
                                                                    "boolean"
                                                                ]
                                                            },
                                                            "require_non_empty": {
                                                                "type": "boolean"
                                                            },
                                                            "min": {
                                                                "type": [
                                                                    "string",
                                                                    "null"
                                                                ]
                                                            },
                                                            "max": {
                                                                "type": [
                                                                    "string",
                                                                    "null"
                                                                ]
                                                            },
                                                            "allowed_values": {
                                                                "type": [
                                                                    "array",
                                                                    "null"
                                                                ],
                                                                "items": {
                                                                    "type": "string"
                                                                }
                                                            },
                                                            "on_break": {
                                                                "type": "string",
                                                                "enum": [
                                                                    "block",
                                                                    "flag"
                                                                ]
                                                            }
                                                        },
                                                        "required": [
                                                            "name",
                                                            "type",
                                                            "require_non_empty",
                                                            "min",
                                                            "max",
                                                            "allowed_values",
                                                            "on_break"
                                                        ]
                                                    }
                                                },
                                                "submissions": {
                                                    "type": "array",
                                                    "items": {
                                                        "$ref": "#\/components\/schemas\/SubmissionResource"
                                                    }
                                                },
                                                "per_page": {
                                                    "type": "integer"
                                                },
                                                "next_cursor": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ]
                                                },
                                                "prev_cursor": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ]
                                                },
                                                "path": {
                                                    "type": "string"
                                                }
                                            },
                                            "required": [
                                                "request_id",
                                                "columns",
                                                "submissions",
                                                "per_page",
                                                "next_cursor",
                                                "prev_cursor",
                                                "path"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "links",
                                        "meta"
                                    ]
                                }
                            }
                        }
                    },
                    "404": {
                        "$ref": "#\/components\/responses\/ModelNotFoundException"
                    },
                    "401": {
                        "$ref": "#\/components\/responses\/AuthenticationException"
                    }
                }
            }
        },
        "\/requests\/{id}\/submissions": {
            "get": {
                "operationId": "v1.requests.submissions",
                "description": "Oldest first, without their rows: who sent what, when, and how many rows.",
                "summary": "List a request's submissions",
                "tags": [
                    "Submission"
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "description": "The request id.",
                        "schema": {
                            "type": "integer"
                        }
                    },
                    {
                        "name": "per_page",
                        "in": "query",
                        "description": "Submissions per page, 1 to 100.",
                        "schema": {
                            "type": "integer",
                            "default": 50
                        }
                    },
                    {
                        "name": "page",
                        "in": "query",
                        "description": "Page number.",
                        "schema": {
                            "type": "integer",
                            "default": 1
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Paginated set of `SubmissionResource`",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "type": "array",
                                            "items": {
                                                "$ref": "#\/components\/schemas\/SubmissionResource"
                                            }
                                        },
                                        "links": {
                                            "type": "object",
                                            "properties": {
                                                "first": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ]
                                                },
                                                "last": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ]
                                                },
                                                "prev": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ]
                                                },
                                                "next": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ]
                                                }
                                            },
                                            "required": [
                                                "first",
                                                "last",
                                                "prev",
                                                "next"
                                            ]
                                        },
                                        "meta": {
                                            "type": "object",
                                            "properties": {
                                                "current_page": {
                                                    "type": "integer",
                                                    "minimum": 1
                                                },
                                                "from": {
                                                    "type": [
                                                        "integer",
                                                        "null"
                                                    ],
                                                    "minimum": 1
                                                },
                                                "last_page": {
                                                    "type": "integer",
                                                    "minimum": 1
                                                },
                                                "links": {
                                                    "type": "array",
                                                    "description": "Generated paginator links.",
                                                    "items": {
                                                        "type": "object",
                                                        "properties": {
                                                            "url": {
                                                                "type": [
                                                                    "string",
                                                                    "null"
                                                                ]
                                                            },
                                                            "label": {
                                                                "type": "string"
                                                            },
                                                            "active": {
                                                                "type": "boolean"
                                                            }
                                                        },
                                                        "required": [
                                                            "url",
                                                            "label",
                                                            "active"
                                                        ]
                                                    }
                                                },
                                                "path": {
                                                    "type": [
                                                        "string",
                                                        "null"
                                                    ],
                                                    "description": "Base path for paginator generated URLs."
                                                },
                                                "per_page": {
                                                    "type": "integer",
                                                    "description": "Number of items shown per page.",
                                                    "minimum": 0
                                                },
                                                "to": {
                                                    "type": [
                                                        "integer",
                                                        "null"
                                                    ],
                                                    "description": "Number of the last item in the slice.",
                                                    "minimum": 1
                                                },
                                                "total": {
                                                    "type": "integer",
                                                    "description": "Total number of items being paginated.",
                                                    "minimum": 0
                                                }
                                            },
                                            "required": [
                                                "current_page",
                                                "from",
                                                "last_page",
                                                "links",
                                                "path",
                                                "per_page",
                                                "to",
                                                "total"
                                            ]
                                        }
                                    },
                                    "required": [
                                        "data",
                                        "links",
                                        "meta"
                                    ]
                                }
                            }
                        }
                    },
                    "404": {
                        "$ref": "#\/components\/responses\/ModelNotFoundException"
                    },
                    "401": {
                        "$ref": "#\/components\/responses\/AuthenticationException"
                    }
                }
            }
        },
        "\/submissions\/{id}": {
            "get": {
                "operationId": "v1.submissions.show",
                "description": "Each row is an object keyed by column name, in the request's column\norder, with `null` for an empty cell. Values are typed: text as strings,\nnumbers as numbers, dates as `YYYY-MM-DD` strings, yes\/no as booleans.\nThe exception is a flagged cell (a value that broke a rule on a column\nset to accept and flag): it holds the sender's text as a string, and\n`flags` says which cells those are and what rule each broke.",
                "summary": "Get one submission with its rows",
                "tags": [
                    "Submission"
                ],
                "parameters": [
                    {
                        "name": "id",
                        "in": "path",
                        "required": true,
                        "description": "The submission id.",
                        "schema": {
                            "type": "integer"
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "`SubmissionWithRowsResource`",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#\/components\/schemas\/SubmissionWithRowsResource"
                                        }
                                    },
                                    "required": [
                                        "data"
                                    ]
                                }
                            }
                        }
                    },
                    "404": {
                        "$ref": "#\/components\/responses\/ModelNotFoundException"
                    },
                    "401": {
                        "$ref": "#\/components\/responses\/AuthenticationException"
                    }
                }
            }
        },
        "\/user": {
            "get": {
                "operationId": "v1.user",
                "description": "The cheapest way for a client to check that a token works.",
                "summary": "Who the token belongs to",
                "tags": [
                    "User"
                ],
                "responses": {
                    "200": {
                        "description": "",
                        "content": {
                            "application\/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "id": {
                                            "type": "integer"
                                        },
                                        "name": {
                                            "type": "string"
                                        },
                                        "email": {
                                            "type": "string"
                                        }
                                    },
                                    "required": [
                                        "id",
                                        "name",
                                        "email"
                                    ]
                                }
                            }
                        }
                    },
                    "401": {
                        "$ref": "#\/components\/responses\/AuthenticationException"
                    }
                }
            }
        }
    },
    "components": {
        "securitySchemes": {
            "http": {
                "type": "http",
                "scheme": "bearer"
            }
        },
        "schemas": {
            "DataRequestResource": {
                "type": "object",
                "properties": {
                    "id": {
                        "type": "integer"
                    },
                    "title": {
                        "type": "string"
                    },
                    "description": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "is_open": {
                        "type": "boolean",
                        "description": "Whether senders can still submit."
                    },
                    "closed_at": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "date-time"
                    },
                    "submission_count": {
                        "type": "integer",
                        "description": "Accepted submissions so far."
                    },
                    "row_count": {
                        "type": "integer",
                        "description": "Rows across all submissions."
                    },
                    "columns": {
                        "type": "array",
                        "description": "The spec: one entry per column, in order, with its type and rules.",
                        "items": {
                            "type": "object",
                            "properties": {
                                "name": {
                                    "type": "string"
                                },
                                "type": {
                                    "type": "string",
                                    "enum": [
                                        "text",
                                        "numeric",
                                        "integer",
                                        "date",
                                        "boolean"
                                    ]
                                },
                                "require_non_empty": {
                                    "type": "boolean"
                                },
                                "min": {
                                    "type": [
                                        "string",
                                        "null"
                                    ]
                                },
                                "max": {
                                    "type": [
                                        "string",
                                        "null"
                                    ]
                                },
                                "allowed_values": {
                                    "type": [
                                        "array",
                                        "null"
                                    ],
                                    "items": {
                                        "type": "string"
                                    }
                                },
                                "on_break": {
                                    "type": "string",
                                    "enum": [
                                        "block",
                                        "flag"
                                    ]
                                }
                            },
                            "required": [
                                "name",
                                "type",
                                "require_non_empty",
                                "min",
                                "max",
                                "allowed_values",
                                "on_break"
                            ]
                        }
                    },
                    "share_url": {
                        "type": "string",
                        "description": "The link senders use."
                    },
                    "created_at": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "date-time"
                    },
                    "updated_at": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "date-time"
                    }
                },
                "required": [
                    "id",
                    "title",
                    "description",
                    "is_open",
                    "closed_at",
                    "submission_count",
                    "row_count",
                    "columns",
                    "share_url",
                    "created_at",
                    "updated_at"
                ],
                "title": "DataRequestResource"
            },
            "SubmissionResource": {
                "type": "object",
                "properties": {
                    "id": {
                        "type": "integer"
                    },
                    "request_id": {
                        "type": "integer"
                    },
                    "sender_name": {
                        "type": "string"
                    },
                    "sender_email": {
                        "type": "string"
                    },
                    "source": {
                        "type": "string",
                        "description": "How the sender got the data in: `xlsx` or `csv`. Submissions from August 2026 may also read `paste`, `typed`, or `form`, from sender methods that no longer exist."
                    },
                    "row_count": {
                        "type": "integer"
                    },
                    "flag_count": {
                        "type": "integer",
                        "description": "Cells that broke a rule on a column set to accept and flag, rather than block."
                    },
                    "original_filename": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "submitted_at": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "date-time"
                    },
                    "revised_at": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "date-time",
                        "description": "When the request's owner last edited this submission's data, or `null` if it is as received."
                    }
                },
                "required": [
                    "id",
                    "request_id",
                    "sender_name",
                    "sender_email",
                    "source",
                    "row_count",
                    "flag_count",
                    "original_filename",
                    "submitted_at",
                    "revised_at"
                ],
                "title": "SubmissionResource"
            },
            "SubmissionWithRowsResource": {
                "type": "object",
                "properties": {
                    "id": {
                        "type": "integer"
                    },
                    "request_id": {
                        "type": "integer"
                    },
                    "sender_name": {
                        "type": "string"
                    },
                    "sender_email": {
                        "type": "string"
                    },
                    "source": {
                        "type": "string",
                        "description": "How the sender got the data in: `xlsx` or `csv`. Submissions from August 2026 may also read `paste`, `typed`, or `form`, from sender methods that no longer exist."
                    },
                    "row_count": {
                        "type": "integer"
                    },
                    "flag_count": {
                        "type": "integer",
                        "description": "Cells that broke a rule on a column set to accept and flag, rather than block."
                    },
                    "original_filename": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "submitted_at": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "date-time"
                    },
                    "revised_at": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "date-time",
                        "description": "When the request's owner last edited this submission's data, or `null` if it is as received."
                    },
                    "columns": {
                        "type": "array",
                        "description": "The request's spec, so the rows can be typed without another call.",
                        "items": {
                            "type": "object",
                            "properties": {
                                "name": {
                                    "type": "string"
                                },
                                "type": {
                                    "type": "string",
                                    "enum": [
                                        "text",
                                        "numeric",
                                        "integer",
                                        "date",
                                        "boolean"
                                    ]
                                },
                                "require_non_empty": {
                                    "type": "boolean"
                                },
                                "min": {
                                    "type": [
                                        "string",
                                        "null"
                                    ]
                                },
                                "max": {
                                    "type": [
                                        "string",
                                        "null"
                                    ]
                                },
                                "allowed_values": {
                                    "type": [
                                        "array",
                                        "null"
                                    ],
                                    "items": {
                                        "type": "string"
                                    }
                                },
                                "on_break": {
                                    "type": "string",
                                    "enum": [
                                        "block",
                                        "flag"
                                    ]
                                }
                            },
                            "required": [
                                "name",
                                "type",
                                "require_non_empty",
                                "min",
                                "max",
                                "allowed_values",
                                "on_break"
                            ]
                        }
                    },
                    "rows": {
                        "type": "array",
                        "description": "One object per row, keyed by column name in spec order, with `null` for an empty cell.\nA flagged cell holds the sender's text as a string, whatever the column's type.",
                        "items": {
                            "type": "object",
                            "additionalProperties": {
                                "anyOf": [
                                    {
                                        "type": "string"
                                    },
                                    {
                                        "type": "integer"
                                    },
                                    {
                                        "type": "number"
                                    },
                                    {
                                        "type": "boolean"
                                    },
                                    {
                                        "type": "null"
                                    }
                                ]
                            }
                        }
                    },
                    "flags": {
                        "type": "array",
                        "description": "Cells that broke a rule but were accepted: the 1-based row, the column name, the sender's text, and what rule it broke.",
                        "items": {
                            "type": "object",
                            "properties": {
                                "row": {
                                    "type": "integer"
                                },
                                "column": {
                                    "type": "string"
                                },
                                "value": {
                                    "type": [
                                        "string",
                                        "null"
                                    ]
                                },
                                "message": {
                                    "type": "string"
                                }
                            },
                            "required": [
                                "row",
                                "column",
                                "value",
                                "message"
                            ]
                        }
                    }
                },
                "required": [
                    "id",
                    "request_id",
                    "sender_name",
                    "sender_email",
                    "source",
                    "row_count",
                    "flag_count",
                    "original_filename",
                    "submitted_at",
                    "revised_at",
                    "columns",
                    "rows",
                    "flags"
                ],
                "title": "SubmissionWithRowsResource"
            }
        },
        "responses": {
            "AuthenticationException": {
                "description": "Unauthenticated",
                "content": {
                    "application\/json": {
                        "schema": {
                            "type": "object",
                            "properties": {
                                "message": {
                                    "type": "string",
                                    "description": "Error overview."
                                }
                            },
                            "required": [
                                "message"
                            ]
                        }
                    }
                }
            },
            "ModelNotFoundException": {
                "description": "Not found",
                "content": {
                    "application\/json": {
                        "schema": {
                            "type": "object",
                            "properties": {
                                "message": {
                                    "type": "string",
                                    "description": "Error overview."
                                }
                            },
                            "required": [
                                "message"
                            ]
                        }
                    }
                }
            }
        }
    }
}