{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://jambonz.org/schema/components/recognizer-awsOptions",
  "title": "AWS Recognizer Options",
  "description": "AWS Transcribe specific options. Only applies when recognizer vendor is 'aws'.",
  "type": "object",
  "properties": {
    "accessKey": {
      "type": "string",
      "description": "AWS access key ID. Overrides credentials configured in jambonz."
    },
    "secretKey": {
      "type": "string",
      "description": "AWS secret access key."
    },
    "securityToken": {
      "type": "string",
      "description": "AWS temporary security token (for STS/assumed roles)."
    },
    "region": {
      "type": "string",
      "description": "AWS region for the Transcribe service."
    },
    "vocabularyName": {
      "type": "string",
      "description": "Name of a custom vocabulary to use."
    },
    "vocabularyFilterName": {
      "type": "string",
      "description": "Name of a vocabulary filter to apply."
    },
    "vocabularyFilterMethod": {
      "type": "string",
      "enum": ["remove", "mask", "tag"],
      "description": "How filtered vocabulary words should be handled."
    },
    "languageModelName": {
      "type": "string",
      "description": "Name of a custom language model."
    },
    "piiEntityTypes": {
      "type": "array",
      "items": { "type": "string" },
      "description": "PII entity types to identify (e.g. 'BANK_ACCOUNT_NUMBER', 'CREDIT_DEBIT_NUMBER')."
    },
    "piiIdentifyEntities": {
      "type": "boolean",
      "description": "Enable PII entity identification."
    }
  },
  "additionalProperties": false
}
