{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cloudmersive/json-schema/cloudmersive-set-pdf-form-fields-request-schema.json",
  "title": "SetPdfFormFieldsRequest",
  "description": "Request to set the fields in a PDF form",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cloudmersive-editpdf-api-openapi.yml#/components/schemas/SetPdfFormFieldsRequest",
  "type": "object",
  "properties": {
    "FieldValues": {
      "description": "Field values to set",
      "type": "array",
      "items": {
        "$ref": "#/$defs/SetFormFieldValue"
      }
    },
    "InputFileBytes": {
      "format": "byte",
      "description": "Contents of the input file to set the fields on",
      "type": "string"
    }
  },
  "$defs": {
    "SetFormFieldValue": {
      "description": "Individual field value to set in a PDF form",
      "type": "object",
      "properties": {
        "FieldName": {
          "description": "Name of the field to set; you can call /convert/edit/pdf/form/get-fields to enumerate field names in a form",
          "type": "string"
        },
        "TextValue": {
          "description": "For fields of type Text, the text value to put into the field",
          "type": "string"
        },
        "CheckboxValue": {
          "description": "For fields of type Checkbox, the value to put into the field",
          "type": "boolean"
        },
        "ComboBoxSelectedIndex": {
          "format": "int32",
          "description": "For fields of type ComboBox; specifies the selected index of the combo box selection",
          "type": "integer"
        }
      }
    }
  }
}