{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/clonelyapp-com/json-schema/clonelyapp-com-copied-product-list-schema.json",
  "title": "CopiedProductList",
  "x-generated": "2026-12-02",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/clonelyapp-com-openapi.json#/components/schemas/CopiedProductList",
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/CopiedProduct"
      }
    },
    "nextCursor": {
      "type": [
        "string",
        "null"
      ],
      "description": "Pass as `cursor` for the next page. null on the last page."
    }
  },
  "required": [
    "data",
    "nextCursor"
  ],
  "$defs": {
    "CopiedProduct": {
      "type": "object",
      "properties": {
        "productId": {
          "type": "string"
        },
        "handle": {
          "type": "string"
        },
        "title": {
          "type": "string"
        },
        "sourceUrl": {
          "type": [
            "string",
            "null"
          ]
        },
        "copiedAt": {
          "type": "string",
          "format": "date-time"
        }
      },
      "required": [
        "productId",
        "handle",
        "title",
        "sourceUrl",
        "copiedAt"
      ],
      "description": "One single-product copy. Each copy or update is its own row, so a productId can repeat."
    }
  }
}