{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/huggingbay-xyz/json-schema/huggingbay-xyz-reader-recovery-kit-schema.json",
  "title": "ReaderRecoveryKit",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/huggingbay-xyz-accounts-api-openapi.yml#/components/schemas/ReaderRecoveryKit",
  "type": "object",
  "required": [
    "schemaVersion",
    "generatedAt",
    "principal",
    "summary",
    "recoverySteps",
    "endpoints",
    "copyPaste",
    "policy"
  ],
  "properties": {
    "schemaVersion": {
      "const": "hugging-bay.reader-recovery-kit.v1"
    },
    "generatedAt": {
      "type": "string"
    },
    "principal": {
      "$ref": "https://huggingbay.xyz/api/schemas#/$defs/Principal"
    },
    "summary": {
      "type": "object",
      "required": [
        "savedArtifacts",
        "savedSearches",
        "readerTokens",
        "activeReaderTokens"
      ],
      "additionalProperties": true
    },
    "recoverySteps": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "endpoints": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      }
    },
    "copyPaste": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      }
    },
    "browserExtension": {
      "type": "object",
      "additionalProperties": true
    },
    "policy": {
      "type": "object",
      "additionalProperties": true
    }
  },
  "additionalProperties": true
}