{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/microsoft-azure/json-schema/microsoft-azure-word-alterations-dto-schema.json",
  "title": "WordAlterationsDTO",
  "description": "Collection of word alterations.",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/microsoft-azure-alterations-api-openapi.yml#/components/schemas/WordAlterationsDTO",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "wordAlterations"
  ],
  "properties": {
    "wordAlterations": {
      "type": "array",
      "description": "Collection of word alterations.",
      "maxLength": 10000,
      "items": {
        "$ref": "#/$defs/AlterationsDTO"
      }
    }
  },
  "$defs": {
    "AlterationsDTO": {
      "type": "object",
      "description": "Collection of words that are synonyms.",
      "additionalProperties": false,
      "required": [
        "alterations"
      ],
      "properties": {
        "alterations": {
          "type": "array",
          "description": "Words that are synonymous with each other.",
          "maxLength": 20,
          "minLength": 1,
          "items": {
            "type": "string"
          }
        }
      }
    }
  }
}