{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/azure-ai-search/json-schema/azure-ai-search-list-synonym-maps-result-schema.json",
  "title": "ListSynonymMapsResult",
  "description": "Response from a List SynonymMaps request. If successful, it includes the full definitions of all synonym maps.",
  "x-generated": "2026-11-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/azure-ai-search-synonymmaps-api-openapi.yml#/components/schemas/ListSynonymMapsResult",
  "type": "object",
  "properties": {
    "value": {
      "type": "array",
      "description": "The synonym maps in the Search service.",
      "items": {
        "$ref": "#/$defs/SynonymMap"
      },
      "readOnly": true
    },
    "@odata.nextLink": {
      "type": "string",
      "description": "The URL that can be used to fetch the next set of results.",
      "readOnly": true
    }
  },
  "required": [
    "value"
  ],
  "$defs": {
    "AzureActiveDirectoryApplicationCredentials": {
      "type": "object",
      "description": "Credentials of a registered application created for your search service, used for authenticated access to the encryption keys stored in Azure Key Vault.",
      "properties": {
        "applicationId": {
          "type": "string",
          "description": "An AAD Application ID that was granted the required access permissions to the Azure Key Vault that is to be used when encrypting your data at rest. The Application ID should not be confused with the Object ID for your AAD Application."
        },
        "applicationSecret": {
          "type": "string",
          "description": "The authentication key of the specified AAD application."
        }
      },
      "required": [
        "applicationId"
      ]
    },
    "SearchIndexerDataIdentity": {
      "type": "object",
      "description": "Abstract base type for data identities.",
      "properties": {
        "@odata.type": {
          "type": "string",
          "description": "A URI fragment specifying the type of identity."
        }
      },
      "required": [
        "@odata.type"
      ]
    },
    "SearchResourceEncryptionKey": {
      "type": "object",
      "description": "A customer-managed encryption key in Azure Key Vault. Keys that you create and manage can be used to encrypt or decrypt data-at-rest, such as indexes and synonym maps.",
      "properties": {
        "keyVaultKeyName": {
          "type": "string",
          "description": "The name of your Azure Key Vault key to be used to encrypt your data at rest."
        },
        "keyVaultKeyVersion": {
          "type": "string",
          "description": "The version of your Azure Key Vault key to be used to encrypt your data at rest."
        },
        "keyVaultUri": {
          "type": "string",
          "description": "The URI of your Azure Key Vault, also referred to as DNS name, that contains the key to be used to encrypt your data at rest. An example URI might be `https://my-keyvault-name.vault.azure.net`."
        },
        "accessCredentials": {
          "$ref": "#/$defs/AzureActiveDirectoryApplicationCredentials",
          "description": "Optional Azure Active Directory credentials used for accessing your Azure Key Vault. Not required if using managed identity instead.",
          "x-ms-client-flatten": true
        },
        "identity": {
          "$ref": "#/$defs/SearchIndexerDataIdentity",
          "description": "An explicit managed identity to use for this encryption key. If not specified and the access credentials property is null, the system-assigned managed identity is used. On update to the resource, if the explicit identity is unspecified, it remains unchanged. If \"none\" is specified, the value of this property is cleared."
        }
      },
      "required": [
        "keyVaultKeyName",
        "keyVaultUri"
      ]
    },
    "SynonymMap": {
      "type": "object",
      "description": "Represents a synonym map definition.",
      "properties": {
        "name": {
          "type": "string",
          "description": "The name of the synonym map."
        },
        "format": {
          "type": "string",
          "description": "The format of the synonym map. Only the 'solr' format is currently supported.",
          "enum": [
            "solr"
          ],
          "x-ms-enum": {
            "modelAsString": false
          }
        },
        "synonyms": {
          "type": "string",
          "description": "A series of synonym rules in the specified synonym map format. The rules must be separated by newlines."
        },
        "encryptionKey": {
          "$ref": "#/$defs/SearchResourceEncryptionKey",
          "description": "A description of an encryption key that you create in Azure Key Vault. This key is used to provide an additional level of encryption-at-rest for your data when you want full assurance that no one, not even Microsoft, can decrypt your data. Once you have encrypted your data, it will always remain encrypted. The search service will ignore attempts to set this property to null. You can change this property as needed if you want to rotate your encryption key; Your data will be unaffected. Encryption with customer-managed keys is not available for free search services, and is only available for paid services created on or after January 1, 2019."
        },
        "@odata.etag": {
          "type": "string",
          "description": "The ETag of the synonym map.",
          "x-ms-client-name": "eTag"
        }
      },
      "required": [
        "name",
        "format",
        "synonyms"
      ]
    }
  }
}