This API endpoint allows you to seamlessly integrate and create a new submission for farmers within the supply chain system. Through this endpoint, you can capture essential information about farmers, including entity card details, form submissions, contact information, and additional demographic data.
Identifier of the buyer associated with the farmer. This indicates any buyer or customer linked to the farmer, if applicable.
{"docsConfig":{"$schema":"https://mintlify.com/docs.json","theme":"mint","name":"Trace Knowledge Center","colors":{"primary":"#4DCAF4","light":"#91DDF5","dark":"#003A60"},"favicon":"https://mintcdn.com/fairfood/mue2WthdgXa-O-CD/logo/dark.svg?fit=max\u0026auto=format\u0026n=mue2WthdgXa-O-CD\u0026q=85\u0026s=a1a5cf2a9e2c9bd33a8a113f3c0b6238","logo":{"light":"https://mintcdn.com/fairfood/wZv_VjTAcDs8jOQ0/logo/fairfood_logo.png?fit=max\u0026auto=format\u0026n=wZv_VjTAcDs8jOQ0\u0026q=85\u0026s=d96a6f0638fe2bddf54518ba5307fc57","dark":"https://mintcdn.com/fairfood/wZv_VjTAcDs8jOQ0/logo/fairfood_logo.png?fit=max\u0026auto=format\u0026n=wZv_VjTAcDs8jOQ0\u0026q=85\u0026s=d96a6f0638fe2bddf54518ba5307fc57"},"api":{"openapi":["openapi.yml"]},"background":{"decoration":null,"color":{"light":null,"dark":"#090014"}},"navbar":{"links":[{"label":"Support","href":"mailto:support@fairfood.org"}],"primary":{"type":"button","label":"GitHub","href":"https://github.com/orgs/Fairfood/repositories"}},"footer":{"socials":{"twitter":"https://twitter.com/mintlify","github":"https://github.com/mintlify","linkedin":"https://www.linkedin.com/company/mintsearch"}},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"fairfood","hasAudioNarration":false,"actualSubdomain":"fairfood","customDomains":["docs.fairfood.org"],"gitSource":{"type":"github","owner":"fairfood","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6aa0141ec6ea76bd4f7650ab","collectionId":"eb6925c6-2921-4629-bab9-6c5f6f89c36e","schemaVersion":"v2","latestBuiltDeploymentHistoryId":"6aa0141ec6ea76bd4f7650ab"},"entitlements":{},"buildId":"6aa0141ec6ea76bd4f7650ab","clientVersion":"0.0.4054","searchFilterCounts":[{"language":"default","tag":"Documentation","count":43},{"language":"default","tag":"API Documentation","count":33},{"language":"default","tag":"Trace Connect APIs","count":32},{"language":"default","tag":"Support","count":25},{"language":"default","tag":"Advanced APIs","count":21},{"language":"default","tag":"Connect","count":13},{"language":"default","tag":"App","count":11},{"language":"default","tag":"Trace Dashboard","count":10},{"language":"default","tag":"Supply Chain","count":8},{"language":"default","tag":"Basic APIs","count":6}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"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},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-references/supply-chains/post-supply-chainsfarmers","slug":"/api-references/supply-chains/post-supply-chainsfarmers","pageMetadata":{"title":"Create Farmer Endpoint","sidebarTitle":"Create a Farmer","description":"This API endpoint allows you to seamlessly integrate and create a new submission for farmers within the supply chain system. Through this endpoint, you can capture essential information about farmers, including entity card details, form submissions, contact information, and additional demographic data.","openapi":"post /supply-chains/farmers/","href":"/api-references/supply-chains/post-supply-chainsfarmers"},"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: \"This API endpoint allows you to seamlessly integrate and create a new submission for farmers within the supply chain system. Through this endpoint, you can capture essential information about farmers, including entity card details, form submissions, contact information, and additional demographic data.\"\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}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Create Farmer Endpoint","sidebarTitle":"Create a Farmer","description":"This API endpoint allows you to seamlessly integrate and create a new submission for farmers within the supply chain system. Through this endpoint, you can capture essential information about farmers, including entity card details, form submissions, contact information, and additional demographic data.","openapi":"post /supply-chains/farmers/","href":"/api-references/supply-chains/post-supply-chainsfarmers"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["supply-chains"],"description":"This API endpoint allows you to seamlessly integrate and create a new submission for farmers within the supply chain system. Through this endpoint, you can capture essential information about farmers, including entity card details, form submissions, contact information, and additional demographic data.","operationId":"supply-chains_farmers_create","requestBody":"801e58a3-e600-49a3-b436-b9773e6d63a5","responses":{"201":"5fdb5bd6-2a9e-4950-b43f-22fa73230105"},"x-codegen-request-body-name":"data","method":"post","type":"path","servers":["c5ec8572-8bee-4ca9-b83b-c2d3198096bd"],"security":["e9098456-4458-43f1-9f83-cd6b56423adf"],"path":"/supply-chains/farmers/","baseUrlOptions":["http://localhost:3000/connect/v1"],"title":"","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{},"requestBody":{"content":{"application/json":{"schema":{"required":["first_name"],"type":"object","properties":{"first_name":{"title":"First Name","maxLength":100,"minLength":1,"type":"string","description":"First name of the farmer. This is part of the farmer's personal details.\n","isRequired":true,"uniqueKey":"first_name","typeLabel":"string"},"id":{"type":"string","description":"Unique identifier for the farmer. This identifier is used to distinguish one farmer from another in the system.\n","uniqueKey":"id","typeLabel":"string"},"entity_card":{"required":["card","entity"],"type":"object","properties":{"card":{"required":["card_id"],"type":"object","properties":{"card_id":{"title":"Card id","minLength":1,"type":"string","isRequired":true,"uniqueKey":"entity_card.card.card_id","typeLabel":"string"},"id":{"type":"string","uniqueKey":"entity_card.card.id","typeLabel":"string"},"display_id":{"oneOf":[{"title":"Display ID","maxLength":100,"type":"string","uniqueKey":"entity_card.card.display_id.oneOf.0","typeLabel":"string"},{"title":"Display ID","maxLength":100,"type":"null","uniqueKey":"entity_card.card.display_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"entity_card.card.display_id","typeLabel":"string | null"},"creator":{"type":"string","uniqueKey":"entity_card.card.creator","typeLabel":"string"},"updater":{"type":"string","uniqueKey":"entity_card.card.updater","typeLabel":"string"}},"isRequired":true,"uniqueKey":"entity_card.card","typeLabel":"object"},"entity":{"type":"string","isRequired":true,"uniqueKey":"entity_card.entity","typeLabel":"string"},"id":{"type":"string","uniqueKey":"entity_card.id","typeLabel":"string"},"creator":{"type":"string","uniqueKey":"entity_card.creator","typeLabel":"string"},"updater":{"type":"string","uniqueKey":"entity_card.updater","typeLabel":"string"}},"description":"Information related to the Connect card of the farmer. \n","uniqueKey":"entity_card","typeLabel":"object"},"submission":{"required":["form","values"],"type":"object","properties":{"values":{"type":"array","items":{"required":["field","value"],"type":"object","properties":{"field":{"title":"Field","minLength":1,"type":"string","isRequired":true,"uniqueKey":"submission.values.items.[INDEX].field","typeLabel":"string"},"value":{"title":"Value","maxLength":100,"minLength":1,"type":"string","isRequired":true,"uniqueKey":"submission.values.items.[INDEX].value","typeLabel":"string"},"id":{"type":"string","uniqueKey":"submission.values.items.[INDEX].id","typeLabel":"string"},"field_details":{"required":["label","type"],"type":"object","properties":{"label":{"title":"Label","maxLength":100,"minLength":1,"type":"string","isRequired":true,"uniqueKey":"submission.values.items.[INDEX].field_details.label","typeLabel":"string"},"type":{"title":"Field Type","type":"string","enum":["TEXT","INTEGER","FLOAT","RADIO","MULTI_SELECT","EMAIL","PHONE","DATE","BOOLEAN","DROPDOWN"],"isRequired":true,"uniqueKey":"submission.values.items.[INDEX].field_details.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","uniqueKey":"submission.values.items.[INDEX].field_details.id","typeLabel":"string"},"label_en_us":{"oneOf":[{"title":"Label [en-us]","maxLength":100,"type":"string","uniqueKey":"submission.values.items.[INDEX].field_details.label_en_us.oneOf.0","typeLabel":"string"},{"title":"Label [en-us]","maxLength":100,"type":"null","uniqueKey":"submission.values.items.[INDEX].field_details.label_en_us.oneOf.1","typeLabel":"null"}],"uniqueKey":"submission.values.items.[INDEX].field_details.label_en_us","typeLabel":"string | null"},"label_en_uk":{"oneOf":[{"title":"Label [en-uk]","maxLength":100,"type":"string","uniqueKey":"submission.values.items.[INDEX].field_details.label_en_uk.oneOf.0","typeLabel":"string"},{"title":"Label [en-uk]","maxLength":100,"type":"null","uniqueKey":"submission.values.items.[INDEX].field_details.label_en_uk.oneOf.1","typeLabel":"null"}],"uniqueKey":"submission.values.items.[INDEX].field_details.label_en_uk","typeLabel":"string | null"},"label_fr":{"oneOf":[{"title":"Label [fr]","maxLength":100,"type":"string","uniqueKey":"submission.values.items.[INDEX].field_details.label_fr.oneOf.0","typeLabel":"string"},{"title":"Label [fr]","maxLength":100,"type":"null","uniqueKey":"submission.values.items.[INDEX].field_details.label_fr.oneOf.1","typeLabel":"null"}],"uniqueKey":"submission.values.items.[INDEX].field_details.label_fr","typeLabel":"string | null"},"label_nl":{"oneOf":[{"title":"Label [nl]","maxLength":100,"type":"string","uniqueKey":"submission.values.items.[INDEX].field_details.label_nl.oneOf.0","typeLabel":"string"},{"title":"Label [nl]","maxLength":100,"type":"null","uniqueKey":"submission.values.items.[INDEX].field_details.label_nl.oneOf.1","typeLabel":"null"}],"uniqueKey":"submission.values.items.[INDEX].field_details.label_nl","typeLabel":"string | null"},"label_ind":{"oneOf":[{"title":"Label [ind]","maxLength":100,"type":"string","uniqueKey":"submission.values.items.[INDEX].field_details.label_ind.oneOf.0","typeLabel":"string"},{"title":"Label [ind]","maxLength":100,"type":"null","uniqueKey":"submission.values.items.[INDEX].field_details.label_ind.oneOf.1","typeLabel":"null"}],"uniqueKey":"submission.values.items.[INDEX].field_details.label_ind","typeLabel":"string | null"},"key":{"oneOf":[{"title":"Key","maxLength":100,"type":"string","uniqueKey":"submission.values.items.[INDEX].field_details.key.oneOf.0","typeLabel":"string"},{"title":"Key","maxLength":100,"type":"null","uniqueKey":"submission.values.items.[INDEX].field_details.key.oneOf.1","typeLabel":"null"}],"uniqueKey":"submission.values.items.[INDEX].field_details.key","typeLabel":"string | null"},"required":{"title":"Required","type":"boolean","uniqueKey":"submission.values.items.[INDEX].field_details.required","typeLabel":"boolean"},"default_value":{"oneOf":[{"title":"Default Value","maxLength":100,"type":"string","uniqueKey":"submission.values.items.[INDEX].field_details.default_value.oneOf.0","typeLabel":"string"},{"title":"Default Value","maxLength":100,"type":"null","uniqueKey":"submission.values.items.[INDEX].field_details.default_value.oneOf.1","typeLabel":"null"}],"uniqueKey":"submission.values.items.[INDEX].field_details.default_value","typeLabel":"string | null"},"options":{"oneOf":[{"title":"Options","type":"string","uniqueKey":"submission.values.items.[INDEX].field_details.options.oneOf.0","typeLabel":"string"},{"title":"Options","type":"null","uniqueKey":"submission.values.items.[INDEX].field_details.options.oneOf.1","typeLabel":"null"}],"uniqueKey":"submission.values.items.[INDEX].field_details.options","typeLabel":"string | null"},"creator":{"type":"string","uniqueKey":"submission.values.items.[INDEX].field_details.creator","typeLabel":"string"},"updater":{"type":"string","uniqueKey":"submission.values.items.[INDEX].field_details.updater","typeLabel":"string"}},"uniqueKey":"submission.values.items.[INDEX].field_details","typeLabel":"object"},"creator":{"type":"string","uniqueKey":"submission.values.items.[INDEX].creator","typeLabel":"string"},"updater":{"type":"string","uniqueKey":"submission.values.items.[INDEX].updater","typeLabel":"string"}},"uniqueKey":"submission.values.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"submission.values","typeLabel":"object[]"},"form":{"type":"string","isRequired":true,"uniqueKey":"submission.form","typeLabel":"string"},"id":{"type":"string","uniqueKey":"submission.id","typeLabel":"string"},"form_details":{"required":["fields","owner"],"type":"object","properties":{"fields":{"type":"array","items":{"required":["label","type"],"type":"object","properties":{"label":{"title":"Label","maxLength":100,"minLength":1,"type":"string","isRequired":true,"uniqueKey":"submission.form_details.fields.items.[INDEX].label","typeLabel":"string"},"type":{"title":"Field Type","type":"string","enum":["TEXT","INTEGER","FLOAT","RADIO","MULTI_SELECT","EMAIL","PHONE","DATE","BOOLEAN","DROPDOWN"],"isRequired":true,"uniqueKey":"submission.form_details.fields.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","uniqueKey":"submission.form_details.fields.items.[INDEX].id","typeLabel":"string"},"label_en_us":{"oneOf":[{"title":"Label [en-us]","maxLength":100,"type":"string","uniqueKey":"submission.form_details.fields.items.[INDEX].label_en_us.oneOf.0","typeLabel":"string"},{"title":"Label [en-us]","maxLength":100,"type":"null","uniqueKey":"submission.form_details.fields.items.[INDEX].label_en_us.oneOf.1","typeLabel":"null"}],"uniqueKey":"submission.form_details.fields.items.[INDEX].label_en_us","typeLabel":"string | null"},"label_en_uk":{"oneOf":[{"title":"Label [en-uk]","maxLength":100,"type":"string","uniqueKey":"submission.form_details.fields.items.[INDEX].label_en_uk.oneOf.0","typeLabel":"string"},{"title":"Label [en-uk]","maxLength":100,"type":"null","uniqueKey":"submission.form_details.fields.items.[INDEX].label_en_uk.oneOf.1","typeLabel":"null"}],"uniqueKey":"submission.form_details.fields.items.[INDEX].label_en_uk","typeLabel":"string | null"},"label_fr":{"oneOf":[{"title":"Label [fr]","maxLength":100,"type":"string","uniqueKey":"submission.form_details.fields.items.[INDEX].label_fr.oneOf.0","typeLabel":"string"},{"title":"Label [fr]","maxLength":100,"type":"null","uniqueKey":"submission.form_details.fields.items.[INDEX].label_fr.oneOf.1","typeLabel":"null"}],"uniqueKey":"submission.form_details.fields.items.[INDEX].label_fr","typeLabel":"string | null"},"label_nl":{"oneOf":[{"title":"Label [nl]","maxLength":100,"type":"string","uniqueKey":"submission.form_details.fields.items.[INDEX].label_nl.oneOf.0","typeLabel":"string"},{"title":"Label [nl]","maxLength":100,"type":"null","uniqueKey":"submission.form_details.fields.items.[INDEX].label_nl.oneOf.1","typeLabel":"null"}],"uniqueKey":"submission.form_details.fields.items.[INDEX].label_nl","typeLabel":"string | null"},"label_ind":{"oneOf":[{"title":"Label [ind]","maxLength":100,"type":"string","uniqueKey":"submission.form_details.fields.items.[INDEX].label_ind.oneOf.0","typeLabel":"string"},{"title":"Label [ind]","maxLength":100,"type":"null","uniqueKey":"submission.form_details.fields.items.[INDEX].label_ind.oneOf.1","typeLabel":"null"}],"uniqueKey":"submission.form_details.fields.items.[INDEX].label_ind","typeLabel":"string | null"},"key":{"oneOf":[{"title":"Key","maxLength":100,"type":"string","uniqueKey":"submission.form_details.fields.items.[INDEX].key.oneOf.0","typeLabel":"string"},{"title":"Key","maxLength":100,"type":"null","uniqueKey":"submission.form_details.fields.items.[INDEX].key.oneOf.1","typeLabel":"null"}],"uniqueKey":"submission.form_details.fields.items.[INDEX].key","typeLabel":"string | null"},"required":{"title":"Required","type":"boolean","uniqueKey":"submission.form_details.fields.items.[INDEX].required","typeLabel":"boolean"},"default_value":{"oneOf":[{"title":"Default Value","maxLength":100,"type":"string","uniqueKey":"submission.form_details.fields.items.[INDEX].default_value.oneOf.0","typeLabel":"string"},{"title":"Default Value","maxLength":100,"type":"null","uniqueKey":"submission.form_details.fields.items.[INDEX].default_value.oneOf.1","typeLabel":"null"}],"uniqueKey":"submission.form_details.fields.items.[INDEX].default_value","typeLabel":"string | null"},"options":{"oneOf":[{"title":"Options","type":"string","uniqueKey":"submission.form_details.fields.items.[INDEX].options.oneOf.0","typeLabel":"string"},{"title":"Options","type":"null","uniqueKey":"submission.form_details.fields.items.[INDEX].options.oneOf.1","typeLabel":"null"}],"uniqueKey":"submission.form_details.fields.items.[INDEX].options","typeLabel":"string | null"},"creator":{"type":"string","uniqueKey":"submission.form_details.fields.items.[INDEX].creator","typeLabel":"string"},"updater":{"type":"string","uniqueKey":"submission.form_details.fields.items.[INDEX].updater","typeLabel":"string"}},"uniqueKey":"submission.form_details.fields.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"submission.form_details.fields","typeLabel":"object[]"},"owner":{"type":"string","isRequired":true,"uniqueKey":"submission.form_details.owner","typeLabel":"string"},"id":{"type":"string","uniqueKey":"submission.form_details.id","typeLabel":"string"},"field_config":{"type":"array","items":{"required":["key","label"],"type":"object","properties":{"label":{"title":"Label","maxLength":100,"minLength":1,"type":"string","isRequired":true,"uniqueKey":"submission.form_details.field_config.items.[INDEX].label","typeLabel":"string"},"key":{"title":"Key","maxLength":100,"minLength":1,"type":"string","isRequired":true,"uniqueKey":"submission.form_details.field_config.items.[INDEX].key","typeLabel":"string"},"id":{"type":"string","uniqueKey":"submission.form_details.field_config.items.[INDEX].id","typeLabel":"string"},"visibility":{"title":"Visibility","type":"boolean","uniqueKey":"submission.form_details.field_config.items.[INDEX].visibility","typeLabel":"boolean"},"required":{"title":"Required","type":"boolean","uniqueKey":"submission.form_details.field_config.items.[INDEX].required","typeLabel":"boolean"},"creator":{"type":"string","uniqueKey":"submission.form_details.field_config.items.[INDEX].creator","typeLabel":"string"},"updater":{"type":"string","uniqueKey":"submission.form_details.field_config.items.[INDEX].updater","typeLabel":"string"}},"uniqueKey":"submission.form_details.field_config.items.[INDEX]","typeLabel":"object"},"uniqueKey":"submission.form_details.field_config","typeLabel":"object[]"},"form_type":{"title":"Form Type","type":"string","enum":["TRANSACTION","FARMER","PAYMENT","PRODUCT"],"uniqueKey":"submission.form_details.form_type","typeLabel":"enum\u003cstring>"},"creator":{"type":"string","uniqueKey":"submission.form_details.creator","typeLabel":"string"},"updater":{"type":"string","uniqueKey":"submission.form_details.updater","typeLabel":"string"}},"uniqueKey":"submission.form_details","typeLabel":"object"},"creator":{"type":"string","uniqueKey":"submission.creator","typeLabel":"string"},"updater":{"type":"string","uniqueKey":"submission.updater","typeLabel":"string"},"product":{"type":"string","uniqueKey":"submission.product","typeLabel":"string"}},"description":"Submission details related to the farmer. This could include any extra fields metioned in form associated with the company.\n","uniqueKey":"submission","typeLabel":"object"},"phone":{"oneOf":[{"title":"Phone","type":"string","description":"Phone number of the farmer. This is typically used for contacting the farmer if necessary.\n","uniqueKey":"phone.oneOf.0","typeLabel":"string"},{"title":"Phone","type":"null","description":"Phone number of the farmer. This is typically used for contacting the farmer if necessary.\n","uniqueKey":"phone.oneOf.1","typeLabel":"null"}],"uniqueKey":"phone","typeLabel":"string | null"},"created_on":{"title":"Created On","type":"string","format":"date-time","description":"Date and time when the farmer information was created. This field indicates when the farmer record was initially added to the system.\n","uniqueKey":"created_on","typeLabel":"string\u003cdate-time>"},"description":{"oneOf":[{"title":"Description","maxLength":500,"type":"string","description":"Description or additional information about the farmer. This field allows for notes or comments to be added regarding the farmer.\n","uniqueKey":"description.oneOf.0","typeLabel":"string"},{"title":"Description","maxLength":500,"type":"null","description":"Description or additional information about the farmer. This field allows for notes or comments to be added regarding the farmer.\n","uniqueKey":"description.oneOf.1","typeLabel":"null"}],"uniqueKey":"description","typeLabel":"string | null"},"house_name":{"oneOf":[{"title":"House name","maxLength":100,"type":"string","description":"Name of the house or building where the farmer resides. This could be useful for address clarification.\n","uniqueKey":"house_name.oneOf.0","typeLabel":"string"},{"title":"House name","maxLength":100,"type":"null","description":"Name of the house or building where the farmer resides. This could be useful for address clarification.\n","uniqueKey":"house_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"house_name","typeLabel":"string | null"},"street":{"oneOf":[{"title":"Street","maxLength":500,"type":"string","description":"Name of the street where the farmer resides. This is part of the farmer's address details.\n","uniqueKey":"street.oneOf.0","typeLabel":"string"},{"title":"Street","maxLength":500,"type":"null","description":"Name of the street where the farmer resides. This is part of the farmer's address details.\n","uniqueKey":"street.oneOf.1","typeLabel":"null"}],"uniqueKey":"street","typeLabel":"string | null"},"city":{"oneOf":[{"title":"City","maxLength":500,"type":"string","description":"Name of the city where the farmer resides. This is part of the farmer's address details.\n","uniqueKey":"city.oneOf.0","typeLabel":"string"},{"title":"City","maxLength":500,"type":"null","description":"Name of the city where the farmer resides. This is part of the farmer's address details.\n","uniqueKey":"city.oneOf.1","typeLabel":"null"}],"uniqueKey":"city","typeLabel":"string | null"},"sub_province":{"oneOf":[{"title":"Sub province","maxLength":500,"type":"string","description":"Name of the sub-province where the farmer resides. This is part of the farmer's address details.\n","uniqueKey":"sub_province.oneOf.0","typeLabel":"string"},{"title":"Sub province","maxLength":500,"type":"null","description":"Name of the sub-province where the farmer resides. This is part of the farmer's address details.\n","uniqueKey":"sub_province.oneOf.1","typeLabel":"null"}],"uniqueKey":"sub_province","typeLabel":"string | null"},"province":{"oneOf":[{"title":"Province","maxLength":500,"type":"string","description":"Name of the province where the farmer resides. This is part of the farmer's address details.\n","uniqueKey":"province.oneOf.0","typeLabel":"string"},{"title":"Province","maxLength":500,"type":"null","description":"Name of the province where the farmer resides. This is part of the farmer's address details.\n","uniqueKey":"province.oneOf.1","typeLabel":"null"}],"uniqueKey":"province","typeLabel":"string | null"},"latitude":{"title":"Latitude","type":"number","description":"Latitude coordinate of the farmer's location. This is used for geolocation purposes.\n","uniqueKey":"latitude","typeLabel":"number"},"longitude":{"title":"Longitude","type":"number","description":"Longitude coordinate of the farmer's location. This is used for geolocation purposes.\n","uniqueKey":"longitude","typeLabel":"number"},"zipcode":{"oneOf":[{"title":"Zipcode","maxLength":50,"type":"string","description":"Postal code or ZIP code of the area where the farmer resides. This is part of the farmer's address details.\n","uniqueKey":"zipcode.oneOf.0","typeLabel":"string"},{"title":"Zipcode","maxLength":50,"type":"null","description":"Postal code or ZIP code of the area where the farmer resides. This is part of the farmer's address details.\n","uniqueKey":"zipcode.oneOf.1","typeLabel":"null"}],"uniqueKey":"zipcode","typeLabel":"string | null"},"country":{"oneOf":[{"title":"Country","maxLength":500,"type":"string","description":"Name of the country where the farmer resides. This is part of the farmer's address details.\n","uniqueKey":"country.oneOf.0","typeLabel":"string"},{"title":"Country","maxLength":500,"type":"null","description":"Name of the country where the farmer resides. This is part of the farmer's address details.\n","uniqueKey":"country.oneOf.1","typeLabel":"null"}],"uniqueKey":"country","typeLabel":"string | null"},"number":{"oneOf":[{"title":"Number","maxLength":10,"type":"string","description":"Additional number for reference. It will be a auto generated value field.\n","uniqueKey":"number.oneOf.0","typeLabel":"string"},{"title":"Number","maxLength":10,"type":"null","description":"Additional number for reference. It will be a auto generated value field.\n","uniqueKey":"number.oneOf.1","typeLabel":"null"}],"uniqueKey":"number","typeLabel":"string | null"},"email":{"oneOf":[{"title":"Email Address","maxLength":100,"type":"string","format":"email","description":"Email address of the farmer. This is used for electronic communication with the farmer.\n","uniqueKey":"email.oneOf.0","typeLabel":"string\u003cemail>"},{"title":"Email Address","maxLength":100,"type":"null","format":"email","description":"Email address of the farmer. This is used for electronic communication with the farmer.\n","uniqueKey":"email.oneOf.1","typeLabel":"null"}],"uniqueKey":"email","typeLabel":"string\u003cemail> | null"},"identification_no":{"oneOf":[{"title":"Identification","maxLength":100,"type":"string","description":"Identification number of the farmer. This could be a national identification number or any other form of identification.\n","uniqueKey":"identification_no.oneOf.0","typeLabel":"string"},{"title":"Identification","maxLength":100,"type":"null","description":"Identification number of the farmer. This could be a national identification number or any other form of identification.\n","uniqueKey":"identification_no.oneOf.1","typeLabel":"null"}],"uniqueKey":"identification_no","typeLabel":"string | null"},"reference_number":{"oneOf":[{"title":"Reference Number","maxLength":100,"type":"string","description":"Reference number associated with the farmer. This could be a reference to another system or database.\n","uniqueKey":"reference_number.oneOf.0","typeLabel":"string"},{"title":"Reference Number","maxLength":100,"type":"null","description":"Reference number associated with the farmer. This could be a reference to another system or database.\n","uniqueKey":"reference_number.oneOf.1","typeLabel":"null"}],"uniqueKey":"reference_number","typeLabel":"string | null"},"last_name":{"oneOf":[{"title":"Last Name","maxLength":100,"type":"string","description":"Last name of the farmer. This is part of the farmer's personal details.\n","uniqueKey":"last_name.oneOf.0","typeLabel":"string"},{"title":"Last Name","maxLength":100,"type":"null","description":"Last name of the farmer. This is part of the farmer's personal details.\n","uniqueKey":"last_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"last_name","typeLabel":"string | null"},"date_of_birth":{"oneOf":[{"title":"Date of Birth","type":"string","format":"date","description":"Date of birth of the farmer. This is part of the farmer's personal details.\n","uniqueKey":"date_of_birth.oneOf.0","typeLabel":"string\u003cdate>"},{"title":"Date of Birth","type":"null","format":"date","description":"Date of birth of the farmer. This is part of the farmer's personal details.\n","uniqueKey":"date_of_birth.oneOf.1","typeLabel":"null"}],"uniqueKey":"date_of_birth","typeLabel":"string\u003cdate> | null"},"gender":{"oneOf":[{"title":"Gender","maxLength":50,"type":"string","description":"Gender of the farmer. This is part of the farmer's personal details.\n","uniqueKey":"gender.oneOf.0","typeLabel":"string"},{"title":"Gender","maxLength":50,"type":"null","description":"Gender of the farmer. This is part of the farmer's personal details.\n","uniqueKey":"gender.oneOf.1","typeLabel":"null"}],"uniqueKey":"gender","typeLabel":"string | null"},"consent_status":{"title":"Consent Status","type":"string","enum":["GRANTED","NOT_GRANTED","UNKNOWN"],"description":"Consent status of the farmer for data usage. This indicates whether the farmer has given consent for their data to be used.\n","uniqueKey":"consent_status","typeLabel":"enum\u003cstring>"},"creator":{"type":"string","description":"Identifier of the user who created the farmer entry. This indicates the user responsible for adding the farmer information to the system.\n","uniqueKey":"creator","typeLabel":"string"},"updater":{"type":"string","description":"Identifier of the user who last updated the farmer entry. This indicates the user responsible for the latest modifications to the farmer information.\n","uniqueKey":"updater","typeLabel":"string"},"buyer":{"type":"string","description":"Identifier of the buyer associated with the farmer. This indicates any buyer or customer linked to the farmer, if applicable.\n","uniqueKey":"buyer","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"first_name":"\u003cstring>","id":"\u003cstring>","phone":"\u003cstring>","created_on":"2023-11-07T05:31:56Z","description":"\u003cstring>","house_name":"\u003cstring>","street":"\u003cstring>","city":"\u003cstring>","sub_province":"\u003cstring>","province":"\u003cstring>","latitude":123,"longitude":123,"zipcode":"\u003cstring>","country":"\u003cstring>","number":"\u003cstring>","email":"jsmith@example.com","identification_no":"\u003cstring>","reference_number":"\u003cstring>","last_name":"\u003cstring>","date_of_birth":"2023-12-25","gender":"\u003cstring>","creator":"\u003cstring>","updater":"\u003cstring>","buyer":"\u003cstring>"}}},"exampleType":"generated"}},"required":true,"exampleType":"generated"},"responses":{"5fdb5bd6-2a9e-4950-b43f-22fa73230105":{"description":"","content":{"application/json":{"schema":{"required":["first_name"],"type":"object","properties":{"first_name":{"title":"First Name","maxLength":100,"minLength":1,"type":"string","description":"First name of the farmer. This is part of the farmer's personal details.\n","isRequired":true,"uniqueKey":"first_name","typeLabel":"string"},"id":{"type":"string","description":"Unique identifier for the farmer. This identifier is used to distinguish one farmer from another in the system.\n","uniqueKey":"id","typeLabel":"string"},"entity_card":{"required":["card","entity"],"type":"object","properties":{"card":{"required":["card_id"],"type":"object","properties":{"card_id":{"title":"Card id","minLength":1,"type":"string","isRequired":true,"uniqueKey":"entity_card.card.card_id","typeLabel":"string"},"id":{"type":"string","uniqueKey":"entity_card.card.id","typeLabel":"string"},"updated_on":{"title":"Updated On","type":"string","format":"date-time","readOnly":true,"uniqueKey":"entity_card.card.updated_on","typeLabel":"string\u003cdate-time>"},"created_on":{"title":"Updated On","type":"string","format":"date-time","readOnly":true,"uniqueKey":"entity_card.card.created_on","typeLabel":"string\u003cdate-time>"},"display_id":{"oneOf":[{"title":"Display ID","maxLength":100,"type":"string","uniqueKey":"entity_card.card.display_id.oneOf.0","typeLabel":"string"},{"title":"Display ID","maxLength":100,"type":"null","uniqueKey":"entity_card.card.display_id.oneOf.1","typeLabel":"null"}],"uniqueKey":"entity_card.card.display_id","typeLabel":"string | null"},"creator":{"type":"string","uniqueKey":"entity_card.card.creator","typeLabel":"string"},"updater":{"type":"string","uniqueKey":"entity_card.card.updater","typeLabel":"string"}},"isRequired":true,"uniqueKey":"entity_card.card","typeLabel":"object"},"entity":{"type":"string","isRequired":true,"uniqueKey":"entity_card.entity","typeLabel":"string"},"id":{"type":"string","uniqueKey":"entity_card.id","typeLabel":"string"},"updated_on":{"title":"Updated On","type":"string","format":"date-time","readOnly":true,"uniqueKey":"entity_card.updated_on","typeLabel":"string\u003cdate-time>"},"created_on":{"title":"Updated On","type":"string","format":"date-time","readOnly":true,"uniqueKey":"entity_card.created_on","typeLabel":"string\u003cdate-time>"},"is_active":{"title":"Is Active","type":"boolean","readOnly":true,"uniqueKey":"entity_card.is_active","typeLabel":"boolean"},"creator":{"type":"string","uniqueKey":"entity_card.creator","typeLabel":"string"},"updater":{"type":"string","uniqueKey":"entity_card.updater","typeLabel":"string"}},"description":"Information related to the Connect card of the farmer. \n","uniqueKey":"entity_card","typeLabel":"object"},"submission":{"required":["form","values"],"type":"object","properties":{"values":{"type":"array","items":{"required":["field","value"],"type":"object","properties":{"field":{"title":"Field","minLength":1,"type":"string","isRequired":true,"uniqueKey":"submission.values.items.[INDEX].field","typeLabel":"string"},"value":{"title":"Value","maxLength":100,"minLength":1,"type":"string","isRequired":true,"uniqueKey":"submission.values.items.[INDEX].value","typeLabel":"string"},"id":{"type":"string","uniqueKey":"submission.values.items.[INDEX].id","typeLabel":"string"},"field_details":{"required":["label","type"],"type":"object","properties":{"label":{"title":"Label","maxLength":100,"minLength":1,"type":"string","isRequired":true,"uniqueKey":"submission.values.items.[INDEX].field_details.label","typeLabel":"string"},"type":{"title":"Field Type","type":"string","enum":["TEXT","INTEGER","FLOAT","RADIO","MULTI_SELECT","EMAIL","PHONE","DATE","BOOLEAN","DROPDOWN"],"isRequired":true,"uniqueKey":"submission.values.items.[INDEX].field_details.type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","uniqueKey":"submission.values.items.[INDEX].field_details.id","typeLabel":"string"},"updated_on":{"title":"Updated On","type":"string","format":"date-time","readOnly":true,"uniqueKey":"submission.values.items.[INDEX].field_details.updated_on","typeLabel":"string\u003cdate-time>"},"created_on":{"title":"Updated On","type":"string","format":"date-time","readOnly":true,"uniqueKey":"submission.values.items.[INDEX].field_details.created_on","typeLabel":"string\u003cdate-time>"},"label_en_us":{"oneOf":[{"title":"Label [en-us]","maxLength":100,"type":"string","uniqueKey":"submission.values.items.[INDEX].field_details.label_en_us.oneOf.0","typeLabel":"string"},{"title":"Label [en-us]","maxLength":100,"type":"null","uniqueKey":"submission.values.items.[INDEX].field_details.label_en_us.oneOf.1","typeLabel":"null"}],"uniqueKey":"submission.values.items.[INDEX].field_details.label_en_us","typeLabel":"string | null"},"label_en_uk":{"oneOf":[{"title":"Label [en-uk]","maxLength":100,"type":"string","uniqueKey":"submission.values.items.[INDEX].field_details.label_en_uk.oneOf.0","typeLabel":"string"},{"title":"Label [en-uk]","maxLength":100,"type":"null","uniqueKey":"submission.values.items.[INDEX].field_details.label_en_uk.oneOf.1","typeLabel":"null"}],"uniqueKey":"submission.values.items.[INDEX].field_details.label_en_uk","typeLabel":"string | null"},"label_fr":{"oneOf":[{"title":"Label [fr]","maxLength":100,"type":"string","uniqueKey":"submission.values.items.[INDEX].field_details.label_fr.oneOf.0","typeLabel":"string"},{"title":"Label [fr]","maxLength":100,"type":"null","uniqueKey":"submission.values.items.[INDEX].field_details.label_fr.oneOf.1","typeLabel":"null"}],"uniqueKey":"submission.values.items.[INDEX].field_details.label_fr","typeLabel":"string | null"},"label_nl":{"oneOf":[{"title":"Label [nl]","maxLength":100,"type":"string","uniqueKey":"submission.values.items.[INDEX].field_details.label_nl.oneOf.0","typeLabel":"string"},{"title":"Label [nl]","maxLength":100,"type":"null","uniqueKey":"submission.values.items.[INDEX].field_details.label_nl.oneOf.1","typeLabel":"null"}],"uniqueKey":"submission.values.items.[INDEX].field_details.label_nl","typeLabel":"string | null"},"label_ind":{"oneOf":[{"title":"Label [ind]","maxLength":100,"type":"string","uniqueKey":"submission.values.items.[INDEX].field_details.label_ind.oneOf.0","typeLabel":"string"},{"title":"Label [ind]","maxLength":100,"type":"null","uniqueKey":"submission.values.items.[INDEX].field_details.label_ind.oneOf.1","typeLabel":"null"}],"uniqueKey":"submission.values.items.[INDEX].field_details.label_ind","typeLabel":"string | null"},"key":{"oneOf":[{"title":"Key","maxLength":100,"type":"string","uniqueKey":"submission.values.items.[INDEX].field_details.key.oneOf.0","typeLabel":"string"},{"title":"Key","maxLength":100,"type":"null","uniqueKey":"submission.values.items.[INDEX].field_details.key.oneOf.1","typeLabel":"null"}],"uniqueKey":"submission.values.items.[INDEX].field_details.key","typeLabel":"string | null"},"required":{"title":"Required","type":"boolean","uniqueKey":"submission.values.items.[INDEX].field_details.required","typeLabel":"boolean"},"default_value":{"oneOf":[{"title":"Default Value","maxLength":100,"type":"string","uniqueKey":"submission.values.items.[INDEX].field_details.default_value.oneOf.0","typeLabel":"string"},{"title":"Default Value","maxLength":100,"type":"null","uniqueKey":"submission.values.items.[INDEX].field_details.default_value.oneOf.1","typeLabel":"null"}],"uniqueKey":"submission.values.items.[INDEX].field_details.default_value","typeLabel":"string | null"},"options":{"oneOf":[{"title":"Options","type":"string","uniqueKey":"submission.values.items.[INDEX].field_details.options.oneOf.0","typeLabel":"string"},{"title":"Options","type":"null","uniqueKey":"submission.values.items.[INDEX].field_details.options.oneOf.1","typeLabel":"null"}],"uniqueKey":"submission.values.items.[INDEX].field_details.options","typeLabel":"string | null"},"creator":{"type":"string","uniqueKey":"submission.values.items.[INDEX].field_details.creator","typeLabel":"string"},"updater":{"type":"string","uniqueKey":"submission.values.items.[INDEX].field_details.updater","typeLabel":"string"}},"uniqueKey":"submission.values.items.[INDEX].field_details","typeLabel":"object"},"updated_on":{"title":"Updated On","type":"string","format":"date-time","readOnly":true,"uniqueKey":"submission.values.items.[INDEX].updated_on","typeLabel":"string\u003cdate-time>"},"created_on":{"title":"Updated On","type":"string","format":"date-time","readOnly":true,"uniqueKey":"submission.values.items.[INDEX].created_on","typeLabel":"string\u003cdate-time>"},"creator":{"type":"string","uniqueKey":"submission.values.items.[INDEX].creator","typeLabel":"string"},"updater":{"type":"string","uniqueKey":"submission.values.items.[INDEX].updater","typeLabel":"string"}},"uniqueKey":"submission.values.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"submission.values","typeLabel":"object[]"},"form":{"type":"string","isRequired":true,"uniqueKey":"submission.form","typeLabel":"string"},"id":{"type":"string","uniqueKey":"submission.id","typeLabel":"string"},"form_details":{"required":["fields","owner"],"type":"object","properties":{"fields":{"type":"array","items":{"required":["label","type"],"type":"object","properties":{"label":{"title":"Label","maxLength":100,"minLength":1,"type":"string","isRequired":true,"uniqueKey":"submission.form_details.fields.items.[INDEX].label","typeLabel":"string"},"type":{"title":"Field Type","type":"string","enum":["TEXT","INTEGER","FLOAT","RADIO","MULTI_SELECT","EMAIL","PHONE","DATE","BOOLEAN","DROPDOWN"],"isRequired":true,"uniqueKey":"submission.form_details.fields.items.[INDEX].type","typeLabel":"enum\u003cstring>"},"id":{"type":"string","uniqueKey":"submission.form_details.fields.items.[INDEX].id","typeLabel":"string"},"updated_on":{"title":"Updated On","type":"string","format":"date-time","readOnly":true,"uniqueKey":"submission.form_details.fields.items.[INDEX].updated_on","typeLabel":"string\u003cdate-time>"},"created_on":{"title":"Updated On","type":"string","format":"date-time","readOnly":true,"uniqueKey":"submission.form_details.fields.items.[INDEX].created_on","typeLabel":"string\u003cdate-time>"},"label_en_us":{"oneOf":[{"title":"Label [en-us]","maxLength":100,"type":"string","uniqueKey":"submission.form_details.fields.items.[INDEX].label_en_us.oneOf.0","typeLabel":"string"},{"title":"Label [en-us]","maxLength":100,"type":"null","uniqueKey":"submission.form_details.fields.items.[INDEX].label_en_us.oneOf.1","typeLabel":"null"}],"uniqueKey":"submission.form_details.fields.items.[INDEX].label_en_us","typeLabel":"string | null"},"label_en_uk":{"oneOf":[{"title":"Label [en-uk]","maxLength":100,"type":"string","uniqueKey":"submission.form_details.fields.items.[INDEX].label_en_uk.oneOf.0","typeLabel":"string"},{"title":"Label [en-uk]","maxLength":100,"type":"null","uniqueKey":"submission.form_details.fields.items.[INDEX].label_en_uk.oneOf.1","typeLabel":"null"}],"uniqueKey":"submission.form_details.fields.items.[INDEX].label_en_uk","typeLabel":"string | null"},"label_fr":{"oneOf":[{"title":"Label [fr]","maxLength":100,"type":"string","uniqueKey":"submission.form_details.fields.items.[INDEX].label_fr.oneOf.0","typeLabel":"string"},{"title":"Label [fr]","maxLength":100,"type":"null","uniqueKey":"submission.form_details.fields.items.[INDEX].label_fr.oneOf.1","typeLabel":"null"}],"uniqueKey":"submission.form_details.fields.items.[INDEX].label_fr","typeLabel":"string | null"},"label_nl":{"oneOf":[{"title":"Label [nl]","maxLength":100,"type":"string","uniqueKey":"submission.form_details.fields.items.[INDEX].label_nl.oneOf.0","typeLabel":"string"},{"title":"Label [nl]","maxLength":100,"type":"null","uniqueKey":"submission.form_details.fields.items.[INDEX].label_nl.oneOf.1","typeLabel":"null"}],"uniqueKey":"submission.form_details.fields.items.[INDEX].label_nl","typeLabel":"string | null"},"label_ind":{"oneOf":[{"title":"Label [ind]","maxLength":100,"type":"string","uniqueKey":"submission.form_details.fields.items.[INDEX].label_ind.oneOf.0","typeLabel":"string"},{"title":"Label [ind]","maxLength":100,"type":"null","uniqueKey":"submission.form_details.fields.items.[INDEX].label_ind.oneOf.1","typeLabel":"null"}],"uniqueKey":"submission.form_details.fields.items.[INDEX].label_ind","typeLabel":"string | null"},"key":{"oneOf":[{"title":"Key","maxLength":100,"type":"string","uniqueKey":"submission.form_details.fields.items.[INDEX].key.oneOf.0","typeLabel":"string"},{"title":"Key","maxLength":100,"type":"null","uniqueKey":"submission.form_details.fields.items.[INDEX].key.oneOf.1","typeLabel":"null"}],"uniqueKey":"submission.form_details.fields.items.[INDEX].key","typeLabel":"string | null"},"required":{"title":"Required","type":"boolean","uniqueKey":"submission.form_details.fields.items.[INDEX].required","typeLabel":"boolean"},"default_value":{"oneOf":[{"title":"Default Value","maxLength":100,"type":"string","uniqueKey":"submission.form_details.fields.items.[INDEX].default_value.oneOf.0","typeLabel":"string"},{"title":"Default Value","maxLength":100,"type":"null","uniqueKey":"submission.form_details.fields.items.[INDEX].default_value.oneOf.1","typeLabel":"null"}],"uniqueKey":"submission.form_details.fields.items.[INDEX].default_value","typeLabel":"string | null"},"options":{"oneOf":[{"title":"Options","type":"string","uniqueKey":"submission.form_details.fields.items.[INDEX].options.oneOf.0","typeLabel":"string"},{"title":"Options","type":"null","uniqueKey":"submission.form_details.fields.items.[INDEX].options.oneOf.1","typeLabel":"null"}],"uniqueKey":"submission.form_details.fields.items.[INDEX].options","typeLabel":"string | null"},"creator":{"type":"string","uniqueKey":"submission.form_details.fields.items.[INDEX].creator","typeLabel":"string"},"updater":{"type":"string","uniqueKey":"submission.form_details.fields.items.[INDEX].updater","typeLabel":"string"}},"uniqueKey":"submission.form_details.fields.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"submission.form_details.fields","typeLabel":"object[]"},"owner":{"type":"string","isRequired":true,"uniqueKey":"submission.form_details.owner","typeLabel":"string"},"id":{"type":"string","uniqueKey":"submission.form_details.id","typeLabel":"string"},"products":{"type":"array","readOnly":true,"items":{"required":["name"],"type":"object","properties":{"name":{"title":"Product Name","maxLength":500,"minLength":1,"type":"string","description":"Name of the product.","isRequired":true,"uniqueKey":"submission.form_details.products.items.[INDEX].name","typeLabel":"string"},"id":{"type":"string","description":"Unique identifier for the product.","uniqueKey":"submission.form_details.products.items.[INDEX].id","typeLabel":"string"},"premiums":{"title":"Premiums","type":"string","readOnly":true,"description":"Premiums associated with the product.","uniqueKey":"submission.form_details.products.items.[INDEX].premiums","typeLabel":"string"},"is_active":{"title":"Is active","type":"string","readOnly":true,"description":"Indicates whether the product is currently active.","uniqueKey":"submission.form_details.products.items.[INDEX].is_active","typeLabel":"string"},"updated_on":{"title":"Updated On","type":"string","format":"date-time","readOnly":true,"description":"Date and time when the product information was last updated.","uniqueKey":"submission.form_details.products.items.[INDEX].updated_on","typeLabel":"string\u003cdate-time>"},"created_on":{"title":"Created On","type":"string","format":"date-time","readOnly":true,"description":"Date and time when the product was created.","uniqueKey":"submission.form_details.products.items.[INDEX].created_on","typeLabel":"string\u003cdate-time>"},"description":{"oneOf":[{"title":"Product Description","maxLength":500,"type":"string","description":"Description of the product.","uniqueKey":"submission.form_details.products.items.[INDEX].description.oneOf.0","typeLabel":"string"},{"title":"Product Description","maxLength":500,"type":"null","description":"Description of the product.","uniqueKey":"submission.form_details.products.items.[INDEX].description.oneOf.1","typeLabel":"null"}],"uniqueKey":"submission.form_details.products.items.[INDEX].description","typeLabel":"string | null"},"image":{"oneOf":[{"title":"Product Image","type":"string","format":"uri","readOnly":true,"description":"URL to the image or photo of the product.","uniqueKey":"submission.form_details.products.items.[INDEX].image.oneOf.0","typeLabel":"string\u003curi>"},{"title":"Product Image","type":"null","format":"uri","readOnly":true,"description":"URL to the image or photo of the product.","uniqueKey":"submission.form_details.products.items.[INDEX].image.oneOf.1","typeLabel":"null"}],"uniqueKey":"submission.form_details.products.items.[INDEX].image","typeLabel":"string\u003curi> | null"},"creator":{"type":"string","description":"Identifier of the user who created the product.","uniqueKey":"submission.form_details.products.items.[INDEX].creator","typeLabel":"string"},"updater":{"type":"string","description":"Identifier of the user who last updated the product.","uniqueKey":"submission.form_details.products.items.[INDEX].updater","typeLabel":"string"}},"uniqueKey":"submission.form_details.products.items.[INDEX]","typeLabel":"object"},"uniqueKey":"submission.form_details.products","typeLabel":"object[]"},"field_config":{"type":"array","items":{"required":["key","label"],"type":"object","properties":{"label":{"title":"Label","maxLength":100,"minLength":1,"type":"string","isRequired":true,"uniqueKey":"submission.form_details.field_config.items.[INDEX].label","typeLabel":"string"},"key":{"title":"Key","maxLength":100,"minLength":1,"type":"string","isRequired":true,"uniqueKey":"submission.form_details.field_config.items.[INDEX].key","typeLabel":"string"},"id":{"type":"string","uniqueKey":"submission.form_details.field_config.items.[INDEX].id","typeLabel":"string"},"updated_on":{"title":"Updated On","type":"string","format":"date-time","readOnly":true,"uniqueKey":"submission.form_details.field_config.items.[INDEX].updated_on","typeLabel":"string\u003cdate-time>"},"created_on":{"title":"Updated On","type":"string","format":"date-time","readOnly":true,"uniqueKey":"submission.form_details.field_config.items.[INDEX].created_on","typeLabel":"string\u003cdate-time>"},"visibility":{"title":"Visibility","type":"boolean","uniqueKey":"submission.form_details.field_config.items.[INDEX].visibility","typeLabel":"boolean"},"required":{"title":"Required","type":"boolean","uniqueKey":"submission.form_details.field_config.items.[INDEX].required","typeLabel":"boolean"},"creator":{"type":"string","uniqueKey":"submission.form_details.field_config.items.[INDEX].creator","typeLabel":"string"},"updater":{"type":"string","uniqueKey":"submission.form_details.field_config.items.[INDEX].updater","typeLabel":"string"}},"uniqueKey":"submission.form_details.field_config.items.[INDEX]","typeLabel":"object"},"uniqueKey":"submission.form_details.field_config","typeLabel":"object[]"},"updated_on":{"title":"Updated On","type":"string","format":"date-time","readOnly":true,"uniqueKey":"submission.form_details.updated_on","typeLabel":"string\u003cdate-time>"},"created_on":{"title":"Updated On","type":"string","format":"date-time","readOnly":true,"uniqueKey":"submission.form_details.created_on","typeLabel":"string\u003cdate-time>"},"form_type":{"title":"Form Type","type":"string","enum":["TRANSACTION","FARMER","PAYMENT","PRODUCT"],"uniqueKey":"submission.form_details.form_type","typeLabel":"enum\u003cstring>"},"creator":{"type":"string","uniqueKey":"submission.form_details.creator","typeLabel":"string"},"updater":{"type":"string","uniqueKey":"submission.form_details.updater","typeLabel":"string"}},"uniqueKey":"submission.form_details","typeLabel":"object"},"updated_on":{"title":"Updated On","type":"string","format":"date-time","readOnly":true,"uniqueKey":"submission.updated_on","typeLabel":"string\u003cdate-time>"},"created_on":{"title":"Updated On","type":"string","format":"date-time","readOnly":true,"uniqueKey":"submission.created_on","typeLabel":"string\u003cdate-time>"},"creator":{"type":"string","uniqueKey":"submission.creator","typeLabel":"string"},"updater":{"type":"string","uniqueKey":"submission.updater","typeLabel":"string"},"product":{"type":"string","uniqueKey":"submission.product","typeLabel":"string"}},"description":"Submission details related to the farmer. This could include any extra fields metioned in form associated with the company.\n","uniqueKey":"submission","typeLabel":"object"},"phone":{"oneOf":[{"title":"Phone","type":"string","description":"Phone number of the farmer. This is typically used for contacting the farmer if necessary.\n","uniqueKey":"phone.oneOf.0","typeLabel":"string"},{"title":"Phone","type":"null","description":"Phone number of the farmer. This is typically used for contacting the farmer if necessary.\n","uniqueKey":"phone.oneOf.1","typeLabel":"null"}],"uniqueKey":"phone","typeLabel":"string | null"},"updated_on":{"title":"Updated On","type":"string","format":"date-time","readOnly":true,"description":"Date and time when the farmer information was last updated. This field is automatically generated and cannot be modified directly.\n","uniqueKey":"updated_on","typeLabel":"string\u003cdate-time>"},"created_on":{"title":"Created On","type":"string","format":"date-time","description":"Date and time when the farmer information was created. This field indicates when the farmer record was initially added to the system.\n","uniqueKey":"created_on","typeLabel":"string\u003cdate-time>"},"image":{"oneOf":[{"title":"Photo","type":"string","format":"uri","readOnly":true,"description":"URL to the photo of the farmer. This could be a link to a profile picture or any relevant image associated with the farmer.\n","uniqueKey":"image.oneOf.0","typeLabel":"string\u003curi>"},{"title":"Photo","type":"null","format":"uri","readOnly":true,"description":"URL to the photo of the farmer. This could be a link to a profile picture or any relevant image associated with the farmer.\n","uniqueKey":"image.oneOf.1","typeLabel":"null"}],"uniqueKey":"image","typeLabel":"string\u003curi> | null"},"description":{"oneOf":[{"title":"Description","maxLength":500,"type":"string","description":"Description or additional information about the farmer. This field allows for notes or comments to be added regarding the farmer.\n","uniqueKey":"description.oneOf.0","typeLabel":"string"},{"title":"Description","maxLength":500,"type":"null","description":"Description or additional information about the farmer. This field allows for notes or comments to be added regarding the farmer.\n","uniqueKey":"description.oneOf.1","typeLabel":"null"}],"uniqueKey":"description","typeLabel":"string | null"},"house_name":{"oneOf":[{"title":"House name","maxLength":100,"type":"string","description":"Name of the house or building where the farmer resides. This could be useful for address clarification.\n","uniqueKey":"house_name.oneOf.0","typeLabel":"string"},{"title":"House name","maxLength":100,"type":"null","description":"Name of the house or building where the farmer resides. This could be useful for address clarification.\n","uniqueKey":"house_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"house_name","typeLabel":"string | null"},"street":{"oneOf":[{"title":"Street","maxLength":500,"type":"string","description":"Name of the street where the farmer resides. This is part of the farmer's address details.\n","uniqueKey":"street.oneOf.0","typeLabel":"string"},{"title":"Street","maxLength":500,"type":"null","description":"Name of the street where the farmer resides. This is part of the farmer's address details.\n","uniqueKey":"street.oneOf.1","typeLabel":"null"}],"uniqueKey":"street","typeLabel":"string | null"},"city":{"oneOf":[{"title":"City","maxLength":500,"type":"string","description":"Name of the city where the farmer resides. This is part of the farmer's address details.\n","uniqueKey":"city.oneOf.0","typeLabel":"string"},{"title":"City","maxLength":500,"type":"null","description":"Name of the city where the farmer resides. This is part of the farmer's address details.\n","uniqueKey":"city.oneOf.1","typeLabel":"null"}],"uniqueKey":"city","typeLabel":"string | null"},"sub_province":{"oneOf":[{"title":"Sub province","maxLength":500,"type":"string","description":"Name of the sub-province where the farmer resides. This is part of the farmer's address details.\n","uniqueKey":"sub_province.oneOf.0","typeLabel":"string"},{"title":"Sub province","maxLength":500,"type":"null","description":"Name of the sub-province where the farmer resides. This is part of the farmer's address details.\n","uniqueKey":"sub_province.oneOf.1","typeLabel":"null"}],"uniqueKey":"sub_province","typeLabel":"string | null"},"province":{"oneOf":[{"title":"Province","maxLength":500,"type":"string","description":"Name of the province where the farmer resides. This is part of the farmer's address details.\n","uniqueKey":"province.oneOf.0","typeLabel":"string"},{"title":"Province","maxLength":500,"type":"null","description":"Name of the province where the farmer resides. This is part of the farmer's address details.\n","uniqueKey":"province.oneOf.1","typeLabel":"null"}],"uniqueKey":"province","typeLabel":"string | null"},"latitude":{"title":"Latitude","type":"number","description":"Latitude coordinate of the farmer's location. This is used for geolocation purposes.\n","uniqueKey":"latitude","typeLabel":"number"},"longitude":{"title":"Longitude","type":"number","description":"Longitude coordinate of the farmer's location. This is used for geolocation purposes.\n","uniqueKey":"longitude","typeLabel":"number"},"zipcode":{"oneOf":[{"title":"Zipcode","maxLength":50,"type":"string","description":"Postal code or ZIP code of the area where the farmer resides. This is part of the farmer's address details.\n","uniqueKey":"zipcode.oneOf.0","typeLabel":"string"},{"title":"Zipcode","maxLength":50,"type":"null","description":"Postal code or ZIP code of the area where the farmer resides. This is part of the farmer's address details.\n","uniqueKey":"zipcode.oneOf.1","typeLabel":"null"}],"uniqueKey":"zipcode","typeLabel":"string | null"},"country":{"oneOf":[{"title":"Country","maxLength":500,"type":"string","description":"Name of the country where the farmer resides. This is part of the farmer's address details.\n","uniqueKey":"country.oneOf.0","typeLabel":"string"},{"title":"Country","maxLength":500,"type":"null","description":"Name of the country where the farmer resides. This is part of the farmer's address details.\n","uniqueKey":"country.oneOf.1","typeLabel":"null"}],"uniqueKey":"country","typeLabel":"string | null"},"number":{"oneOf":[{"title":"Number","maxLength":10,"type":"string","description":"Additional number for reference. It will be a auto generated value field.\n","uniqueKey":"number.oneOf.0","typeLabel":"string"},{"title":"Number","maxLength":10,"type":"null","description":"Additional number for reference. It will be a auto generated value field.\n","uniqueKey":"number.oneOf.1","typeLabel":"null"}],"uniqueKey":"number","typeLabel":"string | null"},"email":{"oneOf":[{"title":"Email Address","maxLength":100,"type":"string","format":"email","description":"Email address of the farmer. This is used for electronic communication with the farmer.\n","uniqueKey":"email.oneOf.0","typeLabel":"string\u003cemail>"},{"title":"Email Address","maxLength":100,"type":"null","format":"email","description":"Email address of the farmer. This is used for electronic communication with the farmer.\n","uniqueKey":"email.oneOf.1","typeLabel":"null"}],"uniqueKey":"email","typeLabel":"string\u003cemail> | null"},"identification_no":{"oneOf":[{"title":"Identification","maxLength":100,"type":"string","description":"Identification number of the farmer. This could be a national identification number or any other form of identification.\n","uniqueKey":"identification_no.oneOf.0","typeLabel":"string"},{"title":"Identification","maxLength":100,"type":"null","description":"Identification number of the farmer. This could be a national identification number or any other form of identification.\n","uniqueKey":"identification_no.oneOf.1","typeLabel":"null"}],"uniqueKey":"identification_no","typeLabel":"string | null"},"reference_number":{"oneOf":[{"title":"Reference Number","maxLength":100,"type":"string","description":"Reference number associated with the farmer. This could be a reference to another system or database.\n","uniqueKey":"reference_number.oneOf.0","typeLabel":"string"},{"title":"Reference Number","maxLength":100,"type":"null","description":"Reference number associated with the farmer. This could be a reference to another system or database.\n","uniqueKey":"reference_number.oneOf.1","typeLabel":"null"}],"uniqueKey":"reference_number","typeLabel":"string | null"},"last_name":{"oneOf":[{"title":"Last Name","maxLength":100,"type":"string","description":"Last name of the farmer. This is part of the farmer's personal details.\n","uniqueKey":"last_name.oneOf.0","typeLabel":"string"},{"title":"Last Name","maxLength":100,"type":"null","description":"Last name of the farmer. This is part of the farmer's personal details.\n","uniqueKey":"last_name.oneOf.1","typeLabel":"null"}],"uniqueKey":"last_name","typeLabel":"string | null"},"date_of_birth":{"oneOf":[{"title":"Date of Birth","type":"string","format":"date","description":"Date of birth of the farmer. This is part of the farmer's personal details.\n","uniqueKey":"date_of_birth.oneOf.0","typeLabel":"string\u003cdate>"},{"title":"Date of Birth","type":"null","format":"date","description":"Date of birth of the farmer. This is part of the farmer's personal details.\n","uniqueKey":"date_of_birth.oneOf.1","typeLabel":"null"}],"uniqueKey":"date_of_birth","typeLabel":"string\u003cdate> | null"},"gender":{"oneOf":[{"title":"Gender","maxLength":50,"type":"string","description":"Gender of the farmer. This is part of the farmer's personal details.\n","uniqueKey":"gender.oneOf.0","typeLabel":"string"},{"title":"Gender","maxLength":50,"type":"null","description":"Gender of the farmer. This is part of the farmer's personal details.\n","uniqueKey":"gender.oneOf.1","typeLabel":"null"}],"uniqueKey":"gender","typeLabel":"string | null"},"consent_status":{"title":"Consent Status","type":"string","enum":["GRANTED","NOT_GRANTED","UNKNOWN"],"description":"Consent status of the farmer for data usage. This indicates whether the farmer has given consent for their data to be used.\n","uniqueKey":"consent_status","typeLabel":"enum\u003cstring>"},"creator":{"type":"string","description":"Identifier of the user who created the farmer entry. This indicates the user responsible for adding the farmer information to the system.\n","uniqueKey":"creator","typeLabel":"string"},"updater":{"type":"string","description":"Identifier of the user who last updated the farmer entry. This indicates the user responsible for the latest modifications to the farmer information.\n","uniqueKey":"updater","typeLabel":"string"},"buyer":{"type":"string","description":"Identifier of the buyer associated with the farmer. This indicates any buyer or customer linked to the farmer, if applicable.\n","uniqueKey":"buyer","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"first_name":"\u003cstring>","id":"\u003cstring>","entity_card":{"card":{"card_id":"\u003cstring>","id":"\u003cstring>","updated_on":"2023-11-07T05:31:56Z","created_on":"2023-11-07T05:31:56Z","display_id":"\u003cstring>","creator":"\u003cstring>","updater":"\u003cstring>"},"entity":"\u003cstring>","id":"\u003cstring>","updated_on":"2023-11-07T05:31:56Z","created_on":"2023-11-07T05:31:56Z","is_active":true,"creator":"\u003cstring>","updater":"\u003cstring>"},"submission":{"values":[{"field":"\u003cstring>","value":"\u003cstring>","id":"\u003cstring>","field_details":{"label":"\u003cstring>","type":"TEXT","id":"\u003cstring>","updated_on":"2023-11-07T05:31:56Z","created_on":"2023-11-07T05:31:56Z","label_en_us":"\u003cstring>","label_en_uk":"\u003cstring>","label_fr":"\u003cstring>","label_nl":"\u003cstring>","label_ind":"\u003cstring>","key":"\u003cstring>","required":true,"default_value":"\u003cstring>","options":"\u003cstring>","creator":"\u003cstring>","updater":"\u003cstring>"},"updated_on":"2023-11-07T05:31:56Z","created_on":"2023-11-07T05:31:56Z","creator":"\u003cstring>","updater":"\u003cstring>"}],"form":"\u003cstring>","id":"\u003cstring>","form_details":{"fields":[{"label":"\u003cstring>","type":"TEXT","id":"\u003cstring>","updated_on":"2023-11-07T05:31:56Z","created_on":"2023-11-07T05:31:56Z","label_en_us":"\u003cstring>","label_en_uk":"\u003cstring>","label_fr":"\u003cstring>","label_nl":"\u003cstring>","label_ind":"\u003cstring>","key":"\u003cstring>","required":true,"default_value":"\u003cstring>","options":"\u003cstring>","creator":"\u003cstring>","updater":"\u003cstring>"}],"owner":"\u003cstring>","id":"\u003cstring>","products":[{"name":"\u003cstring>","id":"\u003cstring>","premiums":"\u003cstring>","is_active":"\u003cstring>","updated_on":"2023-11-07T05:31:56Z","created_on":"2023-11-07T05:31:56Z","description":"\u003cstring>","image":"\u003cstring>","creator":"\u003cstring>","updater":"\u003cstring>"}],"field_config":[{"label":"\u003cstring>","key":"\u003cstring>","id":"\u003cstring>","updated_on":"2023-11-07T05:31:56Z","created_on":"2023-11-07T05:31:56Z","visibility":true,"required":true,"creator":"\u003cstring>","updater":"\u003cstring>"}],"updated_on":"2023-11-07T05:31:56Z","created_on":"2023-11-07T05:31:56Z","form_type":"TRANSACTION","creator":"\u003cstring>","updater":"\u003cstring>"},"updated_on":"2023-11-07T05:31:56Z","created_on":"2023-11-07T05:31:56Z","creator":"\u003cstring>","updater":"\u003cstring>","product":"\u003cstring>"},"phone":"\u003cstring>","updated_on":"2023-11-07T05:31:56Z","created_on":"2023-11-07T05:31:56Z","image":"\u003cstring>","description":"\u003cstring>","house_name":"\u003cstring>","street":"\u003cstring>","city":"\u003cstring>","sub_province":"\u003cstring>","province":"\u003cstring>","latitude":123,"longitude":123,"zipcode":"\u003cstring>","country":"\u003cstring>","number":"\u003cstring>","email":"jsmith@example.com","identification_no":"\u003cstring>","reference_number":"\u003cstring>","last_name":"\u003cstring>","date_of_birth":"2023-12-25","gender":"\u003cstring>","consent_status":"GRANTED","creator":"\u003cstring>","updater":"\u003cstring>","buyer":"\u003cstring>"}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"e9098456-4458-43f1-9f83-cd6b56423adf":{"Bearer":{"type":"apiKey","name":"Authorization","in":"header","scopes":[]}}},"servers":{"c5ec8572-8bee-4ca9-b83b-c2d3198096bd":{"url":"http://localhost:3000/connect/v1"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","name":"Authorization","in":"header","scopes":[]},"schema":{"title":"Authorization","type":"string","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"Bearer","name":"Authorization"}],"title":"Bearer"}]},"originalFileLocation":"openapi.yml"},"subdomain":"fairfood","siteName":"Trace Knowledge Center","title":"Create Farmer Endpoint - Trace Knowledge Center","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-01-06T23:47:45.349Z","originalFileLocation":"api-references/supply-chains/post-supply-chainsfarmers.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=\"This API endpoint allows you to seamlessly integrate and create a new submission for farmers within the supply chain system. Through this endpoint, you can capture essential information about farmers, including entity card details, form submissions, contact information, and additional demographic data.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Trace Knowledge Center\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/fairfood/G1F8ya8LTfEgmklL/_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/fairfood/G1F8ya8LTfEgmklL/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/fairfood/G1F8ya8LTfEgmklL/_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/fairfood/G1F8ya8LTfEgmklL/_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/fairfood/G1F8ya8LTfEgmklL/_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/fairfood/G1F8ya8LTfEgmklL/_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/fairfood/G1F8ya8LTfEgmklL/_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/fairfood/G1F8ya8LTfEgmklL/_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/fairfood/G1F8ya8LTfEgmklL/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Create Farmer Endpoint - Trace Knowledge Center\">\u003cmeta data-mint-head property=\"og:description\" content=\"This API endpoint allows you to seamlessly integrate and create a new submission for farmers within the supply chain system. Through this endpoint, you can capture essential information about farmers, including entity card details, form submissions, contact information, and additional demographic data.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Trace Knowledge Center\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.fairfood.org/api-references/supply-chains/post-supply-chainsfarmers\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://fairfood.mintlify.app/_mintlify/api/og/v2?division=Basic+APIs\u0026amp;title=Create+Farmer+Endpoint\u0026amp;description=This+API+endpoint+allows+you+to+seamlessly+integrate+and+create+a+new+submission+for+farmers+within+the+supply+chain+system.+Through+this+endpoint%2C+you+can+capt\u0026amp;theme=9c73c1d1f41ea162950a8f00\u0026amp;signature=231b03958b441e8d93cbf132fdd0b531bf8215765883325765777c83fbf5d274\">\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=\"Create Farmer Endpoint - Trace Knowledge Center\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"This API endpoint allows you to seamlessly integrate and create a new submission for farmers within the supply chain system. Through this endpoint, you can capture essential information about farmers, including entity card details, form submissions, contact information, and additional demographic data.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://fairfood.mintlify.app/_mintlify/api/og/v2?division=Basic+APIs\u0026amp;title=Create+Farmer+Endpoint\u0026amp;description=This+API+endpoint+allows+you+to+seamlessly+integrate+and+create+a+new+submission+for+farmers+within+the+supply+chain+system.+Through+this+endpoint%2C+you+can+capt\u0026amp;theme=9c73c1d1f41ea162950a8f00\u0026amp;signature=231b03958b441e8d93cbf132fdd0b531bf8215765883325765777c83fbf5d274\">\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/fairfood/G1F8ya8LTfEgmklL/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Trace Knowledge Center\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#4DCAF4\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.fairfood.org/api-references/supply-chains/post-supply-chainsfarmers\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-references/supply-chains/post-supply-chainsfarmers.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.fairfood.org/#organization\",\"name\":\"Trace Knowledge Center\",\"url\":\"https://docs.fairfood.org\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/fairfood/wZv_VjTAcDs8jOQ0/logo/fairfood_logo.png?fit=max\u0026auto=format\u0026n=wZv_VjTAcDs8jOQ0\u0026q=85\u0026s=d96a6f0638fe2bddf54518ba5307fc57\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.fairfood.org#website\",\"name\":\"Trace Knowledge Center\",\"url\":\"https://docs.fairfood.org\",\"publisher\":{\"@id\":\"https://docs.fairfood.org/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.fairfood.org/api-references/supply-chains/post-supply-chainsfarmers#webpage\",\"url\":\"https://docs.fairfood.org/api-references/supply-chains/post-supply-chainsfarmers\",\"name\":\"Create Farmer Endpoint\",\"description\":\"This API endpoint allows you to seamlessly integrate and create a new submission for farmers within the supply chain system. Through this endpoint, you can capture essential information about farmers, including entity card details, form submissions, contact information, and additional demographic data.\",\"dateModified\":\"2026-01-06T23:47:45.349Z\",\"isPartOf\":{\"@id\":\"https://docs.fairfood.org#website\"},\"breadcrumb\":{\"@id\":\"https://docs.fairfood.org/api-references/supply-chains/post-supply-chainsfarmers#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.fairfood.org/api-references/supply-chains/post-supply-chainsfarmers#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Trace Connect APIs\",\"item\":\"https://docs.fairfood.org/api-references/introduction\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Basic APIs\",\"item\":\"https://docs.fairfood.org/api-references/supply-chains/get-supply-chainscompanies-\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Create Farmer Endpoint\",\"item\":\"https://docs.fairfood.org/api-references/supply-chains/post-supply-chainsfarmers\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.fairfood.org/api-references/supply-chains/post-supply-chainsfarmers#apireference\",\"headline\":\"Create Farmer Endpoint\",\"name\":\"Create Farmer Endpoint\",\"description\":\"This API endpoint allows you to seamlessly integrate and create a new submission for farmers within the supply chain system. Through this endpoint, you can capture essential information about farmers, including entity card details, form submissions, contact information, and additional demographic data.\",\"url\":\"https://docs.fairfood.org/api-references/supply-chains/post-supply-chainsfarmers\",\"mainEntityOfPage\":{\"@id\":\"https://docs.fairfood.org/api-references/supply-chains/post-supply-chainsfarmers#webpage\"},\"dateModified\":\"2026-01-06T23:47:45.349Z\",\"publisher\":{\"@id\":\"https://docs.fairfood.org/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.fairfood.org#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Trace Knowledge Center\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Trace Knowledge Center","nav":{"global":null,"tabs":[{"tab":"Documentation","pages":[{"title":"Documentation","href":"/introduction"}]},{"tab":"API Documentation","groups":[{"group":"Trace Connect APIs","pages":[{"title":"Trace Connect Server","sidebarTitle":"Introduction","href":"/api-references/introduction"},{"group":"Authentication using JWT","pages":[{"title":"Login Endpoint","openapi":"post /auth/login/","sidebarTitle":"Obtain JWT Token for Secure Access","href":"/api-references/auth/api-to-login-user"},{"title":"Refresh Token Endpoint","openapi":"post /auth/token/refresh/","sidebarTitle":"Refresh JWT Tokens for Continuous Access","href":"/api-references/auth/api-to-refresh-token"},{"title":"Logout Endpoint","openapi":"post /auth/logout/","sidebarTitle":"Terminate User Session","href":"/api-references/auth/post-authlogout"}]},{"group":"OAuth 2.0","pages":[{"title":"Trace Connect OAuth 2.0 provider","sidebarTitle":"Introduction","href":"/api-references/oauth/oauth-introduction"}]},{"group":"Basic APIs","pages":[{"title":"Company Details Endpoint","sidebarTitle":"Retrieve Company Details","openapi":"get /supply-chains/companies/{hashid}/","href":"/api-references/supply-chains/get-supply-chainscompanies-"},{"title":"List Farmers Endpoint","sidebarTitle":"Retrieve Farmers","description":"This API endpoint allows you to retrieve a list of farmers within the supply chain system. By sending a GET request to the specified endpoint, you can obtain information about multiple farmer submissions. The API supports secure authentication through an API key included in the request header.","openapi":"get /supply-chains/farmers/","href":"/api-references/supply-chains/get-supply-chainsfarmers"},{"title":"Create Farmer Endpoint","sidebarTitle":"Create a Farmer","openapi":"post /supply-chains/farmers/","href":"/api-references/supply-chains/post-supply-chainsfarmers"},{"title":"List Products Endpoint","sidebarTitle":"Retrieve Products","description":"Products endpoint allows you to retrieve a list of products connected with the active company. A GET request to this endpoint, along with the necessary authorization, returns a paginated list of products with details such as product ID, creation/update timestamps, name, and other relevant information.","openapi":"get /catalogs/products/","href":"/api-references/catalogs/get-catalogsproducts"},{"title":"Create Product Transaction Endpoint","sidebarTitle":"Make a Transaction","openapi":"post /transactions/product-transactions/","href":"/api-references/transactions/post-transactionsproduct-transactions"},{"title":"List Product Transactions Endpoint","sidebarTitle":"Retrieve Transactions","openapi":"get /transactions/product-transactions/","href":"/api-references/transactions/get-transactionsproduct-transactions"}]},{"group":"Advanced APIs","pages":[{"group":"Accounts","pages":[{"title":"User Details Endpoint","sidebarTitle":"Retrieve User Information","openapi":"get /accounts/users/{hashid}/","href":"/api-references/accounts/get-accountsusers-"},{"title":"Update User Endpoint","openapi":"patch /accounts/users/{hashid}/","sidebarTitle":"Update User Information","href":"/api-references/accounts/patch-accountsusers-"}]},{"group":"Catalogs","pages":[{"title":"Create Premium Endpoint","sidebarTitle":"Create a New Premium","openapi":"post /catalogs/premiums/","href":"/api-references/catalogs/post-catalogspremiums"},{"title":"List Premiums Endpoint","sidebarTitle":"Retrieve Premiums","openapi":"get /catalogs/premiums/","href":"/api-references/catalogs/get-catalogspremiums"},{"title":"List Connect Cards Endpoint","openapi":"get /catalogs/connect-cards/","sidebarTitle":"Retrieve Connect Cards","href":"/api-references/catalogs/get-catalogsconnect-cards"},{"title":"List Currencies Endpoint","sidebarTitle":"Retrieve Currencies","openapi":"get /catalogs/currencies/","href":"/api-references/catalogs/get-catalogscurrencies"}]},{"group":"Forms","pages":[{"title":"Create Form Endpoint","sidebarTitle":"Add Additional Fields Using Forms","openapi":"post /forms/forms/","href":"/api-references/forms/post-formsforms"}]},{"group":"Supply Chain","pages":[{"title":"Create Company Endpoint","sidebarTitle":"Create a New Company","openapi":"post /supply-chains/companies/","href":"/api-references/supply-chains/post-supply-chainscompanies"},{"title":"Update Company Details Endpoint","sidebarTitle":"Update Company Details","openapi":"patch /supply-chains/companies/{hashid}/","href":"/api-references/supply-chains/patch-supply-chainscompanies-"},{"title":"Add Company Member Endpoint","sidebarTitle":"Add Company Member","openapi":"post /supply-chains/company-members/","href":"/api-references/supply-chains/post-supply-chainscompany-members"},{"title":"Add Company Product Endpoint","sidebarTitle":"Add Company Product","openapi":"post /supply-chains/company-products/","href":"/api-references/supply-chains/post-supply-chainscompany-products"},{"title":"Farmer Details Endpoint","sidebarTitle":"Retrieve a Farmer","openapi":"get /supply-chains/farmers/{hashid}/","href":"/api-references/supply-chains/get-supply-chainsfarmers-"},{"title":"Update Farmer Endpoint","sidebarTitle":"Update a Farmer","openapi":"patch /supply-chains/farmers/{hashid}/","href":"/api-references/supply-chains/patch-supply-chainsfarmers-"},{"title":"Create Entity Card Endpoint","sidebarTitle":"Assign New Connect Card","openapi":"post /supply-chains/entity-cards/","href":"/api-references/supply-chains/post-supply-chainsentity-cards"},{"title":"List Entity Cards Endpoint","sidebarTitle":"Get Assigned Connect Cards","openapi":"get /supply-chains/entity-cards/","href":"/api-references/supply-chains/get-supply-chainsentity-cards"}]},{"group":"Product Transactions","pages":[{"title":"Product Transaction Detail Endpoint","sidebarTitle":"Retrieve a Product Transaction","openapi":"get /transactions/product-transactions/{hashid}/","href":"/api-references/transactions/get-transactionsproduct-transactions-"},{"title":"Update Product Invoice Endpoint","sidebarTitle":"Attach Product Invoice","openapi":"patch /transactions/product-transactions/{hashid}/invoice/","href":"/api-references/transactions/patch-transactionsproduct-transactions-invoice"}]},{"group":"Payment Transactions","pages":[{"title":"Create Payment Transaction Endpoint","sidebarTitle":"Make a Payment","openapi":"post /transactions/payment-transactions/","href":"/api-references/transactions/post-transactionspayment-transactions"},{"title":"Payment Transaction Detail Endpoint","sidebarTitle":"Retrieve a Payment Transaction","openapi":"get /transactions/payment-transactions/{hashid}/","href":"/api-references/transactions/get-transactionspayment-transactions-"},{"title":"List Payment Transactions Endpoint","sidebarTitle":"Retrieve Payment Transactions","openapi":"get /transactions/payment-transactions/","href":"/api-references/transactions/get-transactionspayment-transactions"},{"title":"Update Payment Invoice Endpoint","sidebarTitle":"Attach Payment Invoice","openapi":"patch /transactions/payment-transactions/{hashid}/invoice/","href":"/api-references/transactions/patch-transactionspayment-transactions-invoice"}]}]}]}]}]},"basePath":"","title":"Create Farmer Endpoint - Trace Knowledge Center","buildId":"dpl_345ReqzYaAjzS9QpeJemsKdb7KDj","deploymentId":"dpl_345ReqzYaAjzS9QpeJemsKdb7KDj","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-C8RPHPxo.js","utils-0BK-9q6z.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DfjzsUJT.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-B4v9psJ4.js","snippetPresets-CpTQv-Ez.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-BNP-Fvr0.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-BSgu6h1D.js","shallow-Biv1i9Gs.js","getApiPlaygroundDisplay-BoGOXhtF.js","CodeSnippet-DvQoT18_.js","CodeSnippets-Dnpa15xT.js","Page-Buji1S4J.js","getPastedJson-xAIyhUFE.js","icon-S6FBih11.js","MethodPill-SaYeUZyk.js","DuplicateIcon-Cs-p3v2Q.js","createIcon-DjCFEoHq.js","DynamicMarkdown-BcnBltEQ.js","SectionHeading-BUBl0eEF.js","axios-vUo_bRtp.js","Markdown-h4cOoD8d.js","clsx-B2v50t8t.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-DJnKvr0g.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-BHrrjR1K.js"]}