{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-iot-sitewise/json-schema/amazon-iot-sitewise-put-default-encryption-configuration-request-schema.json",
  "title": "PutDefaultEncryptionConfigurationRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-iot-sitewise-configuration-api-openapi.yml#/components/schemas/PutDefaultEncryptionConfigurationRequest",
  "type": "object",
  "properties": {
    "encryptionType": {
      "type": "string",
      "enum": [
        "SITEWISE_DEFAULT_ENCRYPTION",
        "KMS_BASED_ENCRYPTION"
      ],
      "description": "The type of encryption used for the encryption configuration."
    },
    "kmsKeyId": {
      "type": "string",
      "description": "The Key ID of the customer managed key used for KMS encryption. This is required if you use KMS_BASED_ENCRYPTION."
    }
  },
  "required": [
    "encryptionType"
  ]
}