Cerveja Barata · Schema

PriceUpdateRequest

BeerPrice ComparisonBrazilSalvadorLauroDeFreitas

Properties

Name Type Description
city string
venue string The bar's or shop's slug in that city
items array
seen_on string City-local date the price was seen
evidence object
name string Who to ask for
contact string WhatsApp, phone or email, only to ask about this update; deleted after 90 days
consent boolean LGPD consent to be contacted: required with a contact
turnstile string Cloudflare Turnstile token
View JSON Schema on GitHub

JSON Schema

cervejabarata-com-br-price-update-request-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-price-update-request-schema.json",
  "title": "PriceUpdateRequest",
  "x-generated": "2026-11-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cervejabarata-com-br-openapi.json#/components/schemas/PriceUpdateRequest",
  "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 or shop's slug in that city"
    },
    "items": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/PriceUpdateItem"
      },
      "minItems": 1,
      "maxItems": 10
    },
    "seen_on": {
      "type": "string",
      "format": "date",
      "description": "City-local date the price was seen"
    },
    "evidence": {
      "$ref": "#/$defs/PriceEvidence"
    },
    "name": {
      "type": "string",
      "minLength": 2,
      "maxLength": 80,
      "description": "Who to ask for"
    },
    "contact": {
      "type": "string",
      "minLength": 5,
      "maxLength": 120,
      "description": "WhatsApp, phone or email, only to ask about this update; deleted after 90 days"
    },
    "consent": {
      "type": "boolean",
      "enum": [
        true
      ],
      "description": "LGPD consent to be contacted: required with a contact"
    },
    "turnstile": {
      "type": "string",
      "minLength": 1,
      "maxLength": 2048,
      "description": "Cloudflare Turnstile token"
    }
  },
  "required": [
    "city",
    "venue",
    "items",
    "seen_on",
    "evidence",
    "turnstile"
  ],
  "additionalProperties": false,
  "$defs": {
    "NfceEvidence": {
      "type": "object",
      "properties": {
        "kind": {
          "type": "string",
          "enum": [
            "nfce"
          ]
        },
        "url": {
          "type": "string",
          "maxLength": 500,
          "format": "uri",
          "description": "The NFC-e's QR Code link, an http(s) address on *.gov.br"
        }
      },
      "required": [
        "kind",
        "url"
      ],
      "additionalProperties": false
    },
    "PhotoEvidence": {
      "type": "object",
      "properties": {
        "kind": {
          "type": "string",
          "enum": [
            "photo"
          ]
        },
        "image": {
          "type": "string",
          "maxLength": 700000,
          "description": "A JPEG photo as a data URI (base64), shrunk to at most 1600 px: it is forwarded to the team, not kept"
        }
      },
      "required": [
        "kind",
        "image"
      ],
      "additionalProperties": false
    },
    "PriceEvidence": {
      "oneOf": [
        {
          "$ref": "#/$defs/PhotoEvidence"
        },
        {
          "$ref": "#/$defs/NfceEvidence"
        }
      ]
    },
    "PriceUpdateItem": {
      "type": "object",
      "properties": {
        "item": {
          "type": "string",
          "minLength": 2,
          "maxLength": 80,
          "description": "The beer as written, or as the published price names it"
        },
        "deal": {
          "type": "integer",
          "exclusiveMinimum": 0,
          "description": "The published price this one replaces, when it was picked from the venue's list"
        },
        "size_ml": {
          "type": "integer",
          "minimum": 1,
          "maximum": 10000,
          "description": "One unit's size in ml (350 for a can)"
        },
        "pack_qty": {
          "type": "integer",
          "minimum": 1,
          "maximum": 100,
          "description": "Units the price buys (12 for a twelve-pack, 1 for a bottle)"
        },
        "price_minor": {
          "type": "integer",
          "minimum": 1,
          "maximum": 1000000,
          "description": "The new price in centavos (990 for R$ 9,90)"
        }
      },
      "required": [
        "item",
        "size_ml",
        "pack_qty",
        "price_minor"
      ],
      "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-price-update-request"
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.