{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/formfeed/json-schema/formfeed-partial-put-schema.json",
  "title": "PartialPut",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/formfeed-partials-api-openapi.yml#/components/schemas/PartialPut",
  "type": "object",
  "required": [
    "engine",
    "source"
  ],
  "properties": {
    "engine": {
      "$ref": "#/$defs/Engine"
    },
    "source": {
      "type": "string",
      "maxLength": 262144
    },
    "description": {
      "type": [
        "string",
        "null"
      ],
      "maxLength": 300
    },
    "base_version": {
      "type": "integer",
      "minimum": 1,
      "description": "The version this change is based on; conflict (409) if the partial has a different version. Leave out to write unconditionally."
    }
  },
  "$defs": {
    "Engine": {
      "type": "string",
      "enum": [
        "jinja2",
        "liquid",
        "handlebars"
      ]
    }
  }
}