{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/peerpush-com/json-schema/peerpush-com-created-product-schema.json",
  "title": "CreatedProduct",
  "x-generated": "2026-11-20",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/peerpush-com-openapi.yml#/components/schemas/CreatedProduct",
  "type": "object",
  "required": [
    "id",
    "status",
    "claimUrl",
    "expiresAt",
    "claimedAt"
  ],
  "properties": {
    "id": {
      "type": "string",
      "description": "Product ID. Use GET /api/v1/products/{id}/status to retrieve creation status with the originating API key."
    },
    "status": {
      "type": "string",
      "enum": [
        "ready",
        "claimed",
        "expired",
        "revoked"
      ]
    },
    "claimUrl": {
      "type": "string",
      "format": "uri",
      "description": "Private link to review, edit and claim the product. Treat it as a credential."
    },
    "expiresAt": {
      "type": "string",
      "format": "date-time"
    },
    "claimedAt": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    }
  }
}