{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/payforapi-com/json-schema/payforapi-com-pochta-tariff-request-schema.json",
  "title": "PochtaTariffRequest",
  "x-generated": "2026-11-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/payforapi-com-api-openapi.json#/components/schemas/PochtaTariffRequest",
  "properties": {
    "from_index": {
      "type": "string",
      "title": "From Index"
    },
    "to_index": {
      "type": "string",
      "title": "To Index"
    },
    "weight": {
      "type": "integer",
      "title": "Weight",
      "default": 1000
    },
    "mail_type": {
      "type": "string",
      "title": "Mail Type",
      "default": "POSTAL_PARCEL"
    },
    "mail_category": {
      "type": "string",
      "title": "Mail Category",
      "default": "ORDINARY"
    },
    "declared_value": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Declared Value"
    },
    "dimension_type": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Dimension Type"
    }
  },
  "type": "object",
  "required": [
    "from_index",
    "to_index"
  ]
}