In the context of an Ethogram a schema enumerates
- The set of subjects
- The set of behaviors
- Optional subject group
- Optional behavior modifiers (many to many with behaviors)
Schema's should probably be fixed (ie updating a name in one schema should not update other schemas). Maybe store them as json instead of denormalizing it.
Subject
Behavior
- name string required
- type enum (state, event) required
- mutually_exculsive bool required if state
- target enum (self, other, none) required
- parent_behavior (int?) optional
Modifiers
- behavior_ids (list) required
subject_groups
- subject_ids (list) required
In the context of an Ethogram a schema enumerates
Schema's should probably be fixed (ie updating a name in one schema should not update other schemas). Maybe store them as json instead of denormalizing it.
Subject
Behavior
Modifiers
subject_groups