> ## Documentation Index
> Fetch the complete documentation index at: https://kawax.biz/llms.txt
> Use this file to discover all available pages before exploring further.

# Validate AquesTalk-style notation

> Validate whether text follows AquesTalk-style notation.

Returns error if not compliant.

**Laravel Implementation Status**: ✅ Fully supported by Laravel (no fallback needed)



## OpenAPI

````yaml https://raw.githubusercontent.com/invokable/laravel-voicevox/refs/heads/main/docs/en/laravel-openapi.json post /validate_kana
openapi: 3.1.0
info:
  title: VOICEVOX ENGINE OSS
  description: VOICEVOX OSS  text-to-speech synthesis engine.
  version: latest
servers: []
security: []
paths:
  /validate_kana:
    post:
      tags:
        - Other
      summary: Validate AquesTalk-style notation
      description: >-
        Validate whether text follows AquesTalk-style notation.


        Returns error if not compliant.


        **Laravel Implementation Status**: ✅ Fully supported by Laravel (no
        fallback needed)
      operationId: validate_kana
      parameters:
        - name: text
          in: query
          required: true
          schema:
            type: string
            description: Text string to validate
            title: Text
          description: Text string to validate
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: boolean
                title: Response Validate Kana Validate Kana Post
        '400':
          description: Invalid text
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ParseKanaBadRequest'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    ParseKanaBadRequest:
      properties:
        text:
          type: string
          title: Text
          description: Error message
        error_name:
          type: string
          title: Error Name
          description: |-
            Error name

            |name|description|
            |---|---|
            | UNKNOWN_TEXT | Unrecognizable pronunciation found: {text} |
            | ACCENT_TOP | Accent mark at the beginning of a phrase: {text} |
            | ACCENT_TWICE | Multiple accent marks in one phrase: {text} |
            | ACCENT_NOTFOUND | No accent mark found: {text} |
            | DEFAULT_MORA | Cannot convert the following text to mora: {text} |
            | UNKNOWN_ACCENT | Unknown accent type: {text} |
        error_args:
          additionalProperties:
            type: string
          type: object
          title: Error Args
          description: Location that caused the error
      type: object
      required:
        - text
        - error_name
        - error_args
      title: ParseKanaBadRequest
      description: Failed to parse pronunciation.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````