QuoteDetail

Use kind to explain the breakdown and total as the server result. Public group quotes omit legacy teamSettings; childSettings contains only child-age/discount rules, never resident activities or duration policy.

RetreatYogaWellnessRussiaKarjala

Properties

Name Type Description
kind string
version integer
total numbernull Authoritative server total in RUB after all applied discounts and extras. Never replace it with a sum of resident daily lines. Null means incomplete, never zero.
lines array group/biggroup: labeled signed amounts. resident: daily housing/food after child terms but before resident/duration discounts and paid baths; these are not the final total.
warnings array
compositionComplete boolean
childSettings object
grossHousingTotal number Housing before child and other discounts.
grossFoodTotal number Food before child and other discounts.
childDiscountAmount number Applied child discount. Already included in resident housingTotal, foodTotal and subtotal.
housingTotal number Resident housing after child terms, before resident/duration discounts.
foodTotal number Resident food after child terms, before resident/duration discounts.
subtotal number Resident housing plus food after child terms, before resident/duration discounts.
residentDiscountAmount number Applied resident discount; already included in total.
durationDiscountAmount number Applied duration discount; already included in total.
bathTotal number Resident paid bath charge; already included in total.
View JSON Schema on GitHub

JSON Schema

ostrov-center-quote-detail-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ostrov-center/json-schema/ostrov-center-quote-detail-schema.json",
  "title": "QuoteDetail",
  "description": "Use kind to explain the breakdown and total as the server result. Public group quotes omit legacy teamSettings; childSettings contains only child-age/discount rules, never resident activities or duration policy.",
  "x-generated": "2026-11-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ostrov-center-openapi.yml#/components/schemas/QuoteDetail",
  "type": "object",
  "required": [
    "kind",
    "version",
    "total",
    "lines"
  ],
  "properties": {
    "kind": {
      "type": "string",
      "enum": [
        "group",
        "biggroup",
        "resident"
      ]
    },
    "version": {
      "type": "integer",
      "minimum": 1,
      "maximum": 1000000000
    },
    "total": {
      "type": [
        "number",
        "null"
      ],
      "description": "Authoritative server total in RUB after all applied discounts and extras. Never replace it with a sum of resident daily lines. Null means incomplete, never zero."
    },
    "lines": {
      "type": "array",
      "description": "group/biggroup: labeled signed amounts. resident: daily housing/food after child terms but before resident/duration discounts and paid baths; these are not the final total.",
      "items": {
        "oneOf": [
          {
            "$ref": "#/$defs/GroupQuoteLine"
          },
          {
            "$ref": "#/$defs/ResidentQuoteDay"
          }
        ]
      }
    },
    "warnings": {
      "type": "array",
      "items": {
        "type": "string",
        "maxLength": 2000
      }
    },
    "compositionComplete": {
      "type": "boolean"
    },
    "childSettings": {
      "$ref": "#/$defs/ChildRules"
    },
    "grossHousingTotal": {
      "type": "number",
      "description": "Housing before child and other discounts."
    },
    "grossFoodTotal": {
      "type": "number",
      "description": "Food before child and other discounts."
    },
    "childDiscountAmount": {
      "type": "number",
      "description": "Applied child discount. Already included in resident housingTotal, foodTotal and subtotal."
    },
    "housingTotal": {
      "type": "number",
      "description": "Resident housing after child terms, before resident/duration discounts."
    },
    "foodTotal": {
      "type": "number",
      "description": "Resident food after child terms, before resident/duration discounts."
    },
    "subtotal": {
      "type": "number",
      "description": "Resident housing plus food after child terms, before resident/duration discounts."
    },
    "residentDiscountAmount": {
      "type": "number",
      "description": "Applied resident discount; already included in total."
    },
    "durationDiscountAmount": {
      "type": "number",
      "description": "Applied duration discount; already included in total."
    },
    "bathTotal": {
      "type": "number",
      "description": "Resident paid bath charge; already included in total."
    }
  },
  "additionalProperties": true,
  "$defs": {
    "ChildRules": {
      "type": "object",
      "properties": {
        "childFreeUnder": {
          "type": "integer",
          "minimum": 0,
          "maximum": 18
        },
        "childDiscountUnder": {
          "type": "integer",
          "minimum": 0,
          "maximum": 18
        },
        "childDiscount": {
          "type": "integer",
          "minimum": 0,
          "maximum": 100
        }
      },
      "required": [
        "childFreeUnder",
        "childDiscountUnder",
        "childDiscount"
      ],
      "additionalProperties": false
    },
    "GroupQuoteLine": {
      "type": "object",
      "required": [
        "label",
        "amount"
      ],
      "properties": {
        "label": {
          "type": "string",
          "maxLength": 1000
        },
        "amount": {
          "type": "number",
          "description": "RUB; negative values are deductions already applied by the server."
        },
        "kind": {
          "type": "string",
          "maxLength": 100
        },
        "rate": {
          "type": "number"
        }
      },
      "additionalProperties": true
    },
    "ResidentQuoteDay": {
      "type": "object",
      "properties": {
        "date": {
          "type": "string",
          "format": "date",
          "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
        },
        "season": {
          "enum": [
            "low",
            "medium",
            "high"
          ]
        },
        "housing": {
          "type": "number"
        },
        "food": {
          "type": "number"
        }
      },
      "required": [
        "date",
        "housing",
        "food"
      ],
      "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/ostrov-center-quote-detail"
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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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