Cerveja Barata · Schema

MenuPhotoUpload

BeerPrice ComparisonBrazilSalvadorLauroDeFreitas

Properties

Name Type Description
city string
venue string The bar's slug in that city
images array
contact string Phone or email, only to ask about these prices; deleted after 90 days
is_owner boolean Sent by the bar's owner or manager
ref string The bar's own link token (?ref= on the page, from GET /api/admin/venues/{id}/menu-link): a valid one makes the upload trusted, so its prices inside the hard bounds are approved at once
consent boolean LGPD consent: required with a contact
turnstile string Cloudflare Turnstile token
View JSON Schema on GitHub

JSON Schema

cervejabarata-com-br-menu-photo-upload-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cervejabarata-com-br/json-schema/cervejabarata-com-br-menu-photo-upload-schema.json",
  "title": "MenuPhotoUpload",
  "x-generated": "2026-11-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cervejabarata-com-br-openapi.json#/components/schemas/MenuPhotoUpload",
  "type": "object",
  "properties": {
    "city": {
      "type": "string",
      "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$"
    },
    "venue": {
      "type": "string",
      "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
      "description": "The bar's slug in that city"
    },
    "images": {
      "type": "array",
      "items": {
        "type": "string",
        "maxLength": 700000,
        "description": "A JPEG photo as a data URI (base64)"
      },
      "minItems": 1,
      "maxItems": 3
    },
    "contact": {
      "type": "string",
      "minLength": 5,
      "maxLength": 120,
      "description": "Phone or email, only to ask about these prices; deleted after 90 days"
    },
    "is_owner": {
      "type": "boolean",
      "description": "Sent by the bar's owner or manager"
    },
    "ref": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_-]{16}$",
      "description": "The bar's own link token (?ref= on the page, from GET /api/admin/venues/{id}/menu-link): a valid one makes the upload trusted, so its prices inside the hard bounds are approved at once"
    },
    "consent": {
      "type": "boolean",
      "description": "LGPD consent: required with a contact"
    },
    "turnstile": {
      "type": "string",
      "minLength": 1,
      "maxLength": 2048,
      "description": "Cloudflare Turnstile token"
    }
  },
  "required": [
    "city",
    "venue",
    "images",
    "turnstile"
  ],
  "additionalProperties": false
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/cervejabarata-com-br-menu-photo-upload"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.