{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/labguru/main/json-schema/labguru-schemas.json",
"title": "Labguru API Schemas",
"description": "JSON Schema definitions for the Labguru REST API",
"definitions": {
"createSession": {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/labguru/main/json-schema/createSession.json",
"title": "createSession",
"type": "object",
"required": [
"login",
"password"
],
"properties": {
"login": {
"type": "string",
"description": "E-mail",
"example": "labuser@email.com"
},
"password": {
"type": "string",
"description": "password"
},
"account_id": {
"type": "integer",
"description": "(optional) The account id to generate the token for"
}
}
},
"createAttachment": {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/labguru/main/json-schema/createAttachment.json",
"title": "createAttachment",
"type": "object",
"properties": {
"token": {
"type": "string"
},
"item[attachment]": {
"type": "string",
"format": "binary",
"description": "The file that will be uploaded."
},
"item[title]": {
"type": "string",
"example": "Project_report.pdf",
"description": "The title of the attachment. This should match the file name exactly, including the file extension (.xlsx, .csv, etc.)."
},
"item[attach_to_uuid]": {
"type": "string",
"description": "The UUID of the object to which the attachment will be linked.
\n If this parameter is not provided, the uploaded file will be stored but not associated with any specific entity (unattached file)."
},
"item[description]": {
"type": "string",
"example": "Detailed project report",
"description": "A brief description of the attachment content."
}
},
"required": [
"token",
"item[attachment]",
"item[title]"
]
},
"updateAttachment": {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/labguru/main/json-schema/updateAttachment.json",
"title": "updateAttachment",
"type": "object",
"required": [
"token"
],
"properties": {
"token": {
"type": "string",
"example": "YOUR TOKEN IS HERE"
},
"item": {
"type": "object",
"required": [
"element_id"
],
"properties": {
"element_id": {
"type": "integer",
"description": "The ID of the attachment element to which the attachment will be linked"
}
}
}
}
},
"WormBaseRequest": {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/labguru/main/json-schema/WormBaseRequest.json",
"title": "WormBaseRequest",
"type": "object",
"required": [
"token"
],
"properties": {
"token": {
"type": "string",
"example": "YOUR TOKEN IS HERE"
},
"item": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "The name of the worm"
},
"alternative_name": {
"type": "string",
"description": "An alternative name for the worm"
},
"gene_id": {
"type": "integer",
"description": "An ID reference to a gene from your labguru genes collection"
},
"source": {
"type": "string",
"description": "Origin of the worm"
},
"genotype": {
"type": "string",
"description": "Genetic constitution of the worm"
},
"phenotype": {
"type": "string",
"description": "Observable physical or biochemical characteristics of the worm"
},
"mutagen": {
"type": "string",
"description": "The agent used to induce mutations in the worm"
},
"growth_conditions": {
"type": "string",
"description": "Specific conditions under which the worm is maintained"
},
"outcrossed": {
"type": "integer",
"description": "Number of times the worm strain has been outcrossed with another"
},
"made_by": {
"type": "string",
"description": "researcher name input"
},
"dauer_defective": {
"type": "boolean",
"description": "Indicates whether the worm is defective in entering or exiting the dauer stage,\n with '1' for yes and '0' for no.",
"example": 0
},
"description": {
"type": "string",
"description": "Description of the worm"
}
}
}
}
},
"createWorm": {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/labguru/main/json-schema/createWorm.json",
"title": "createWorm",
"allOf": [
{
"$ref": "#/components/schemas/WormBaseRequest"
},
{
"type": "object",
"properties": {
"item": {
"type": "object",
"required": [
"name"
]
}
}
}
]
},
"updateWorm": {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/labguru/main/json-schema/updateWorm.json",
"title": "updateWorm",
"allOf": [
{
"$ref": "#/components/schemas/WormBaseRequest"
}
]
},
"AntibodyBaseRequest": {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/labguru/main/json-schema/AntibodyBaseRequest.json",
"title": "AntibodyBaseRequest",
"type": "object",
"required": [
"token"
],
"properties": {
"token": {
"type": "string",
"example": "YOUR TOKEN IS HERE"
},
"item": {
"type": "object",
"properties": {
"title": {
"type": "string",
"description": "The name of the antibody"
},
"owner_id": {
"type": "integer",
"description": "The ID of the owner - by default it's your member id"
},
"alternative_name": {
"type": "string",
"description": "An additional name for the antibody"
},
"antigene": {
"type": "string",
"description": "Antigen / immunogen"
},
"tags_fluorophores": {
"type": "string",
"description": "Tags / fluorophores"
},
"clone_field": {
"type": "string",
"description": "The clone from which the antibody was derived."
},
"isotype": {
"type": "string",
"description": "The class or type of the antibody (e.g., IgG, IgM)."
},
"preparation_date": {
"type": "string",
"format": "date",
"description": "The date on which the antibody was prepared, formatted as YYYY-MM-DD.",
"example": "yyyy-mm-dd"
},
"source": {
"type": "string",
"description": "The origin or source from which the antibody was obtained."
},
"immune": {
"type": "integer",
"description": "Indicates the antibody's clonality: \"Monoclonal\" (immune = 1), \"Polyclonal\" (immune = 0), or \"None\" (Empty value).",
"example": 1
},
"organism_id": {
"type": "integer",
"description": "The ID for the organism in which the antibody was raised. This ID corresponds to specific organisms (e.g., 5 for Mouse, 6 for Chicken, etc.)."
},
"reacts_with": {
"type": "string",
"description": "Specifies the organism or group the antibody is reactive with, chosen from a predefined list of options such as \"Mouse\", \"Human\", \"Chicken\", and \"Zebrafish\", etc.",
"example": "Mouse"
},
"description": {
"type": "string",
"description": "A detailed description of the antibody"
}
}
}
}
},
"createAntibody": {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/labguru/main/json-schema/createAntibody.json",
"title": "createAntibody",
"allOf": [
{
"$ref": "#/components/schemas/AntibodyBaseRequest"
},
{
"type": "object",
"properties": {
"item": {
"type": "object",
"required": [
"title"
]
}
}
}
]
},
"updateAntibody": {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/labguru/main/json-schema/updateAntibody.json",
"title": "updateAntibody",
"allOf": [
{
"$ref": "#/components/schemas/AntibodyBaseRequest"
}
]
},
"ExperimentBaseRequest": {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/labguru/main/json-schema/ExperimentBaseRequest.json",
"title": "ExperimentBaseRequest",
"type": "object",
"required": [
"token"
],
"properties": {
"token": {
"type": "string",
"example": "YOUR TOKEN IS HERE"
},
"item": {
"type": "object",
"properties": {
"title": {
"type": "string",
"description": "The experiment title"
},
"project_id": {
"type": "integer",
"description": "The project id"
},
"milestone_id": {
"type": "integer",
"description": "You can also provide a milestone_name(string) instead of milestone_id(integer)"
},
"protocol_id": {
"type": "integer",
"description": "Start experiment from protocol by providing the protocol id "
}
}
}
}
},
"addExperiment": {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/labguru/main/json-schema/addExperiment.json",
"title": "addExperiment",
"allOf": [
{
"$ref": "#/components/schemas/ExperimentBaseRequest"
},
{
"type": "object",
"properties": {
"item": {
"type": "object",
"required": [
"title",
"project_id",
"milestone_id"
]
}
}
}
]
},
"updateExperiment": {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/labguru/main/json-schema/updateExperiment.json",
"title": "updateExperiment",
"allOf": [
{
"$ref": "#/components/schemas/ExperimentBaseRequest"
}
]
},
"PlasmidBaseRequest": {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/labguru/main/json-schema/PlasmidBaseRequest.json",
"title": "PlasmidBaseRequest",
"type": "object",
"required": [
"token"
],
"properties": {
"token": {
"type": "string",
"example": "YOUR TOKEN IS HERE"
},
"item": {
"type": "object",
"properties": {
"title": {
"type": "string",
"description": "The name of the plasmid"
},
"alternative_name": {
"type": "string",
"description": "Any alternative name by which the plasmid may be known"
},
"owner_id": {
"type": "integer",
"description": "id of the owner - by default it's your member id"
},
"length": {
"type": "integer",
"description": "The total number of base pairs (bp) in the plasmid\u2019s DNA sequence."
},
"usage": {
"type": "string",
"description": "Intended or common uses of the plasmid (cloning, gene expression, etc.)"
},
"host": {
"type": "string",
"description": "Typical host organism for the plasmid"
},
"resistance": {
"type": "string",
"description": "Antibiotic resistance markers present in the plasmid"
},
"clone_number": {
"type": "string",
"description": "Unique identifier or clone number associated with the plasmid"
},
"source": {
"type": "string",
"description": "Origin or provider of the plasmid"
},
"sequence": {
"type": "string",
"description": "The nucleotide sequence of the plasmid"
},
"description": {
"type": "string",
"description": "A detailed description of the plasmid"
}
}
}
}
},
"createPlasmid": {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/labguru/main/json-schema/createPlasmid.json",
"title": "createPlasmid",
"allOf": [
{
"$ref": "#/components/schemas/PlasmidBaseRequest"
},
{
"type": "object",
"properties": {
"item": {
"type": "object",
"required": [
"title"
]
}
}
}
]
},
"updatePlasmid": {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/labguru/main/json-schema/updatePlasmid.json",
"title": "updatePlasmid",
"allOf": [
{
"$ref": "#/components/schemas/PlasmidBaseRequest"
}
]
},
"SOPBaseRequest": {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/labguru/main/json-schema/SOPBaseRequest.json",
"title": "SOPBaseRequest",
"type": "object",
"required": [
"token"
],
"properties": {
"token": {
"type": "string",
"example": "YOUR TOKEN IS HERE"
},
"item": {
"type": "object",
"properties": {
"title": {
"type": "string",
"description": "The name of the SOP"
}
}
}
}
},
"createSOP": {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/labguru/main/json-schema/createSOP.json",
"title": "createSOP",
"allOf": [
{
"$ref": "#/components/schemas/SOPBaseRequest"
},
{
"type": "object",
"properties": {
"item": {
"type": "object",
"required": [
"title"
]
}
}
}
]
},
"updateSOP": {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/labguru/main/json-schema/updateSOP.json",
"title": "updateSOP",
"allOf": [
{
"$ref": "#/components/schemas/SOPBaseRequest"
}
]
},
"createComment": {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/labguru/main/json-schema/createComment.json",
"title": "createComment",
"type": "object",
"required": [
"token"
],
"properties": {
"token": {
"type": "string",
"example": "YOUR TOKEN IS HERE"
},
"item": {
"type": "object",
"required": [
"comment",
"commentable_id",
"commentable_type"
],
"properties": {
"comment": {
"type": "string",
"description": "The text content of the comment"
},
"commentable_id": {
"type": "integer",
"description": "The id of the item to which the comment is being added"
},
"commentable_type": {
"type": "string",
"description": "Specifies the class name of the item to which the comment is attached, such as Biocollections::Plasmid"
}
}
}
}
},
"LinkBaseRequest": {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/labguru/main/json-schema/LinkBaseRequest.json",
"title": "LinkBaseRequest",
"type": "object",
"required": [
"token"
],
"properties": {
"token": {
"type": "string",
"example": "YOUR TOKEN IS HERE"
},
"item": {
"type": "object",
"properties": {
"source_id": {
"type": "integer",
"description": "The ID of the source item"
},
"source_type": {
"type": "string",
"description": "Specifies the class name of the source item, such as Biocollections::Plasmid"
},
"target_id": {
"type": "integer",
"description": "The ID of the target item"
},
"target_type": {
"type": "string",
"description": "Specifies the class name of the target item, such as Biocollections::Antibody"
},
"source_uuid": {
"type": "string",
"description": "The UUID of the source item"
},
"target_uuid": {
"type": "string",
"description": "The UUID of the target item"
}
}
}
}
},
"createLink": {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/labguru/main/json-schema/createLink.json",
"title": "createLink",
"allOf": [
{
"$ref": "#/components/schemas/LinkBaseRequest"
},
{
"type": "object",
"properties": {
"item": {
"type": "object",
"required": [
"source_id",
"source_type",
"target_id",
"target_type",
"source_uuid",
"target_uuid"
]
}
}
}
]
},
"updateLink": {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/labguru/main/json-schema/updateLink.json",
"title": "updateLink",
"allOf": [
{
"$ref": "#/components/schemas/LinkBaseRequest"
}
]
},
"CompoundBaseRequest": {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/labguru/main/json-schema/CompoundBaseRequest.json",
"title": "CompoundBaseRequest",
"type": "object",
"required": [
"token"
],
"properties": {
"token": {
"type": "string",
"example": "YOUR TOKEN IS HERE"
},
"smiles": {
"type": "string",
"example": "C(=O)N1CCC(CCCC(=O)c2ccc(Cl)n(Cc3ncc(o3)-c3ccc(Cl)cc3)c2=O)CC1"
},
"item": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "The name of the compound"
},
"description": {
"type": "string",
"description": "Updated description of the compound"
},
"structure": {
"type": "string",
"description": "Compound structure",
"example": "C(=O)N1CCC(CCCC(=O)c2ccc(Cl)n(Cc3ncc(o3)-c3ccc(Cl)cc3)c2=O)CC1"
},
"cas": {
"type": "string",
"description": "Compound CAS"
},
"formula": {
"type": "string",
"description": "Compound formula"
},
"molar_mass": {
"type": "string",
"description": "Compound molar mass"
},
"density": {
"type": "string",
"description": "Compound density"
},
"boiling_point": {
"type": "string",
"description": "Compound boiling point"
},
"melting_point": {
"type": "string",
"description": "Compound melting point"
},
"hazards": {
"type": "string",
"description": "Compound hazards"
}
}
}
}
},
"createCompound": {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/labguru/main/json-schema/createCompound.json",
"title": "createCompound",
"allOf": [
{
"$ref": "#/components/schemas/CompoundBaseRequest"
},
{
"type": "object",
"properties": {
"item": {
"type": "object",
"required": [
"name"
]
}
}
}
]
},
"updateCompound": {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/labguru/main/json-schema/updateCompound.json",
"title": "updateCompound",
"allOf": [
{
"$ref": "#/components/schemas/CompoundBaseRequest"
}
]
},
"TaskBaseRequest": {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/labguru/main/json-schema/TaskBaseRequest.json",
"title": "TaskBaseRequest",
"type": "object",
"required": [
"token"
],
"properties": {
"token": {
"type": "string",
"example": "YOUR TOKEN IS HERE"
},
"item": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"description": "The name of the Task"
},
"start_date": {
"type": "string",
"format": "date",
"description": "Start Date (yyyy-mm-dd)"
},
"assigned_to": {
"type": "integer",
"description": "id of assigner"
},
"description": {
"type": "string",
"description": "Description of the task"
},
"owner_id": {
"type": "integer",
"description": "id of the owner - by default it's your member id"
},
"notify_at": {
"type": "string",
"format": "date",
"description": "notification date & time (yyyy-mm-dd)"
}
}
}
}
},
"createTask": {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/labguru/main/json-schema/createTask.json",
"title": "createTask",
"allOf": [
{
"$ref": "#/components/schemas/TaskBaseRequest"
},
{
"type": "object",
"properties": {
"item": {
"type": "object",
"required": [
"name"
]
}
}
}
]
},
"updateTask": {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/labguru/main/json-schema/updateTask.json",
"title": "updateTask",
"allOf": [
{
"$ref": "#/components/schemas/TaskBaseRequest"
}
]
},
"RodentCageBaseRequest": {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/labguru/main/json-schema/RodentCageBaseRequest.json",
"title": "RodentCageBaseRequest",
"type": "object",
"required": [
"token"
],
"properties": {
"token": {
"type": "string",
"example": "YOUR TOKEN IS HERE"
},
"item": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "The name of the Rodent cage"
},
"breeding": {
"type": "boolean",
"description": "Breeding - by default it's true"
},
"parent_id": {
"type": "integer",
"description": "The ID of the storage location"
},
"description": {
"type": "string",
"description": "Detailed cage information"
},
"owner_id": {
"type": "integer",
"description": "id of the owner - by default it's your member id"
}
}
}
}
},
"createRodentCage": {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/labguru/main/json-schema/createRodentCage.json",
"title": "createRodentCage",
"allOf": [
{
"$ref": "#/components/schemas/RodentCageBaseRequest"
},
{
"type": "object",
"properties": {
"item": {
"type": "object",
"required": [
"name"
]
}
}
}
]
},
"updateRodentCage": {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/labguru/main/json-schema/updateRodentCage.json",
"title": "updateRodentCage",
"allOf": [
{
"$ref": "#/components/schemas/RodentCageBaseRequest"
}
]
},
"GeneBaseRequest": {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/labguru/main/json-schema/GeneBaseRequest.json",
"title": "GeneBaseRequest",
"type": "object",
"required": [
"token"
],
"properties": {
"token": {
"type": "string",
"example": "YOUR TOKEN IS HERE"
},
"item": {
"type": "object",
"properties": {
"title": {
"type": "string",
"description": "The name of the gene"
},
"alternative_name": {
"type": "string",
"description": "Alternative gene name."
},
"expression_location": {
"type": "string",
"description": "Location of gene expression."
},
"pathway": {
"type": "string",
"description": "Involved metabolic pathway."
},
"sequence": {
"type": "string",
"description": "Gene sequence.",
"example": "ACTGACGACATGGTTCTGACCTGA"
},
"owner_id": {
"type": "integer",
"description": "id of the owner - by default it's your member id"
},
"source": {
"type": "string",
"description": "The origin or source from which the gene was obtained."
},
"description": {
"type": "string",
"description": "Detailed gene information."
}
}
}
}
},
"createGene": {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/labguru/main/json-schema/createGene.json",
"title": "createGene",
"allOf": [
{
"$ref": "#/components/schemas/GeneBaseRequest"
},
{
"type": "object",
"properties": {
"item": {
"type": "object",
"required": [
"title"
]
}
}
}
]
},
"updateGene": {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/labguru/main/json-schema/updateGene.json",
"title": "updateGene",
"allOf": [
{
"$ref": "#/components/schemas/GeneBaseRequest"
}
]
},
"VirusBaseRequest": {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/labguru/main/json-schema/VirusBaseRequest.json",
"title": "VirusBaseRequest",
"type": "object",
"required": [
"token"
],
"properties": {
"token": {
"type": "string",
"example": "YOUR TOKEN IS HERE"
},
"item": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "The name of the virus"
},
"alternative_name": {
"type": "string",
"description": "alternative name for the virus"
},
"gene_insert": {
"type": "string",
"description": "Specific gene or genetic insert present in the virus"
},
"virus_type": {
"type": "string",
"description": "The virus type"
},
"plasmid": {
"type": "string",
"description": "The plasmid that is used in the creation or manipulation of the virus"
},
"serotype_strain": {
"type": "string",
"description": "serotype or strain of the virus"
},
"mutations_deletions": {
"type": "string",
"description": "genetic mutations or deletions within the virus details"
},
"tag": {
"type": "string",
"description": "Tag"
},
"selectable_marker": {
"type": "string",
"description": "Selectable marker"
},
"producer_cell_type": {
"type": "string",
"description": "Producer cell type"
},
"viral_coat": {
"type": "string",
"description": "Viral coat"
},
"tropism": {
"type": "string",
"description": "Tropism"
},
"species": {
"type": "string",
"description": "The species from which the virus was isolated or generated"
},
"safety_information": {
"type": "string",
"description": "safety information details"
},
"storage_conditions": {
"type": "string",
"description": "Conditions under which the virus should be stored"
},
"owner_id": {
"type": "integer",
"description": "id of the owner - by default it's your member id"
},
"source": {
"type": "string",
"description": "The origin of the virus"
},
"description": {
"type": "string",
"description": "Description of the virus"
}
}
}
}
},
"createVirus": {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/labguru/main/json-schema/createVirus.json",
"title": "createVirus",
"allOf": [
{
"$ref": "#/components/schemas/VirusBaseRequest"
},
{
"type": "object",
"properties": {
"item": {
"type": "object",
"required": [
"name"
]
}
}
}
]
},
"updateVirus": {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/labguru/main/json-schema/updateVirus.json",
"title": "updateVirus",
"allOf": [
{
"$ref": "#/components/schemas/VirusBaseRequest"
}
]
},
"LipidBaseRequest": {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/labguru/main/json-schema/LipidBaseRequest.json",
"title": "LipidBaseRequest",
"type": "object",
"required": [
"token"
],
"properties": {
"token": {
"type": "string",
"example": "YOUR TOKEN IS HERE"
},
"item": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "The name of the lipid"
},
"owner_id": {
"type": "integer",
"description": "ID of the owner (default: your member id)"
},
"alternative_name": {
"type": "string",
"description": "Any alternative name by which the lipid may be known"
},
"molecular_formula": {
"type": "string",
"description": "The molecular formula of the lipid"
},
"molecular_weight": {
"type": "string",
"description": "Molecular weight of the lipid"
},
"cas_number": {
"type": "string",
"description": "The Chemical Abstracts Service number"
},
"stock_solution_prep": {
"type": "string",
"description": "Media/solution"
},
"solubility": {
"type": "string",
"description": "Solubility information"
},
"conditions_for_use": {
"type": "string",
"description": "Recommended conditions under which the lipid should be used"
},
"conditions_for_storage": {
"type": "string",
"description": "Guidelines for proper storage of the lipid"
},
"safety_information": {
"type": "string",
"description": "Safety guidelines and hazard information related to the lipid"
},
"impurities": {
"type": "string",
"description": "Details of known impurities found in the lipid sample"
},
"source": {
"type": "string",
"description": "The origin of the lipid"
},
"description": {
"type": "string",
"description": "Detailed description of the lipid"
}
}
}
}
},
"createLipid": {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/labguru/main/json-schema/createLipid.json",
"title": "createLipid",
"allOf": [
{
"$ref": "#/components/schemas/LipidBaseRequest"
},
{
"type": "object",
"properties": {
"item": {
"type": "object",
"required": [
"name"
]
}
}
}
]
},
"updateLipid": {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/labguru/main/json-schema/updateLipid.json",
"title": "updateLipid",
"allOf": [
{
"$ref": "#/components/schemas/LipidBaseRequest"
}
]
},
"YeastBaseRequest": {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/labguru/main/json-schema/YeastBaseRequest.json",
"title": "YeastBaseRequest",
"type": "object",
"required": [
"token"
],
"properties": {
"token": {
"type": "string",
"example": "YOUR TOKEN IS HERE"
},
"item": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "The name of the yeast"
},
"description": {
"type": "string",
"description": "Description of the yeast"
},
"reproduction": {
"type": "string",
"description": "Details of the mode of reproduction for the yeast"
},
"genetic_background": {
"type": "string",
"description": "yeast's genetic lineage or background"
},
"transgenic_features": {
"type": "string",
"description": "Transgenic Features"
},
"phenotype": {
"type": "string",
"description": "Observable characteristics of the yeast"
},
"source": {
"type": "string",
"description": "Origin of the yeast strain"
},
"owner_id": {
"type": "integer",
"description": "id of the owner - if omitted, will default to your member id"
}
}
}
}
},
"createYeast": {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/labguru/main/json-schema/createYeast.json",
"title": "createYeast",
"allOf": [
{
"$ref": "#/components/schemas/YeastBaseRequest"
},
{
"type": "object",
"properties": {
"item": {
"type": "object",
"required": [
"name"
]
}
}
}
]
},
"updateYeast": {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/labguru/main/json-schema/updateYeast.json",
"title": "updateYeast",
"allOf": [
{
"$ref": "#/components/schemas/YeastBaseRequest"
}
]
},
"ProjectBaseRequest": {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/labguru/main/json-schema/ProjectBaseRequest.json",
"title": "ProjectBaseRequest",
"type": "object",
"required": [
"token"
],
"properties": {
"token": {
"type": "string",
"example": "YOUR TOKEN IS HERE"
},
"item": {
"type": "object",
"properties": {
"title": {
"type": "string",
"description": "The name of the project"
},
"description": {
"type": "string",
"description": "Description of the project"
},
"start_date": {
"type": "string",
"format": "date",
"description": "Start Date (yyyy-mm-dd)"
},
"closed": {
"type": "boolean",
"description": "Archived/Active project flag"
},
"status": {
"type": "string",
"description": "Status"
},
"owner_id": {
"type": "integer",
"description": "ID of the owner (default: your member id)"
}
}
}
}
},
"createProject": {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/labguru/main/json-schema/createProject.json",
"title": "createProject",
"allOf": [
{
"$ref": "#/components/schemas/ProjectBaseRequest"
},
{
"type": "object",
"properties": {
"item": {
"type": "object",
"required": [
"title"
]
}
}
}
]
},
"updateProject": {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/labguru/main/json-schema/updateProject.json",
"title": "updateProject",
"allOf": [
{
"$ref": "#/components/schemas/ProjectBaseRequest"
}
]
},
"BacteriumBaseRequest": {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/labguru/main/json-schema/BacteriumBaseRequest.json",
"title": "BacteriumBaseRequest",
"type": "object",
"required": [
"token"
],
"properties": {
"token": {
"type": "string",
"example": "YOUR TOKEN IS HERE"
},
"item": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "The name of the bacterium"
},
"sensitivity": {
"type": "string",
"description": "Details the bacterium\u2019s sensitivity to antibiotics or other agents."
},
"strain": {
"type": "string",
"description": "The specific strain of the bacterium"
},
"source": {
"type": "string",
"description": "The origin or isolation source of the bacterium (e.g., environmental, clinical)."
},
"owner_id": {
"type": "integer",
"description": "The ID of the owner - by default it's your member id"
},
"description": {
"type": "string",
"description": "A detailed description of the bacterium"
}
}
}
}
},
"createBacterium": {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/labguru/main/json-schema/createBacterium.json",
"title": "createBacterium",
"allOf": [
{
"$ref": "#/components/schemas/BacteriumBaseRequest"
},
{
"type": "object",
"properties": {
"item": {
"type": "object",
"required": [
"name"
]
}
}
}
]
},
"updateBacterium": {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/labguru/main/json-schema/updateBacterium.json",
"title": "updateBacterium",
"allOf": [
{
"$ref": "#/components/schemas/BacteriumBaseRequest"
}
]
},
"PrimerBaseRequest": {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/labguru/main/json-schema/PrimerBaseRequest.json",
"title": "PrimerBaseRequest",
"type": "object",
"required": [
"token"
],
"properties": {
"token": {
"type": "string",
"example": "YOUR TOKEN IS HERE"
},
"item": {
"type": "object",
"properties": {
"title": {
"type": "string",
"description": "The name of the primer"
},
"alternative_name": {
"type": "string",
"description": "Any alternative name by which the primer may be known"
},
"owner_id": {
"type": "integer",
"description": "id of the owner - if omitted, will default to your member id"
},
"sequence": {
"type": "string",
"description": "The nucleotide sequence of the primer"
},
"tag": {
"type": "string",
"description": "A unique label or tag associated with the primer"
},
"gene_id": {
"type": "integer",
"nullable": true,
"description": "A reference ID linking the primer to a specific gene in your lab"
},
"tm": {
"type": "string",
"description": "The melting temperature (Tm) of the primer",
"example": 3
},
"orientation": {
"type": "string",
"description": "Indicates the orientation of the primer. Set \"1\" for forward and \"0\" for reverse. This field is optional and can be left null if orientation is not applicable",
"nullable": true,
"example": "1"
},
"target_position": {
"type": "string",
"description": "The specific binding position of the primer on the target DNA"
},
"fragment_size": {
"type": "string",
"description": "The size of the DNA fragment that the primer is designed to amplify"
},
"organism": {
"type": "string",
"description": "The specific organism for which the primer is designed, such as \"Mouse\""
},
"used_for": {
"type": "string",
"description": "The specific applications for which the primer is used (pcr / RT / SDM / etc.)"
},
"restriction_site": {
"type": "string",
"description": "Information about any restriction enzyme recognition sites incorporated into the primer design"
},
"source": {
"type": "string",
"description": "The origin or source from which the primer was obtained"
},
"description": {
"type": "string",
"description": "A detailed description of the primer"
}
}
}
}
},
"createPrimer": {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/labguru/main/json-schema/createPrimer.json",
"title": "createPrimer",
"allOf": [
{
"$ref": "#/components/schemas/PrimerBaseRequest"
},
{
"type": "object",
"properties": {
"item": {
"type": "object",
"required": [
"title"
]
}
}
}
]
},
"updatePrimer": {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/labguru/main/json-schema/updatePrimer.json",
"title": "updatePrimer",
"allOf": [
{
"$ref": "#/components/schemas/PrimerBaseRequest"
}
]
},
"SeedBaseRequest": {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/labguru/main/json-schema/SeedBaseRequest.json",
"title": "SeedBaseRequest",
"type": "object",
"required": [
"token"
],
"properties": {
"token": {
"type": "string",
"example": "YOUR TOKEN IS HERE"
},
"item": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "The name of the seed"
},
"owner_id": {
"type": "integer",
"description": "id of the owner - if omitted, will default to your member id"
},
"genotype": {
"type": "string",
"description": "Genetic makeup of the seed"
},
"phenotype": {
"type": "string",
"description": "Observable physical or biochemical characteristics of the seed"
},
"generation": {
"type": "string",
"description": "Generational stage of the seed",
"example": "F0"
},
"male_parent_id": {
"type": "integer",
"description": "The ID of the male parent plant from your Labguru plants collection, if applicable."
},
"female_parent_id": {
"type": "integer",
"description": "The ID of the female parent plant from your Labguru plants collection, if applicable."
},
"source": {
"type": "string",
"description": "Origin of the seed"
},
"description": {
"type": "string",
"description": "Description of the seed"
}
}
}
}
},
"createSeed": {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/labguru/main/json-schema/createSeed.json",
"title": "createSeed",
"allOf": [
{
"$ref": "#/components/schemas/SeedBaseRequest"
},
{
"type": "object",
"properties": {
"item": {
"type": "object",
"required": [
"name"
]
}
}
}
]
},
"updateSeed": {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/labguru/main/json-schema/updateSeed.json",
"title": "updateSeed",
"allOf": [
{
"$ref": "#/components/schemas/SeedBaseRequest"
}
]
},
"CellLineBaseRequest": {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/labguru/main/json-schema/CellLineBaseRequest.json",
"title": "CellLineBaseRequest",
"type": "object",
"required": [
"token"
],
"properties": {
"token": {
"type": "string",
"example": "YOUR TOKEN IS HERE"
},
"item": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "The name of the cell line"
},
"owner_id": {
"type": "integer",
"description": "The ID of the owner - by default it's your member id"
},
"organism": {
"type": "string",
"description": "The organism from which the cells were originated"
},
"tissue": {
"type": "string",
"description": "The tissue from which the cells were extracted"
},
"medium_and_serum": {
"type": "string",
"description": "A supplement used for cultivating cells"
},
"source": {
"type": "string",
"description": "The location or environment from which the cells were originated"
},
"description": {
"type": "string",
"description": "A detailed description of the cell line"
}
}
}
}
},
"createCellLine": {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/labguru/main/json-schema/createCellLine.json",
"title": "createCellLine",
"allOf": [
{
"$ref": "#/components/schemas/CellLineBaseRequest"
},
{
"type": "object",
"properties": {
"item": {
"type": "object",
"required": [
"name"
]
}
}
}
]
},
"updateCellLine": {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/labguru/main/json-schema/updateCellLine.json",
"title": "updateCellLine",
"allOf": [
{
"$ref": "#/components/schemas/CellLineBaseRequest"
}
]
},
"ProteinBaseRequest": {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/labguru/main/json-schema/ProteinBaseRequest.json",
"title": "ProteinBaseRequest",
"type": "object",
"required": [
"token"
],
"properties": {
"token": {
"type": "string",
"example": "YOUR TOKEN IS HERE"
},
"item": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "The name of the protein"
},
"owner_id": {
"type": "integer",
"description": "ID of the owner - if omitted, will default to your id"
},
"alternative_name": {
"type": "string",
"description": "An additional name for the protein"
},
"gene": {
"type": "string",
"description": " The gene from which the protein is derived"
},
"species": {
"type": "string",
"description": "The species from which the protein originates"
},
"lg_mutations": {
"type": "string",
"description": "List of mutations in the protein structure"
},
"chemical_modifications": {
"type": "string",
"description": "Details any chemical modifications the protein has undergone"
},
"tag": {
"type": "string",
"description": "A label or tag attached to the protein"
},
"purification_method": {
"type": "string",
"description": "The method used to purify the protein from other biological components"
},
"mw": {
"type": "string",
"description": "The molecular weight of the protein"
},
"extinction_coefficient_280nm": {
"type": "string",
"description": "The extinction coefficient at 280 nm"
},
"storage_buffer": {
"type": "string",
"description": "The buffer solution in which the protein is stored"
},
"storage_temperature": {
"type": "string",
"description": "The temperature in which the protein is stored"
},
"source": {
"type": "string",
"description": "The protein source"
},
"sequence": {
"type": "string",
"description": "The amino acid sequence of the protein"
},
"description": {
"type": "string",
"description": "A detailed description of the protein"
}
}
}
}
},
"createProtein": {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/labguru/main/json-schema/createProtein.json",
"title": "createProtein",
"allOf": [
{
"$ref": "#/components/schemas/ProteinBaseRequest"
},
{
"type": "object",
"properties": {
"item": {
"type": "object",
"required": [
"name"
]
}
}
}
]
},
"updateProtein": {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/labguru/main/json-schema/updateProtein.json",
"title": "updateProtein",
"allOf": [
{
"$ref": "#/components/schemas/ProteinBaseRequest"
}
]
},
"PlantBaseRequest": {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/labguru/main/json-schema/PlantBaseRequest.json",
"title": "PlantBaseRequest",
"type": "object",
"required": [
"token"
],
"properties": {
"token": {
"type": "string",
"example": "YOUR TOKEN IS HERE"
},
"item": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "The botanical name of the plant."
},
"owner_id": {
"type": "integer",
"description": "ID of the owner - if omitted, will default to your id"
},
"phenotype": {
"type": "string",
"description": "Observable physical or biochemical characteristics of the plant"
},
"genotype": {
"type": "string",
"description": "The genetic makeup of the plant"
},
"generation": {
"type": "string",
"description": "Generation of the plant"
},
"harvest_date": {
"type": "string",
"format": "date",
"description": "The date when the plant was harvested, formatted as YYYY-MM-DD",
"example": "2021-03-11"
},
"source": {
"type": "string",
"description": "The origin of the plant"
},
"description": {
"type": "string",
"description": "Description of the plant"
}
}
}
}
},
"createPlant": {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/labguru/main/json-schema/createPlant.json",
"title": "createPlant",
"allOf": [
{
"$ref": "#/components/schemas/PlantBaseRequest"
},
{
"type": "object",
"properties": {
"item": {
"type": "object",
"required": [
"name"
]
}
}
}
]
},
"updatePlant": {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/labguru/main/json-schema/updatePlant.json",
"title": "updatePlant",
"allOf": [
{
"$ref": "#/components/schemas/PlantBaseRequest"
}
]
},
"FlyBaseRequest": {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/labguru/main/json-schema/FlyBaseRequest.json",
"title": "FlyBaseRequest",
"type": "object",
"required": [
"token"
],
"properties": {
"token": {
"type": "string",
"example": "YOUR TOKEN IS HERE"
},
"item": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "The name of the fly"
},
"owner_id": {
"type": "integer",
"description": "id of the owner - by default it's your member id"
},
"source": {
"type": "string",
"description": "Origin of the fly."
},
"genotype": {
"type": "string",
"description": "Genetic makeup."
},
"phenotype": {
"type": "string",
"description": "Observable characteristics."
},
"breakpoints_insertions": {
"type": "string",
"description": "Genetic insertion points."
},
"ch_number": {
"type": "string",
"description": "Chromosome number."
},
"ch_te": {
"type": "string",
"description": "Transposable element in chromosome."
},
"description": {
"type": "string",
"description": "Description of the fly"
}
}
}
}
},
"createFly": {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/labguru/main/json-schema/createFly.json",
"title": "createFly",
"allOf": [
{
"$ref": "#/components/schemas/FlyBaseRequest"
},
{
"type": "object",
"properties": {
"item": {
"type": "object",
"required": [
"name"
]
}
}
}
]
},
"updateFly": {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/labguru/main/json-schema/updateFly.json",
"title": "updateFly",
"allOf": [
{
"$ref": "#/components/schemas/FlyBaseRequest"
}
]
},
"SequenceBaseRequest": {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/labguru/main/json-schema/SequenceBaseRequest.json",
"title": "SequenceBaseRequest",
"type": "object",
"required": [
"token"
],
"properties": {
"token": {
"type": "string",
"example": "YOUR TOKEN IS HERE"
},
"item": {
"type": "object",
"properties": {
"title": {
"type": "string",
"description": "The name of the sequence"
},
"owner_id": {
"type": "integer",
"description": "id of the owner - by default it's your member id"
},
"seq": {
"type": "string",
"description": "The actual sequence data in characters"
},
"kind": {
"type": "integer",
"description": "sequence type: DNA = 1, CDNA = 2, RNA = 3, PROBE = 4, PROTEIN = 5",
"example": 2
},
"accsesion": {
"type": "string",
"description": "The unique accession number assigned to the sequence"
},
"organism": {
"type": "string",
"description": "The organism from which the sequence is derived"
},
"description": {
"type": "string",
"description": "Description of the sequence"
}
}
}
}
},
"createSequence": {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/labguru/main/json-schema/createSequence.json",
"title": "createSequence",
"allOf": [
{
"$ref": "#/components/schemas/SequenceBaseRequest"
},
{
"type": "object",
"properties": {
"item": {
"type": "object",
"required": [
"title",
"seq"
]
}
}
}
]
},
"updateSequence": {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/labguru/main/json-schema/updateSequence.json",
"title": "updateSequence",
"allOf": [
{
"$ref": "#/components/schemas/SequenceBaseRequest"
}
]
},
"RodentSpecimenBaseRequest": {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/labguru/main/json-schema/RodentSpecimenBaseRequest.json",
"title": "RodentSpecimenBaseRequest",
"type": "object",
"required": [
"token"
],
"properties": {
"token": {
"type": "string",
"example": "YOUR TOKEN IS HERE"
},
"item": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "The name of the rodent specimen"
},
"status": {
"type": "string",
"description": "the status of the rodent: alive, dead, missing, sacrificed"
},
"description": {
"type": "string",
"description": "Description of the rodent specimen"
},
"alternative_name": {
"type": "string",
"description": "additional name for the rodent specimen"
},
"owner_id": {
"type": "integer",
"description": "id of the owner - by default it's your member id"
},
"genotype": {
"type": "string",
"description": "genotype"
},
"phenotype": {
"type": "string",
"description": "phenotype"
},
"ear_tag": {
"type": "string",
"description": "ear tag"
},
"coat_tag": {
"type": "string",
"description": "coat tag"
},
"sex": {
"type": "string",
"description": "sex of the rodent: male, female, unknown"
},
"ethics": {
"type": "string",
"description": "ethics approval id"
},
"dob": {
"type": "string",
"format": "date",
"description": "Date of birth (yyyy-mm-dd)"
},
"dod": {
"type": "string",
"format": "date",
"description": "Date of death (yyyy-mm-dd)"
},
"source": {
"type": "string",
"description": "source"
}
}
}
}
},
"createRodentSpecimen": {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/labguru/main/json-schema/createRodentSpecimen.json",
"title": "createRodentSpecimen",
"allOf": [
{
"$ref": "#/components/schemas/RodentSpecimenBaseRequest"
},
{
"type": "object",
"properties": {
"item": {
"type": "object",
"required": [
"name",
"status"
]
}
}
}
]
},
"updateRodentSpecimen": {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/labguru/main/json-schema/updateRodentSpecimen.json",
"title": "updateRodentSpecimen",
"allOf": [
{
"$ref": "#/components/schemas/RodentSpecimenBaseRequest"
}
]
},
"createMaintenanceType": {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/labguru/main/json-schema/createMaintenanceType.json",
"title": "createMaintenanceType",
"type": "object",
"required": [
"token"
],
"properties": {
"token": {
"type": "string",
"example": "YOUR TOKEN IS HERE"
},
"item": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"description": "The name of the maintenance type"
}
}
}
}
},
"updateMaintenanceType": {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/labguru/main/json-schema/updateMaintenanceType.json",
"title": "updateMaintenanceType",
"type": "object",
"required": [
"token"
],
"properties": {
"token": {
"type": "string",
"example": "YOUR TOKEN IS HERE"
},
"item": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"description": "The new name of the maintenance type"
}
}
}
}
},
"FungusBaseRequest": {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/labguru/main/json-schema/FungusBaseRequest.json",
"title": "FungusBaseRequest",
"type": "object",
"required": [
"token"
],
"properties": {
"token": {
"type": "string",
"example": "YOUR TOKEN IS HERE"
},
"item": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "The name of the fungus"
},
"species": {
"type": "string",
"description": "Biological species."
},
"phenotype": {
"type": "string",
"description": "Observable traits."
},
"genotype": {
"type": "string",
"description": "Genetic composition."
},
"host": {
"type": "string",
"description": "Associated host organism."
},
"virulent": {
"type": "string",
"description": "Virulence factor."
},
"sporulate": {
"type": "string",
"description": "Ability to form spores."
},
"mycelia": {
"type": "string",
"description": "Mycelial growth."
},
"fruiting_bodies": {
"type": "string",
"description": "Presence of sporocarps."
},
"owner_id": {
"type": "integer",
"description": "id of the owner - by default it's your member id"
},
"source": {
"type": "string",
"description": "The origin or source from which the fungus was obtained."
},
"description": {
"type": "string",
"description": "Description of the fungus"
}
}
}
}
},
"createFungus": {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/labguru/main/json-schema/createFungus.json",
"title": "createFungus",
"allOf": [
{
"$ref": "#/components/schemas/FungusBaseRequest"
},
{
"type": "object",
"properties": {
"item": {
"type": "object",
"required": [
"name"
]
}
}
}
]
},
"updateFungus": {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/labguru/main/json-schema/updateFungus.json",
"title": "updateFungus",
"allOf": [
{
"$ref": "#/components/schemas/FungusBaseRequest"
}
]
},
"TissueBaseRequest": {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/labguru/main/json-schema/TissueBaseRequest.json",
"title": "TissueBaseRequest",
"type": "object",
"required": [
"token"
],
"properties": {
"token": {
"type": "string",
"example": "YOUR TOKEN IS HERE"
},
"item": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "The name of the tissue"
},
"alternative_name": {
"type": "string",
"description": "An alternative name for the tissue"
},
"species": {
"type": "string",
"description": "The species from which the tissue is derived"
},
"genotype_phenotype": {
"type": "string",
"description": "Genotype/phenotype"
},
"animal_details": {
"type": "string",
"description": "Detailed information about the animal from which the tissue was harvested"
},
"tissue_type": {
"type": "string",
"description": "The type of the tissue "
},
"harvest_date": {
"type": "string",
"description": "Harvest date - in the following format (yyyy-mm-dd)",
"example": "2021-06-21"
},
"fixation_embedding_procedure": {
"type": "string",
"description": "Fixation/embedding procedure"
},
"applications": {
"type": "string",
"description": "Applications"
},
"storage_conditions": {
"type": "string",
"description": "Storage conditions"
},
"owner_id": {
"type": "integer",
"description": "id of the owner - by default it's your member id"
},
"source": {
"type": "string",
"description": "The origin of the tissue"
},
"description": {
"type": "string",
"description": "Description of the tissue"
}
}
}
}
},
"createTissue": {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/labguru/main/json-schema/createTissue.json",
"title": "createTissue",
"allOf": [
{
"$ref": "#/components/schemas/TissueBaseRequest"
},
{
"type": "object",
"properties": {
"item": {
"type": "object",
"required": [
"name"
]
}
}
}
]
},
"updateTissue": {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/labguru/main/json-schema/updateTissue.json",
"title": "updateTissue",
"allOf": [
{
"$ref": "#/components/schemas/TissueBaseRequest"
}
]
},
"RodentStrainBaseRequest": {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/labguru/main/json-schema/RodentStrainBaseRequest.json",
"title": "RodentStrainBaseRequest",
"type": "object",
"required": [
"token"
],
"properties": {
"token": {
"type": "string",
"example": "YOUR TOKEN IS HERE"
},
"item": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "The name of the strain"
},
"alternative_name": {
"type": "string",
"description": "additional name for the strain"
},
"transgene": {
"type": "string",
"description": "Transgene"
},
"genotype": {
"type": "string",
"description": "Genotype"
},
"phenotype": {
"type": "string",
"description": "Phenotype"
},
"owner_id": {
"type": "integer",
"description": "id of the owner - by default it's your member id"
},
"source": {
"type": "string",
"description": "Source"
},
"description": {
"type": "string",
"description": "Description of the strain"
}
}
}
}
},
"createRodentStrain": {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/labguru/main/json-schema/createRodentStrain.json",
"title": "createRodentStrain",
"allOf": [
{
"$ref": "#/components/schemas/RodentStrainBaseRequest"
},
{
"type": "object",
"properties": {
"item": {
"type": "object",
"required": [
"name"
]
}
}
}
]
},
"updateRodentStrain": {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/labguru/main/json-schema/updateRodentStrain.json",
"title": "updateRodentStrain",
"allOf": [
{
"$ref": "#/components/schemas/RodentStrainBaseRequest"
}
]
},
"createProtocol": {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/labguru/main/json-schema/createProtocol.json",
"title": "createProtocol",
"type": "object",
"required": [
"token"
],
"properties": {
"token": {
"type": "string",
"example": "YOUR TOKEN IS HERE"
},
"item": {
"type": "string",
"example": "{\"name\":\"A protocol name\",\"experiment_procedures\":[],\"elements\":[]}"
}
}
},
"updateProtocol": {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/labguru/main/json-schema/updateProtocol.json",
"title": "updateProtocol",
"type": "object",
"required": [
"token"
],
"properties": {
"token": {
"type": "string",
"example": "YOUR TOKEN IS HERE"
},
"item": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "The protocol name"
}
}
}
}
},
"createMaintenance": {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/labguru/main/json-schema/createMaintenance.json",
"title": "createMaintenance",
"type": "object",
"required": [
"token"
],
"properties": {
"token": {
"type": "string",
"example": "YOUR TOKEN IS HERE"
},
"item": {
"type": "object",
"required": [
"item_id",
"item_type",
"maintenance_type_id",
"frequency_period",
"frequency_frame"
],
"properties": {
"item_id": {
"type": "integer",
"description": "the id of the equipment"
},
"item_type": {
"type": "string",
"description": "the class of the item (System::Instrument)",
"example": "System::Instrument"
},
"maintenance_type_id": {
"type": "integer",
"description": "the id of the maintenance type"
},
"frequency_period": {
"type": "integer",
"description": "the time period in numbers",
"example": "1"
},
"frequency_frame": {
"type": "string",
"description": "one of the following time frames - hour/day/week/month/year",
"example": "year"
}
}
}
}
},
"updateMaintenance": {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/labguru/main/json-schema/updateMaintenance.json",
"title": "updateMaintenance",
"type": "object",
"required": [
"token"
],
"properties": {
"token": {
"type": "string",
"example": "YOUR TOKEN IS HERE"
},
"item": {
"type": "object",
"required": [
"item_id"
],
"properties": {
"item_id": {
"type": "integer",
"description": "the id of the equipment"
},
"frequency_period": {
"type": "integer",
"description": "the time period in numbers",
"example": "15"
},
"frequency_frame": {
"type": "string",
"description": "one of the following time frames - hour/day/week/month/year",
"example": "day"
}
}
}
}
},
"PaperBaseRequest": {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/labguru/main/json-schema/PaperBaseRequest.json",
"title": "PaperBaseRequest",
"type": "object",
"required": [
"token"
],
"properties": {
"token": {
"type": "string",
"example": "YOUR TOKEN IS HERE"
},
"item": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "the papers title "
},
"journal": {
"type": "string",
"description": "the time period in numbers"
},
"authors": {
"type": "string",
"description": ""
},
"publication_date": {
"type": "string",
"format": "date",
"description": "in the following format yyyy-mm-dd "
},
"volume": {
"type": "string",
"description": "volume"
},
"pages": {
"type": "string",
"description": "pages"
},
"url": {
"type": "string",
"description": "www.link.com"
},
"doi": {
"type": "string",
"description": "digital object identifier",
"example": "10.1002/aur21"
},
"review": {
"type": "string",
"description": "Abstract"
}
}
}
}
},
"createPaper": {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/labguru/main/json-schema/createPaper.json",
"title": "createPaper",
"allOf": [
{
"$ref": "#/components/schemas/PaperBaseRequest"
},
{
"type": "object",
"properties": {
"item": {
"type": "object",
"required": [
"name"
]
}
}
}
]
},
"updatePaper": {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/labguru/main/json-schema/updatePaper.json",
"title": "updatePaper",
"allOf": [
{
"$ref": "#/components/schemas/PaperBaseRequest"
}
]
},
"DocumentBaseRequest": {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/labguru/main/json-schema/DocumentBaseRequest.json",
"title": "DocumentBaseRequest",
"type": "object",
"required": [
"token"
],
"properties": {
"token": {
"type": "string",
"example": "YOUR TOKEN IS HERE"
},
"item": {
"type": "object",
"properties": {
"title": {
"type": "string",
"description": "the document title "
},
"description": {
"type": "string",
"description": "the document description"
}
}
}
}
},
"createDocument": {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/labguru/main/json-schema/createDocument.json",
"title": "createDocument",
"allOf": [
{
"$ref": "#/components/schemas/DocumentBaseRequest"
},
{
"type": "object",
"properties": {
"item": {
"type": "object",
"required": [
"title"
]
}
}
}
]
},
"updateDocument": {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/labguru/main/json-schema/updateDocument.json",
"title": "updateDocument",
"allOf": [
{
"$ref": "#/components/schemas/DocumentBaseRequest"
}
]
},
"ReportBaseRequest": {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/labguru/main/json-schema/ReportBaseRequest.json",
"title": "ReportBaseRequest",
"type": "object",
"required": [
"token"
],
"properties": {
"token": {
"type": "string",
"example": "YOUR TOKEN IS HERE"
},
"item": {
"type": "object",
"properties": {
"title": {
"type": "string",
"description": "the report title "
}
}
}
}
},
"createReport": {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/labguru/main/json-schema/createReport.json",
"title": "createReport",
"allOf": [
{
"$ref": "#/components/schemas/ReportBaseRequest"
},
{
"type": "object",
"properties": {
"item": {
"type": "object",
"required": [
"title"
]
}
}
}
]
},
"updateReport": {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/labguru/main/json-schema/updateReport.json",
"title": "updateReport",
"allOf": [
{
"$ref": "#/components/schemas/ReportBaseRequest"
}
]
},
"addAnExperimentSectionToReport": {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/labguru/main/json-schema/addAnExperimentSectionToReport.json",
"title": "addAnExperimentSectionToReport",
"type": "object",
"required": [
"token"
],
"properties": {
"token": {
"type": "string",
"example": "YOUR TOKEN IS HERE"
},
"item": {
"type": "object",
"required": [
"report_id",
"section_id"
],
"properties": {
"report_id": {
"type": "integer",
"description": "the report id"
},
"section_id": {
"type": "string",
"description": "the experiment procedure id to copy",
"example": "32"
}
}
}
}
},
"addCoverToReport": {
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/labguru/main/json-schema/addCoverToReport.json",
"title": "addCoverToReport",
"type": "object",
"required": [
"token"
],
"properties": {
"token": {
"type": "string",
"example": "YOUR TOKEN IS HERE"
},
"item": {
"type": "object",
"required": [
"report_id",
"data"
],
"properties": {
"report_id": {
"type": "integer",
"description": "the report id"
},
"data": {
"type": "string",
"description": "cover page data in HTML format",
"example": "