Film kit command

prefs.schema

Settings Schema

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

Kit
Film 0.1.0 (.kfilm)
Changes the document
no

Parameters

Parameters of prefs.schema
NameTypeRequiredDescription
categorystringno

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

Result of prefs.schema
NameTypeRequiredDescription
categoriesobject[]no
Result JSON Schema
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/[email protected] and the kit itself (film_commands through @kition/[email protected], built from KitionAI/kition-film@375db59). As data: commands.jsonl.