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

# Import User Dict Words

> 他のユーザー辞書をインポートします。

**Laravel実装状況**: ✅ NativeUserDictでJSONファイルに永続化（フォールバック不要）



## OpenAPI

````yaml https://raw.githubusercontent.com/invokable/laravel-voicevox/refs/heads/main/docs/jp/laravel-openapi.json post /import_user_dict
openapi: 3.1.0
info:
  title: VOICEVOX ENGINE OSS
  description: VOICEVOX OSS の音声合成エンジンです。
  version: latest
servers: []
security: []
paths:
  /import_user_dict:
    post:
      tags:
        - ユーザー辞書
      summary: Import User Dict Words
      description: |-
        他のユーザー辞書をインポートします。

        **Laravel実装状況**: ✅ NativeUserDictでJSONファイルに永続化（フォールバック不要）
      operationId: import_user_dict_words
      parameters:
        - name: override
          in: query
          required: true
          schema:
            type: boolean
            description: 重複したエントリがあった場合、上書きするかどうか
            title: Override
          description: 重複したエントリがあった場合、上書きするかどうか
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              additionalProperties:
                $ref: '#/components/schemas/UserDictWord'
              description: インポートするユーザー辞書のデータ
              title: Import Dict Data
      responses:
        '204':
          description: Successful Response
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    UserDictWord:
      properties:
        surface:
          type: string
          title: Surface
          description: 表層形
        priority:
          type: integer
          maximum: 10
          minimum: 0
          title: Priority
          description: 優先度
        context_id:
          type: integer
          title: Context Id
          description: 文脈ID
          default: 1348
        part_of_speech:
          type: string
          title: Part Of Speech
          description: 品詞
        part_of_speech_detail_1:
          type: string
          title: Part Of Speech Detail 1
          description: 品詞細分類1
        part_of_speech_detail_2:
          type: string
          title: Part Of Speech Detail 2
          description: 品詞細分類2
        part_of_speech_detail_3:
          type: string
          title: Part Of Speech Detail 3
          description: 品詞細分類3
        inflectional_type:
          type: string
          title: Inflectional Type
          description: 活用型
        inflectional_form:
          type: string
          title: Inflectional Form
          description: 活用形
        stem:
          type: string
          title: Stem
          description: 原形
        yomi:
          type: string
          title: Yomi
          description: 読み
        pronunciation:
          type: string
          title: Pronunciation
          description: 発音
        accent_type:
          type: integer
          title: Accent Type
          description: アクセント型
        mora_count:
          type: integer
          title: Mora Count
          description: モーラ数
        accent_associative_rule:
          type: string
          title: Accent Associative Rule
          description: アクセント結合規則
      type: object
      required:
        - surface
        - priority
        - part_of_speech
        - part_of_speech_detail_1
        - part_of_speech_detail_2
        - part_of_speech_detail_3
        - inflectional_type
        - inflectional_form
        - stem
        - yomi
        - pronunciation
        - accent_type
        - accent_associative_rule
      title: UserDictWord
      description: 辞書のコンパイルに使われる情報。
    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

````