| 1 |
id: https://w3id.org/linkml/examples/nwb_dynamic_enums |
| 2 |
title: dynamic enums example |
| 3 |
name: nwb_dynamic_enums |
| 4 |
description: this schema demonstrates the use of dynamic enums |
| 5 |
|
| 6 |
prefixes: |
| 7 |
linkml: https://w3id.org/linkml/ |
| 8 |
CL: http://purl.obolibrary.org/obo/CL_ |
| 9 |
|
| 10 |
imports: |
| 11 |
- linkml:types |
| 12 |
|
| 13 |
default_range: string |
| 14 |
|
| 15 |
# ======================== # |
| 16 |
# CLASSES # |
| 17 |
# ======================== # |
| 18 |
classes: |
| 19 |
BrainSample: |
| 20 |
slots: |
| 21 |
- cell_type |
| 22 |
|
| 23 |
# ======================== # |
| 24 |
# SLOTS # |
| 25 |
# ======================== # |
| 26 |
slots: |
| 27 |
cell_type: |
| 28 |
required: true |
| 29 |
range: NeuronTypeEnum |
| 30 |
|
| 31 |
# ======================== # |
| 32 |
# ENUMS # |
| 33 |
# ======================== # |
| 34 |
enums: |
| 35 |
NeuronTypeEnum: |
| 36 |
reachable_from: |
| 37 |
source_ontology: obo:cl |
| 38 |
source_nodes: |
| 39 |
- CL:0000540 ## neuron |
| 40 |
include_self: false |
| 41 |
relationship_types: |
| 42 |
- rdfs:subClassOf |