{
  "manifest": {
    "$BASE_DIR": "${configdir}",
    "$OUTPUT_DIR": "$BASE_DIR/output",
    "$INPUT_DIR": "$BASE_DIR/inputs",
    "$NETWORK_DIR": "$BASE_DIR/network",
    "$COMPONENT_DIR": "$BASE_DIR/../../biophys_components"
  },

  "run": {
    "tstop": 3000.0,
    "dt": 0.1,
    "dL": 20.0,
    "spike_threshold": -15,
    "nsteps_block": 5000
  },

  "target_simulator":"NEURON",

  "conditions": {
    "celsius": 34.0,
    "v_init": -80
  },

  "inputs": {
    "external_spikes": {
      "input_type": "spikes",
      "module": "h5",
      "input_file": "$INPUT_DIR/poission_r1000_10in6.h5",
      "node_set": "external"
    }
  },

  "output":{ 
    "log_file": "$OUTPUT_DIR/log.txt",
    "output_dir": "$OUTPUT_DIR",
    "spikes_file": "$OUTPUT_DIR/spikes.h5",
    "spikes_file_csv": "$OUTPUT_DIR/spikes.csv"
  },

  "node_sets": {
    "bio_cells": {
      "model_type": "biophysical"
    }
  },

  "reports": {

    "membrane_potential": {
      "cells": [0,2500,5000,7500,10000,12499],
      "variable_name": "v",
      "module": "membrane_report",
      "file_name": "$OUTPUT_DIR/cell_vars.h5",
      "sections": "soma",
      "enabled": true
    }
  },

  "components": {
    "morphologies_dir": "$COMPONENT_DIR/morphologies",
    "synaptic_models_dir": "$COMPONENT_DIR/synaptic_models",
    "mechanisms_dir":"$COMPONENT_DIR/mechanisms",
    "biophysical_neuron_models_dir": "$COMPONENT_DIR/biophysical_neuron_templates/nml",
    "point_neuron_models_dir": "$COMPONENT_DIR/point_neuron_templates"
  },

  "networks": {
    "nodes": [
      {
        "nodes_file": "$NETWORK_DIR/internal_nodes.h5",
        "node_types_file": "$NETWORK_DIR/internal_node_types.csv"
      },
      {
        "nodes_file": "$NETWORK_DIR/external_nodes.h5",
        "node_types_file": "$NETWORK_DIR/external_node_types.csv"
      }
    ],

    "edges": [
      {
        "edges_file": "$NETWORK_DIR/internal_internal_edges.h5",
        "edge_types_file": "$NETWORK_DIR/internal_edge_types.csv"
      },
      {
        "edges_file": "$NETWORK_DIR/external_internal_edges.h5",
        "edge_types_file": "$NETWORK_DIR/external_edge_types.csv"
      }
    ]
  }
}