Link Search Menu Expand Document

Action schemas

Table of contents

  1. Optic fiber implant
  2. Silicon probe implant
  3. Single wire electrode
  4. Tetrode wire electrode
  5. Virus injection

Optic fiber implant

{
    "type": "object",
    "title": "Optic fiber implant",
    "properties": {
        "fiberTipShape": {
            "title": "Fiber tip shape",
            "type": "string",
            "format": "text",
            "default": "flat"
        }
    },
    "required": ["fiberTipShape"]
}

Fiber tip shape is a required field - default value set is flat.

Example of JSON according to this schema

{
    "fiberTipShape": "flat"
}

Silicon probe implant

{
    "type": "object",
    "title": "Silicon probe implant",
    "properties": {
    }
}

Example of JSON according to this schema

{ }

Single wire electrode

{
    "type": "object",
    "title": "Single wire electrode",
    "properties": {
        "wireCount": {
            "title": "Wire count",
            "type": "number",
            "minimum": 0,
            "default": 1
        },
        "wireDiameter": {
            "title": "Wire diameter (µm)",
            "type": "number",
            "minimum": 0
        },
        "wireMaterial": {
            "title": "Wire material",
            "type": "string",
            "format": "text"
        }
    },
    "required": ["wireCount"]
}

Wire count is a required field - default value set is 4.

Example of JSON according to this schema

{
    "wireCount": 4,
    "wireDiameter": 50,
    "wireMaterial": "Titanium",
    "rotation": 0,
    "apAngle": 15,
    "mlAngle": 15
}

Tetrode wire electrode

{
    "type": "object",
    "title": "Tetrode wire electrode",
    "properties": {
        "tetrodeCount": {
            "title": "Tetrode count",
            "type": "integer",
            "minimum": 0,
            "default": 1
        },
        "nWiresTetrode": {
            "title": "Wires per tetrode",
            "type": "integer",
            "minimum": 0,
            "default": 4
        },
        "wireDiameter": {
            "title": "Wire diameter (µm)",
            "type": "number",
            "minimum": 0
        },
        "wireMaterial": {
            "title": "Wire material",
            "type": "string",
            "format": "text"
        }
    },
    "required": ["tetrodeCount"]
}

Tetrode count is a required field - default value set is 4.

Example of JSON according to this schema

{
    "tetrodeCount": 2,
    "nWiresTetrode": 4,
    "wireDiameter": 50,
    "wireMaterial": "Titanium"
}

Virus injection

{
    "type": "object",
    "title": "Virus injection",
    "properties": {
        "injectionVolume": {
            "title": "Injection volume (nL)",
            "type": "number",
            "minimum": 0,
            "default": "0"
        },
        "injectionRate": {
            "title": "Injection Rate (nL/s)",
            "type": "number"
        },
        "injectionSchema": {
            "title": "Injection schema",
            "type": "string",
            "enum": ["Gradual","Pulses","unknown"]
        }
    },
    "required": ["injectionVolume"]
}

Injection volume is a required field - default value set is 0.

Example of JSON according to this schema

{
    "injectionVolume": 100,
    "injectionRate": 50,
    "injectionSchema": "Gradual"
}