Human-readable templates for manual data entry. These templates can be filled out and converted to JSON-LD for validation.
- Copy the relevant template file
- Fill in your experimental data
- Convert to JSON-LD using
scripts/yaml_to_jsonld.py - Validate against Neuroshapes schemas
subject.yaml- Subject/animal informationslice.yaml- Brain slice preparationpatched_slice.yaml- Electrophysiology recordingreconstructed_cell.yaml- Complete neuron reconstruction workflow
# Copy a template
cp templates/yaml/subject.yaml my_experiment.yaml
# Edit with your data
nano my_experiment.yaml
# Convert to JSON-LD
python scripts/yaml_to_jsonld.py my_experiment.yaml my_experiment.json
# Validate (optional)
python scripts/yaml_to_jsonld.py my_experiment.yaml my_experiment.json --validate- Human-readable: Cleaner syntax than JSON
- Less error-prone: No bracket matching issues
- Compact: Uses indentation instead of separators
- JSON-compatible: YAML is a superset of JSON
- Better for manual editing: Easier to see hierarchy
When creating new templates:
- Follow the existing naming convention
- Include helpful comments for each field
- Provide example values where appropriate
- Test conversion to JSON-LD