{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/whoisgeni-us/json-schema/whoisgeni-us-update-template-request-schema.json",
  "title": "UpdateTemplateRequest",
  "description": "Request body for updating an existing schema template.",
  "x-generated": "2026-10-31",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/whoisgeni-us-openapi.json#/components/schemas/UpdateTemplateRequest",
  "properties": {
    "name": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 100,
          "minLength": 1
        },
        {
          "type": "null"
        }
      ],
      "title": "Name"
    },
    "description": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Description"
    },
    "mode": {
      "anyOf": [
        {
          "type": "string",
          "enum": [
            "include",
            "exclude"
          ]
        },
        {
          "type": "null"
        }
      ],
      "title": "Mode"
    },
    "fields": {
      "anyOf": [
        {
          "items": {
            "type": "string"
          },
          "type": "array",
          "minItems": 1
        },
        {
          "type": "null"
        }
      ],
      "title": "Fields"
    }
  },
  "type": "object"
}