Estimate

RetreatYogaWellnessRussiaKarjala

Properties

Name Type Description
id string
kind string
url string Confidential bearer link: document, typed contact alias/comments and normal website actions. Do not publish.
documentVersion string
catalogVersion integer
state object
editable boolean
plan object
quote object
updatedAt string
View JSON Schema on GitHub

JSON Schema

ostrov-center-estimate-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ostrov-center/json-schema/ostrov-center-estimate-schema.json",
  "title": "Estimate",
  "x-generated": "2026-11-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ostrov-center-openapi.yml#/components/schemas/Estimate",
  "type": "object",
  "required": [
    "id",
    "kind",
    "url",
    "documentVersion",
    "catalogVersion",
    "state",
    "editable",
    "plan",
    "quote"
  ],
  "properties": {
    "id": {
      "type": "string",
      "pattern": "^[A-Za-z0-9_-]{32}$"
    },
    "kind": {
      "type": "string",
      "enum": [
        "group",
        "biggroup",
        "resident"
      ]
    },
    "url": {
      "type": "string",
      "format": "uri",
      "description": "Confidential bearer link: document, typed contact alias/comments and normal website actions. Do not publish."
    },
    "documentVersion": {
      "type": "string",
      "maxLength": 100
    },
    "catalogVersion": {
      "type": "integer",
      "minimum": 1,
      "maximum": 1000000000
    },
    "state": {
      "enum": [
        "draft",
        "in_application",
        "snapshot"
      ]
    },
    "editable": {
      "type": "boolean"
    },
    "plan": {
      "oneOf": [
        {
          "$ref": "#/$defs/GroupPlan"
        },
        {
          "$ref": "#/$defs/ResidentPlan"
        }
      ]
    },
    "quote": {
      "$ref": "#/$defs/QuoteDetail"
    },
    "updatedAt": {
      "type": "string",
      "maxLength": 100
    }
  },
  "additionalProperties": false,
  "$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
    },
    "GroupPlan": {
      "type": "object",
      "properties": {
        "arrival": {
          "type": "string",
          "format": "date",
          "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
        },
        "departure": {
          "type": "string",
          "format": "date",
          "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
        },
        "adults": {
          "type": "integer",
          "minimum": 0,
          "maximum": 100
        },
        "youngChildrenAges": {
          "type": "array",
          "maxItems": 30,
          "items": {
            "type": "integer",
            "minimum": 0,
            "maximum": 5
          },
          "description": "Information only; does not change any guest count, accommodation, food or price."
        },
        "policyVersion": {
          "type": "integer",
          "const": 4
        },
        "teens": {
          "type": "integer",
          "minimum": 0,
          "maximum": 100,
          "description": "Children eligible for the child discount (currently 6–12). Despite the field name, full-rate children (currently 13+) belong in adults. Check the live catalogue."
        },
        "team": {
          "type": "integer",
          "minimum": 0,
          "maximum": 100,
          "description": "Adult organizers and team, separate from participants. Ordinary tariff charges the team fully; all-inclusive benefits are calculated by the server."
        },
        "youngChildren": {
          "type": "integer",
          "const": 0,
          "description": "Legacy counter kept at zero; use youngChildrenAges for information."
        },
        "organizer": {
          "type": "string",
          "maxLength": 100,
          "description": "Display name; required and nonempty when saving."
        },
        "title": {
          "type": "string",
          "maxLength": 150,
          "description": "Retreat name; required and nonempty when saving."
        },
        "housing": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "resource": {
                "type": "string",
                "maxLength": 100
              },
              "occupancy": {
                "type": "integer",
                "minimum": 1,
                "maximum": 3
              },
              "quantity": {
                "type": "integer",
                "minimum": 1,
                "maximum": 100
              }
            },
            "required": [
              "resource",
              "occupancy",
              "quantity"
            ],
            "additionalProperties": false
          },
          "maxItems": 100
        },
        "activities": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "resource": {
                "type": "string",
                "maxLength": 100
              },
              "day": {
                "type": "integer",
                "minimum": 0,
                "maximum": 364
              },
              "slot": {
                "type": "string",
                "maxLength": 100
              },
              "options": {
                "type": "array",
                "items": {
                  "type": "string",
                  "maxLength": 100
                },
                "maxItems": 20
              }
            },
            "required": [
              "resource",
              "day",
              "slot",
              "options"
            ],
            "additionalProperties": false
          },
          "maxItems": 2000
        },
        "food": {
          "type": "boolean"
        }
      },
      "required": [
        "policyVersion",
        "arrival",
        "departure",
        "adults",
        "teens",
        "team",
        "housing",
        "activities",
        "food"
      ],
      "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
    },
    "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,
      "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."
    },
    "ResidentPlan": {
      "type": "object",
      "properties": {
        "arrival": {
          "type": "string",
          "format": "date",
          "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
        },
        "departure": {
          "type": "string",
          "format": "date",
          "pattern": "^\\d{4}-\\d{2}-\\d{2}$"
        },
        "adults": {
          "type": "integer",
          "minimum": 1,
          "maximum": 20
        },
        "youngChildrenAges": {
          "type": "array",
          "maxItems": 30,
          "items": {
            "type": "integer",
            "minimum": 0,
            "maximum": 5
          },
          "description": "Information only; does not change any guest count, accommodation, food or price."
        },
        "name": {
          "type": "string",
          "maxLength": 100,
          "description": "Required and nonempty when saving."
        },
        "children": {
          "type": "array",
          "maxItems": 20,
          "items": {
            "type": "integer",
            "minimum": 6,
            "maximum": 17
          },
          "description": "Children counted in accommodation; current rules permit ages 6–17. Put younger ages in youngChildrenAges."
        },
        "housing": {
          "type": "array",
          "minItems": 1,
          "maxItems": 30,
          "items": {
            "type": "object",
            "properties": {
              "resource": {
                "type": "string",
                "maxLength": 100
              },
              "occupancy": {
                "type": "integer",
                "minimum": 1,
                "maximum": 3
              }
            },
            "required": [
              "resource",
              "occupancy"
            ],
            "additionalProperties": false
          }
        },
        "bathVisits": {
          "type": "integer",
          "minimum": 0,
          "maximum": 100
        }
      },
      "required": [
        "arrival",
        "departure",
        "adults",
        "children",
        "housing",
        "bathVisits"
      ],
      "additionalProperties": false
    },
    "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-estimate"
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.