{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/nuix/json-schema/nuix-ocr-template-details-schema.json",
  "title": "OcrTemplateDetails",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/nuix-resources-api-openapi.yml#/components/schemas/OcrTemplateDetails",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "The id of the template."
    },
    "name": {
      "type": "string",
      "description": "The name of the template."
    },
    "description": {
      "type": "string",
      "description": "The template description."
    },
    "appendText": {
      "type": "boolean",
      "description": "Gets whether to append text to item."
    },
    "updateText": {
      "type": "boolean",
      "description": "Gets whether to update item text."
    },
    "updatePdf": {
      "type": "boolean",
      "description": "Gets whether to update PDF."
    },
    "pageRotation": {
      "type": "string",
      "description": "Gets the page rotation of the printed image.",
      "deprecated": true
    },
    "textRotations": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Gets the text page rotations."
    },
    "multiProcessingMode": {
      "type": "string",
      "description": "Gets the multi-processing mode."
    },
    "languages": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Gets the languages."
    },
    "deskew": {
      "type": "boolean",
      "description": "Gets whether to deskew."
    },
    "autoPageRotationEnabled": {
      "type": "boolean",
      "description": "Gets whether to use auto page rotation."
    },
    "customPageRotationEnabled": {
      "type": "boolean",
      "description": "Gets whether to use custom page rotation."
    },
    "noPageRotationEnabled": {
      "type": "boolean",
      "description": "Gets whether to OCR without rotating."
    },
    "clockwisePageRotationEnabled": {
      "type": "boolean",
      "description": "Gets whether to run OCR with clockwise rotation."
    },
    "counterClockwisePageRotationEnabled": {
      "type": "boolean",
      "description": "Gets whether to run OCR with counter-clockwise rotation."
    },
    "oneEightyPageRotationEnabled": {
      "type": "boolean",
      "description": "Gets whether to run OCR with upside-down rotation."
    },
    "ocrProcessingProfile": {
      "type": "string",
      "description": "Gets the OCR processing profile provided by Abbyy."
    },
    "timeout": {
      "type": "integer",
      "description": "Gets the timeout duration."
    },
    "printedImageRotation": {
      "type": "string",
      "description": "Gets the printed image rotation."
    },
    "useNative": {
      "type": "boolean",
      "description": "Gets whether to use native item for OCR."
    }
  }
}