Reading and reviewed details

An on-device reading (page, block, lines, words, regions, confidences, reader result) with details that point at its lines: confirmed, corrected, a date with a normalized value, and remembered removed suggestions.

Features: reading, details, evidence, confidence, review, removed-suggestions

File
reading-and-reviewed-details.showpapers
Size
7,351 bytes
SHA-256
82b064b290af8e275ab809f9b80926101c47868d7ea4061ab1366674cd0269b6

Manifest

manifest.json
{
  "agents": [],
  "collection": {
    "id": "00000000-0000-4000-8000-000000004001",
    "revision": 1,
    "title": "Reading"
  },
  "folders": [],
  "format": "showpapers",
  "formatVersion": 4,
  "generator": {
    "name": "showpapers-format",
    "platform": "python",
    "version": "1.0.0"
  },
  "library": {
    "categoryIcons": [],
    "pinnedPaperIds": []
  },
  "notes": [],
  "originals": [
    {
      "id": "00000000-0000-4000-8000-000000004101",
      "mediaType": "application/pdf",
      "path": "originals/00000000-0000-4000-8000-000000004101.pdf",
      "sha256": "7d5371d3d9d5588cdb4c7851773488380aa8e9644001ad32ba5dad8084272746",
      "size": 329,
      "title": "Passport"
    }
  ],
  "papers": [
    {
      "id": "00000000-0000-4000-8000-000000004101",
      "path": "papers/00000000-0000-4000-8000-000000004101.json",
      "sha256": "a6c067c92a8fc6e7adcf0bbebc4e042c325881762031eed5711a33c7e8d22130",
      "size": 1923
    }
  ],
  "people": [],
  "protection": "readable",
  "readings": [
    {
      "id": "00000000-0000-4000-8000-000000004101",
      "path": "readings/00000000-0000-4000-8000-000000004101.json",
      "sha256": "95c0e78a0fe3de677b6563301e6b6011921782202a271222810842741870a3c1",
      "size": 3432
    }
  ],
  "relationships": []
}

Records

papers/00000000-0000-4000-8000-000000004101.json
{
  "automaticTitle": false,
  "createdAt": "1750000000000",
  "details": [
    {
      "agentId": null,
      "concerns": [],
      "confidence": null,
      "evidence": [
        {
          "block": 0,
          "line": 1,
          "page": 0
        }
      ],
      "id": "sdk_p0_family_name",
      "key": "family-name",
      "label": null,
      "normalizedValue": null,
      "origin": "reading",
      "review": {
        "confirmed": true,
        "correctedValue": null
      },
      "value": "RIVERA",
      "valueType": "text"
    },
    {
      "agentId": null,
      "concerns": [],
      "confidence": null,
      "evidence": [
        {
          "block": 0,
          "line": 2,
          "page": 0
        }
      ],
      "id": "sdk_p0_given_name",
      "key": "given-name",
      "label": null,
      "normalizedValue": null,
      "origin": "reading",
      "review": {
        "confirmed": true,
        "correctedValue": null
      },
      "value": "ALEX",
      "valueType": "text"
    },
    {
      "agentId": null,
      "concerns": [],
      "confidence": null,
      "evidence": [
        {
          "block": 0,
          "line": 3,
          "page": 0
        }
      ],
      "id": "sdk_p0_passport_number",
      "key": "passport-number",
      "label": null,
      "normalizedValue": null,
      "origin": "reading",
      "review": {
        "confirmed": true,
        "correctedValue": null
      },
      "value": "X1234567",
      "valueType": "text"
    },
    {
      "agentId": null,
      "concerns": [],
      "confidence": null,
      "evidence": [
        {
          "block": 0,
          "line": 4,
          "page": 0
        }
      ],
      "id": "sdk_p0_expiration_date",
      "key": "expiration-date",
      "label": null,
      "normalizedValue": "2031-05-04",
      "origin": "reading",
      "review": {
        "confirmed": true,
        "correctedValue": null
      },
      "value": "04 MAY 2031",
      "valueType": "date"
    },
    {
      "agentId": null,
      "concerns": [],
      "confidence": null,
      "evidence": [
        {
          "block": 0,
          "line": 5,
          "page": 0
        }
      ],
      "id": "sdk_p0_nationality",
      "key": "nationality",
      "label": null,
      "normalizedValue": null,
      "origin": "reading",
      "review": {
        "confirmed": false,
        "correctedValue": "Examplander"
      },
      "value": "EXAMPLANO",
      "valueType": "text"
    }
  ],
  "paperVersion": 1,
  "removedSuggestions": [
    {
      "id": "sdk_p0_place_of_birth",
      "identity": {
        "key": "place-of-birth",
        "pages": [
          0
        ],
        "sdkDocumentType": "evidence.identity.foreign-passport",
        "sdkFieldId": "place_of_birth",
        "valueType": "text"
      },
      "origin": "reading"
    },
    {
      "id": "license_legacy_field",
      "identity": null,
      "origin": "reading"
    }
  ],
  "type": {
    "agentSuggestion": null,
    "custom": null,
    "detected": "passport",
    "selected": null,
    "suggested": [
      "passport",
      "visa"
    ]
  }
}
readings/00000000-0000-4000-8000-000000004101.json
{
  "concerns": [],
  "extractorVersion": 3,
  "pages": [
    {
      "blocks": [
        {
          "lines": [
            {
              "confidence": 0.97,
              "region": {
                "box": [
                  0.08,
                  0.1,
                  0.9,
                  0.15000000000000002
                ],
                "polygon": []
              },
              "text": "REPUBLIC OF EXAMPLE PASSPORT",
              "words": [
                {
                  "confidence": 0.95,
                  "region": {
                    "box": [
                      0.08,
                      0.1,
                      0.16,
                      0.15000000000000002
                    ],
                    "polygon": []
                  },
                  "text": "REPUBLIC"
                },
                {
                  "confidence": 0.95,
                  "region": {
                    "box": [
                      0.18,
                      0.1,
                      0.26,
                      0.15000000000000002
                    ],
                    "polygon": []
                  },
                  "text": "OF"
                },
                {
                  "confidence": 0.95,
                  "region": {
                    "box": [
                      0.28,
                      0.1,
                      0.36,
                      0.15000000000000002
                    ],
                    "polygon": []
                  },
                  "text": "EXAMPLE"
                },
                {
                  "confidence": 0.95,
                  "region": {
                    "box": [
                      0.38000000000000006,
                      0.1,
                      0.4600000000000001,
                      0.15000000000000002
                    ],
                    "polygon": []
                  },
                  "text": "PASSPORT"
                }
              ]
            },
            {
              "confidence": 0.97,
              "region": {
                "box": [
                  0.08,
                  0.18,
                  0.9,
                  0.22999999999999998
                ],
                "polygon": []
              },
              "text": "Surname RIVERA",
              "words": [
                {
                  "confidence": 0.95,
                  "region": {
                    "box": [
                      0.08,
                      0.18,
                      0.16,
                      0.22999999999999998
                    ],
                    "polygon": []
                  },
                  "text": "Surname"
                },
                {
                  "confidence": 0.95,
                  "region": {
                    "box": [
                      0.18,
                      0.18,
                      0.26,
                      0.22999999999999998
                    ],
                    "polygon": []
                  },
                  "text": "RIVERA"
                }
              ]
            },
            {
              "confidence": 0.97,
              "region": {
                "box": [
                  0.08,
                  0.26,
                  0.9,
                  0.31
                ],
                "polygon": []
              },
              "text": "Given names ALEX",
              "words": [
                {
                  "confidence": 0.95,
                  "region": {
                    "box": [
                      0.08,
                      0.26,
                      0.16,
                      0.31
                    ],
                    "polygon": []
                  },
                  "text": "Given"
                },
                {
                  "confidence": 0.95,
                  "region": {
                    "box": [
                      0.18,
                      0.26,
                      0.26,
                      0.31
                    ],
                    "polygon": []
                  },
                  "text": "names"
                },
                {
                  "confidence": 0.95,
                  "region": {
                    "box": [
                      0.28,
                      0.26,
                      0.36,
                      0.31
                    ],
                    "polygon": []
                  },
                  "text": "ALEX"
                }
              ]
            },
            {
              "confidence": 0.97,
              "region": {
                "box": [
                  0.08,
                  0.33999999999999997,
                  0.9,
                  0.38999999999999996
                ],
                "polygon": []
              },
              "text": "Passport No. X1234567",
              "words": [
                {
                  "confidence": 0.95,
                  "region": {
                    "box": [
                      0.08,
                      0.33999999999999997,
                      0.16,
                      0.38999999999999996
                    ],
                    "polygon": []
                  },
                  "text": "Passport"
                },
                {
                  "confidence": 0.95,
                  "region": {
                    "box": [
                      0.18,
                      0.33999999999999997,
                      0.26,
                      0.38999999999999996
                    ],
                    "polygon": []
                  },
                  "text": "No."
                },
                {
                  "confidence": 0.95,
                  "region": {
                    "box": [
                      0.28,
                      0.33999999999999997,
                      0.36,
                      0.38999999999999996
                    ],
                    "polygon": []
                  },
                  "text": "X1234567"
                }
              ]
            },
            {
              "confidence": 0.97,
              "region": {
                "box": [
                  0.08,
                  0.42000000000000004,
                  0.9,
                  0.47000000000000003
                ],
                "polygon": []
              },
              "text": "Date of expiry 04 MAY 2031",
              "words": [
                {
                  "confidence": 0.95,
                  "region": {
                    "box": [
                      0.08,
                      0.42000000000000004,
                      0.16,
                      0.47000000000000003
                    ],
                    "polygon": []
                  },
                  "text": "Date"
                },
                {
                  "confidence": 0.95,
                  "region": {
                    "box": [
                      0.18,
                      0.42000000000000004,
                      0.26,
                      0.47000000000000003
                    ],
                    "polygon": []
                  },
                  "text": "of"
                },
                {
                  "confidence": 0.95,
                  "region": {
                    "box": [
                      0.28,
                      0.42000000000000004,
                      0.36,
                      0.47000000000000003
                    ],
                    "polygon": []
                  },
                  "text": "expiry"
                },
                {
                  "confidence": 0.95,
                  "region": {
                    "box": [
                      0.38000000000000006,
                      0.42000000000000004,
                      0.4600000000000001,
                      0.47000000000000003
                    ],
                    "polygon": []
                  },
                  "text": "04"
                }
              ]
            },
            {
              "confidence": 0.97,
              "region": {
                "box": [
                  0.08,
                  0.5,
                  0.9,
                  0.55
                ],
                "polygon": []
              },
              "text": "Nationality EXAMPLAND",
              "words": [
                {
                  "confidence": 0.95,
                  "region": {
                    "box": [
                      0.08,
                      0.5,
                      0.16,
                      0.55
                    ],
                    "polygon": []
                  },
                  "text": "Nationality"
                },
                {
                  "confidence": 0.95,
                  "region": {
                    "box": [
                      0.18,
                      0.5,
                      0.26,
                      0.55
                    ],
                    "polygon": []
                  },
                  "text": "EXAMPLAND"
                }
              ]
            }
          ],
          "region": {
            "box": [
              0.05,
              0.05,
              0.95,
              0.9
            ],
            "polygon": [
              [
                0.05,
                0.05
              ],
              [
                0.95,
                0.05
              ],
              [
                0.95,
                0.9
              ],
              [
                0.05,
                0.9
              ]
            ]
          },
          "text": "REPUBLIC OF EXAMPLE PASSPORT\nSurname RIVERA\nGiven names ALEX\nPassport No. X1234567\nDate of expiry 04 MAY 2031\nNationality EXAMPLAND"
        }
      ],
      "engine": "showpapers-sdk-0.4.1;paddle;gemma4",
      "height": 1754,
      "index": 0,
      "text": "REPUBLIC OF EXAMPLE PASSPORT\nSurname RIVERA\nGiven names ALEX\nPassport No. X1234567\nDate of expiry 04 MAY 2031\nNationality EXAMPLAND",
      "width": 1240
    }
  ],
  "readingVersion": 1,
  "sdkAnalysis": {
    "classification": {
      "documentTypeId": "evidence.identity.foreign-passport",
      "kind": "classified"
    },
    "pageCount": 1,
    "sdkVersion": "0.4.1",
    "taxonomyVersion": "2026.09.18.1"
  }
}