{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/clusterhack-dev/json-schema/clusterhack-dev-paginated-citys-list-schema.json",
  "title": "PaginatedCitysList",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/clusterhack-dev-cities-api-openapi.yml#/components/schemas/PaginatedCitysList",
  "type": "object",
  "required": [
    "count",
    "results"
  ],
  "properties": {
    "count": {
      "type": "integer"
    },
    "next": {
      "type": [
        "string",
        "null"
      ],
      "format": "uri"
    },
    "previous": {
      "type": [
        "string",
        "null"
      ],
      "format": "uri"
    },
    "results": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Citys"
      }
    }
  },
  "$defs": {
    "Citys": {
      "type": "object",
      "properties": {
        "id": {
          "type": "integer",
          "readOnly": true
        },
        "city": {
          "type": "string",
          "maxLength": 255
        },
        "nameInEnglish": {
          "type": "string",
          "title": "City name in english",
          "maxLength": 255
        }
      },
      "required": [
        "city",
        "id"
      ]
    }
  }
}