Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
37 kB
8
Indexable
{
    "success": true,
    "data": {
        "id": "a76dd0ad-0a4e-4aea-9824-e36e1ea0effb",
        "parent_id": "0",
        "image": "http://agree-minio-agree-logtan-dev.vsan-apps.playcourt.id/agree/empty-photo.jpg",
        "name": "[AAA] SMSM Indonesia",
        "about": "PT. Telkom Korea Tbk.",
        "is_area": true,
        "show_phone_number": false,
        "nickname": "aaasmsm",
        "status": "active",
        "created_at": "2022-09-20T02:47:47.656Z",
        "created_by": "1724fc18-8df4-4cd5-a0fc-c6183237d550",
        "data": {
            "area": [
                {
                    "provinceId": 31,
                    "provinceName": "DKI Jakarta"
                },
                {
                    "provinceId": 32,
                    "provinceName": "Jawa Barat"
                }
            ],
            "avatar": "http://agree-minio-agree-logtan-dev.vsan-apps.playcourt.id/agree/empty-photo.jpg",
            "commodity": [
                {
                    "commodityId": "a9cc9937-8699-4186-b7ac-011785b46a43",
                    "productType": [
                        "itik ungu"
                    ],
                    "prePlantedType": [
                        "Penyiapan Kandang",
                        "Penyiapan Hewan Ternak",
                        "Penyiapan Stok Pakan",
                        "Penyiapan Stok Obat Vitamin"
                    ],
                    "fertilizedType": [
                        "Pemberian Pakan",
                        "Pembersihan Kandang",
                        "Program Kesehatan",
                        "Pertumbuhan Ternak",
                        "Pencatatan Jumlah Stok Pakan",
                        "Pencatatan Jumlah Stok Obat Vitamin",
                        "Debeaking",
                        "Pengukuran Kondisi Kandang"
                    ],
                    "distilledType": [],
                    "isActive": true,
                    "traceability": true,
                    "activities": {
                        "prePlanted": true,
                        "planted": true,
                        "fertilized": true,
                        "harvested": true,
                        "distilled": true,
                        "delivery": true,
                        "incident": true,
                        "planned": true
                    },
                    "varieties": [
                        "00ea98c2-c8cb-403d-8e31-360bf15d5235"
                    ],
                    "restricted": false,
                    "image": "http://agree-minio-agree-logtan-dev.vsan-apps.playcourt.id/agree/commodity/20328091-a662-4f09-a51b-10c739d7a339.png",
                    "commodityName": "Padi Lagilagi",
                    "commodityVarieties": [
                        {
                            "id": "00ea98c2-c8cb-403d-8e31-360bf15d5235",
                            "commodity_id": "a9cc9937-8699-4186-b7ac-011785b46a43",
                            "name": "Paiii",
                            "created_at": "2021-09-16T02:21:16.005Z",
                            "created_by": "b9c161f8-9772-4508-9012-205ead1afba0"
                        }
                    ],
                    "commodityTarget": 0,
                    "commodityRealizationTarget": 0,
                    "commodityFarmer": 0,
                    "commodityFarmerActive": 0,
                    "varietyPrice": []
                }
            ],
            "commodity_ids": [
                "a9cc9937-8699-4186-b7ac-011785b46a43"
            ],
            "company_logo": "http://agree-minio-agree-logtan-dev.vsan-apps.playcourt.id/agree/empty-photo.jpg",
            "company_image": "http://agree-minio-agree-logtan-dev.vsan-apps.playcourt.id/agree/empty-photo.jpg",
            "custom_farmer_code": true,
            "custom_farmer_code_schema": [
                {
                    "key": "date",
                    "value": "1708",
                    "digit": "4",
                    "form": "ddmm"
                },
                {
                    "key": "birthDate",
                    "value": "170845",
                    "digit": "6",
                    "form": "ddmmyy"
                },
                {
                    "key": "freeText",
                    "value": "ID",
                    "digit": "2",
                    "form": "stringUpperCase"
                },
                {
                    "key": "freeText",
                    "value": "kr",
                    "digit": "2",
                    "form": "stringLowerCase"
                },
                {
                    "key": "freeText",
                    "value": "Us",
                    "digit": "2",
                    "form": "string"
                },
                {
                    "key": "provinceCode",
                    "value": "32",
                    "digit": "2",
                    "form": "number"
                },
                {
                    "key": "districtCode",
                    "value": "3278",
                    "digit": "4",
                    "form": "number"
                },
                {
                    "key": "subDistrictCode",
                    "value": "10",
                    "digit": "2",
                    "form": "number"
                },
                {
                    "key": "villageCode",
                    "value": "10",
                    "digit": "2",
                    "form": "number"
                },
                {
                    "key": "orderNumber",
                    "value": "0001",
                    "digit": "4",
                    "form": "number"
                }
            ],
            "email": "candrasakar@gmail.com",
            "field_assistant_question_schema": {
                "farm": [
                    {
                        "componentType": "textArea",
                        "fieldType": "string",
                        "label": "Suka mancing?",
                        "required": true,
                        "value": "",
                        "prefix": "",
                        "suffix": "",
                        "min": 0,
                        "max": 0,
                        "options": [
                            {
                                "label": "a",
                                "value": 0
                            },
                            {
                                "label": "b",
                                "value": 1
                            }
                        ]
                    },
                    {
                        "componentType": "textArea",
                        "fieldType": "string",
                        "label": "Siapa dewa lautmu?",
                        "required": true,
                        "value": "",
                        "prefix": "",
                        "suffix": "",
                        "min": 0,
                        "max": 0,
                        "options": [
                            {
                                "label": "Arkantos",
                                "value": 0
                            },
                            {
                                "label": "Zeus",
                                "value": 1
                            }
                        ]
                    }
                ],
                "agriculture": [],
                "fishery": [],
                "fisherman": [],
                "poultry": []
            },
            "incident_category": [
                "corona",
                "hama",
                "bencana alam"
            ],
            "is_user_partner": true,
            "land_survey_question": {
                "agriculture": {
                    "distanceToRoad": {
                        "min": 0,
                        "max": 0
                    },
                    "description": {
                        "min": 0,
                        "max": 1
                    },
                    "size": {
                        "min": 0,
                        "max": 1
                    },
                    "vegetationCover": {
                        "min": 0,
                        "max": 1,
                        "options": []
                    },
                    "address": {
                        "min": 0,
                        "max": 0
                    },
                    "name": {
                        "min": 0,
                        "max": 0
                    },
                    "isSuitable": {
                        "min": 0,
                        "max": 0
                    },
                    "ownershipStatus": {
                        "min": 1,
                        "max": 10,
                        "options": [
                            "Lahan Kelompok",
                            "Milik Sendiri",
                            "Sewa"
                        ]
                    },
                    "farmerId": {
                        "min": 0,
                        "max": 0
                    },
                    "rainfall": {
                        "min": 10,
                        "max": 100
                    },
                    "locationHeight": {
                        "min": 1,
                        "max": 1
                    },
                    "commodityId": {
                        "min": 1,
                        "max": 1
                    },
                    "pH": {
                        "min": 1,
                        "max": 1
                    },
                    "landLegality": {
                        "min": 0,
                        "max": 0
                    },
                    "location": {
                        "min": 1,
                        "max": 1
                    },
                    "productionPotential": {
                        "min": 1,
                        "max": 1
                    },
                    "structure": {
                        "min": 1,
                        "max": 10
                    },
                    "populationPotential": {
                        "min": 1,
                        "max": 10
                    },
                    "texture": {
                        "min": 1,
                        "max": 10
                    },
                    "landSlope": {
                        "min": 0,
                        "max": 0,
                        "options": [
                            "Datar",
                            "Landai",
                            "Miring"
                        ]
                    },
                    "financing": {
                        "min": 1000,
                        "max": 10000,
                        "options": [
                            "Modal Sendiri",
                            "KUR",
                            "Bagi Hasil"
                        ]
                    },
                    "typeOfSoil": {
                        "min": 0,
                        "max": 0,
                        "options": [
                            "Air Tanah/Sumur",
                            "PDAM",
                            "Air Permukaan (sungai, danau, rawa)"
                        ]
                    },
                    "waterSources": {
                        "min": 0,
                        "max": 0,
                        "options": [
                            "Andosol",
                            "Kapur",
                            "Latosol",
                            "Organosol",
                            "Podsolik",
                            "Regosol",
                            "Tanah Aluvial"
                        ]
                    },
                    "additionalQuestion": [
                        {
                            "componentType": "textArea",
                            "fieldType": "string",
                            "label": "Apa hobi anda mancing?",
                            "required": true,
                            "value": "",
                            "prefix": "",
                            "suffix": "",
                            "min": 0,
                            "max": 0,
                            "options": [
                                {
                                    "label": "Tidak karena saya suka bertani",
                                    "value": 0
                                },
                                {
                                    "label": "Iyaaww ku suka ikan 🐟",
                                    "value": 1
                                }
                            ]
                        }
                    ]
                },
                "fishery": {
                    "distanceToRoad": {
                        "min": 0,
                        "max": 0
                    },
                    "description": {
                        "min": 0,
                        "max": 1
                    },
                    "size": {
                        "min": 0,
                        "max": 1
                    },
                    "vegetationCover": {
                        "min": 0,
                        "max": 1,
                        "options": []
                    },
                    "address": {
                        "min": 0,
                        "max": 0
                    },
                    "name": {
                        "min": 0,
                        "max": 0
                    },
                    "isSuitable": {
                        "min": 0,
                        "max": 0
                    },
                    "ownershipStatus": {
                        "min": 1,
                        "max": 10,
                        "options": [
                            "Lahan Kelompok",
                            "Milik Sendiri",
                            "Sewa"
                        ]
                    },
                    "farmerIdPond": {
                        "min": 0,
                        "max": 0
                    },
                    "varietyId": {
                        "min": 0,
                        "max": 0
                    },
                    "locationPond": {
                        "min": 0,
                        "max": 0
                    },
                    "infrastructureAccessPond": {
                        "min": 0,
                        "max": 0
                    },
                    "rainfallPond": {
                        "min": 0,
                        "max": 0
                    },
                    "sizePond": {
                        "min": 10,
                        "max": 100
                    },
                    "landLegalityPond": {
                        "min": 1,
                        "max": 1
                    },
                    "commodityIdPond": {
                        "min": 1,
                        "max": 1
                    },
                    "imagePond": {
                        "min": 1,
                        "max": 1
                    },
                    "landSlope": {
                        "min": 0,
                        "max": 0,
                        "options": [
                            "Datar",
                            "Landai",
                            "Miring"
                        ]
                    },
                    "ownershipStatusFishery": {
                        "min": 1000,
                        "max": 10000,
                        "options": [
                            "Lahan Kelompok",
                            "Milik Sendiri",
                            "Sewa"
                        ]
                    },
                    "financingFishery": {
                        "min": 1000,
                        "max": 10000,
                        "options": [
                            "Modal Sendiri",
                            "KUR",
                            "Bagi Hasil",
                            "PKBL",
                            "Modal Kerja"
                        ]
                    },
                    "classification": {
                        "min": 0,
                        "max": 0,
                        "options": [
                            "Pembenihan",
                            "Pembesaran"
                        ]
                    },
                    "cultivationSystem": {
                        "min": 0,
                        "max": 0,
                        "options": [
                            "Intensif",
                            "Semi Intensif",
                            "Tradisional"
                        ]
                    },
                    "cultivationMedia": {
                        "min": 0,
                        "max": 0,
                        "options": [
                            "Tanah",
                            "Terpal",
                            "Beton",
                            "Keramba"
                        ]
                    },
                    "cultivationPattern": {
                        "min": 0,
                        "max": 0,
                        "options": [
                            "Polikultur",
                            "Monokultur"
                        ]
                    },
                    "cultivationTechnique": {
                        "min": 0,
                        "max": 0,
                        "options": [
                            "Bioflok",
                            "Konvensional"
                        ]
                    },
                    "genderType": {
                        "min": 0,
                        "max": 0,
                        "options": [
                            "Monosex",
                            "Mixed-sex"
                        ]
                    },
                    "additionalQuestion": [
                        {
                            "componentType": "textArea",
                            "fieldType": "string",
                            "label": "Apa hobi anda mancing?",
                            "required": true,
                            "value": "",
                            "prefix": "",
                            "suffix": "",
                            "min": 0,
                            "max": 0,
                            "options": [
                                {
                                    "label": "Tidak karena saya suka bertani",
                                    "value": 0
                                },
                                {
                                    "label": "Iyaaww ku suka ikan 🐟",
                                    "value": 1
                                }
                            ]
                        }
                    ]
                },
                "fisherman": {
                    "distanceToRoad": {
                        "min": 0,
                        "max": 0
                    },
                    "description": {
                        "min": 0,
                        "max": 1
                    },
                    "size": {
                        "min": 0,
                        "max": 1
                    },
                    "vegetationCover": {
                        "min": 0,
                        "max": 1,
                        "options": []
                    },
                    "address": {
                        "min": 0,
                        "max": 0
                    },
                    "name": {
                        "min": 0,
                        "max": 0
                    },
                    "isSuitable": {
                        "min": 0,
                        "max": 0
                    },
                    "ownershipStatus": {
                        "min": 1000,
                        "max": 10000,
                        "options": [
                            "Milik Sendiri",
                            "Sewa",
                            "Kerja Sama / Bagi Hasil",
                            "Pekerja"
                        ]
                    },
                    "farmerId": {
                        "min": 0,
                        "max": 0
                    },
                    "boatName": {
                        "min": 10,
                        "max": 100
                    },
                    "enginePower": {
                        "min": 1,
                        "max": 1
                    },
                    "shipload": {
                        "min": 1,
                        "max": 1
                    },
                    "commodityId": {
                        "min": 1,
                        "max": 1
                    },
                    "boatImage": {
                        "min": 0,
                        "max": 0
                    },
                    "catchRecord": {
                        "min": 1,
                        "max": 1
                    },
                    "fishingDuration": {
                        "min": 1,
                        "max": 1
                    },
                    "document": {
                        "min": 1,
                        "max": 10
                    },
                    "landSlope": {
                        "min": 0,
                        "max": 0,
                        "options": [
                            "Datar",
                            "Landai",
                            "Miring"
                        ]
                    },
                    "boatType": {
                        "min": 0,
                        "max": 0,
                        "options": [
                            "Kapal Motor",
                            "Kapal Motor Tempel",
                            "Kapal Tanpa Motor",
                            "Tanpa Kapal"
                        ]
                    },
                    "businessType": {
                        "min": 0,
                        "max": 0,
                        "options": [
                            "Penangkapan Laut",
                            "Penangkapan Umum Daratan",
                            "Pengangkutan Ikan"
                        ]
                    },
                    "catchingTool": {
                        "min": 0,
                        "max": 0,
                        "options": [
                            "Jaring Insang",
                            "Pancing",
                            "Alat yang Dijatuhkan",
                            "Perangkap",
                            "Penggaruk",
                            "Jaring Lingkar",
                            "Jaring Angkat",
                            "Alat Penjepit dan Melukai"
                        ]
                    },
                    "catchArea": {
                        "min": 0,
                        "max": 0,
                        "options": [
                            "WPP-NRI 571",
                            "WPP-NRI 572",
                            "WPP-NRI 573",
                            "WPP-NRI 711",
                            "WPP-NRI 712",
                            "WPP-NRI 713",
                            "WPP-NRI 714",
                            "WPP-NRI 715",
                            "WPP-NRI 716",
                            "WPP-NRI 717",
                            "WPP-NRI 718"
                        ]
                    },
                    "additionalQuestion": [
                        {
                            "componentType": "textArea",
                            "fieldType": "string",
                            "label": "Apa hobi anda mancing?",
                            "required": true,
                            "value": "",
                            "prefix": "",
                            "suffix": "",
                            "min": 0,
                            "max": 0,
                            "options": [
                                {
                                    "label": "Tidak karena saya suka bertani",
                                    "value": 0
                                },
                                {
                                    "label": "Iyaaww ku suka ikan 🐟",
                                    "value": 1
                                }
                            ]
                        }
                    ]
                },
                "poultry": {
                    "distanceToRoad": {
                        "min": 0,
                        "max": 0
                    },
                    "description": {
                        "min": 1,
                        "max": 1
                    },
                    "size": {
                        "min": 1,
                        "max": 10
                    },
                    "vegetationCover": {
                        "min": 0,
                        "max": 1,
                        "options": []
                    },
                    "address": {
                        "min": 0,
                        "max": 0
                    },
                    "name": {
                        "min": 0,
                        "max": 0
                    },
                    "isSuitable": {
                        "min": 0,
                        "max": 0
                    },
                    "ownershipStatus": {
                        "min": 1,
                        "max": 10,
                        "options": [
                            "Lahan Kelompok",
                            "Milik Sendiri"
                        ]
                    },
                    "farmerId": {
                        "min": 0,
                        "max": 0
                    },
                    "commodityId": {
                        "min": 10,
                        "max": 100
                    },
                    "document": {
                        "min": 1,
                        "max": 1
                    },
                    "averageTemperature": {
                        "min": 1,
                        "max": 1
                    },
                    "windVelocity": {
                        "min": 1,
                        "max": 1
                    },
                    "sunshine": {
                        "min": 1,
                        "max": 1
                    },
                    "distanceToSettlement": {
                        "min": 1,
                        "max": 10
                    },
                    "numberOfCageFloor": {
                        "min": 1,
                        "max": 10
                    },
                    "humidity": {
                        "min": 1,
                        "max": 10
                    },
                    "rainfall": {
                        "min": 1,
                        "max": 10
                    },
                    "landLegality": {
                        "min": 1,
                        "max": 10
                    },
                    "typeOfCage": {
                        "min": 0,
                        "max": 0,
                        "options": [
                            "Closed House",
                            "Kandang Panggung",
                            "Loose Housing",
                            "Freestall"
                        ]
                    },
                    "additionalQuestion": [
                        {
                            "componentType": "textArea",
                            "fieldType": "string",
                            "label": "Apa hobi anda mancing?",
                            "required": true,
                            "value": "",
                            "prefix": "",
                            "suffix": "",
                            "min": 0,
                            "max": 0,
                            "options": [
                                {
                                    "label": "Tidak karena saya suka bertani",
                                    "value": 0
                                },
                                {
                                    "label": "Iyaaww ku suka ikan 🐟",
                                    "value": 1
                                }
                            ]
                        }
                    ]
                },
                "farm": {
                    "distanceToRoad": {
                        "min": 0,
                        "max": 0
                    },
                    "description": {
                        "min": 1,
                        "max": 1
                    },
                    "size": {
                        "min": 1,
                        "max": 10
                    },
                    "vegetationCover": {
                        "min": 0,
                        "max": 1,
                        "options": []
                    },
                    "address": {
                        "min": 0,
                        "max": 0
                    },
                    "name": {
                        "min": 0,
                        "max": 0
                    },
                    "isSuitable": {
                        "min": 0,
                        "max": 0
                    },
                    "ownershipStatus": {
                        "min": 1,
                        "max": 10,
                        "options": [
                            "Lahan Kelompok",
                            "Milik Sendiri",
                            "Sewa"
                        ]
                    },
                    "farmerId": {
                        "min": 0,
                        "max": 0
                    },
                    "commodityId": {
                        "min": 10,
                        "max": 100
                    },
                    "document": {
                        "min": 1,
                        "max": 1
                    },
                    "averageTemperature": {
                        "min": 1,
                        "max": 1
                    },
                    "windVelocity": {
                        "min": 1,
                        "max": 1
                    },
                    "sunshine": {
                        "min": 1,
                        "max": 1
                    },
                    "distanceToSettlement": {
                        "min": 1,
                        "max": 10
                    },
                    "numberOfCageFloor": {
                        "min": 1,
                        "max": 10
                    },
                    "humidity": {
                        "min": 1,
                        "max": 10
                    },
                    "rainfall": {
                        "min": 1,
                        "max": 10
                    },
                    "landLegality": {
                        "min": 1,
                        "max": 10
                    },
                    "typeOfCage": {
                        "min": 0,
                        "max": 0,
                        "options": [
                            "Closed House",
                            "Kandang Panggung",
                            "Kandang Lemprak",
                            "Conventional Type",
                            "Loose Housing",
                            "Freestall"
                        ]
                    },
                    "financing": {
                        "min": 1000,
                        "max": 10000,
                        "options": [
                            "Modal Sendiri",
                            "KUR",
                            "Bagi Hasil"
                        ]
                    },
                    "waterSources": {
                        "min": 0,
                        "max": 0,
                        "options": [
                            "Air Tanah/Sumur",
                            "PDAM",
                            "Air Permukaan (Sungai, Danau, Rawa)"
                        ]
                    },
                    "additionalQuestion": [
                        {
                            "componentType": "textArea",
                            "fieldType": "string",
                            "label": "Apa hobi anda mancing?",
                            "required": true,
                            "value": "",
                            "prefix": "",
                            "suffix": "",
                            "min": 0,
                            "max": 0,
                            "options": [
                                {
                                    "label": "Tidak karena saya suka bertani",
                                    "value": 0
                                },
                                {
                                    "label": "Iyaaww ku suka ikan 🐟",
                                    "value": 1
                                }
                            ]
                        }
                    ]
                }
            },
            "loan_feature": false,
            "loan_packages": [
                {
                    "lenderId": "cb3f6ab9-347a-44c3-a8ff-972beb7ffaca",
                    "loanPackageId": "a05fb7c0-3ae1-4868-b9b8-407dbfb20f52",
                    "loanPackageType": "internal",
                    "mainPackage": true,
                    "isActive": true
                },
                {
                    "lenderId": "cb3f6ab9-347a-44c3-a8ff-972beb7ffaca",
                    "loanPackageId": "36564741-1313-49bb-902d-56a2ec60408a",
                    "loanPackageType": "internal",
                    "mainPackage": false,
                    "isActive": true
                }
            ],
            "mitra_info": "",
            "mitra_type": [
                "Budidaya Makloon"
            ],
            "phone_number": "081223334",
            "restricted_commodity_id": [],
            "sector": [
                "1",
                "2",
                "3"
            ],
            "subscription": {
                "type": "PERIODIC_PARTNERS",
                "status": "free",
                "price": 10000,
                "period": "yearly",
                "startDate": "2022-12-28T18:25:32.000Z",
                "endDate": "2023-12-28T18:25:32.000Z",
                "freeTrialStartDate": "2022-12-28T18:25:32.000Z",
                "freeTrialEndDate": "2023-12-28T18:25:32.000Z",
                "fieldAssistant": true,
                "fieldAssistantSchema": {
                    "totalFA": 4,
                    "pricePerFA": 2000000,
                    "totalPriceFA": 8000000,
                    "startDate": "2022-12-28T18:25:32.000Z"
                }
            },
            "username": "candrasakar@gmail.com",
            "isDeleted": false,
            "modified_at": "2022-09-20T02:53:33.052Z",
            "modified_by": "1724fc18-8df4-4cd5-a0fc-c6183237d550"
        },
        "is_deleted": false,
        "logo": "http://agree-minio-agree-logtan-dev.vsan-apps.playcourt.id/agree/empty-photo.jpg",
        "address": "Jalan yuk mba",
        "province_id": null
    },
    "message": "Your Request Has Been Processed",
    "code": 200
}