{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/ditto-audio/json-schema/ditto-audio-upsert-progress-dto-schema.json",
  "title": "UpsertProgressDto",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/ditto-audio-sync-library-api-openapi.yml#/components/schemas/UpsertProgressDto",
  "type": "object",
  "properties": {
    "bookId": {
      "type": "string"
    },
    "chapterIndex": {
      "type": "number"
    },
    "paragraphIndex": {
      "type": "number"
    },
    "cfi": {
      "type": "string",
      "description": "epub.js CFI (web reader)"
    },
    "percentComplete": {
      "type": "number",
      "description": "0..1"
    },
    "totalReadingTimeMs": {
      "type": "number"
    },
    "lastReadAtMs": {
      "type": "number"
    }
  }
}