{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/akeda-ru/json-schema/akeda-ru-core-policy-tax-regime-input-schema.json",
  "title": "CorePolicyTaxRegimeInput",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/akeda-ru-core-accounting-api-openapi.yml#/components/schemas/CorePolicyTaxRegimeInput",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "valid_from",
    "regime"
  ],
  "properties": {
    "valid_from": {
      "type": "string",
      "format": "date",
      "description": "0001-01-01 — с начала учёта"
    },
    "regime": {
      "type": "string",
      "enum": [
        "osno",
        "usn_income",
        "usn_income_expense",
        "ausn_income",
        "ausn_income_expense",
        "eshn",
        "psn",
        "npd"
      ]
    },
    "regime_rate": {
      "type": "string",
      "description": "Ставка режима, от 0 до 100; обязательна, кроме ПСН и НПД"
    },
    "patent": {
      "type": "boolean",
      "description": "ИП совмещает основной режим с патентом; только ОСНО, УСН или ЕСХН"
    }
  }
}