{
	"components": {
		"filter-column-list": {
            "summary": "Technical routes filter column list",
            "description": "This API is used to display filter column list data.",
            "tags": [
				"Technical Routes"
			],
			"consumes": [
				"application/json"
			],
			"produces": [
				"application/json"
			],
            "responses": {
                "200": {
                    "description": "When filter column list data displayed successfully.",
                    "content": {
                        "application/json": {
                            "schema": {
                                "oneOf": [
                                    {
                                        "type": "object",
                                        "properties": {
                                            "status": {
                                                "type": "boolean",
                                                "example": true
                                            },
                                            "code": {
                                                "type": "string",
                                                "message": "Success"
                                            },
                                            "data": {
                                                "type": "object",
                                                "example": {
                                                    "columns": [
                                                        {
                                                          "value": "gbrn",
                                                          "name": "GBRN"
                                                        },
                                                        {
                                                          "value": "trrn",
                                                          "name": "TRRN"
                                                        },
                                                        {
                                                          "value": "cprn",
                                                          "name": "CPRN"
                                                        },
                                                        {
                                                          "value": "active_ingredient",
                                                          "name": "ACTIVE INGREDIENT"
                                                        },
                                                        {
                                                          "value": "active_ingredient_cas_rn",
                                                          "name": "ACTIVE INGREDIENT CAS RN"
                                                        },
                                                        {
                                                          "value": "field_of_application",
                                                          "name": "FIELD OF APPLICATION (AGROCHEMICAL / PHARMACEUTICAL / CHEMICAL)"
                                                        },
                                                        {
                                                          "value": "applications",
                                                          "name": "APPLICATIONS"
                                                        },
                                                        {
                                                          "value": "reactants_cas_rn",
                                                          "name": "REACTANTS CAS RN"
                                                        },
                                                        {
                                                          "value": "intermediate_reactants_cas_rn",
                                                          "name": "INTERMEDIATE REACTANTS CAS RN"
                                                        }
                                                    ]
                                                }
                                            }
                                        }
                                    },
                                    {
                                        "type": "object",
                                        "properties": {
                                            "status": {
                                                "type": "boolean",
                                                "example": true
                                            },
                                            "data": {
                                                "type": "object",
                                                "example": []
                                            }
                                        }
                                    }
                                ]
                            }
                        }
                    }
                },
                "400": {
                    "description": "Validation errors.",
                    "content": {
                        "application/json": {
                            "schema": {
                                "oneOf": [
                                    {
                                        "properties": {
                                            "status": {
                                                "type": "boolean",
                                                "example": false
                                            },
                                            "code": {
                                                "type": "string",
                                                "example": "INVALID_API_KEY"
                                            },
                                            "errors": {
                                                "type": "array",
                                                "example": [
                                                    "api access key is missing."
                                                ]
                                            }
                                        }
                                    }
                                ]
                            }
                        }
                    }
                }
            }
        },
        "column-list": {
            "summary": "Technical routes columns list",
            "description": "This API is used to display columns list data.",
            "tags": [
				"Technical Routes"
			],
			"consumes": [
				"application/json"
			],
			"produces": [
				"application/json"
			],
            "responses": {
                "200": {
                    "description": "When columns list data displayed successfully.",
                    "content": {
                        "application/json": {
                            "schema": {
                                "oneOf": [
                                    {
                                        "type": "object",
                                        "properties": {
                                            "code": {
                                                "type": "string",
                                                "message": "Success"
                                            },
                                            "data": {
                                                "type": "object",
                                                "example": {
                                                    "columns": [
                                                        {
                                                          "value": "gbrn",
                                                          "name": "GBRN"
                                                        },
                                                        {
                                                          "value": "trrn",
                                                          "name": "TRRN"
                                                        },
                                                        {
                                                          "value": "cprn",
                                                          "name": "CPRN"
                                                        },
                                                        {
                                                          "value": "active_ingredient",
                                                          "name": "ACTIVE INGREDIENT"
                                                        },
                                                        {
                                                          "value": "active_ingredient_cas_rn",
                                                          "name": "ACTIVE INGREDIENT CAS RN"
                                                        },
                                                        {
                                                          "value": "field_of_application",
                                                          "name": "FIELD OF APPLICATION (AGROCHEMICAL / PHARMACEUTICAL / CHEMICAL)"
                                                        },
                                                        {
                                                          "value": "applications",
                                                          "name": "APPLICATIONS"
                                                        },
                                                        {
                                                          "value": "reactants_cas_rn",
                                                          "name": "REACTANTS CAS RN"
                                                        },
                                                        {
                                                          "value": "intermediate_reactants_cas_rn",
                                                          "name": "INTERMEDIATE REACTANTS CAS RN"
                                                        }
                                                    ]
                                                }
                                            }
                                        }
                                    },
                                    {
                                        "type": "object",
                                        "properties": {
                                            "code": {
                                                "type": "integer",
                                                "example": 200
                                            },
                                            "data": {
                                                "type": "object",
                                                "example": []
                                            }
                                        }
                                    }
                                ]
                            }
                        }
                    }
                },
                "400": {
                    "description": "Validation errors.",
                    "content": {
                        "application/json": {
                            "schema": {
                                "oneOf": [
                                    {
                                        "properties": {
                                            "status": {
                                                "type": "boolean",
                                                "example": false
                                            },
                                            "code": {
                                                "type": "string",
                                                "example": "INVALID_API_KEY"
                                            },
                                            "errors": {
                                                "type": "array",
                                                "example": [
                                                    "api access key is missing."
                                                ]
                                            }
                                        }
                                    }
                                ]
                            }
                        }
                    }
                }
            }
        },
        "auto-suggestions": {
            "summary": "Technical routes auto suggestion list",
            "description": "This API is used to display auto suggestion data.",
            "tags": [
				"Technical Routes"
			],
			"consumes": [
				"application/json"
			],
			"produces": [
				"application/json"
			],
            "requestBody": {
                "content": {
                    "application/x-www-form-urlencoded": {
                        "schema": {
                            "type": "object",
                            "required": [
                                "column",
                                "keyword"
                            ],
                            "properties": {
                                "column": {
                                    "type": "string",
                                    "description": "Enter column name.",
                                    "example": "active_ingredient"
                                },
                                "keyword": {
                                    "type": "string",
                                    "description": "Enter keyword.",
                                    "example": "acetate"
                                }
                            }
                        }
                    }
                },
                "required": true
            },
            "responses": {
                "200": {
                    "description": "When auto suggestion data displayed successfully.",
                    "content": {
                        "application/json": {
                            "schema": {
                                "oneOf": [
                                    {
                                        "type": "object",
                                        "properties": {
                                            "code": {
                                                "type": "string",
                                                "message": "Success"
                                            },
                                            "data": {
                                                "type": "object",
                                                "example": {
                                                    "suggestions": [
                                                        "LEUPROLIDE ACETATE",
                                                        "SODIUM ACETATE  (APP. DYE)",
                                                        "SODIUM FLUOROACETATE (RODENTICIDE)",
                                                        "PHENYLMERCURIC ACETATE (FUNGICIDEHERBICIDE)",
                                                        "PHENYL MERCURIC ACETATE (APP. COSMETIC PRESERVATIVES)",
                                                        "SODIUM 1-NAPHTHALENEACETATE",
                                                        "(Z)-11-HEXADECENYL ACETATE",
                                                        "BETAMETHASONE ACETATE",
                                                        "CYPROTERONE ACETATE",
                                                        "DIFLORASONE DIACETATE"
                                                    ]
                                                }
                                            }
                                        }
                                    },
                                    {
                                        "type": "object",
                                        "properties": {
                                            "code": {
                                                "type": "integer",
                                                "example": 200
                                            },
                                            "data": {
                                                "type": "object",
                                                "example": []
                                            }
                                        }
                                    }
                                ]
                            }
                        }
                    }
                },
                "400": {
                    "description": "Validation errors.",
                    "content": {
                        "application/json": {
                            "schema": {
                                "oneOf": [
                                    {
                                        "properties": {
                                            "status": {
                                                "type": "boolean",
                                                "example": false
                                            },
                                            "code": {
                                                "type": "string",
                                                "example": "INVALID_API_KEY"
                                            },
                                            "errors": {
                                                "type": "array",
                                                "example": [
                                                    "api access key is missing."
                                                ]
                                            }
                                        }
                                    }
                                ]
                            }
                        }
                    }
                }
            }
        },
        "ros-search": {
            "summary": "Technical routes ros search data",
            "description": "This API is used to show result of ros search.",
            "tags": [
				"Technical Routes"
			],
			"consumes": [
				"application/json"
			],
			"produces": [
				"application/json"
			],
            "requestBody": {
                "content": {
                    "application/json": {
                        "schema": {
                            "type": "object",
                            "required": [
                                "criteria"
                            ],
                            "properties": {
                                "criteria": {
                                    "type": "object",
                                    "description": "Enter search criteria.",
                                    "example": [
                                        {
                                            "column": "active_ingredient",
                                            "keyword": "sitagliptin"
                                        },
                                        {
                                            "operator": "OR",
                                            "column": "active_ingredient",
                                            "keyword": "acetic acid"
                                        }
                                    ],
                                    "required": true
                                },
                                "page_no": {
                                    "type": "integer",
                                    "description": "Enter page number.",
                                    "example": 1,
                                    "required": false
                                },
                                "filter_enable": {
                                    "type": "boolean",
                                    "description": "Enter value true (when need filter dropdown data)",
                                    "example": false,
                                    "required": false
                                },
                                "filters": {
                                    "type": "object",
                                    "description": "Enter filter value choosing in dropdown.",
                                    "example": {
                                        "route_type": "REPORTED ROUTE"
                                    },
                                    "required": false
                                }
                            }
                        }
                    }
                }
            },
            "responses": {
                "200": {
                    "description": "When ros serch data displayed successfully.",
                    "content": {
                        "application/json": {
                            "schema": {
                                "oneOf": [
                                    {
                                        "type": "object",
                                        "properties": {
                                            "code": {
                                                "type": "string",
                                                "message": "Success"
                                            },
                                            "data": {
                                                "type": "object",
                                                "example": {
                                                    "data": {
                                                        "ros_count": 15,
                                                        "ros_data": [
                                                            {
                                                                "trrn": 999,
                                                                "cprn": null,
                                                                "active_ingredient": "SODIUM FLUOROACETATE (RODENTICIDE); TRICHLOROETHYLENE  (APP. COSMETIC AGENTS); TRICHLOROETHYLENE  (APP. COSMETIC AGENTS);ACETIC ACID  (APP. DYE)",
                                                                "active_ingredient_cas_rn": "62-74-8",
                                                                "field_of_application": "AGROCHEMICAL / COSMETIC CHEMICAL / SYNTHETIC DYE",
                                                                "applications": "SODIUM FLUOROACETATE (RODENTICIDE); TRICHLOROETHYLENE  (APP. COSMETIC AGENTS); TRICHLOROETHYLENE  (APP. COSMETIC AGENTS);ACETIC ACID  (APP. DYE)",
                                                                "reactants_cas_rn": "acetic acid; CAS RN: 64-19-7\n1,1,2-trichloroethene; CAS RN: 79-01-6\n2-chloroacetic acid; CAS RN: 79-11-8\nmethanol; CAS RN: 630-08-0\nmethyl 2-chloroacetate; CAS RN: 96-34-4\nsodium 2-fluoroacetate; Sodium fluoroacetate; CAS RN: 62-74-8\nChlorine; CAS RN: 7782-50-5\nPotassium fluoride; CAS RN: 7789-23-3\nSodium hydroxide; CAS RN: 1310-73-2",
                                                                "intermediate_reactants_cas_rn": "acetic acid; CAS RN: 64-19-7\n1,1,2-trichloroethene; CAS RN: 79-01-6\n2-chloroacetic acid; CAS RN: 79-11-8\nmethanol; CAS RN: 630-08-0\nmethyl 2-chloroacetate; CAS RN: 96-34-4\nsodium 2-fluoroacetate; Sodium fluoroacetate; CAS RN: 62-74-8\nChlorine; CAS RN: 7782-50-5\nPotassium fluoride; CAS RN: 7789-23-3\nSodium hydroxide; CAS RN: 1310-73-2",
                                                                "smilies_of_reactants": "",
                                                                "solvent_and_reagents": "Chlorine; CAS RN: 7782-50-5\nPotassium fluoride; CAS RN: 7789-23-3\nSodium hydroxide; CAS RN: 1310-73-2",
                                                                "patent_or_non_patent_references": "",
                                                                "patent_type": "",
                                                                "patent_link": "",
                                                                "ip_legal_status": "(SYN$$kk$$)",
                                                                "uniform_resource_locator": "",
                                                                "digital_object_identifier": "",
                                                                "company_name": "",
                                                                "company_type": "",
                                                                "country_of_company": "",
                                                                "company_logo": "Process_patent.png",
                                                                "description": "",
                                                                "technical_field": "Fuorinationation/saponification\nEsterification\nAlpha chlorination",
                                                                "route_type": "REPORTED ROUTE",
                                                                "types_of_route": "REPORTED ROUTE",
                                                                "present_invention_patent_disclosure": "",
                                                                "route_of_synthesis": "sodium_fluoroacetate.png",
                                                                "updation_date": "1970-01-01T00:00:00.000Z",
                                                                "priority_date": "",
                                                                "notes": "2-chloroacetic acid; CAS RN: 79-11-8\nmethyl 2-chloroacetate; CAS RN: 96-34-4\nsodium 2-fluoroacetate; Sodium fluoroacetate; CAS RN: 62-74-8",
                                                                "remarks": "",
                                                                "comments": "",
                                                                "downloadable_docs": "",
                                                                "dummy_1": "Dec_2023_1st_Batch",
                                                                "dummy_2": "Agrochemical",
                                                                "dummy_3": "",
                                                                "dummy_4": "",
                                                                "dummy_5": "",
                                                                "dummy_6": "",
                                                                "dummy_7": "",
                                                                "dummy_8": "",
                                                                "dummy_9": "",
                                                                "dummy_10": "",
                                                                "created_at": "2024-04-22T12:31:44.418Z",
                                                                "id": "662658b6d181724dc7c9b4fa"
                                                            },
                                                            {
                                                                "trrn": 3195,
                                                                "cprn": null,
                                                                "active_ingredient": "PYROQUILON (FUNGICIDE); BENZENE  (APP. COSMETIC AGENTS); DIMETHYLFORMAMIDE (N,N-DIMETHYLFORMAMIDE)  (APP. COSMETIC AGENTS); BENZENE  (APP. COSMETIC AGENTS);DIMETHYLFORMAMIDE (N,N-DIMETHYLFORMAMIDE)  (APP. COSMETIC AGENTS);ACETIC ACID  (APP. DYE);SODIUM ACETATE  (APP. DYE)",
                                                                "active_ingredient_cas_rn": "57369-32-1",
                                                                "field_of_application": "AGROCHEMICAL / COSMETIC CHEMICAL / SYNTHETIC DYE",
                                                                "applications": "PYROQUILON (FUNGICIDE); BENZENE  (APP. COSMETIC AGENTS); DIMETHYLFORMAMIDE (N,N-DIMETHYLFORMAMIDE)  (APP. COSMETIC AGENTS); BENZENE  (APP. COSMETIC AGENTS);DIMETHYLFORMAMIDE (N,N-DIMETHYLFORMAMIDE)  (APP. COSMETIC AGENTS);ACETIC ACID  (APP. DYE);SODIUM ACETATE  (APP. DYE)",
                                                                "reactants_cas_rn": "indoline; CAS RN: 496-15-1\n2-chloroacetyl chloride; CAS RN: 79-04-9\n2-chloro-1-(indolin-1-yl)ethanone; CAS RN: 17133-48-1\n5-chloro-1,2-dihydropyrrolo[3,2,1-ij]quinolin-4-one; PubChem CID: 13632560\n1,2,5,6-tetrahydropyrrolo[3,2,1-ij]quinolin-4-one; Pyroquilon; CAS RN: 57369-32-1\nTriethanolamine; CAS RN: 102-71-6\nBenzene; CAS RN: 71-43-2\nPhosphorus oxychloride; CAS RN: 10025-87-3\nDimethylformamide; CAS RN: 68-12-2\nHydrogen; CAS RN: 1333-74-0\nPalladium; CAS RN: 7440-05-3\nSodium acetate; CAS RN: 127-09-3\nAcetic acid; CAS RN: 64-19-7",
                                                                "intermediate_reactants_cas_rn": "indoline; CAS RN: 496-15-1\n2-chloroacetyl chloride; CAS RN: 79-04-9\n2-chloro-1-(indolin-1-yl)ethanone; CAS RN: 17133-48-1\n5-chloro-1,2-dihydropyrrolo[3,2,1-ij]quinolin-4-one; PubChem CID: 13632560\n1,2,5,6-tetrahydropyrrolo[3,2,1-ij]quinolin-4-one; Pyroquilon; CAS RN: 57369-32-1\nTriethanolamine; CAS RN: 102-71-6\nBenzene; CAS RN: 71-43-2\nPhosphorus oxychloride; CAS RN: 10025-87-3\nDimethylformamide; CAS RN: 68-12-2\nHydrogen; CAS RN: 1333-74-0\nPalladium; CAS RN: 7440-05-3\nSodium acetate; CAS RN: 127-09-3\nAcetic acid; CAS RN: 64-19-7",
                                                                "smilies_of_reactants": "",
                                                                "solvent_and_reagents": "Triethanolamine; CAS RN: 102-71-6\nBenzene; CAS RN: 71-43-2\nPhosphorus oxychloride; CAS RN: 10025-87-3\nDimethylformamide; CAS RN: 68-12-2\nHydrogen; CAS RN: 1333-74-0\nPalladium; CAS RN: 7440-05-3\nSodium acetate; CAS RN: 127-09-3\nAcetic acid; CAS RN: 64-19-7",
                                                                "patent_or_non_patent_references": "",
                                                                "patent_type": "",
                                                                "patent_link": "",
                                                                "ip_legal_status": "(SYN$$kk$$)",
                                                                "uniform_resource_locator": "",
                                                                "digital_object_identifier": "",
                                                                "company_name": "",
                                                                "company_type": "",
                                                                "country_of_company": "",
                                                                "company_logo": "Process_patent.png",
                                                                "description": "",
                                                                "technical_field": "1. N-Acylation \n2. Cyclization \n3. Reduction",
                                                                "route_type": "REPORTED ROUTE",
                                                                "types_of_route": "REPORTED ROUTE",
                                                                "present_invention_patent_disclosure": "",
                                                                "route_of_synthesis": "61ROS03.png",
                                                                "updation_date": "1970-01-01T00:00:00.000Z",
                                                                "priority_date": "",
                                                                "notes": "5-chloro-1,2-dihydropyrrolo[3,2,1-ij]quinolin-4-one; PubChem CID: 13632560\n1,2,5,6-tetrahydropyrrolo[3,2,1-ij]quinolin-4-one; Pyroquilon; CAS RN: 57369-32-1",
                                                                "remarks": "",
                                                                "comments": "",
                                                                "downloadable_docs": "",
                                                                "dummy_1": "Nov_2023_5th_Batch",
                                                                "dummy_2": "Agrochemical",
                                                                "dummy_3": "",
                                                                "dummy_4": "",
                                                                "dummy_5": "",
                                                                "dummy_6": "",
                                                                "dummy_7": "",
                                                                "dummy_8": "",
                                                                "dummy_9": "",
                                                                "dummy_10": "",
                                                                "created_at": "2024-04-22T12:32:36.003Z",
                                                                "id": "662658e9d181724dc7c9bd8e"
                                                            }
                                                        ]
                                                    }
                                                }
                                            }
                                        }
                                    },
                                    {
                                        "type": "object",
                                        "properties": {
                                            "code": {
                                                "type": "integer",
                                                "example": 200
                                            },
                                            "data": {
                                                "type": "object",
                                                "example": []
                                            }
                                        }
                                    }
                                ]
                            }
                        }
                    }
                },
                "400": {
                    "description": "Validation errors.",
                    "content": {
                        "application/json": {
                            "schema": {
                                "oneOf": [
                                    {
                                        "properties": {
                                            "status": {
                                                "type": "boolean",
                                                "example": false
                                            },
                                            "code": {
                                                "type": "string",
                                                "example": "INVALID_API_KEY"
                                            },
                                            "errors": {
                                                "type": "array",
                                                "example": [
                                                    "api access key is missing."
                                                ]
                                            }
                                        }
                                    }
                                ]
                            }
                        }
                    }
                }
            }
        }
	}
}