{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/mart402-com/json-schema/mart402-com-ocr-req-schema.json",
  "title": "OcrReq",
  "x-generated": "2026-11-18",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/mart402-com-openapi.json#/components/schemas/OcrReq",
  "properties": {
    "image_url": {
      "type": "string",
      "title": "Image Url"
    },
    "image_base64": {
      "type": "string",
      "title": "Image Base64"
    },
    "lang": {
      "type": "string",
      "title": "Lang",
      "default": "japanese"
    }
  },
  "type": "object",
  "x-required-one-of": [
    "image_url",
    "image_base64"
  ],
  "anyOf": [
    {
      "required": [
        "image_url"
      ]
    },
    {
      "required": [
        "image_base64"
      ]
    }
  ]
}