---
title: "prefs.schema: Settings Schema — Film kit command — Kition"
description: "Lists every preference key with its type, default, allowed values and category."
canonical: "https://developer.kition.ai/docs/kits/film/commands/prefs.schema"
---

> Canonical HTML: [https://developer.kition.ai/docs/kits/film/commands/prefs.schema](https://developer.kition.ai/docs/kits/film/commands/prefs.schema)

# prefs.schema

**Settings Schema.** Lists every preference key with its type, default, allowed values and category.

- Kit: Film 0.1.0 (.kfilm); reference: [Film kit commands](https://developer.kition.ai/docs/kits/film.md)
- Changes the document: no

## Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `category` | `string` | no |  |

## Call through film_run

```text
film_run {
  "path": "<file>.kfilm",
  "steps": [{ "command": "prefs.schema" }]
}
```

The required parameters, with placeholders for their types: not a tested example. Optional: `category`. film_run answers the step’s result in `completed[i].result`.

## Result

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `categories` | `object[]` | no |  |

```json
{
  "additionalProperties": true,
  "properties": {
    "categories": {
      "items": {
        "additionalProperties": true,
        "properties": {
          "command": {
            "type": "string"
          },
          "fields": {
            "items": {},
            "type": "array"
          },
          "id": {
            "type": "string"
          },
          "title": {
            "type": "string"
          }
        },
        "type": "object"
      },
      "type": "array"
    }
  },
  "type": "object"
}
```

## Parameter schema

```json
{
  "additionalProperties": false,
  "properties": {
    "category": {
      "type": "string"
    }
  },
  "type": "object"
}
```

Generated from the command list of @kition/film-darwin-arm64@0.1.0 and the kit itself (film_commands through @kition/cli@0.1.1, built from KitionAI/kition-film@375db59).
