// Code generated by oagen. DO NOT EDIT.

#[allow(unused_imports)]
use super::*;
#[allow(unused_imports)]
use crate::enums::*;
use serde::{Deserialize, Serialize};
#[derive(Debug, Clone, Serialize, Deserialize)]
pub struct FormField {
    /// Position and size of this field on the page.
    pub bbox: BBox,
    /// Human-readable description of the field, including label and instructions.
    pub description: String,
    /// Type of field. Currently supported: 'text' and 'checkbox'.
    #[serde(rename = "type")]
    pub type_: FieldType,
    /// Stable key identifying the field in the form data.
    pub key: String,
    /// Filled value of the field as text. Null when no filled value is set.
    #[serde(skip_serializing_if = "Option::is_none", default)]
    pub value: Option<String>,
}
