BuyRecord · Schema

StayOutcomes

Artificial IntelligenceE-CommerceDataShoppingAnalytics

Properties

Name Type Description
id string
name string Property name as written in the platform's confirmation, cleaned and capped at 200 characters.
city string
country object ISO 3166-1 alpha-2, lowercase, when known.
platforms array Platforms through which verified stays were booked.
outcomes object Verified stays only.
breakdown object
computed_at object
View JSON Schema on GitHub

JSON Schema

buyrecord-app-stay-outcomes-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/buyrecord-app/json-schema/buyrecord-app-stay-outcomes-schema.json",
  "title": "StayOutcomes",
  "x-generated": "2026-11-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/buyrecord-app-openapi.json#/components/schemas/StayOutcomes",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid",
      "title": "Id"
    },
    "name": {
      "type": "string",
      "title": "Name",
      "description": "Property name as written in the platform's confirmation, cleaned and capped at 200 characters."
    },
    "city": {
      "type": "string",
      "title": "City"
    },
    "country": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Country",
      "description": "ISO 3166-1 alpha-2, lowercase, when known."
    },
    "platforms": {
      "items": {
        "type": "string",
        "enum": [
          "booking",
          "airbnb",
          "accor"
        ]
      },
      "type": "array",
      "title": "Platforms",
      "description": "Platforms through which verified stays were booked."
    },
    "outcomes": {
      "$ref": "#/$defs/StayOutcomeSummary",
      "description": "Verified stays only."
    },
    "breakdown": {
      "additionalProperties": {
        "type": "integer"
      },
      "propertyNames": {
        "enum": [
          "stayed_as_described",
          "stayed_with_issues",
          "cancelled_by_property",
          "left_early"
        ]
      },
      "type": "object",
      "title": "Breakdown"
    },
    "computed_at": {
      "anyOf": [
        {
          "type": "string",
          "format": "date-time"
        },
        {
          "type": "null"
        }
      ],
      "title": "Computed At"
    }
  },
  "type": "object",
  "required": [
    "id",
    "name",
    "city",
    "country",
    "platforms",
    "outcomes",
    "breakdown",
    "computed_at"
  ],
  "$defs": {
    "StayOutcomeSummary": {
      "properties": {
        "score": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "title": "Score",
          "description": "0 to 100. Null when sample_size is below min_sample."
        },
        "sample_size": {
          "type": "integer",
          "title": "Sample Size",
          "description": "Verified stays counted."
        },
        "min_sample": {
          "type": "integer",
          "title": "Min Sample"
        },
        "confidence": {
          "anyOf": [
            {
              "type": "string",
              "enum": [
                "low",
                "medium",
                "high"
              ]
            },
            {
              "type": "null"
            }
          ],
          "title": "Confidence",
          "description": "low under 10 verified stays, medium under 30, high from 30. Null when no score is shown."
        },
        "top_reasons": {
          "items": {
            "type": "string",
            "enum": [
              "not_as_described",
              "cleanliness",
              "noise",
              "check_in_problem",
              "safety",
              "overbooked",
              "other"
            ]
          },
          "type": "array",
          "title": "Top Reasons"
        }
      },
      "type": "object",
      "required": [
        "score",
        "sample_size",
        "min_sample",
        "confidence",
        "top_reasons"
      ],
      "title": "StayOutcomeSummary"
    }
  }
}

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/buyrecord-app-stay-outcomes"
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.