{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/fluidrecall-com/json-schema/fluidrecall-com-export-snapshot-schema.json",
  "title": "ExportSnapshot",
  "x-generated": "2026-11-08",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/fluidrecall-com-openapi.json#/components/schemas/ExportSnapshot",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "format",
    "exportedAt",
    "complete",
    "resource",
    "account",
    "settings",
    "tokens",
    "decks",
    "cards",
    "reviews",
    "counts",
    "completeness"
  ],
  "properties": {
    "format": {
      "type": "string",
      "const": "fluid-recall.export.v1"
    },
    "exportedAt": {
      "type": "string",
      "description": "UTC ISO-8601 timestamp ending in Z"
    },
    "complete": {
      "type": "boolean",
      "description": "True when this first snapshot already contains every card and review. Follow nextCursor when false."
    },
    "resource": {
      "type": "string",
      "enum": [
        "all",
        "cards",
        "reviews"
      ]
    },
    "account": {
      "type": "object"
    },
    "settings": {
      "type": [
        "object",
        "null"
      ]
    },
    "tokens": {
      "type": "array",
      "description": "Metadata only. Never plaintext or tokenHash."
    },
    "decks": {
      "type": "array"
    },
    "cards": {
      "type": "object"
    },
    "reviews": {
      "type": "object"
    },
    "counts": {
      "type": "object"
    },
    "completeness": {
      "type": "string"
    }
  }
}