{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-payment-cryptography/json-schema/amazon-payment-cryptography-get-parameters-for-export-input-schema.json",
  "title": "GetParametersForExportInput",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-payment-cryptography-payment-cryptography-control-plane-api-openapi.yml#/components/schemas/GetParametersForExportInput",
  "type": "object",
  "properties": {
    "KeyMaterialType": {
      "type": "string",
      "description": "The key block format type (for example, TR-34 or TR-31) to use during key material export. Export token is only required for a TR-34 key export, TR34_KEY_BLOCK. Export token is not required for TR-31 key export."
    },
    "SigningKeyAlgorithm": {
      "type": "string",
      "description": "The signing key algorithm to generate a signing key certificate. This certificate signs the wrapped key under export within the TR-34 key block. RSA_2048 is the only signing key algorithm allowed."
    },
    "ReuseLastGeneratedToken": {
      "type": "boolean",
      "description": "Specifies whether to reuse the existing export token and signing key certificate. If set to true and a valid export token exists for the same key material type and signing key algorithm with at least 7 days of remaining validity, the existing token and signing key certificate are returned. Otherwise, a new export token and signing key certificate are generated. The default value is false, which generates a new export token and signing key certificate on every call."
    }
  },
  "required": [
    "KeyMaterialType",
    "SigningKeyAlgorithm"
  ]
}