{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/feedback1-ai/json-schema/feedback1-ai-product-list-response-schema.json",
  "title": "ProductListResponse",
  "description": "Paginated list of products",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/feedback1-ai-products-api-openapi.yml#/components/schemas/ProductListResponse",
  "properties": {
    "items": {
      "items": {
        "$ref": "#/$defs/ProductResponse"
      },
      "type": "array",
      "title": "Items"
    },
    "total": {
      "type": "integer",
      "title": "Total"
    },
    "page": {
      "type": "integer",
      "title": "Page"
    },
    "page_size": {
      "type": "integer",
      "title": "Page Size"
    },
    "has_more": {
      "type": "boolean",
      "title": "Has More"
    }
  },
  "type": "object",
  "required": [
    "items",
    "total",
    "page",
    "page_size",
    "has_more"
  ],
  "$defs": {
    "ProductResponse": {
      "properties": {
        "id": {
          "type": "string",
          "title": "Id"
        },
        "pub_id": {
          "type": "string",
          "title": "Pub Id"
        },
        "name": {
          "type": "string",
          "title": "Name"
        },
        "description": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Description"
        },
        "website_url": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Website Url"
        },
        "created_at": {
          "type": "string",
          "format": "date-time",
          "title": "Created At"
        },
        "updated_at": {
          "type": "string",
          "format": "date-time",
          "title": "Updated At"
        }
      },
      "type": "object",
      "required": [
        "id",
        "pub_id",
        "name",
        "created_at",
        "updated_at"
      ],
      "title": "ProductResponse",
      "description": "Product response schema for Public API"
    }
  }
}