apply_schema_proposal
Apply user-approved schema proposals to register draft fields, merge look-alike names, and organize dictionary improvements; requires explicit consent.
Instructions
Organize unregistered (draft) fields and values, register a new record type (proposal id type_...), or take the repository's dictionary improvements into an organized type (dict_...) — ONLY with the user's explicit consent.
Never call this on your own initiative. First show the user the proposal from propose_schema (its
`question`), ask whether to apply it, and call this only after they answer yes. Pass who approved
(approved_by) and the user's own words (user_answer); both are kept in the schema history.
descriptions: {field: description} for every field being registered (required).
labels: {field: {value: [natural-language names]}} for every new enum value (required, e.g.
{"platform": {"remember": ["리멤버"]}}).
merges: {draft_field: target_field} to fold look-alike names together (values move with history kept).
index: fields to index. type_description: a new type's description, if its proposal has none.
items (dict_... only): the item keys the user picked; default: the proposal's additive items. Items left out
are not offered again for the same file.
The data itself was already stored when it was written; this only organizes it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | No | ||
| items | No | ||
| labels | No | ||
| merges | No | ||
| approved_by | Yes | ||
| proposal_id | Yes | ||
| user_answer | Yes | ||
| descriptions | No | ||
| type_description | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||