{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/imagenai/json-schema/imagenai-project-list-item-schema.json",
  "title": "ProjectListItem",
  "x-generated": "2026-12-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/imagenai-openapi.yml#/components/schemas/ProjectListItem",
  "properties": {
    "project_id": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Project Id"
    },
    "project_uuid": {
      "type": "string",
      "title": "Project Uuid"
    },
    "name": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Name"
    },
    "status": {
      "type": "string",
      "title": "Status"
    },
    "created_at": {
      "type": "string",
      "title": "Created At"
    },
    "number_of_images": {
      "type": "integer",
      "title": "Number Of Images"
    },
    "number_of_images_edited": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Number Of Images Edited"
    },
    "profile": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Profile"
    },
    "ai_tools": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array"
        },
        {
          "type": "null"
        }
      ],
      "title": "Ai Tools"
    },
    "customer_reference_id": {
      "type": "integer",
      "title": "Customer Reference Id"
    },
    "thumbnail_src": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Thumbnail Src"
    },
    "export_status": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Export Status"
    },
    "progress": {
      "anyOf": [
        {
          "$ref": "#/$defs/ListingProgressSummary"
        },
        {
          "type": "null"
        }
      ]
    }
  },
  "type": "object",
  "required": [
    "project_id",
    "project_uuid",
    "name",
    "status",
    "created_at",
    "number_of_images",
    "number_of_images_edited",
    "profile",
    "ai_tools",
    "customer_reference_id",
    "thumbnail_src",
    "export_status",
    "progress"
  ],
  "$defs": {
    "ListingProgressSummary": {
      "properties": {
        "phase": {
          "type": "string",
          "enum": [
            "uploading",
            "merging",
            "editing",
            "completed",
            "failed"
          ],
          "title": "Phase"
        },
        "hdr_mode": {
          "type": "string",
          "enum": [
            "none",
            "known_sets",
            "auto"
          ],
          "title": "Hdr Mode"
        },
        "frames_uploaded": {
          "type": "integer",
          "title": "Frames Uploaded"
        },
        "frames_merged": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Frames Merged"
        },
        "photos_total": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Photos Total"
        },
        "photos_ready": {
          "type": "integer",
          "title": "Photos Ready"
        },
        "photos_failed": {
          "type": "integer",
          "title": "Photos Failed"
        },
        "frames_failed": {
          "type": "integer",
          "title": "Frames Failed",
          "default": 0
        }
      },
      "type": "object",
      "required": [
        "phase",
        "hdr_mode",
        "frames_uploaded",
        "frames_merged",
        "photos_total",
        "photos_ready",
        "photos_failed",
        "frames_failed"
      ],
      "title": "ListingProgressSummary",
      "description": "Listing card progress: the same shape and derivation as app-web-server's card."
    }
  }
}