{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/lemonway/json-schema/lemonway-sign-document-init-output-schema.json",
  "title": "SignDocumentInitOutput",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/lemonway-accounts-admin-api-openapi.yml#/components/schemas/SignDocumentInitOutput",
  "type": "object",
  "properties": {
    "signDocument": {
      "description": "Payment token to use as GET parameter when redirecting your user to the WEBKIT.\nso even if the user comes back to your error page (if the user cancelled for example), \nyou can still submit the same token to the WEBKIT.",
      "type": "string"
    },
    "error": {
      "$ref": "#/$defs/Error"
    }
  },
  "$defs": {
    "Error": {
      "type": "object",
      "properties": {
        "code": {
          "format": "int32",
          "type": "integer"
        },
        "message": {
          "type": "string"
        },
        "psp": {
          "$ref": "#/$defs/PSP"
        }
      }
    },
    "PSP": {
      "type": "object",
      "properties": {
        "message": {
          "description": "Get the Error Message from PSP",
          "type": "string"
        }
      }
    }
  }
}