synapse-react-client
Version:
[](https://badge.fury.io/js/synapse-react-client) [](https://github.com/prettier/prettie
15 lines (14 loc) • 9.24 kB
JavaScript
const e = { binding_item: { type: "object", required: [], properties: { name: { type: "string", title: "Experiment Name" }, cell_line: { type: "string", title: "What cell line was used for the binding assay?" }, assay_description: { type: "string", title: "Binding assay details" }, reference: { type: "string", title: "If this study has been published, please provide a reference." }, binding_affinity: { type: "string", title: "Binding Affinity (nM)" }, binding_affinity_constant: { type: "string", title: "Binding Affinity Constant", enum: ["Ki", "Kd", "Km"], uniqueItems: !0 } } }, efficacy_item: { type: "object", required: [], properties: { name: { type: "string", title: "Experiment Name" }, cell_line: { type: "string", title: "What cell line was used for the efficacy assay?" }, assay_description: { type: "string", title: "Efficacy assay details" }, outcome_measures: { type: "string", title: "Outcome measures" }, reference: { type: "string", title: "If this study has been published, please provide a reference." }, efficacy_measure: { type: "string", title: "Efficacy" }, efficacy_measure_type: { type: "string", title: "Efficacy Measure", uniqueItems: !0, oneOf: [{ const: "EC50", title: "EC50 (mg/kg)" }, { const: "IC50", title: "IC50 (nmol/L)" }] } } }, naming: { type: "object", required: ["first_name", "last_name", "institution", "compound_name", "is_off_label"], properties: { compound_name: { type: "string", title: "Submission Name" }, first_name: { type: "string", title: "First Name" }, last_name: { type: "string", title: "Last Name" }, role_title: { type: "string", title: "Title" }, institution: { type: "string", title: "Institution" }, email: { type: "string", title: " Contact Email", format: "email" }, other_applicants: { type: "string", title: "Other Applicants" }, data_sharing: { type: "boolean", default: !1, uniqueItems: !0, title: "Data Sharing", oneOf: [{ const: !0, title: "I agree to data sharing" }, { const: !1, title: "I want to discuss further" }] }, is_off_label: { type: "boolean", default: !1, uniqueItems: !0, title: "Is this compound available for off label use?", oneOf: [{ const: !0, title: "Yes" }, { const: !1, title: "No" }] }, chemical_name: { type: "string", title: "Chemical Name" }, common_name: { type: "string", title: " Common Name" }, iupac_name: { type: "string", title: " IUPAC Name" }, CAS_number: { type: "string", title: " CAS Number" }, drug_class: { type: "string", title: " Drug Class" } } }, measurements: { type: "object", required: ["compound_availability", "molecular_weight", "is_solution"], properties: { compound_availability: { title: "Available compound amount (mg)", type: "number", minimum: 0 }, molecular_weight: { title: "Molecular weight (g/mol)", type: "number" }, is_solution: { title: "Is the compound a solution?", type: "boolean", default: !1, oneOf: [{ const: !0, title: "Yes" }, { const: !1, title: "No" }] } }, dependencies: { is_solution: { oneOf: [{ properties: { is_solution: { enum: [!1] } } }, { properties: { is_solution: { enum: [!0] }, compound_concentration: { title: "Concentration (mg/ml)", type: "number" }, compound_purity: { title: "Compound Purity", type: "string" } }, required: [] }] } } }, basic: { type: "object", required: ["molecular_target", "moa_description", "therapeutic_approach", "therapeutic_indication_description", "water_soluble", "route", "orally_active"], properties: { molecular_target: { type: "string", title: "Molecular Target" }, moa_description: { type: "string", title: "Mechanism of Action" }, therapeutic_approach: { type: "string", uniqueItems: !0, title: "What is the therapeutic approach?", oneOf: [{ const: "prophylactic", title: "Prophylactic" }, { const: "symptomatic", title: "Symptomatic" }, { const: "both", title: "Both" }, { const: "unknown", title: "Unknown" }] }, therapeutic_indication_description: { type: "string", title: "Therapeutic Indication" }, melting_point: { type: "number", title: "Melting Point (C)" }, freezing_point: { type: "number", title: "Freezing Point (C)" }, storage_temperature: { type: "string", title: "Storage Conditions" }, water_soluble: { type: "string", uniqueItems: !0, title: "Is the compound water soluble?", oneOf: [{ const: "yes", title: "Yes" }, { const: "no", title: "No" }, { const: "unknown", title: "Unknown" }] }, route: { type: "array", title: "What is the intended route of administration?", items: { type: "string", oneOf: [{ const: "oral", title: "Oral" }, { const: "sublingual", title: "Sublingual" }, { const: "nasal", title: "Nasal" }, { const: "injection", title: "Injection (Intravenous, Intramuscular, Intraperitoneal, Subcutaneous, Intraocular)" }, { const: "transdermal", title: "Transdermal" }, { const: "intrathecal", title: "Intrathecal" }, { const: "formulated_in_food", title: "Formulated in Food" }, { const: "formulated_in_drinking_water", title: "Formulated in Drinking Water" }] }, uniqueItems: !0 }, orally_active: { type: "string", uniqueItems: !0, title: "Is the drug orally active?", oneOf: [{ const: "yes", title: "Yes" }, { const: "no", title: "No" }, { const: "unknown", title: "Unknown" }] } }, dependencies: { water_soluble: { oneOf: [{ properties: { water_soluble: { enum: ["no", "unknown"] } }, required: [] }, { properties: { water_soluble: { enum: ["yes"] }, solubility_limitations: { type: "string", title: "Describe any solubility limitations" } }, required: ["solubility_limitations"] }] } } }, in_vivo_data_item: { type: "object", required: ["species", "strain", "outcome_measures", "assay_description", "age_range", "sex", "dose_range", "dose_regimen", "route", "drug_formulation"], properties: { name: { type: "string", title: "Experiment Name" }, reference: { type: "string", title: "If this study has been published, please provide a reference." }, species: { type: "string", title: "Species", uniqueItems: !0, oneOf: [{ const: "mouse", title: "Mouse" }, { const: "rat", title: "Rat" }, { const: "non_human_primate", title: "Non Human Primate" }, { const: "dog", title: "Dog" }, { const: "ferret", title: "Ferret" }, { const: "rabbit", title: "Rabbit" }, { const: "other", title: "Other" }] }, strain: { type: "string", title: "Model Strain" }, outcome_measures: { type: "string", title: "Outcome Measure" }, assay_description: { type: "string", title: "Assay Description" }, age_range: { type: "object", title: "Subject Age (months)", properties: { age_range_min: { title: "Minimum", type: "number", minimum: 0, maximum: 130 }, age_range_max: { title: "Maximum", type: "number", minimum: 0, maximum: 130 } } }, sex: { type: "string", title: "Subject Sex", oneOf: [{ const: "male", title: "Male" }, { const: "female", title: "Female" }, { const: "both", title: "Both" }] }, ed50: { type: "string", title: "ED50 (mg/kg)" }, dose_range: { type: "object", title: "Dose Range (mg/kg)", properties: { dose_range_min: { title: "Minimum", type: "number" }, dose_range_max: { title: "Maximum", type: "number" } } }, dose_regimen: { type: "string", title: "Dosing Regimen", oneOf: [{ const: "acute", title: "Acute" }, { const: "chronic", title: "Chronic" }, { const: "sub_chronic", title: "Sub Chronic" }] }, pretreatment_time: { type: "string", title: "Pre-treatment Time " }, route: { type: "array", title: "Route of Administration", uniqueItems: !0, items: { type: "string", oneOf: [{ const: "oral", title: "Oral" }, { const: "sublingual", title: "Sublingual" }, { const: "nasal", title: "Nasal" }, { const: "injection", title: "Injection (Intravenous, Intramuscular, Intraperitoneal, Subcutaneous, Intraocular)" }, { const: "transdermal", title: "Transdermal" }, { const: "intrathecal", title: "Intrathecal" }, { const: "formulated_in_food", title: "Formulated in Food" }, { const: "formulated_in_drinking_water", title: "Formulated in Drinking Water" }] } }, drug_formulation: { type: "string", title: "Drug Formulation" }, adverse_events_description: { type: "string", title: "Adverse events" } }, dependencies: { species: { oneOf: [{ properties: { species: { enum: ["mouse", "rat", "non_human_primate", "dog", "ferret", "rabbit"] } }, required: [] }, { properties: { species: { enum: ["other"] }, species_other: { title: "Other Species", type: "string" } }, required: ["species_other"] }] } } }, binding: { type: "object", properties: { cell_line_binding: { type: "array", title: "Cell Line-Binding", items: { $ref: "#/definitions/binding_item" } } } }, efficacy: { type: "object", properties: { cell_line_efficacy: { type: "array", title: "Cell Line-Efficacy", items: { $ref: "#/definitions/efficacy_item" } } } } }, t = { type: "object", properties: { experiments: { type: "array", items: { $ref: "#/definitions/in_vivo_data_item" } } } }, i = "object", n = { naming: { title: "Naming", $ref: "#/definitions/naming" }, measurements: { title: "Measurements", $ref: "#/definitions/measurements" }, basic: { title: "Basic", $ref: "#/definitions/basic" }, binding: { title: "Binding", $ref: "#/definitions/binding" }, efficacy: { title: "Efficacy", $ref: "#/definitions/efficacy" } }, r = {
definitions: e,
in_vivo_data: t,
type: i,
properties: n
};
export {
r as default,
e as definitions,
t as in_vivo_data,
n as properties,
i as type
};
//# sourceMappingURL=mockDrugToolFormSchema.json.js.map