{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/genlook-app/json-schema/genlook-app-get-products-response-schema.json",
  "title": "GetProductsResponse",
  "x-generated": "2026-11-09",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/genlook-app-tryon-openapi-generated.yml#/components/schemas/GetProductsResponse",
  "type": "object",
  "properties": {
    "items": {
      "type": "array",
      "description": "list of products"
    },
    "nextCursor": {
      "type": "string",
      "description": "null on the last page"
    },
    "hasMore": {
      "type": "boolean"
    },
    "count": {
      "type": "integer"
    },
    "externalId": {
      "type": "string",
      "description": "required"
    },
    "title": {
      "type": "string",
      "description": "required"
    },
    "description": {
      "type": "string",
      "description": "required"
    },
    "images": {
      "type": "array",
      "description": "required"
    },
    "metadata": {
      "type": "object"
    },
    "validForDays": {
      "type": "integer",
      "description": "Lifetime after last use. null means forever."
    },
    "lastUsedAt": {
      "type": "string",
      "description": "Last try-on on this product."
    },
    "expiresAt": {
      "type": "string",
      "description": "Deletion date if unused. null when kept forever."
    },
    "createdAt": {
      "type": "string",
      "description": "required"
    },
    "updatedAt": {
      "type": "string",
      "description": "required"
    }
  }
}