Configure field names, data types, and field settings
Configure field properties in Affinda such as data types, required flags, default values, and parsing rules so extracted data matches your downstream schema.
Field configuration settings allow users to customize how data is extracted, processed, and displayed in Affinda’s platform. These settings ensure the extracted data meets specific requirements and can be easily integrated into downstream workflows.Field configuration options can be accessed by Workspace Owners and Admins by clicking ‘Configure Fields’ in the top right corner of the document validation view.
The field name represents the label for the extracted data in the validation UI. It is user-defined and helps the model in extracting the field from documents; as such, it is important to have clear and relevant field names.
Users may optionally enhance the model’s predictions by providing additional context, such as how the data is typically labelled and where it appears on the page.
Adding more documents is the recommended way to enhance model accuracy. However, a clear field description can also improve extraction results.
Writing Field Descriptions
A practical guide to writing effective field descriptions, with eight patterns for fixing common extraction mistakes.
The field description and Text Options serve different purposes. The field description guides the model on what to extract from the document — for example, “Extract the billing address, not the supplier’s address.” Text Options control how the extracted value is formatted in the output — for example, trimming whitespace, normalising dates, or stripping trailing characters. If the model is extracting the correct text but the format is wrong, use Text Options. If the model is extracting from the wrong place on the document, refine the field description.The field description controls what the model extracts from the document. If you instead need to control how the extracted value is formatted in the output (for example, trimming whitespace or normalising dates), use Text Transformations.
Your field’s data type determines how extracted values are processed and standardized. Different data types are available to ensure that structured and unstructured data is correctly categorized. The selected data type influences the structure of the data and the post-processing logic applied to extracted values, ensuring consistency and accuracy.
If the raw data extracted from the document is unable to be logically parsed into a format consistent with the data type selected, no parsed value will be returned. Edit the annotation to improve extraction accuracy, or in the case where the bounding box is correct, edit the value directly by typing the correct value.
This setting determines whether the field should be predicted and visible in the extracted output. Users can toggle this option depending on whether they want the model to extract and display the field.Disabling a field instead of deleting it lets the model keep all previously validated annotations and automatically restores them when the field is re‑enabled.
Enable multiple predictions only when a field can have multiple distinct values within a single document. Examples include:
Line item tables on an Invoice
Parties or Signatories in a Legal Contract
Transactions in a Bank Statement
Enabling multiple values where you would generally not expect multiple distinct values in a document can reduce model accuracy (by overpredicting values) or risk noise and confusion in review workflows due to the presence of duplicates.
Rule of thumb: if there should only be one real value (even if it appears multiple times on the same document), stick to a single value. Only enable multiple values when the document structurally allows or expects multiple distinct values.
When you make changes to the Document Types configuration, any documents that were parsed previously (both confirmed and documents in review) need to be re-parsed.The Affinda Extract app identifies documents that should be re-parsed, indicated by the reparse button turning orange in the top right-hand corner when opening the document in the Document Validation View. Clicking on this button will update the extraction to the latest document type configuration.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Affinda Extract Documentation","description":"Affinda Extract is a document AI platform that turns unstructured documents into structured, validated data through extraction, classification, splitting, and human review. Guides, API reference, and configuration playbooks for building and integrating Affinda models.","colors":{"primary":"#1F3339","light":"#A6FFFB","dark":"#A6FFFB"},"logo":{"light":"https://mintcdn.com/affinda-44/nvZZjc-QOoHXzSQ7/images/affindaextract-inkwell.png?fit=max\u0026auto=format\u0026n=nvZZjc-QOoHXzSQ7\u0026q=85\u0026s=a3e52ff1e274ac5509589a6350b41496","dark":"https://mintcdn.com/affinda-44/lcBcXTOY4DEPcniI/images/affindaextract-greenmist.png?fit=max\u0026auto=format\u0026n=lcBcXTOY4DEPcniI\u0026q=85\u0026s=318f55893ae70c89849919adbbc1a545","href":"https://www.affinda.com/"},"favicon":"https://mintcdn.com/affinda-44/zzz2NA-YwjYcDdgi/Affinda_GreenMist_inkwell_Favicon.png?fit=max\u0026auto=format\u0026n=zzz2NA-YwjYcDdgi\u0026q=85\u0026s=c83f557178ec0b196bef5bafec9b9faf","api":{"playground":{"display":"interactive"},"examples":{"languages":["curl","python","javascript"],"prefill":false}},"appearance":{"default":"system","strict":false},"background":{"decoration":"gradient","color":{"light":"#E8EEED","dark":"#102A2F"}},"navbar":{"links":[{"href":"https://www.affinda.com/pricing-plans","label":"Pricing"},{"href":"https://trust.affinda.com/","label":"Security"},{"href":"https://www.affinda.com/contact","label":"Contact"},{"href":"/support","label":"Support"}],"primary":{"type":"button","label":"Log in","href":"https://app.affinda.com"}},"footer":{"socials":{"linkedin":"https://linkedin.com/company/affinda","youtube":"https://www.youtube.com/@affinda","github":"https://github.com/affinda"}},"seo":{"metatags":{"og:image":"https://cdn.prod.website-files.com/6854ccfd1a7ab92f392b474d/68ae96fe8f3fdbbe0ae04c73_Affinda%20Open%20Graph%20image%20for%20website%20previews.png","og:site_name":"Affinda","twitter:site":"@affinda"}},"fonts":{"heading":{"family":"NeuSans","weight":500,"source":"https://cdn.prod.website-files.com/6854ccfd1a7ab92f392b474d/685b584938c8018fa3d2e9da_NeuSans-Bold.woff2","format":"woff2"},"body":{"family":"NeuSans","weight":400,"source":"https://cdn.prod.website-files.com/6854ccfd1a7ab92f392b474d/685b5849e08b8110997b8e4f_NeuSans-Regular.woff2","format":"woff2"}},"integrations":{"gtm":{"tagId":"GTM-NCW6M2B"}},"banner":{"content":"New to resume parsing? Start with the [Resume Parser console](https://resume-parser.affinda.com/). (Existing resume parsing integrations continue to be supported by Affinda Extract.)","color":{"light":"#B09670","dark":"#102A2F"}},"contextual":{"options":["copy","view","chatgpt","claude"],"display":"header"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"affinda-44","hasAudioNarration":false,"actualSubdomain":"affinda-44","customDomains":["docs.affinda.com"],"gitSource":{"type":"github","owner":"affinda","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae40ac25d9fd79ed6303c6d","collectionId":"9714093e-6f62-4eb7-9373-626f2d68f163","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae40ac25d9fd79ed6303c6d"},"feedback":{"thumbs":true,"agentFeedback":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6ae40b10dfc193c4660ad2a2","clientVersion":"0.0.4043","searchFilterCounts":[{"language":"default","tag":"API Reference","count":163},{"language":"default","tag":"Endpoints","count":108},{"language":"default","tag":"Deprecated Versions","count":45},{"language":"default","tag":"v2 Endpoints (Legacy)","count":45},{"language":"default","tag":"Configuration Guide","count":26},{"language":"default","tag":"Deprecated End Points","count":25},{"language":"default","tag":"Search \u0026 Match","count":24},{"language":"default","tag":"Extract Handbook","count":13},{"language":"default","tag":"Additional Resources","count":10},{"language":"default","tag":"Data Sources","count":10}]},"assistantConfig":{"enableAskAiButton":true,"enableAskAiSearchBar":true,"deflection":{"enabled":true,"email":"support@affinda.com","showHelpButton":true}},"basePath":"","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"privacy":{"consentBanner":{"enabled":true}},"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"html.dark{--tw-prose-body:#FFF9F0;--tw-prose-headings:#FFFFFF;--tw-prose-bullets:#FFFFFF}html.dark .mdx-content{color:#fff9f0}#navbar a[href*=\"app.affinda.com\"],#navbar a[href*=\"app.affinda.com\"] *,#navbar-primary-cta,#navbar-primary-cta *,a[href=\"https://app.affinda.com\"],a[href=\"https://app.affinda.com\"] *,span.text-white.z-10{color:#000!important}"}],"page":{"pagePath":"configuration/field-configuration","slug":"/configuration/field-configuration","pageMetadata":{"title":"Configure field names, data types, and field settings","sidebarTitle":"General Field Configuration","description":"Configure field properties in Affinda such as data types, required flags, default values, and parsing rules so extracted data matches your downstream schema.","href":"/configuration/field-configuration"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Configure field properties in Affinda such as data types, required flags, default values, and parsing rules so extracted data matches your downstream schema.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,em:`em`,li:`li`,p:`p`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Card,CardGroup,Heading,OptimizedImage,Tip,Warning}=_components;if(!Card)_missingMdxReference(`Card`,true);if(!CardGroup)_missingMdxReference(`CardGroup`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!OptimizedImage)_missingMdxReference(`OptimizedImage`,true);if(!Tip)_missingMdxReference(`Tip`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Field configuration settings allow users to customize how data is extracted, processed, and displayed in Affinda’s platform. These settings ensure the extracted data meets specific requirements and can be easily integrated into downstream workflows.`}),`\n`,_jsx(_components.p,{children:`Field configuration options can be accessed by Workspace Owners and Admins by clicking ‘Configure Fields’ in the top right corner of the document validation view.`}),`\n`,_jsx(Heading,{level:`2`,id:`detailed-guide-for-schema-design`,children:`Detailed guide for Schema Design`}),`\n`,_jsx(CardGroup,{cols:1,children:_jsx(Card,{title:`Schema Design`,href:`/academy/schema-design`,children:_jsx(_components.p,{children:`Click here for Affinda Academy tutorial`})})}),`\n`,_jsx(Heading,{level:`2`,id:`basic-configuration`,children:`Basic Configuration`}),`\n`,_jsx(Heading,{level:`3`,id:`field-name`,children:`Field Name`}),`\n`,_jsx(_components.p,{children:`The field name represents the label for the extracted data in the validation UI. It is user-defined and helps the model in extracting the field from documents; as such, it is important to have clear and relevant field names.`}),`\n`,_jsx(Heading,{level:`3`,id:`field-description`,children:`Field Description`}),`\n`,_jsx(_components.p,{children:`Users may optionally enhance the model’s predictions by providing additional context, such as how the data is typically labelled and where it appears on the page.`}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Adding more documents`}),` is the recommended way to enhance model accuracy. However, a clear field description can also improve extraction results.`]})}),`\n`,_jsx(Card,{title:`Writing Field Descriptions`,icon:`pen-to-square`,href:`/handbook/field-descriptions`,children:_jsx(_components.p,{children:`A practical guide to writing effective field descriptions, with eight patterns for fixing common extraction mistakes.`})}),`\n`,_jsxs(_components.p,{children:[`The field description and Text Options serve different purposes. The `,_jsx(_components.strong,{children:`field description`}),` guides the model on `,_jsx(_components.em,{children:`what`}),` to extract from the document — for example, “Extract the billing address, not the supplier’s address.” `,_jsx(_components.strong,{children:`Text Options`}),` control `,_jsx(_components.em,{children:`how`}),` the extracted value is formatted in the output — for example, trimming whitespace, normalising dates, or stripping trailing characters. If the model is extracting the correct text but the format is wrong, use Text Options. If the model is extracting from the wrong place on the document, refine the field description.`]}),`\n`,_jsxs(_components.p,{children:[`The field description controls `,_jsx(_components.em,{children:`what`}),` the model extracts from the document. If you instead need to control `,_jsx(_components.em,{children:`how`}),` the extracted value is formatted in the output (for example, trimming whitespace or normalising dates), use `,_jsx(_components.a,{href:`/configuration/standard-fields#text-transformations`,children:`Text Transformations`}),`.`]}),`\n`,_jsx(Heading,{level:`2`,id:`data-types`,children:`Data Types`}),`\n`,_jsx(_components.p,{children:`Your field’s data type determines how extracted values are processed and standardized. Different data types are available to ensure that structured and unstructured data is correctly categorized. The selected data type influences the structure of the data and the post-processing logic applied to extracted values, ensuring consistency and accuracy.`}),`\n`,_jsx(Card,{title:`Standard Data Types`,href:`/configuration/standard-fields`,children:_jsx(_components.p,{children:`Text, Numbers, Dates, Location, Phone Number, URLs`})}),`\n`,_jsx(Card,{title:`Structures`,href:`/configuration/group-table-fields`,children:_jsx(_components.p,{children:`Groups and Tables`})}),`\n`,_jsx(Card,{title:`Picklists`,href:`/configuration/picklists`,children:_jsx(_components.p,{children:`Options and Data Source`})}),`\n`,_jsx(Card,{title:`Checkboxes`,href:`/configuration/checkboxes`,children:_jsx(_components.p,{children:`Labels and True/False`})}),`\n`,_jsx(Card,{title:`Image Fields`,href:`/configuration/images`,children:_jsx(_components.p,{children:`Signatures, Seals, and Headshots`})}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`If the raw data extracted from the document is unable to be logically parsed into a format consistent with the data type selected, no parsed value will be returned. Edit the annotation to improve extraction accuracy, or in the case where the bounding box is correct, edit the value directly by typing the correct value.`})}),`\n`,_jsx(Heading,{level:`2`,id:`basic-field-settings`,children:`Basic Field Settings`}),`\n`,_jsx(Heading,{level:`3`,id:`enabling-fields`,children:`Enabling Fields`}),`\n`,_jsx(_components.p,{children:`This setting determines whether the field should be predicted and visible in the extracted output. Users can toggle this option depending on whether they want the model to extract and display the field.`}),`\n`,_jsx(_components.p,{children:`Disabling a field instead of deleting it lets the model keep all previously validated annotations and automatically restores them when the field is re‑enabled.`}),`\n`,_jsx(OptimizedImage,{className:`mint-block mint-border-2 mint-border-gray-300 mint-rounded-lg dark:mint-hidden`,alt:`Disable Fields`,style:{width:`72%`},src:`https://mintcdn.com/affinda-44/8O48gu_z8QeuNsDM/images/disablefieldslight.png?fit=max\u0026auto=format\u0026n=8O48gu_z8QeuNsDM\u0026q=85\u0026s=8c961aac4e986971a326d89c335d1401`,\"data-og-width\":`2420`,width:`2420`,\"data-og-height\":`912`,height:`912`,\"data-path\":`images/disablefieldslight.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/affinda-44/8O48gu_z8QeuNsDM/images/disablefieldslight.png?w=280\u0026fit=max\u0026auto=format\u0026n=8O48gu_z8QeuNsDM\u0026q=85\u0026s=a61eeb2498e25aedf548fb947fc0c340 280w, https://mintcdn.com/affinda-44/8O48gu_z8QeuNsDM/images/disablefieldslight.png?w=560\u0026fit=max\u0026auto=format\u0026n=8O48gu_z8QeuNsDM\u0026q=85\u0026s=0cfc8783bb11e4c7e8b1157b38442b1c 560w, https://mintcdn.com/affinda-44/8O48gu_z8QeuNsDM/images/disablefieldslight.png?w=840\u0026fit=max\u0026auto=format\u0026n=8O48gu_z8QeuNsDM\u0026q=85\u0026s=7ade281f08efd099814e920b23cb9513 840w, https://mintcdn.com/affinda-44/8O48gu_z8QeuNsDM/images/disablefieldslight.png?w=1100\u0026fit=max\u0026auto=format\u0026n=8O48gu_z8QeuNsDM\u0026q=85\u0026s=50c27575c92526d2f46b1614e620c198 1100w, https://mintcdn.com/affinda-44/8O48gu_z8QeuNsDM/images/disablefieldslight.png?w=1650\u0026fit=max\u0026auto=format\u0026n=8O48gu_z8QeuNsDM\u0026q=85\u0026s=62ca6193915aa0635dc3b5db254fdec5 1650w, https://mintcdn.com/affinda-44/8O48gu_z8QeuNsDM/images/disablefieldslight.png?w=2500\u0026fit=max\u0026auto=format\u0026n=8O48gu_z8QeuNsDM\u0026q=85\u0026s=5cb7cbd4fc2abf2768aac7be5eca24a1 2500w`}),`\n`,_jsx(OptimizedImage,{className:`mint-border-2 mint-border-gray-300 mint-rounded-lg mint-hidden dark:mint-block`,alt:`Disable Fields`,style:{width:`72%`},src:`https://mintcdn.com/affinda-44/8O48gu_z8QeuNsDM/images/disablefieldsdark.png?fit=max\u0026auto=format\u0026n=8O48gu_z8QeuNsDM\u0026q=85\u0026s=e34c2ced71eeec2bd0cea473c620a95e`,\"data-og-width\":`2424`,width:`2424`,\"data-og-height\":`900`,height:`900`,\"data-path\":`images/disablefieldsdark.png`,\"data-optimize\":`true`,\"data-opv\":`3`,srcset:`https://mintcdn.com/affinda-44/8O48gu_z8QeuNsDM/images/disablefieldsdark.png?w=280\u0026fit=max\u0026auto=format\u0026n=8O48gu_z8QeuNsDM\u0026q=85\u0026s=a2fb71abdc1e1c5486654fb98a446040 280w, https://mintcdn.com/affinda-44/8O48gu_z8QeuNsDM/images/disablefieldsdark.png?w=560\u0026fit=max\u0026auto=format\u0026n=8O48gu_z8QeuNsDM\u0026q=85\u0026s=1b6df630c6125494e35c19aaf662619d 560w, https://mintcdn.com/affinda-44/8O48gu_z8QeuNsDM/images/disablefieldsdark.png?w=840\u0026fit=max\u0026auto=format\u0026n=8O48gu_z8QeuNsDM\u0026q=85\u0026s=46221e290246a7a3447ce5325b256df4 840w, https://mintcdn.com/affinda-44/8O48gu_z8QeuNsDM/images/disablefieldsdark.png?w=1100\u0026fit=max\u0026auto=format\u0026n=8O48gu_z8QeuNsDM\u0026q=85\u0026s=0babaa760ec1874dc863983b96466a4c 1100w, https://mintcdn.com/affinda-44/8O48gu_z8QeuNsDM/images/disablefieldsdark.png?w=1650\u0026fit=max\u0026auto=format\u0026n=8O48gu_z8QeuNsDM\u0026q=85\u0026s=004750040dd343a84df3f8fb1fcfb160 1650w, https://mintcdn.com/affinda-44/8O48gu_z8QeuNsDM/images/disablefieldsdark.png?w=2500\u0026fit=max\u0026auto=format\u0026n=8O48gu_z8QeuNsDM\u0026q=85\u0026s=4f1e539a26df47a97bf31e8e12ea0352 2500w`}),`\n`,_jsx(Heading,{level:`3`,id:`multiple-values`,children:`Multiple Values`}),`\n`,_jsxs(_components.p,{children:[`Enable multiple predictions only when a field can have `,_jsx(_components.strong,{children:`multiple distinct values`}),` within a single document. Examples include:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Line item tables on an Invoice`}),`\n`,_jsx(_components.li,{children:`Parties or Signatories in a Legal Contract`}),`\n`,_jsx(_components.li,{children:`Transactions in a Bank Statement`}),`\n`]}),`\n`,_jsx(_components.p,{children:`Enabling multiple values where you would generally not expect multiple distinct values in a document can reduce model accuracy (by overpredicting values) or risk noise and confusion in review workflows due to the presence of duplicates.`}),`\n`,_jsx(Tip,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Rule of thumb:`}),` if there should only be one real value (even if it appears multiple times on the same document), stick to a single value. Only enable `,_jsx(_components.strong,{children:`multiple values`}),` when the document structurally allows or expects multiple `,_jsx(_components.em,{children:`distinct`}),` values.`]})}),`\n`,_jsx(Heading,{level:`2`,id:`advanced-field-settings`,children:`Advanced Field Settings`}),`\n`,_jsx(Heading,{level:`3`,id:`no-rectangles`,children:`No rectangles`}),`\n`,_jsx(_components.p,{children:`Used when a field value does not explicitly appear in the document but can be inferred through reasoning.`}),`\n`,_jsx(Heading,{level:`3`,id:`manual-entry-only`,children:`Manual entry only`}),`\n`,_jsx(_components.p,{children:`The field will not be predicted by the model and can only be entered manually.`}),`\n`,_jsx(Heading,{level:`3`,id:`slug`,children:`Slug`}),`\n`,_jsx(_components.p,{children:`Defines the unique label used for the field in the API response.`}),`\n`,_jsx(Heading,{level:`2`,id:`re-parsing-after-changes-to-the-schema`,children:`Re-parsing after changes to the Schema`}),`\n`,_jsx(_components.p,{children:`When you make changes to the Document Types configuration, any documents that were parsed previously (both confirmed and documents in review) need to be re-parsed.`}),`\n`,_jsx(_components.p,{children:`The Affinda Extract app identifies documents that should be re-parsed, indicated by the reparse button turning orange in the top right-hand corner when opening the document in the Document Validation View. Clicking on this button will update the extraction to the latest document type configuration.`})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Configure field names, data types, and field settings","sidebarTitle":"General Field Configuration","description":"Configure field properties in Affinda such as data types, required flags, default values, and parsing rules so extracted data matches your downstream schema.","href":"/configuration/field-configuration"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Detailed guide for Schema Design","slug":"detailed-guide-for-schema-design","depth":2,"children":[]},{"title":"Basic Configuration","slug":"basic-configuration","depth":2,"children":[{"title":"Field Name","slug":"field-name","depth":3,"children":[]},{"title":"Field Description","slug":"field-description","depth":3,"children":[]}]},{"title":"Data Types","slug":"data-types","depth":2,"children":[]},{"title":"Basic Field Settings","slug":"basic-field-settings","depth":2,"children":[{"title":"Enabling Fields","slug":"enabling-fields","depth":3,"children":[]},{"title":"Multiple Values","slug":"multiple-values","depth":3,"children":[]}]},{"title":"Advanced Field Settings","slug":"advanced-field-settings","depth":2,"children":[{"title":"No rectangles","slug":"no-rectangles","depth":3,"children":[]},{"title":"Manual entry only","slug":"manual-entry-only","depth":3,"children":[]},{"title":"Slug","slug":"slug","depth":3,"children":[]}]},{"title":"Re-parsing after changes to the Schema","slug":"re-parsing-after-changes-to-the-schema","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"dynamicCss":".mint-block {\n display: block\n}\n.mint-hidden {\n display: none\n}\n.mint-rounded-lg {\n border-radius: 0.5rem\n}\n.mint-border-2 {\n border-width: 2px\n}\n.mint-border-gray-300 {\n --tw-border-opacity: 1;\n border-color: rgb(209 213 219 / var(--tw-border-opacity, 1))\n}\n.dark\\:mint-block:is(.dark *) {\n display: block\n}\n.dark\\:mint-hidden:is(.dark *) {\n display: none\n}","subdomain":"affinda-44","siteName":"Affinda Extract Documentation","title":"Configure field names, data types, and field settings - Affinda Extract Documentation","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-02T02:27:39.933Z","originalFileLocation":"configuration/field-configuration.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Configure field properties in Affinda such as data types, required flags, default values, and parsing rules so extracted data matches your downstream schema.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Affinda Extract Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/affinda-44/tl-77mmsQTlzqSAp/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/affinda-44/tl-77mmsQTlzqSAp/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/affinda-44/tl-77mmsQTlzqSAp/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/affinda-44/tl-77mmsQTlzqSAp/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/affinda-44/tl-77mmsQTlzqSAp/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/affinda-44/tl-77mmsQTlzqSAp/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/affinda-44/tl-77mmsQTlzqSAp/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/affinda-44/tl-77mmsQTlzqSAp/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/affinda-44/tl-77mmsQTlzqSAp/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Configure field names, data types, and field settings - Affinda Extract Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Configure field properties in Affinda such as data types, required flags, default values, and parsing rules so extracted data matches your downstream schema.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Affinda\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.affinda.com/configuration/field-configuration\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://cdn.prod.website-files.com/6854ccfd1a7ab92f392b474d/68ae96fe8f3fdbbe0ae04c73_Affinda%20Open%20Graph%20image%20for%20website%20previews.png\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Configure field names, data types, and field settings - Affinda Extract Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Configure field properties in Affinda such as data types, required flags, default values, and parsing rules so extracted data matches your downstream schema.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://cdn.prod.website-files.com/6854ccfd1a7ab92f392b474d/68ae96fe8f3fdbbe0ae04c73_Affinda%20Open%20Graph%20image%20for%20website%20previews.png\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/affinda-44/tl-77mmsQTlzqSAp/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Affinda Extract Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#1F3339\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.affinda.com/configuration/field-configuration\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/configuration/field-configuration.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.affinda.com/#organization\",\"name\":\"Affinda Extract Documentation\",\"url\":\"https://docs.affinda.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/affinda-44/nvZZjc-QOoHXzSQ7/images/affindaextract-inkwell.png?fit=max\u0026auto=format\u0026n=nvZZjc-QOoHXzSQ7\u0026q=85\u0026s=a3e52ff1e274ac5509589a6350b41496\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.affinda.com#website\",\"name\":\"Affinda Extract Documentation\",\"url\":\"https://docs.affinda.com\",\"publisher\":{\"@id\":\"https://docs.affinda.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.affinda.com/configuration/field-configuration#webpage\",\"url\":\"https://docs.affinda.com/configuration/field-configuration\",\"name\":\"Configure field names, data types, and field settings\",\"description\":\"Configure field properties in Affinda such as data types, required flags, default values, and parsing rules so extracted data matches your downstream schema.\",\"dateModified\":\"2026-10-02T02:27:39.933Z\",\"isPartOf\":{\"@id\":\"https://docs.affinda.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.affinda.com/configuration/field-configuration#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.affinda.com/configuration/field-configuration#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Affinda Extract Documentation\",\"item\":\"https://docs.affinda.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Configure field names, data types, and field settings\",\"item\":\"https://docs.affinda.com/configuration/field-configuration\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.affinda.com/configuration/field-configuration#article\",\"headline\":\"Configure field names, data types, and field settings\",\"name\":\"Configure field names, data types, and field settings\",\"description\":\"Configure field properties in Affinda such as data types, required flags, default values, and parsing rules so extracted data matches your downstream schema.\",\"url\":\"https://docs.affinda.com/configuration/field-configuration\",\"mainEntityOfPage\":{\"@id\":\"https://docs.affinda.com/configuration/field-configuration#webpage\"},\"image\":\"https://cdn.prod.website-files.com/6854ccfd1a7ab92f392b474d/68ae96fe8f3fdbbe0ae04c73_Affinda%20Open%20Graph%20image%20for%20website%20previews.png\",\"dateModified\":\"2026-10-02T02:27:39.933Z\",\"publisher\":{\"@id\":\"https://docs.affinda.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.affinda.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Affinda Extract Documentation\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Affinda Extract Documentation","nav":{"global":null,"tabs":[{"tab":"Extract Handbook","pages":[{"title":"Extract Handbook","href":"/home"}]},{"tab":"Configuration Guide","groups":[{"group":"Overview","pages":[{"title":"Configure your document workflow","sidebarTitle":"Workflow","href":"/configuration/workflow"},{"title":"Affinda Extract Agent","sidebarTitle":"Affinda Extract Agent","href":"/configuration/affinda-agent"},{"title":"Glossary of Affinda Extract terms","sidebarTitle":"Glossary of Terms","href":"/configuration/glossary"},{"title":"Document status reference and transitions","sidebarTitle":"Document Status","href":"/configuration/document-status"}]},{"group":"Ingestion","pages":[{"title":"Document Ingestion Options","sidebarTitle":"Document Ingestion Options","href":"/configuration/ingestion"},{"title":"Upload documents via email","sidebarTitle":"Email Upload","href":"/configuration/email-upload"}]},{"group":"Pre-Processing","pages":[{"title":"How Affinda pre-processes documents before extraction","sidebarTitle":"Pre Processing Overview","href":"/configuration/preprocessing"},{"title":"OCR and Text Extraction","sidebarTitle":"OCR and Text Extraction","href":"/configuration/ocr"},{"title":"Remove duplicate documents","sidebarTitle":"Remove Duplicates","href":"/configuration/duplicates"}]},{"group":"Splitting \u0026 Classification","pages":[{"title":"Automatic splitting of multi-document PDFs","sidebarTitle":"Document Splitting","href":"/configuration/splitting"},{"title":"Document Classification","description":"Configure Affinda Extract's document classification to route incoming files to the correct document type for downstream extraction and workflows.","sidebarTitle":"Document Classification","href":"/configuration/classification"}]},{"group":"Extraction","pages":[{"group":"Field Configuration","pages":[{"title":"Configure field names, data types, and field settings","sidebarTitle":"General Field Configuration","href":"/configuration/field-configuration"},{"title":"Standard field data types and parsing rules","description":"Reference for Affinda's standard data types including text, number, date, currency, and boolean, with parsing rules and supported formats for each.","sidebarTitle":"Standard Data Types","href":"/configuration/standard-fields"},{"title":"Configure table and group fields","sidebarTitle":"Group and Table Fields","href":"/configuration/group-table-fields"},{"title":"Picklist fields for constrained extracted values","sidebarTitle":"Picklists","href":"/configuration/picklists"},{"title":"Extract checkbox selections from forms","sidebarTitle":"Checkboxes","href":"/configuration/checkboxes"},{"title":"Image fields and signature extraction","sidebarTitle":"Image Fields","href":"/configuration/images"}]},{"title":"Model Memory: learn from past corrections","sidebarTitle":"Model Memory","href":"/configuration/model-memory"},{"title":"Model performance dashboard","href":"/configuration/model-performance"}]},{"group":"Machine Validation","pages":[{"title":"Automated Machine Validation for Extracted Data","sidebarTitle":"Overview of Machine Validation","href":"/configuration/machine-validation"},{"title":"Custom validation rules for extracted data","sidebarTitle":"Validation Rules","href":"/configuration/validation-rules"}]},{"group":"User Validation","pages":[{"title":"Validate extracted data in the review interface","sidebarTitle":"User Validation","href":"/configuration/user-validation"}]},{"group":"Data Export","pages":[{"title":"Export extracted data from Affinda Extract","sidebarTitle":"Data Export","href":"/configuration/export-data"},{"title":"Configure integrations with the Affinda Agent","href":"/configuration/agent-integrations"},{"title":"Redact sensitive data and PII from documents","href":"/configuration/redaction"}]},{"group":"Admin Controls","pages":[{"title":"User Management and Permissions","sidebarTitle":"User Management and Permissions","href":"/configuration/user-management"}]}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/reference/getting-started"}]},{"tab":"AI Integrations","pages":[{"title":"AI Integrations","href":"/integrations/mcp-connector"}]},{"tab":"Additional Resources","pages":[{"title":"Additional Resources","href":"/resources"}]}]},"basePath":"","title":"Configure field names, data types, and field settings - Affinda Extract Documentation","buildId":"dpl_G9nrg4qeJSZtah1Ziwbc2n6WkLch","deploymentId":"dpl_G9nrg4qeJSZtah1Ziwbc2n6WkLch","dynamics":["10e4515597","a74be98ba7"],"chunks":["BannerMarkdown-CXEEkV6J.js","dist-lvhuD9Du.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","clsx-D1Z-ELXV.js","html-void-elements-mCSPHezU.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","zoom-image-lightbox-DL4wrF0w.js","lightbox-handle-r17bVUz3.js"]}