{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cloudmersive/json-schema/cloudmersive-get-words-response-schema.json",
  "title": "GetWordsResponse",
  "description": "Words in input string",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cloudmersive-segmentation-api-openapi.yml#/components/schemas/GetWordsResponse",
  "type": "object",
  "properties": {
    "Words": {
      "description": "Array of words",
      "type": "array",
      "items": {
        "$ref": "#/$defs/WordPosition"
      }
    }
  },
  "$defs": {
    "WordPosition": {
      "type": "object",
      "properties": {
        "Word": {
          "description": "Word as a string",
          "type": "string"
        },
        "WordIndex": {
          "format": "int32",
          "description": "Zero-based index of the word; first word has index 0, second word has index 1 and so on",
          "type": "integer"
        },
        "StartPosition": {
          "format": "int32",
          "description": "Zero-based character offset at which the word begins in the input string",
          "type": "integer"
        },
        "EndPosition": {
          "format": "int32",
          "description": "Zero-based character offset at which the word ends in the input string",
          "type": "integer"
        }
      }
    }
  }
}