BetterMenu · Schema

ReferenceServingSize

A serving size category the member opened, with its Saved and Recent state.

Food TechRecipeFormulationFDA ComplianceSoftware-as-a-ServiceCloud

Properties

Name Type Description
category_id string Identifier of the serving size category, as the serving size category endpoints return it.
name string The category's name, e.g. `Cookies`.
reference_amount number The reference amount customarily eaten at one time, in `reference_unit`, e.g. `30`.
reference_unit object `g` for grams, or `mL` for millilitres: the categories whose reference amount is a volume (beverages, juices, milk, cream, shakes, syrups and cooking wine).
amount_kind object `discrete` for products eaten in units (cookies, bagels), `bulk` for products measured out (flour, juice).
audience object `general` or `infant_toddler`: who the reference amount is set for.
data_version string Version of the regulatory data the values above come from.
saved boolean Whether the member saved this category.
saved_at object When the member saved it; `null` while it is not saved.
first_viewed_at string When the member first opened it.
last_viewed_at string When the member last opened it.
view_count integer How many times the member opened it.
View JSON Schema on GitHub

JSON Schema

bettermenu-reference-serving-size-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/bettermenu/json-schema/bettermenu-reference-serving-size-schema.json",
  "title": "ReferenceServingSize",
  "description": "A serving size category the member opened, with its Saved and Recent state.",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/bettermenu-studio-api-openapi.yml#/components/schemas/ReferenceServingSize",
  "properties": {
    "category_id": {
      "type": "string",
      "title": "Category Id",
      "description": "Identifier of the serving size category, as the serving size category endpoints return it."
    },
    "name": {
      "type": "string",
      "title": "Name",
      "description": "The category's name, e.g. `Cookies`."
    },
    "reference_amount": {
      "type": "number",
      "title": "Reference Amount",
      "description": "The reference amount customarily eaten at one time, in `reference_unit`, e.g. `30`."
    },
    "reference_unit": {
      "$ref": "#/$defs/ReferenceAmountUnit",
      "description": "`g` for grams, or `mL` for millilitres: the categories whose reference amount is a volume (beverages, juices, milk, cream, shakes, syrups and cooking wine)."
    },
    "amount_kind": {
      "$ref": "#/$defs/ServingSizeAmountKind",
      "description": "`discrete` for products eaten in units (cookies, bagels), `bulk` for products measured out (flour, juice)."
    },
    "audience": {
      "$ref": "#/$defs/ServingSizeAudience",
      "description": "`general` or `infant_toddler`: who the reference amount is set for."
    },
    "data_version": {
      "type": "string",
      "title": "Data Version",
      "description": "Version of the regulatory data the values above come from."
    },
    "saved": {
      "type": "boolean",
      "title": "Saved",
      "description": "Whether the member saved this category."
    },
    "saved_at": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Saved At",
      "description": "When the member saved it; `null` while it is not saved."
    },
    "first_viewed_at": {
      "type": "string",
      "format": "date-time",
      "title": "First Viewed At",
      "description": "When the member first opened it."
    },
    "last_viewed_at": {
      "type": "string",
      "format": "date-time",
      "title": "Last Viewed At",
      "description": "When the member last opened it."
    },
    "view_count": {
      "type": "integer",
      "title": "View Count",
      "description": "How many times the member opened it."
    }
  },
  "type": "object",
  "required": [
    "category_id",
    "name",
    "reference_amount",
    "reference_unit",
    "amount_kind",
    "audience",
    "data_version",
    "saved",
    "saved_at",
    "first_viewed_at",
    "last_viewed_at",
    "view_count"
  ],
  "$defs": {
    "ReferenceAmountUnit": {
      "type": "string",
      "enum": [
        "g",
        "mL"
      ],
      "title": "ReferenceAmountUnit",
      "description": "The unit a category's reference amount is stated in."
    },
    "ServingSizeAmountKind": {
      "type": "string",
      "enum": [
        "discrete",
        "bulk"
      ],
      "title": "ServingSizeAmountKind",
      "description": "How a category's products are portioned."
    },
    "ServingSizeAudience": {
      "type": "string",
      "enum": [
        "general",
        "infant_toddler"
      ],
      "title": "ServingSizeAudience",
      "description": "Who a category's reference amount is set for."
    }
  }
}

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/bettermenu-reference-serving-size"
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.