{
  "$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-import-input-schema.json",
  "title": "GetParametersForImportInput",
  "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/GetParametersForImportInput",
  "type": "object",
  "properties": {
    "KeyMaterialType": {
      "type": "string",
      "description": "The method to use for key material import. Import token is only required for TR-34 WrappedKeyBlock (TR34_KEY_BLOCK) and RSA WrappedKeyCryptogram (KEY_CRYPTOGRAM). Import token is not required for TR-31, root public key cerificate or trusted public key certificate."
    },
    "WrappingKeyAlgorithm": {
      "type": "string",
      "description": "The wrapping key algorithm to generate a wrapping key certificate. This certificate wraps the key under import. At this time, RSA_2048 is the allowed algorithm for TR-34 WrappedKeyBlock import. Additionally, RSA_2048, RSA_3072, RSA_4096 are the allowed algorithms for RSA WrappedKeyCryptogram import."
    },
    "ReuseLastGeneratedToken": {
      "type": "boolean",
      "description": "Specifies whether to reuse the existing import token and wrapping key certificate. If set to true and a valid import token exists for the same key material type and wrapping key algorithm with at least 7 days of remaining validity, the existing token and wrapping key certificate are returned. Otherwise, a new import token and wrapping key certificate are generated. The default value is false, which generates a new import token and wrapping key certificate on every call."
    }
  },
  "required": [
    "KeyMaterialType",
    "WrappingKeyAlgorithm"
  ]
}