{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/purple-dot/json-schema/purple-dot-get-api-v1-pre-orders-response-schema.json",
  "title": "GetApiV1PreOrdersResponse",
  "x-generated": "2026-10-29",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/purple-dot-openapi-generated.yml#/components/schemas/GetApiV1PreOrdersResponse",
  "type": "object",
  "properties": {
    "pre_orders": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "reference": {
            "type": "string"
          },
          "created_at": {
            "type": "string",
            "format": "date-time"
          },
          "total_amount": {
            "type": "number"
          },
          "currency": {
            "type": "string"
          },
          "line_items": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "id": {
                  "type": "string"
                },
                "estimated_ship_dates": {
                  "type": "string"
                },
                "product_id": {
                  "type": "string"
                },
                "variant_id": {
                  "type": "string"
                },
                "order_id": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "canceled": {
                  "type": "boolean"
                }
              }
            }
          },
          "shipping_address": {
            "type": "object",
            "properties": {
              "first_name": {
                "type": "string"
              },
              "last_name": {
                "type": "string"
              },
              "address1": {
                "type": "string"
              },
              "address2": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "city": {
                "type": "string"
              },
              "postal_code": {
                "type": "string"
              },
              "province_code": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "country_code": {
                "type": "string"
              },
              "phone": {
                "type": "string"
              }
            }
          }
        }
      }
    },
    "has_more": {
      "type": "boolean"
    },
    "starting_after": {
      "type": "string"
    }
  }
}