{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/gkmex-com/json-schema/gkmex-com-crane-list-schema.json",
  "title": "CraneList",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/gkmex-com-openapi.json#/components/schemas/CraneList",
  "type": "object",
  "required": [
    "updated_at",
    "count",
    "data"
  ],
  "properties": {
    "updated_at": {
      "type": "string",
      "format": "date"
    },
    "count": {
      "type": "integer",
      "minimum": 0
    },
    "total": {
      "type": "integer",
      "minimum": 0
    },
    "limit": {
      "type": "integer",
      "minimum": 0,
      "maximum": 100
    },
    "offset": {
      "type": "integer",
      "minimum": 0
    },
    "next_cursor": {
      "type": [
        "string",
        "null"
      ]
    },
    "data": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Crane"
      }
    }
  },
  "$defs": {
    "Crane": {
      "type": "object",
      "required": [
        "id",
        "brand",
        "model",
        "url"
      ],
      "properties": {
        "id": {
          "type": "string"
        },
        "brand": {
          "type": "string"
        },
        "model": {
          "type": "string"
        },
        "year": {
          "type": [
            "integer",
            "null"
          ]
        },
        "capacity": {
          "type": [
            "string",
            "null"
          ]
        },
        "type": {
          "type": [
            "string",
            "null"
          ],
          "enum": [
            "mobile",
            "crawler",
            null
          ]
        },
        "location": {
          "type": "string"
        },
        "price_eur": {
          "type": [
            "integer",
            "null"
          ]
        },
        "image": {
          "type": "string",
          "format": "uri"
        },
        "url": {
          "type": "string",
          "format": "uri"
        }
      }
    }
  }
}