{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/taxmeter-lt/json-schema/taxmeter-lt-source-page-schema.json",
  "title": "SourcePage",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/taxmeter-lt-openapi.json#/components/schemas/SourcePage",
  "type": "object",
  "required": [
    "documentId",
    "sourceSha256",
    "imageSha256",
    "page",
    "image"
  ],
  "properties": {
    "documentId": {
      "type": "string"
    },
    "sourceSha256": {
      "type": "string"
    },
    "imageSha256": {
      "type": "string"
    },
    "page": {
      "type": "integer"
    },
    "image": {
      "type": "object",
      "required": [
        "type",
        "mimeType",
        "data"
      ],
      "properties": {
        "type": {
          "const": "image"
        },
        "mimeType": {
          "const": "image/png"
        },
        "data": {
          "type": "string",
          "contentEncoding": "base64",
          "contentMediaType": "image/png"
        }
      }
    }
  },
  "additionalProperties": true
}