{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/fourthline/json-schema/fourthline-client-document-signature-appearance-schema.json",
  "title": "ClientDocumentSignatureAppearance",
  "description": "Controls how and where the signature appears on a document to sign. Used with `DocumentToSign`.",
  "x-generated": "2026-12-02",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/fourthline-identity-verification-api-v2-api-openapi.yml#/components/schemas/ClientDocumentSignatureAppearance",
  "type": "object",
  "required": [
    "visibleSignature"
  ],
  "properties": {
    "visibleSignature": {
      "type": "boolean",
      "description": "Indicates whether the signature is visible on the document."
    },
    "location": {
      "type": "object",
      "description": "The position of the signature on the signed document in PDF units. If provided, `x` and `y` are required.",
      "required": [
        "x",
        "y"
      ],
      "properties": {
        "x": {
          "type": "number",
          "format": "double",
          "description": "The x axis of the signature position in PDF units."
        },
        "y": {
          "type": "number",
          "format": "double",
          "description": "The y axis of the signature position in PDF units."
        }
      }
    },
    "size": {
      "type": "object",
      "description": "The size of the signature on the signed document in PDF units. If provided, `width` and `height` are required.",
      "required": [
        "width",
        "height"
      ],
      "properties": {
        "width": {
          "type": "number",
          "format": "double",
          "description": "The width of the signature in PDF units."
        },
        "height": {
          "type": "number",
          "format": "double",
          "description": "The height of the signature in PDF units."
        }
      }
    },
    "pageNumber": {
      "type": "integer",
      "description": "The page of the signed document to display the signature on."
    }
  }
}