Created
July 8, 2022 13:26
-
-
Save athanhat/bb581d77cfe224c144a19ea4940f406f to your computer and use it in GitHub Desktop.
Datomic Schema in Hodur Descriptive Domain Modeling Engine format
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
^{:datomic/tag-recursive true | |
:graphviz/tag-recursive true | |
:graphviz/color "lightyellow" | |
:graphviz/stereotype "Person" | |
:graphviz/group "person-group" | |
} | |
Employee | |
[^String name | |
^Float salary | |
^{:type Employee | |
:cardinality [0 n]} supervisor | |
^{:type Employee | |
:cardinality [1 n]} coworkers | |
^Profession profession | |
^RelationshipStatus status | |
^Integer height | |
^Unit height_unit | |
] | |
^{:datomic/tag-recursive true | |
:graphviz/tag-recursive true | |
:graphviz/color "lightsalmon" | |
:graphviz/group "person-group"} | |
Profession | |
[^String name] | |
^{:datomic/tag-recursive true | |
:enum true | |
:doc "marriage status of employee" | |
:graphviz/tag-recursive true | |
:graphviz/color "lightblue" | |
:graphviz/group "enum-group"} | |
RelationshipStatus | |
[Single Married] | |
^{:datomic/tag-recursive true | |
:enum true | |
:graphviz/tag-recursive true | |
:graphviz/color "lightblue" | |
:graphviz/group "enum-group"} | |
Unit | |
[CENTIMETERS FEET] | |
] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment