{
    "openapi": "3.1.0",
    "info": {
        "title": "NeoReader QR Code API",
        "version": "1.0.0",
        "summary": "Create, change and measure dynamic QR codes.",
        "description": "A free QR code generator API for dynamic QR codes. A dynamic code holds a short link, neoreader.com/q/SLUG, that redirects to a destination you can change at any time. Create, list, update and delete codes and read scan statistics. Scans are counted without storing IP addresses. The same codes can be managed by an AI assistant through the MCP server at https://neoreader.com/mcp.",
        "termsOfService": "https://neoreader.com/terms",
        "contact": {
            "name": "NeoReader",
            "url": "https://neoreader.com/contact"
        },
        "license": {
            "name": "NeoReader Terms",
            "url": "https://neoreader.com/terms"
        }
    },
    "externalDocs": {
        "description": "NeoReader developer documentation",
        "url": "https://neoreader.com/developers"
    },
    "servers": [
        {
            "url": "https://neoreader.com/api/v1"
        }
    ],
    "security": [
        {
            "bearerAuth": []
        }
    ],
    "tags": [
        {
            "name": "Account"
        },
        {
            "name": "Codes"
        },
        {
            "name": "Stats"
        }
    ],
    "paths": {
        "/me": {
            "get": {
                "operationId": "getMe",
                "tags": [
                    "Account"
                ],
                "summary": "Get Your Account",
                "description": "Your name, email, plan, how many codes you have and how many you may have.",
                "responses": {
                    "200": {
                        "description": "Your account.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/Me"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "$ref": "#/components/responses/401"
                    },
                    "403": {
                        "$ref": "#/components/responses/403"
                    },
                    "429": {
                        "$ref": "#/components/responses/429"
                    }
                }
            }
        },
        "/codes": {
            "get": {
                "operationId": "listCodes",
                "tags": [
                    "Codes"
                ],
                "summary": "List Codes",
                "description": "A page of your codes, newest first.",
                "parameters": [
                    {
                        "name": "q",
                        "in": "query",
                        "description": "Search word, matched against title, slug and destination.",
                        "schema": {
                            "type": "string",
                            "maxLength": 200
                        }
                    },
                    {
                        "name": "folder",
                        "in": "query",
                        "description": "Only codes in this folder.",
                        "schema": {
                            "type": "string",
                            "maxLength": 60
                        }
                    },
                    {
                        "name": "status",
                        "in": "query",
                        "description": "Only codes with this status.",
                        "schema": {
                            "$ref": "#/components/schemas/Status"
                        }
                    },
                    {
                        "name": "type",
                        "in": "query",
                        "description": "Only codes of this type: url (redirects to a link) or one of the hosted page types.",
                        "schema": {
                            "$ref": "#/components/schemas/CodeType"
                        }
                    },
                    {
                        "name": "per_page",
                        "in": "query",
                        "description": "Codes per page.",
                        "schema": {
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 100,
                            "default": 25
                        }
                    },
                    {
                        "name": "page",
                        "in": "query",
                        "description": "Page number, starting at 1.",
                        "schema": {
                            "type": "integer",
                            "minimum": 1,
                            "default": 1
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "A page of codes.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/CodePage"
                                }
                            }
                        }
                    },
                    "401": {
                        "$ref": "#/components/responses/401"
                    },
                    "403": {
                        "$ref": "#/components/responses/403"
                    },
                    "422": {
                        "$ref": "#/components/responses/422"
                    },
                    "429": {
                        "$ref": "#/components/responses/429"
                    }
                }
            },
            "post": {
                "operationId": "createCode",
                "tags": [
                    "Codes"
                ],
                "summary": "Create a Code",
                "description": "Creates a dynamic code. A code of type url (the default) needs a title and a destination: a full http:// or https:// address, or a mailto: or tel: link. Links to another NeoReader short link and private network addresses are refused. Any other type opens a page NeoReader hosts, built from content (see the CodeContent schema); then destination is not used. Pages that need an uploaded file (a PDF, an image gallery, a photo or a logo) are made in the account area, so through the API you can create card, links, menu (built from sections and items, or with a link to a PDF), pdf (with a link to the file), coupon, event, social, feedback, location, app and video, but not gallery.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/CodeInput"
                            },
                            "examples": {
                                "link": {
                                    "summary": "A link",
                                    "value": {
                                        "title": "Spring menu",
                                        "destination": "https://example.com/menu",
                                        "folder": "Restaurant",
                                        "utm": {
                                            "utm_source": "qr",
                                            "utm_medium": "print"
                                        }
                                    }
                                },
                                "menu": {
                                    "summary": "A menu built from sections and items",
                                    "value": {
                                        "title": "Cafe menu",
                                        "type": "menu",
                                        "content": {
                                            "name": "Juniper & Oak Cafe",
                                            "currency": "USD",
                                            "sections": [
                                                {
                                                    "name": "Coffee",
                                                    "items": [
                                                        {
                                                            "name": "Flat White",
                                                            "price": "3.80",
                                                            "tags": [
                                                                "vegetarian"
                                                            ]
                                                        },
                                                        {
                                                            "name": "Cold Brew",
                                                            "price": "4.20",
                                                            "tags": [
                                                                "vegan"
                                                            ]
                                                        }
                                                    ]
                                                }
                                            ],
                                            "hours": [
                                                {
                                                    "label": "Mon - Fri",
                                                    "value": "7 am - 4 pm"
                                                }
                                            ]
                                        }
                                    }
                                },
                                "coupon": {
                                    "summary": "A coupon with a code",
                                    "value": {
                                        "title": "Spring sale",
                                        "type": "coupon",
                                        "content": {
                                            "name": "Fernhill Garden Centre",
                                            "headline": "Spring Planting Sale",
                                            "badge": "25% OFF",
                                            "code": "SPRING25",
                                            "expires": "2027-04-30",
                                            "button_label": "Redeem Offer",
                                            "button_url": "https://example.com/spring-sale"
                                        }
                                    }
                                },
                                "event": {
                                    "summary": "An event with Add to Calendar",
                                    "value": {
                                        "title": "Night market",
                                        "type": "event",
                                        "content": {
                                            "title": "Harbour Lights Night Market",
                                            "starts_at": "2027-05-08T17:00",
                                            "ends_at": "2027-05-08T22:00",
                                            "timezone": "America/Los_Angeles",
                                            "venue": "Pier 9 Courtyard",
                                            "rsvp_label": "Get Free Tickets",
                                            "rsvp_url": "https://example.com/tickets"
                                        }
                                    }
                                },
                                "social": {
                                    "summary": "Social media profiles",
                                    "value": {
                                        "title": "Nova links",
                                        "type": "social",
                                        "content": {
                                            "name": "Nova Reyes",
                                            "links": [
                                                {
                                                    "url": "https://www.instagram.com/novareyes"
                                                },
                                                {
                                                    "platform": "youtube",
                                                    "url": "https://www.youtube.com/@novareyes"
                                                }
                                            ]
                                        }
                                    }
                                },
                                "feedback": {
                                    "summary": "A feedback form (answers are read in the account)",
                                    "value": {
                                        "title": "Table feedback",
                                        "type": "feedback",
                                        "content": {
                                            "name": "Juniper & Oak Cafe",
                                            "headline": "How was your visit?",
                                            "google_review_url": "https://example.com/review"
                                        }
                                    }
                                },
                                "card": {
                                    "summary": "A business card page",
                                    "value": {
                                        "title": "Ada card",
                                        "type": "card",
                                        "content": {
                                            "first_name": "Ada",
                                            "last_name": "Lovelace",
                                            "company": "Analytical Engines",
                                            "phone": "+44 20 7946 0000",
                                            "email": "ada@example.com"
                                        }
                                    }
                                }
                            }
                        }
                    }
                },
                "responses": {
                    "201": {
                        "description": "The code that was created.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/Code"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "$ref": "#/components/responses/401"
                    },
                    "403": {
                        "$ref": "#/components/responses/403"
                    },
                    "422": {
                        "$ref": "#/components/responses/422"
                    },
                    "429": {
                        "$ref": "#/components/responses/429"
                    }
                }
            }
        },
        "/codes/{slug}": {
            "parameters": [
                {
                    "name": "slug",
                    "in": "path",
                    "required": true,
                    "description": "The code’s slug, the last part of its short URL.",
                    "schema": {
                        "type": "string",
                        "example": "k7Xp2m"
                    }
                }
            ],
            "get": {
                "operationId": "getCode",
                "tags": [
                    "Codes"
                ],
                "summary": "Get a Code",
                "description": "One code. A slug that is not yours returns 404.",
                "responses": {
                    "200": {
                        "description": "The code.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/Code"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "$ref": "#/components/responses/401"
                    },
                    "403": {
                        "$ref": "#/components/responses/403"
                    },
                    "404": {
                        "$ref": "#/components/responses/404"
                    },
                    "429": {
                        "$ref": "#/components/responses/429"
                    }
                }
            },
            "patch": {
                "operationId": "updateCode",
                "tags": [
                    "Codes"
                ],
                "summary": "Update a Code",
                "description": "Changes the fields you send and leaves the rest alone. For a hosted page, the content fields you send replace those fields and the rest of the page stays, including files uploaded in the account area (send a field as null to remove it). You can change type too; fields the two types share are kept. Switching back to url needs a destination. The slug and short URL never change, so printed codes keep working. A blocked code cannot be turned back on.",
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/CodeInput"
                            },
                            "example": {
                                "destination": "https://example.com/summer-menu",
                                "expires_at": "2026-12-31T23:59:00Z"
                            }
                        }
                    }
                },
                "responses": {
                    "200": {
                        "description": "The code after the change.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/Code"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "$ref": "#/components/responses/401"
                    },
                    "403": {
                        "$ref": "#/components/responses/403"
                    },
                    "404": {
                        "$ref": "#/components/responses/404"
                    },
                    "422": {
                        "$ref": "#/components/responses/422"
                    },
                    "429": {
                        "$ref": "#/components/responses/429"
                    }
                }
            },
            "delete": {
                "operationId": "deleteCode",
                "tags": [
                    "Codes"
                ],
                "summary": "Delete a Code",
                "description": "Deletes the code and its scan history. This cannot be undone and the printed code stops working. Pause the code instead if you may need it again.",
                "responses": {
                    "204": {
                        "description": "The code was deleted."
                    },
                    "401": {
                        "$ref": "#/components/responses/401"
                    },
                    "403": {
                        "$ref": "#/components/responses/403"
                    },
                    "404": {
                        "$ref": "#/components/responses/404"
                    },
                    "429": {
                        "$ref": "#/components/responses/429"
                    }
                }
            }
        },
        "/codes/{slug}/stats": {
            "get": {
                "operationId": "getCodeStats",
                "tags": [
                    "Stats"
                ],
                "summary": "Get Scan Stats",
                "description": "Scan statistics for the last N days, today included: totals, a count for every day, and the top countries, devices, operating systems and browsers. Unique counts one visitor once per day.",
                "parameters": [
                    {
                        "name": "slug",
                        "in": "path",
                        "required": true,
                        "description": "The code’s slug, the last part of its short URL.",
                        "schema": {
                            "type": "string",
                            "example": "k7Xp2m"
                        }
                    },
                    {
                        "name": "days",
                        "in": "query",
                        "description": "How many days back to count.",
                        "schema": {
                            "type": "integer",
                            "minimum": 1,
                            "maximum": 365,
                            "default": 30
                        }
                    }
                ],
                "responses": {
                    "200": {
                        "description": "Scan statistics.",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "type": "object",
                                    "properties": {
                                        "data": {
                                            "$ref": "#/components/schemas/Stats"
                                        }
                                    }
                                }
                            }
                        }
                    },
                    "401": {
                        "$ref": "#/components/responses/401"
                    },
                    "403": {
                        "$ref": "#/components/responses/403"
                    },
                    "404": {
                        "$ref": "#/components/responses/404"
                    },
                    "422": {
                        "$ref": "#/components/responses/422"
                    },
                    "429": {
                        "$ref": "#/components/responses/429"
                    }
                }
            }
        }
    },
    "components": {
        "securitySchemes": {
            "bearerAuth": {
                "type": "http",
                "scheme": "bearer",
                "description": "An API token made under Account, then API Tokens, on https://neoreader.com. Send it as Authorization: Bearer YOUR_TOKEN."
            }
        },
        "responses": {
            "401": {
                "description": "The token is missing, wrong or revoked.",
                "content": {
                    "application/json": {
                        "schema": {
                            "$ref": "#/components/schemas/Error"
                        }
                    }
                }
            },
            "403": {
                "description": "The account is disabled.",
                "content": {
                    "application/json": {
                        "schema": {
                            "$ref": "#/components/schemas/Error"
                        }
                    }
                }
            },
            "404": {
                "description": "No such code on your account.",
                "content": {
                    "application/json": {
                        "schema": {
                            "$ref": "#/components/schemas/Error"
                        }
                    }
                }
            },
            "422": {
                "description": "A field is invalid, you reached your code limit, or you tried to turn a blocked code back on.",
                "content": {
                    "application/json": {
                        "schema": {
                            "$ref": "#/components/schemas/Error"
                        }
                    }
                }
            },
            "429": {
                "description": "Too many requests. Wait for the seconds in the Retry-After header.",
                "content": {
                    "application/json": {
                        "schema": {
                            "$ref": "#/components/schemas/Error"
                        }
                    }
                }
            }
        },
        "schemas": {
            "Status": {
                "type": "string",
                "enum": [
                    "active",
                    "paused",
                    "blocked",
                    "expired",
                    "not_started",
                    "limit"
                ]
            },
            "Me": {
                "type": "object",
                "properties": {
                    "name": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "email": {
                        "type": "string",
                        "format": "email"
                    },
                    "plan": {
                        "type": "string",
                        "example": "free"
                    },
                    "codes_count": {
                        "type": "integer"
                    },
                    "code_limit": {
                        "type": "integer",
                        "example": 250
                    }
                }
            },
            "Utm": {
                "type": "object",
                "properties": {
                    "utm_source": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 100
                    },
                    "utm_medium": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 100
                    },
                    "utm_campaign": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 100
                    }
                }
            },
            "CodeType": {
                "type": "string",
                "enum": [
                    "url",
                    "pdf",
                    "card",
                    "links",
                    "menu",
                    "coupon",
                    "event",
                    "social",
                    "feedback",
                    "location",
                    "app",
                    "gallery",
                    "video"
                ],
                "description": "url redirects to the destination. The others open a page NeoReader hosts."
            },
            "CodeContent": {
                "type": "object",
                "description": "The fields of a hosted page. Unknown fields are dropped. Fields marked (file) point at an upload made in the account area: the API cannot add a file, but it keeps the files a page already has. card: first_name, last_name, title, company, bio, phone, email, website, address, socials (list of label and url), photo (file); a name and a phone or email are required. links: title, bio, links (list of label and url, 1 to 30), socials (list of label and url), avatar (file). menu: name, title, description, website, phone, address, currency (USD, EUR, GBP, CAD, AUD, NZD, CHF, JPY, INR, MXN, BRL, ZAR, AED, SEK or NONE), mode (builder or pdf), hours (list of label and value, up to 10), sections (list of name, description and items, up to 20; each item has name, description, price, tags and photo (file), up to 40 items a section), url (link to a PDF menu), file (file), logo (file), direct. Send sections for a menu built on the page (mode is then builder); a PDF menu needs a file or a url. pdf: title, description, company, website, url (link to the PDF), file (file), logo (file), direct; a file or a url is required. location: name, address, lat, lng, description, phone, website, logo (file); an address or both coordinates are required. app: name, developer, description, ios_url, android_url, fallback_url, logo (file); at least one link is required. video: headline, description, videos (list of title and url, 1 to 10), button_label, button_url, logo (file). coupon: name and headline (required), badge, description, code, expires (YYYY-MM-DD), terms, button_label, button_url, address, phone, website, logo (file). event: title, starts_at (required, YYYY-MM-DDTHH:MM in the event’s own time zone), ends_at, timezone (required, an IANA name such as America/New_York), venue, address, map_url, description, organizer, website, agenda (list of time, title and note, up to 20), rsvp_label, rsvp_url, logo (file). social: name (required), bio, links (list of platform, label and url, 1 to 30; platform is instagram, facebook, x, tiktok, youtube, linkedin, whatsapp, snapchat, pinterest, telegram, threads, twitch, spotify, github, discord, reddit or website, and is found from the url when left out), avatar (file). feedback: name (required), headline, description, thanks, ask_email (true or false), google_review_url, logo (file); the answers are read in the account area. gallery: headline, description, images (file list, 1 to 20), button_label, button_url, logo (file); account area only. Every link must be a full https:// or http:// address. Every type also takes cover (file) and theme: layout (classic, bold, float, minimal, midnight, aurora, soft or poster), color and color2 (#rrggbb) and bg (none, sunset, ocean, forest, grape, peach, night, dots, grid or waves).",
                "additionalProperties": true
            },
            "Code": {
                "type": "object",
                "properties": {
                    "slug": {
                        "type": "string",
                        "example": "k7Xp2m"
                    },
                    "type": {
                        "$ref": "#/components/schemas/CodeType"
                    },
                    "content": {
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/CodeContent"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "description": "The page fields for a hosted type, otherwise null."
                    },
                    "short_url": {
                        "type": "string",
                        "format": "uri",
                        "example": "https://neoreader.com/q/k7Xp2m",
                        "description": "The address printed in the QR code."
                    },
                    "title": {
                        "type": "string"
                    },
                    "destination": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "description": "null for a hosted page."
                    },
                    "folder": {
                        "type": [
                            "string",
                            "null"
                        ]
                    },
                    "status": {
                        "$ref": "#/components/schemas/Status"
                    },
                    "is_active": {
                        "type": "boolean"
                    },
                    "starts_at": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "date-time"
                    },
                    "expires_at": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "date-time"
                    },
                    "scan_limit": {
                        "type": [
                            "integer",
                            "null"
                        ]
                    },
                    "has_password": {
                        "type": "boolean"
                    },
                    "utm": {
                        "$ref": "#/components/schemas/Utm"
                    },
                    "scans_count": {
                        "type": "integer"
                    },
                    "last_scanned_at": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "date-time"
                    },
                    "created_at": {
                        "type": "string",
                        "format": "date-time"
                    },
                    "updated_at": {
                        "type": "string",
                        "format": "date-time"
                    }
                }
            },
            "CodeInput": {
                "type": "object",
                "description": "Title is required when creating a code, and so is destination when the type is url.",
                "properties": {
                    "title": {
                        "type": "string",
                        "maxLength": 120,
                        "description": "Only you see it."
                    },
                    "type": {
                        "$ref": "#/components/schemas/CodeType"
                    },
                    "content": {
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/CodeContent"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "description": "The page fields for a hosted type."
                    },
                    "destination": {
                        "type": "string",
                        "maxLength": 2000,
                        "description": "For type url: a full https:// or http:// address, or a mailto: or tel: link."
                    },
                    "folder": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "maxLength": 60
                    },
                    "is_active": {
                        "type": "boolean",
                        "description": "false pauses the code."
                    },
                    "starts_at": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "date-time"
                    },
                    "expires_at": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "format": "date-time",
                        "description": "Must be after starts_at."
                    },
                    "scan_limit": {
                        "type": [
                            "integer",
                            "null"
                        ],
                        "minimum": 1,
                        "maximum": 100000000
                    },
                    "password": {
                        "type": [
                            "string",
                            "null"
                        ],
                        "minLength": 4,
                        "maxLength": 100,
                        "writeOnly": true,
                        "description": "Responses show has_password instead. Send null to remove it."
                    },
                    "utm": {
                        "oneOf": [
                            {
                                "$ref": "#/components/schemas/Utm"
                            },
                            {
                                "type": "null"
                            }
                        ],
                        "description": "Added to the destination on every scan."
                    }
                }
            },
            "CodePage": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "array",
                        "items": {
                            "$ref": "#/components/schemas/Code"
                        }
                    },
                    "links": {
                        "type": "object",
                        "properties": {
                            "first": {
                                "type": [
                                    "string",
                                    "null"
                                ]
                            },
                            "last": {
                                "type": [
                                    "string",
                                    "null"
                                ]
                            },
                            "prev": {
                                "type": [
                                    "string",
                                    "null"
                                ]
                            },
                            "next": {
                                "type": [
                                    "string",
                                    "null"
                                ]
                            }
                        }
                    },
                    "meta": {
                        "type": "object",
                        "properties": {
                            "current_page": {
                                "type": "integer"
                            },
                            "per_page": {
                                "type": "integer"
                            },
                            "total": {
                                "type": "integer"
                            },
                            "last_page": {
                                "type": "integer"
                            }
                        }
                    }
                }
            },
            "Stats": {
                "type": "object",
                "properties": {
                    "slug": {
                        "type": "string"
                    },
                    "days": {
                        "type": "integer"
                    },
                    "from": {
                        "type": "string",
                        "format": "date"
                    },
                    "to": {
                        "type": "string",
                        "format": "date"
                    },
                    "totals": {
                        "type": "object",
                        "properties": {
                            "scans": {
                                "type": "integer"
                            },
                            "unique": {
                                "type": "integer"
                            }
                        }
                    },
                    "all_time_scans": {
                        "type": "integer"
                    },
                    "daily": {
                        "type": "array",
                        "items": {
                            "type": "object",
                            "properties": {
                                "date": {
                                    "type": "string",
                                    "format": "date"
                                },
                                "scans": {
                                    "type": "integer"
                                },
                                "unique": {
                                    "type": "integer"
                                }
                            }
                        }
                    },
                    "countries": {
                        "type": "array",
                        "items": {
                            "type": "object",
                            "properties": {
                                "country": {
                                    "type": "string"
                                },
                                "scans": {
                                    "type": "integer"
                                }
                            }
                        }
                    },
                    "devices": {
                        "type": "array",
                        "items": {
                            "type": "object",
                            "properties": {
                                "device": {
                                    "type": "string"
                                },
                                "scans": {
                                    "type": "integer"
                                }
                            }
                        }
                    },
                    "os": {
                        "type": "array",
                        "items": {
                            "type": "object",
                            "properties": {
                                "os": {
                                    "type": "string"
                                },
                                "scans": {
                                    "type": "integer"
                                }
                            }
                        }
                    },
                    "browsers": {
                        "type": "array",
                        "items": {
                            "type": "object",
                            "properties": {
                                "browser": {
                                    "type": "string"
                                },
                                "scans": {
                                    "type": "integer"
                                }
                            }
                        }
                    }
                }
            },
            "Error": {
                "type": "object",
                "properties": {
                    "message": {
                        "type": "string"
                    },
                    "errors": {
                        "type": "object",
                        "additionalProperties": {
                            "type": "array",
                            "items": {
                                "type": "string"
                            }
                        }
                    }
                },
                "required": [
                    "message"
                ]
            }
        }
    }
}