ConsumableStock schemas

Table of contents

  1. How to use this page
  2. Quick type map
  3. Examples
    1. ConsumableStock payload fragment
  4. Request pattern
  5. Schema reference
    1. ChemicalReagent
    2. ConsumableDevice
    3. ImmunoReagent
    4. ImplantMaterial
    5. OpticFiber
    6. OpticalComponent
    7. PharmacologicalAgent
    8. PhysiologicalSolution
    9. SiliconProbe
    10. SingleWireElectrode
    11. SurgicalDisposable
    12. TracerDye
    13. VirusSolution

How to use this page

  • Use this page when calling /api/private/modules/consumablestock/.
  • Set type to one schema name from the list below.
  • Send details that matches that schema exactly.
  • Use this for inventory metadata keyed by consumable stock type.

Quick type map

Type valueSchema versionRequired fieldsSchema shape
ChemicalReagent1.2.0chemicalTypeobject
ConsumableDevice1.0.0deviceClassobject
ImmunoReagent1.1.0reagentTypeobject
ImplantMaterial1.0.0noneobject
OpticFiber1.0.0noneobject
OpticalComponent1.2.0componentTypeobject
PharmacologicalAgent1.1.0pharmacologicalCategoryobject
PhysiologicalSolution1.1.0noneobject
SiliconProbe1.0.0noneobject
SingleWireElectrode1.1.0noneobject
SurgicalDisposable1.0.0noneobject
TracerDye1.2.0dyeTypeobject
VirusSolution1.1.1noneobject

Examples

ConsumableStock payload fragment

{
  "type": "ChemicalReagent",
  "details": {
    "chemicalType": "Detergent"
  }
}

Request pattern

{
  "type": "ChemicalReagent",
  "details": {
    "chemicalType": "Detergent"
  }
}

Schema reference

ChemicalReagent

  • Schema title: Chemical Reagent
  • Schema version: 1.2.0
  • Source: brainstem/schemas/ConsumableStock/ChemicalReagent.json
  • Schema shape: object
  • Required fields: chemicalType

Example payload for this type:

{
  "chemicalType": "Detergent"
}
FieldExpected valueRequiredConstraints/format
amountstringnoformat=”text”
batchIdstringnoformat=”text”
chemicalTypestringyesenum=[“Detergent”, “Enzyme”, “Fixative”, “Indicator or pH Adjuster”, “Salt or Buffer”, “Solvent”, “Stain or Dye”, “Polymer or Resin”, “Other”]
compoundNamestringnoformat=”text”
concentrationstringnoformat=”text”
hazardInfostringnoformat=”textarea”
molecularWeightobject(value:number, unit:enum[g/mol, kDa, Da])noformat=”numberUnit”; default={“unit”: “g/mol”}
puritystringnoformat=”text”

ConsumableDevice

  • Schema title: Consumable Device
  • Schema version: 1.0.0
  • Source: brainstem/schemas/ConsumableStock/ConsumableDevice.json
  • Schema shape: object
  • Required fields: deviceClass

Example payload for this type:

{
  "deviceClass": "Headstage"
}
FieldExpected valueRequiredConstraints/format
compatibleWithstringnoformat=”text”
connectivitystringnoformat=”text”
deviceClassstringyesenum=[“Headstage”, “Headstage Adapter”, “Miniscope Baseplate”, “Microdrive”, “Drive Mount”, “Fiber Cannula Assembly”, “Commutator Adapter”, “Thermal Interface Board”, “Connector Assembly”, “Custom Fixture”, “Other”]
dimensionsstringnoformat=”text”
experimentalUsearrayno
materialstringnoformat=”text”
productIdstringnoformat=”text”

ImmunoReagent

  • Schema title: Antibody or Immunoreagent
  • Schema version: 1.1.0
  • Source: brainstem/schemas/ConsumableStock/ImmunoReagent.json
  • Schema shape: object
  • Required fields: reagentType

Example payload for this type:

{
  "reagentType": "Primary Antibody"
}
FieldExpected valueRequiredConstraints/format
amountstringnoformat=”text”
applicationarrayno
batchIdstringnoformat=”text”
clonalitystringnoenum=[“Monoclonal”, “Polyclonal”, “Recombinant”, “Unknown”]
conjugatestringnoformat=”text”
dilutionstringnoformat=”text”
hostSpeciesstringno
reactivitystringno
reagentTypestringyesenum=[“Primary Antibody”, “Secondary Antibody”, “Fluorescent Label”, “DNA Counterstain”, “Other”]
targetAntigenstringnoformat=”text”

ImplantMaterial

  • Schema title: Implant or fixation material
  • Schema version: 1.0.0
  • Source: brainstem/schemas/ConsumableStock/ImplantMaterial.json
  • Schema shape: object
  • Required fields: none

Example payload for this type:

{
  "batchId": "example",
  "amount": "example",
  "preparationInstructions": "example",
  "sterile": false
}
FieldExpected valueRequiredConstraints/format
amountstringnoformat=”text”
batchIdstringnoformat=”text”
preparationInstructionsstringnoformat=”textarea”
sterilebooleannoformat=”checkbox”

OpticFiber

  • Schema title: Optic fiber
  • Schema version: 1.0.0
  • Source: brainstem/schemas/ConsumableStock/OpticFiber.json
  • Schema shape: object
  • Required fields: none

Example payload for this type:

{
  "fiberIds": "example",
  "quantity": 0
}
FieldExpected valueRequiredConstraints/format
fiberIdsstringnoformat=”text”
quantityintegernominimum=0

OpticalComponent

  • Schema title: Optical Component
  • Schema version: 1.2.0
  • Source: brainstem/schemas/ConsumableStock/OpticalComponent.json
  • Schema shape: object
  • Required fields: componentType

Example payload for this type:

{
  "componentType": "GRIN Lens"
}
FieldExpected valueRequiredConstraints/format
coatingstringnoformat=”text”
componentTypestringyesenum=[“GRIN Lens”, “Cranial Window”, “Cover Glass”, “Microprism”, “Beamsplitter”, “Optical Filter”, “Relay Lens”, “Other”]
dimensionsstringnoformat=”text”
experimentalUsearrayno
materialstringnoformat=”text”
productIdstringnoformat=”text”
sterilebooleanno
wavelengthMaxobject(value:number, unit:enum[nm, µm, mm, m])noformat=”numberUnit”; default={“unit”: “nm”}
wavelengthMinobject(value:number, unit:enum[nm, µm, mm, m])noformat=”numberUnit”; default={“unit”: “nm”}

PharmacologicalAgent

  • Schema title: Pharmacological Agent
  • Schema version: 1.1.0
  • Source: brainstem/schemas/ConsumableStock/PharmacologicalAgent.json
  • Schema shape: object
  • Required fields: pharmacologicalCategory

Example payload for this type:

{
  "pharmacologicalCategory": "Analgesic"
}
FieldExpected valueRequiredConstraints/format
activeIngredientstringnoformat=”text”
amountstringnoformat=”text”
batchIdstringnoformat=”text”
concentrationstringnoformat=”text”
dosageFormstringnoenum=[“Solution”, “Suspension”, “Tablet”, “Capsule”, “Injection”, “Topical”, “Patch”, “Other”]
experimentalUsearrayno
formulationstringnoformat=”text”
pharmacologicalCategorystringyesenum=[“Analgesic”, “Anesthetic”, “Antibiotic”, “Neuroactive”, “Recreational”, “Vehicle”, “Experimental”, “Other”]
pharmacologicalClassstringnoformat=”text”
puritystringnoformat=”text”
routeOfAdministrationstringnoenum=[“Intraperitoneal (IP)”, “Intravenous (IV)”, “Subcutaneous (SC)”, “Oral”, “Topical”, “Inhalation”, “Intracerebral”, “Other”]

PhysiologicalSolution

  • Schema title: Physiological Solution
  • Schema version: 1.1.0
  • Source: brainstem/schemas/ConsumableStock/PhysiologicalSolution.json
  • Schema shape: object
  • Required fields: none

Example payload for this type:

{
  "solutionName": "example",
  "composition": "example",
  "amount": "example",
  "pH": 0
}
FieldExpected valueRequiredConstraints/format
amountstringnoformat=”text”
compositionstringnoformat=”textarea”
osmolalitystringnoformat=”text”
pHnumbernominimum=0
preparationInstructionsstringnoformat=”textarea”
purposearrayno
solutionNamestringnoformat=”text”
sterilebooleanno

SiliconProbe

  • Schema title: Silicon probe
  • Schema version: 1.0.0
  • Source: brainstem/schemas/ConsumableStock/SiliconProbe.json
  • Schema shape: object
  • Required fields: none

Example payload for this type:

{
  "probeIds": "example",
  "quantity": 0
}
FieldExpected valueRequiredConstraints/format
probeIdsstringnoformat=”text”
quantityintegernominimum=0

SingleWireElectrode

  • Schema title: Single wire electrode
  • Schema version: 1.1.0
  • Source: brainstem/schemas/ConsumableStock/SingleWireElectrode.json
  • Schema shape: object
  • Required fields: none

Example payload for this type:

{
  "wireIds": "example",
  "quantity": 0,
  "length": {
    "unit": "mm",
    "value": 0
  }
}
FieldExpected valueRequiredConstraints/format
lengthobject(value:number, unit:enum[nm, µm, mm, m])noformat=”numberUnit”; default={“unit”: “mm”}
quantityintegernominimum=0
wireIdsstringnoformat=”text”

SurgicalDisposable

  • Schema title: Surgical disposable
  • Schema version: 1.0.0
  • Source: brainstem/schemas/ConsumableStock/SurgicalDisposable.json
  • Schema shape: object
  • Required fields: none

Example payload for this type:

{
  "batchId": "example",
  "quantity": 0,
  "sterile": false
}
FieldExpected valueRequiredConstraints/format
batchIdstringnoformat=”text”
quantityintegernominimum=0
sterilebooleannoformat=”checkbox”

TracerDye

  • Schema title: Tracer or Dye
  • Schema version: 1.2.0
  • Source: brainstem/schemas/ConsumableStock/TracerDye.json
  • Schema shape: object
  • Required fields: dyeType

Example payload for this type:

{
  "dyeType": "Fluorescent Tracer"
}
FieldExpected valueRequiredConstraints/format
amountstringnoformat=”text”
batchIdstringnoformat=”text”
dyeTypestringyesenum=[“Fluorescent Tracer”, “Lipophilic Dye”, “Retrograde Tracer”, “Anterograde Tracer”, “Histological Dye”, “Vital Stain”, “Injection Marker”, “Other”]
emissionPeakobject(value:number, unit:enum[nm, µm, mm, m])noformat=”numberUnit”; default={“unit”: “nm”}
excitationPeakobject(value:number, unit:enum[nm, µm, mm, m])noformat=”numberUnit”; default={“unit”: “nm”}
experimentalUsearrayno
fluorophorestringnoformat=”text”
preparationInstructionsstringnoformat=”textarea”
routeOfApplicationstringnoenum=[“Injection”, “Perfusion”, “Topical”, “Incubation”, “Other”]
solventstringnoformat=”text”

VirusSolution

  • Schema title: Virus construct
  • Schema version: 1.1.1
  • Source: brainstem/schemas/ConsumableStock/VirusSolution.json
  • Schema shape: object
  • Required fields: none

Example payload for this type:

{
  "batchId": "example",
  "titer": {
    "unit": "vg/mL",
    "value": 0
  },
  "volume": {
    "unit": "mL",
    "value": 0
  },
  "aliquotCount": 0
}
FieldExpected valueRequiredConstraints/format
aliquotCountintegernominimum=0
aliquotVolumeobject(value:number, unit:enum[nL, µL, mL, L])noformat=”numberUnit”; default={“unit”: “µL”}
batchIdstringnoformat=”text”
titerobject(value:number, unit:enum[vg/mL, TU/mL, pfu/mL])noformat=”numberUnit”; default={“unit”: “vg/mL”}
volumeobject(value:number, unit:enum[nL, µL, mL, L])noformat=”numberUnit”; default={“unit”: “mL”}