{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amberai/json-schema/amberai-carton-sizes-list-schema.json",
  "title": "CartonSizesList",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amberai-carton-sizes-api-openapi.yml#/components/schemas/CartonSizesList",
  "type": "object",
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
          },
          "name": {
            "type": "string"
          },
          "lengthCm": {
            "type": "string"
          },
          "widthCm": {
            "type": "string"
          },
          "heightCm": {
            "type": "string"
          },
          "createdAt": {
            "type": "string"
          },
          "updatedAt": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "name",
          "lengthCm",
          "widthCm",
          "heightCm",
          "createdAt",
          "updatedAt"
        ],
        "additionalProperties": false
      }
    },
    "nextCursor": {
      "type": [
        "string",
        "null"
      ]
    },
    "totalItems": {
      "type": "integer",
      "description": "Total number of matching records across all pages."
    }
  },
  "required": [
    "items",
    "nextCursor",
    "totalItems"
  ],
  "additionalProperties": false
}