activefacts-examples 1.7.1 → 1.7.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +8 -0
- data/Gemfile +1 -2
- data/activefacts-examples.gemspec +2 -2
- data/diagrams/json/Address.json +28 -28
- data/diagrams/json/Astronomy.json +12 -12
- data/diagrams/json/Blog.json +29 -29
- data/diagrams/json/CinemaBookings.json +25 -25
- data/diagrams/json/CinemaTickets.json +74 -74
- data/diagrams/json/CompanyDirectorEmployee.json +25 -25
- data/diagrams/json/Death.json +7 -7
- data/diagrams/json/Diplomacy.json +20 -20
- data/diagrams/json/Genealogy.json +57 -57
- data/diagrams/json/Insurance.json +222 -227
- data/diagrams/json/Marriage.json +10 -10
- data/diagrams/json/Metamodel.json +300 -278
- data/diagrams/json/Monogamy.json +9 -9
- data/diagrams/json/MultiInheritance.json +9 -9
- data/diagrams/json/MultipleSubtyping.json +9 -9
- data/diagrams/json/OilSupply.json +21 -21
- data/diagrams/json/OneRoleNesting.json +19 -19
- data/diagrams/json/Orienteering.json +69 -71
- data/diagrams/json/PersonPlaysGame.json +7 -7
- data/diagrams/json/RedundantDependency.json +18 -18
- data/diagrams/json/SchoolActivities.json +9 -9
- data/diagrams/json/SeparateSubtype.json +12 -12
- data/diagrams/json/SimplestUnary.json +3 -3
- data/diagrams/json/Supervision.json +14 -14
- data/diagrams/json/VenueSeating.json +22 -22
- data/diagrams/json/WaiterTips.json +13 -13
- data/diagrams/json/Warehousing.json +51 -51
- data/diagrams/json/WindowInRoomInBldg.json +19 -19
- data/metadata/json/Metamodel.json +457 -431
- data/metadata/json/OilSupply.json +54 -54
- metadata +15 -1
@@ -1,27 +1,27 @@
|
|
1
1
|
{ model: 'SeparateSubtype',
|
2
2
|
diagrams: [
|
3
|
-
|
3
|
+
|
4
4
|
],
|
5
5
|
object_types: [
|
6
6
|
{"uuid":"7e7753c2-5a46-8791-b9d3-bb5b90","name":"Auto Counter","shapes":[]},
|
7
7
|
{"uuid":"dc5c5a28-8780-36bd-7c3d-152bef","name":"Claim ID","shapes":[],"supertype":"7e7753c2-5a46-8791-b9d3-bb5b90"},
|
8
|
-
{"uuid":"c214dfa8-ad36-3789-032c-87f982","name":"Claim","shapes":[
|
9
|
-
{"uuid":"fdf574a2-a70a-4016-b454-380dde","name":"Date Time","shapes":[
|
10
|
-
{"uuid":"db08d97f-cb9c-2c65-9e3a-d63245","name":"Driver","shapes":[
|
11
|
-
{"uuid":"76746a2a-4685-acae-fed7-4f4d29","name":"Incident","shapes":[
|
8
|
+
{"uuid":"c214dfa8-ad36-3789-032c-87f982","name":"Claim","shapes":[],"ref_mode":".ID"},
|
9
|
+
{"uuid":"fdf574a2-a70a-4016-b454-380dde","name":"Date Time","shapes":[]},
|
10
|
+
{"uuid":"db08d97f-cb9c-2c65-9e3a-d63245","name":"Driver","shapes":[],"supertypes":[["4724519a-6c74-f732-6e56-1027f1","e2259bde-6e7e-7c06-37bc-ddcb10"]]},
|
11
|
+
{"uuid":"76746a2a-4685-acae-fed7-4f4d29","name":"Incident","shapes":[]},
|
12
12
|
{"uuid":"edc3c2fc-1a37-c8c0-ec1d-a4ecf7","name":"Person Name","shapes":[],"supertype":"d054091a-0d16-621e-7161-3847ce"},
|
13
|
-
{"uuid":"4724519a-6c74-f732-6e56-1027f1","name":"Person","shapes":[
|
13
|
+
{"uuid":"4724519a-6c74-f732-6e56-1027f1","name":"Person","shapes":[],"ref_mode":".Name"},
|
14
14
|
{"uuid":"d054091a-0d16-621e-7161-3847ce","name":"String","shapes":[]},
|
15
|
-
{"uuid":"214da3e5-085c-ff0b-e145-f6189c","name":"Vehicle Incident","shapes":[
|
16
|
-
{"uuid":"0202b2f9-cb6d-fbb8-4259-706a89","name":"Witness","shapes":[
|
15
|
+
{"uuid":"214da3e5-085c-ff0b-e145-f6189c","name":"Vehicle Incident","shapes":[],"supertypes":[["76746a2a-4685-acae-fed7-4f4d29","5ff235bb-b787-5eaa-92c2-8d2699"]]},
|
16
|
+
{"uuid":"0202b2f9-cb6d-fbb8-4259-706a89","name":"Witness","shapes":[],"supertypes":[["4724519a-6c74-f732-6e56-1027f1","b212e055-a96c-870a-98ee-e91b99"]]}
|
17
17
|
],
|
18
18
|
fact_types: [
|
19
|
-
{"uuid":"e986aea0-8188-3468-2e92-798117","roles":[{"uuid":"675766eb-11bc-1074-369d-5025b1","player":"214da3e5-085c-ff0b-e145-f6189c"},{"uuid":"e0aabff7-ce74-497b-8979-bc6957","player":"db08d97f-cb9c-2c65-9e3a-d63245"}],"readings":[["01","{0} occurred while {1} was in charge"]],"shapes":[
|
19
|
+
{"uuid":"e986aea0-8188-3468-2e92-798117","roles":[{"uuid":"675766eb-11bc-1074-369d-5025b1","player":"214da3e5-085c-ff0b-e145-f6189c"},{"uuid":"e0aabff7-ce74-497b-8979-bc6957","player":"db08d97f-cb9c-2c65-9e3a-d63245"}],"readings":[["01","{0} occurred while {1} was in charge"]],"shapes":[],"constraints":[{"uuid":"12b1aa16-05bd-ebcc-d4e9-5785b5","min":0,"max":1,"is_preferred":null,"mandatory":null,"uniqueExcept":"e0aabff7-ce74-497b-8979-bc6957"}]},
|
20
20
|
{"uuid":"03e86a45-d7ca-0aba-0a4a-583417","roles":[{"uuid":"531f5a60-9d1d-5a9f-dd60-220a10","player":"4724519a-6c74-f732-6e56-1027f1"},{"uuid":"fd4dd6b5-6d50-6b66-829a-b8cbfc","player":"edc3c2fc-1a37-c8c0-ec1d-a4ecf7"}],"readings":[["01","{0} has {1}"],["10","{0} is of {1}"]],"shapes":[],"constraints":[{"uuid":"1d66f135-c97e-30f2-d61c-662b24","min":0,"max":1,"is_preferred":true,"mandatory":null,"uniqueExcept":"531f5a60-9d1d-5a9f-dd60-220a10"},{"uuid":"c4a80c4d-bca3-afd7-386e-ec7bc8","min":1,"max":1,"is_preferred":null,"mandatory":true,"role":"531f5a60-9d1d-5a9f-dd60-220a10"}]},
|
21
|
-
{"uuid":"596ba4fa-e373-d828-b44d-2ee03b","roles":[{"uuid":"301a52eb-25cb-466a-143c-5152b8","player":"0202b2f9-cb6d-fbb8-4259-706a89"},{"uuid":"a60f704f-7729-51d5-dcdf-8fa1ab","player":"76746a2a-4685-acae-fed7-4f4d29"}],"readings":[["01","{0} saw {1}"],["10","{0} was independently witnessed by {1}"]],"shapes":[
|
21
|
+
{"uuid":"596ba4fa-e373-d828-b44d-2ee03b","roles":[{"uuid":"301a52eb-25cb-466a-143c-5152b8","player":"0202b2f9-cb6d-fbb8-4259-706a89"},{"uuid":"a60f704f-7729-51d5-dcdf-8fa1ab","player":"76746a2a-4685-acae-fed7-4f4d29"}],"readings":[["01","{0} saw {1}"],["10","{0} was independently witnessed by {1}"]],"shapes":[],"constraints":[{"uuid":"b6e5f2de-c252-8fe8-b04f-98ae5a","min":1,"max":null,"is_preferred":false,"mandatory":true,"role":"301a52eb-25cb-466a-143c-5152b8"},{"uuid":"5f4e4a4d-dc49-70d4-19e3-bb2599","min":0,"max":1,"is_preferred":null,"mandatory":null,"uniqueExcept":"301a52eb-25cb-466a-143c-5152b8"}]},
|
22
22
|
{"uuid":"ee84832b-0ac3-5d10-5a36-885529","roles":[{"uuid":"f23bd1b8-6d75-93e3-1c76-b62509","player":"c214dfa8-ad36-3789-032c-87f982"},{"uuid":"79076808-27ff-27f3-f918-c125c8","player":"dc5c5a28-8780-36bd-7c3d-152bef"}],"readings":[["01","{0} has {1}"],["10","{0} is of {1}"]],"shapes":[],"constraints":[{"uuid":"035988e3-1ba7-39d2-7d8d-0ba03f","min":0,"max":1,"is_preferred":true,"mandatory":null,"uniqueExcept":"f23bd1b8-6d75-93e3-1c76-b62509"},{"uuid":"41125d42-3b66-bd2b-a015-96b606","min":1,"max":1,"is_preferred":null,"mandatory":true,"role":"f23bd1b8-6d75-93e3-1c76-b62509"}]},
|
23
|
-
{"uuid":"3a065332-205c-49e2-e06d-1ed08c","roles":[{"uuid":"8cabbf74-79a4-2722-d2bf-bf42d7","player":"c214dfa8-ad36-3789-032c-87f982"},{"uuid":"52abccdf-5322-1e33-9911-33efc2","player":"76746a2a-4685-acae-fed7-4f4d29"}],"readings":[["01","{0} concerns {1}"],["10","{0} resulted in {1}"]],"shapes":[
|
24
|
-
{"uuid":"d85f1a32-60bd-27bf-12a2-e56d77","roles":[{"uuid":"259296c4-a3da-f20f-0d19-a5b4b9","player":"76746a2a-4685-acae-fed7-4f4d29"},{"uuid":"1ee79997-c033-d894-c853-645a65","player":"fdf574a2-a70a-4016-b454-380dde"}],"readings":[["01","{0} occurred on {1}"]],"shapes":[
|
23
|
+
{"uuid":"3a065332-205c-49e2-e06d-1ed08c","roles":[{"uuid":"8cabbf74-79a4-2722-d2bf-bf42d7","player":"c214dfa8-ad36-3789-032c-87f982"},{"uuid":"52abccdf-5322-1e33-9911-33efc2","player":"76746a2a-4685-acae-fed7-4f4d29"}],"readings":[["01","{0} concerns {1}"],["10","{0} resulted in {1}"]],"shapes":[],"constraints":[{"uuid":"064421b8-7c8d-7de9-c497-1003d4","min":0,"max":1,"is_preferred":true,"mandatory":null,"uniqueExcept":"52abccdf-5322-1e33-9911-33efc2"},{"uuid":"5f0d15d4-8aa3-f2d5-9839-c5785e","min":1,"max":1,"is_preferred":null,"mandatory":true,"role":"52abccdf-5322-1e33-9911-33efc2"}]},
|
24
|
+
{"uuid":"d85f1a32-60bd-27bf-12a2-e56d77","roles":[{"uuid":"259296c4-a3da-f20f-0d19-a5b4b9","player":"76746a2a-4685-acae-fed7-4f4d29"},{"uuid":"1ee79997-c033-d894-c853-645a65","player":"fdf574a2-a70a-4016-b454-380dde"}],"readings":[["01","{0} occurred on {1}"]],"shapes":[],"constraints":[{"uuid":"81759bc1-322c-655d-bc94-6a8f89","min":0,"max":1,"is_preferred":null,"mandatory":null,"uniqueExcept":"1ee79997-c033-d894-c853-645a65"}]}
|
25
25
|
],
|
26
26
|
constraints: [
|
27
27
|
|
@@ -1,13 +1,13 @@
|
|
1
1
|
{ model: 'SimplestUnary',
|
2
2
|
diagrams: [
|
3
|
-
|
3
|
+
|
4
4
|
],
|
5
5
|
object_types: [
|
6
|
-
{"uuid":"41079d31-f72a-3956-87ff-36679e","name":"Some String","shapes":[
|
6
|
+
{"uuid":"41079d31-f72a-3956-87ff-36679e","name":"Some String","shapes":[],"supertype":"111f8d5d-43af-4212-5cb3-a99700"},
|
7
7
|
{"uuid":"111f8d5d-43af-4212-5cb3-a99700","name":"String","shapes":[]}
|
8
8
|
],
|
9
9
|
fact_types: [
|
10
|
-
{"uuid":"
|
10
|
+
{"uuid":"48416b16-0d6e-d474-a266-e113a7","roles":[{"uuid":"4b21c25e-7a18-d99d-18f3-b07a05","player":"41079d31-f72a-3956-87ff-36679e"}],"readings":[["0","{0} is long"]],"shapes":[],"constraints":[{"uuid":"b54c26c5-cf6e-2747-9d2a-13861e","min":0,"max":1,"is_preferred":true,"mandatory":null,"uniqueExcept":null}]}
|
11
11
|
],
|
12
12
|
constraints: [
|
13
13
|
|
@@ -1,27 +1,27 @@
|
|
1
1
|
{ model: 'Supervision',
|
2
2
|
diagrams: [
|
3
|
-
|
3
|
+
|
4
4
|
],
|
5
5
|
object_types: [
|
6
|
-
{"uuid":"2296cdf1-eeab-cef6-b374-638031","name":"CEO","shapes":[
|
7
|
-
{"uuid":"458c5029-f482-48a2-c471-3312e2","name":"Company","shapes":[
|
6
|
+
{"uuid":"2296cdf1-eeab-cef6-b374-638031","name":"CEO","shapes":[],"supertypes":[["d0d32048-fd22-435a-af20-4867d8","0927b1de-f5e9-754f-0156-0c2365"]]},
|
7
|
+
{"uuid":"458c5029-f482-48a2-c471-3312e2","name":"Company","shapes":[],"ref_mode":".Name"},
|
8
8
|
{"uuid":"11e31f65-200d-3ed1-7c73-30fea1","name":"CompanyName","shapes":[],"supertype":"b2bb0459-8ea5-2062-242b-0c86f1"},
|
9
|
-
{"uuid":"2684b620-20b6-7405-7673-a23d6b","name":"Employee","shapes":[
|
10
|
-
{"uuid":"23f3d345-85df-c5fb-e7a9-7efff3","name":"EmployeeNr","shapes":[
|
11
|
-
{"uuid":"d0d32048-fd22-435a-af20-4867d8","name":"Manager","shapes":[
|
9
|
+
{"uuid":"2684b620-20b6-7405-7673-a23d6b","name":"Employee","shapes":[]},
|
10
|
+
{"uuid":"23f3d345-85df-c5fb-e7a9-7efff3","name":"EmployeeNr","shapes":[],"supertype":"1027b53d-5d57-200e-4d06-627476"},
|
11
|
+
{"uuid":"d0d32048-fd22-435a-af20-4867d8","name":"Manager","shapes":[],"supertypes":[["2684b620-20b6-7405-7673-a23d6b","1ebbc867-2b1c-5a4f-7b57-f8c875"]]},
|
12
12
|
{"uuid":"1027b53d-5d57-200e-4d06-627476","name":"Signed Integer","shapes":[]},
|
13
13
|
{"uuid":"b2bb0459-8ea5-2062-242b-0c86f1","name":"String","shapes":[]}
|
14
14
|
],
|
15
15
|
fact_types: [
|
16
|
-
{"uuid":"
|
17
|
-
{"uuid":"
|
18
|
-
{"uuid":"
|
19
|
-
{"uuid":"
|
20
|
-
{"uuid":"
|
16
|
+
{"uuid":"8fa2cbc8-a08a-06d9-bdec-314740","roles":[{"uuid":"30172c72-cdfc-03d8-5654-7d44aa","player":"2296cdf1-eeab-cef6-b374-638031"},{"uuid":"a9d1c829-7e19-f9eb-3eb6-eff371","player":"458c5029-f482-48a2-c471-3312e2"}],"readings":[["01","{0} runs {1}"],["10","{0} is run by {1}"]],"shapes":[],"constraints":[{"uuid":"99c90d1c-81b6-9f83-02d7-a159f7","min":1,"max":1,"is_preferred":null,"mandatory":true,"role":"a9d1c829-7e19-f9eb-3eb6-eff371"}]},
|
17
|
+
{"uuid":"8aaa0bfe-b1f8-f52b-1e4f-c063a0","roles":[{"uuid":"0f745a43-5d1d-a8eb-aa6d-594a94","player":"2684b620-20b6-7405-7673-a23d6b"},{"uuid":"d08294ed-0f43-aebe-b45c-698065","player":"23f3d345-85df-c5fb-e7a9-7efff3"}],"readings":[["01","{0} has {1}"],["10","{0} is of {1}"]],"shapes":[],"constraints":[{"uuid":"c1822266-e38e-6412-a3fa-75ae34","min":1,"max":1,"is_preferred":null,"mandatory":true,"role":"0f745a43-5d1d-a8eb-aa6d-594a94"}]},
|
18
|
+
{"uuid":"a068e79a-95cf-5f0d-1c65-540980","roles":[{"uuid":"16de3246-7d09-aa5e-c729-7258bf","player":"d0d32048-fd22-435a-af20-4867d8"},{"uuid":"19375004-2055-0489-8dbc-8db5fe","player":"2684b620-20b6-7405-7673-a23d6b"}],"readings":[["01","{0} supervises {1}"],["10","{0} reports to {1}"]],"shapes":[],"constraints":[{"uuid":"7230b919-774a-5f57-b745-ed71c1","min":0,"max":1,"is_preferred":null,"mandatory":null,"uniqueExcept":"16de3246-7d09-aa5e-c729-7258bf"}]},
|
19
|
+
{"uuid":"6d373ae0-2361-fbe6-e700-cd24b6","roles":[{"uuid":"6a2a717c-aa5f-938b-40b4-b69a81","player":"458c5029-f482-48a2-c471-3312e2"},{"uuid":"a530d027-99f7-2bf0-bc8c-0b6dd6","player":"11e31f65-200d-3ed1-7c73-30fea1"}],"readings":[["01","{0} has {1}"],["10","{0} is of {1}"]],"shapes":[],"constraints":[{"uuid":"2d73b638-b679-76dd-4496-cd706d","min":0,"max":1,"is_preferred":true,"mandatory":null,"uniqueExcept":"6a2a717c-aa5f-938b-40b4-b69a81"},{"uuid":"5c6c942e-7604-7eed-ff9d-3a65d3","min":1,"max":1,"is_preferred":null,"mandatory":true,"role":"6a2a717c-aa5f-938b-40b4-b69a81"}]},
|
20
|
+
{"uuid":"ff301450-eb96-cc89-896d-14472a","roles":[{"uuid":"2b1fc008-3711-b7b6-f5e7-7a23d7","player":"2684b620-20b6-7405-7673-a23d6b"},{"uuid":"83d804bc-fac3-8828-6237-8f2d69","player":"458c5029-f482-48a2-c471-3312e2"}],"readings":[["01","{0} works for {1}"],["10","{0} employs {1}"]],"shapes":[],"constraints":[{"uuid":"1378cc27-c686-48df-6545-6796f9","min":1,"max":1,"is_preferred":null,"mandatory":true,"role":"2b1fc008-3711-b7b6-f5e7-7a23d7"}]}
|
21
21
|
],
|
22
22
|
constraints: [
|
23
|
-
{"uuid":"
|
24
|
-
{"uuid":"
|
25
|
-
{"uuid":"
|
23
|
+
{"uuid":"fbf62313-6d65-6513-6a8f-c5f20e","type":"PresenceConstraint","shapes":[],"min_frequency":0,"max_frequency":1,"is_mandatory":null,"is_preferred_identifier":true,"role_sequences":[["83d804bc-fac3-8828-6237-8f2d69","d08294ed-0f43-aebe-b45c-698065"]]},
|
24
|
+
{"uuid":"b129e350-b48f-f6f2-6b13-c6ed92","type":"SetEqualityConstraint","shapes":[],"role_sequences":[["1ebbc867-2b1c-5a4f-7b57-f8c875","a9d1c829-7e19-f9eb-3eb6-eff371"],["2b1fc008-3711-b7b6-f5e7-7a23d7","83d804bc-fac3-8828-6237-8f2d69"]]},
|
25
|
+
{"uuid":"0f9e4b3d-c3ad-f9b2-8e30-91bee7","type":"SetExclusionConstraint","shapes":[],"is_mandatory":true,"role_sequences":[["19375004-2055-0489-8dbc-8db5fe"],["1ebbc867-2b1c-5a4f-7b57-f8c875"]]}
|
26
26
|
]
|
27
27
|
}
|
@@ -1,40 +1,40 @@
|
|
1
1
|
{ model: 'VenueSeating',
|
2
2
|
diagrams: [
|
3
|
-
|
3
|
+
|
4
4
|
],
|
5
5
|
object_types: [
|
6
6
|
{"uuid":"18f8e9b3-c9f1-0c00-47a5-0a57d3","name":"Auto Counter","shapes":[]},
|
7
7
|
{"uuid":"704e35e2-82fd-f946-7b85-62be50","name":"Char","shapes":[]},
|
8
8
|
{"uuid":"624b58d4-e2ec-555e-3939-743e33","name":"Event Id","shapes":[],"supertype":"18f8e9b3-c9f1-0c00-47a5-0a57d3"},
|
9
|
-
{"uuid":"dddfa7c7-9bc2-b343-64eb-27359a","name":"Event","shapes":[
|
10
|
-
{"uuid":"f7c76fe6-1c1f-87d0-4c5d-a39d4c","name":"Number","shapes":[
|
9
|
+
{"uuid":"dddfa7c7-9bc2-b343-64eb-27359a","name":"Event","shapes":[],"ref_mode":".Id"},
|
10
|
+
{"uuid":"f7c76fe6-1c1f-87d0-4c5d-a39d4c","name":"Number","shapes":[],"supertype":"9554acff-b1b7-14ab-c29b-57fdeb"},
|
11
11
|
{"uuid":"2ba79776-7ca6-6244-b7f1-558c1f","name":"Reserve Name","shapes":[],"supertype":"28353ca9-301b-c45e-bfaf-4d820d"},
|
12
|
-
{"uuid":"fa604eb6-743a-0512-7d81-1f11dd","name":"Reserve","shapes":[
|
12
|
+
{"uuid":"fa604eb6-743a-0512-7d81-1f11dd","name":"Reserve","shapes":[],"ref_mode":".Name"},
|
13
13
|
{"uuid":"6f476c4f-4764-7dd6-ef26-a75168","name":"Row Code","shapes":[],"supertype":"704e35e2-82fd-f946-7b85-62be50"},
|
14
|
-
{"uuid":"167d1bfa-d802-7404-1f4f-bb8cac","name":"Row","shapes":[
|
15
|
-
{"uuid":"b69fa324-4908-835f-2e4b-786dd4","name":"Seat","shapes":[
|
14
|
+
{"uuid":"167d1bfa-d802-7404-1f4f-bb8cac","name":"Row","shapes":[],"ref_mode":".Code"},
|
15
|
+
{"uuid":"b69fa324-4908-835f-2e4b-786dd4","name":"Seat","shapes":[],"independent":true},
|
16
16
|
{"uuid":"28353ca9-301b-c45e-bfaf-4d820d","name":"String","shapes":[]},
|
17
|
-
{"uuid":"0214c2c1-e9f5-7f0e-26fa-df836e","name":"Ticket","shapes":[
|
17
|
+
{"uuid":"0214c2c1-e9f5-7f0e-26fa-df836e","name":"Ticket","shapes":[]},
|
18
18
|
{"uuid":"9554acff-b1b7-14ab-c29b-57fdeb","name":"Unsigned Integer","shapes":[]},
|
19
19
|
{"uuid":"fbb78bd6-9ac7-3026-bfef-0b7f7b","name":"Venue Id","shapes":[],"supertype":"18f8e9b3-c9f1-0c00-47a5-0a57d3"},
|
20
|
-
{"uuid":"b8e89686-61c4-8f61-7338-c841c4","name":"Venue","shapes":[
|
20
|
+
{"uuid":"b8e89686-61c4-8f61-7338-c841c4","name":"Venue","shapes":[],"ref_mode":".Id","independent":true}
|
21
21
|
],
|
22
22
|
fact_types: [
|
23
|
-
{"uuid":"
|
24
|
-
{"uuid":"
|
25
|
-
{"uuid":"
|
26
|
-
{"uuid":"
|
27
|
-
{"uuid":"
|
28
|
-
{"uuid":"
|
29
|
-
{"uuid":"
|
30
|
-
{"uuid":"
|
31
|
-
{"uuid":"
|
32
|
-
{"uuid":"
|
33
|
-
{"uuid":"
|
23
|
+
{"uuid":"8f1b9ec1-cbe6-76b6-fe16-a6843f","roles":[{"uuid":"98abf034-e950-9c4a-0650-b691d4","player":"b69fa324-4908-835f-2e4b-786dd4"},{"uuid":"0b035dc7-056e-b9af-0d4f-e49083","player":"b8e89686-61c4-8f61-7338-c841c4"}],"readings":[["01","{0} is at {1}"],["10","{0} has {1}"]],"shapes":[],"constraints":[{"uuid":"391ba46a-4b7d-8fb3-61e1-9c5c61","min":1,"max":1,"is_preferred":null,"mandatory":true,"role":"98abf034-e950-9c4a-0650-b691d4"}]},
|
24
|
+
{"uuid":"1b584d61-abdc-b7a8-9021-17ff8a","roles":[{"uuid":"38c0a54b-2f61-717c-5bd3-dd31cd","player":"dddfa7c7-9bc2-b343-64eb-27359a"},{"uuid":"a4c82469-3335-0a45-a08a-70b1da","player":"0214c2c1-e9f5-7f0e-26fa-df836e"}],"readings":[["01","{0} issued {1}"],["10","{0} is for {1}"]],"shapes":[],"constraints":[{"uuid":"b173b904-4d36-42ca-e3e3-1f69cd","min":1,"max":1,"is_preferred":null,"mandatory":true,"role":"a4c82469-3335-0a45-a08a-70b1da"}]},
|
25
|
+
{"uuid":"44653ec6-3241-0c40-fffa-0aaa6b","roles":[{"uuid":"02817753-9ab0-3bc2-5ef2-62f40e","player":"167d1bfa-d802-7404-1f4f-bb8cac"},{"uuid":"f2daf1d9-af2a-65d2-cf73-c04576","player":"6f476c4f-4764-7dd6-ef26-a75168"}],"readings":[["01","{0} has {1}"],["10","{0} is of {1}"]],"shapes":[],"constraints":[{"uuid":"bd3cafa4-d9e5-6585-6ecf-d66d5e","min":0,"max":1,"is_preferred":true,"mandatory":null,"uniqueExcept":"02817753-9ab0-3bc2-5ef2-62f40e"},{"uuid":"4e69ff2c-4271-e357-6e2a-82dacf","min":1,"max":1,"is_preferred":null,"mandatory":true,"role":"02817753-9ab0-3bc2-5ef2-62f40e"}]},
|
26
|
+
{"uuid":"2da65369-1716-3d26-f452-4a63dd","roles":[{"uuid":"49de2032-c1f8-e096-5f94-3cc763","player":"167d1bfa-d802-7404-1f4f-bb8cac"},{"uuid":"ff9581d2-bf67-1b97-d196-6563be","player":"b69fa324-4908-835f-2e4b-786dd4"}],"readings":[["01","{0} contains {1}"],["10","{0} is in {1}"]],"shapes":[],"constraints":[{"uuid":"030db5e7-ff33-b6d1-ad59-af7d05","min":1,"max":1,"is_preferred":null,"mandatory":true,"role":"ff9581d2-bf67-1b97-d196-6563be"}]},
|
27
|
+
{"uuid":"2186e9db-cfed-a589-21b1-9269c8","roles":[{"uuid":"cfb71136-204c-5a4b-db81-f0c8d4","player":"fa604eb6-743a-0512-7d81-1f11dd"},{"uuid":"3d116254-bbf2-c335-b160-874563","player":"b69fa324-4908-835f-2e4b-786dd4"}],"readings":[["01","{0} contains {1}"],["10","{0} is in {1}"]],"shapes":[],"constraints":[{"uuid":"ce0303b6-54f8-4647-93cb-e0b819","min":1,"max":1,"is_preferred":null,"mandatory":true,"role":"3d116254-bbf2-c335-b160-874563"}]},
|
28
|
+
{"uuid":"61bf6584-0216-cb73-f6e5-9deb10","roles":[{"uuid":"6d437041-8278-29c1-e318-936563","player":"fa604eb6-743a-0512-7d81-1f11dd"},{"uuid":"4a6737a1-a278-20d7-808b-cc066a","player":"2ba79776-7ca6-6244-b7f1-558c1f"}],"readings":[["01","{0} has {1}"],["10","{0} is of {1}"]],"shapes":[],"constraints":[{"uuid":"f2d6f616-9d87-d68b-0a68-28c9ef","min":0,"max":1,"is_preferred":true,"mandatory":null,"uniqueExcept":"6d437041-8278-29c1-e318-936563"},{"uuid":"cbaeeeb4-b0f9-8a6a-f026-00ba4f","min":1,"max":1,"is_preferred":null,"mandatory":true,"role":"6d437041-8278-29c1-e318-936563"}]},
|
29
|
+
{"uuid":"280f1a5d-4ea8-7e9c-62cc-d73dd7","roles":[{"uuid":"bb1094be-19f3-1072-1d08-37355a","player":"dddfa7c7-9bc2-b343-64eb-27359a"},{"uuid":"4e6c8400-4889-1829-ffa9-880f48","player":"624b58d4-e2ec-555e-3939-743e33"}],"readings":[["01","{0} has {1}"],["10","{0} is of {1}"]],"shapes":[],"constraints":[{"uuid":"5a8709ae-78ec-5618-6ffd-e1770f","min":0,"max":1,"is_preferred":true,"mandatory":null,"uniqueExcept":"bb1094be-19f3-1072-1d08-37355a"},{"uuid":"4e2a74e5-855e-acc0-5baa-6a45a7","min":1,"max":1,"is_preferred":null,"mandatory":true,"role":"bb1094be-19f3-1072-1d08-37355a"}]},
|
30
|
+
{"uuid":"c548fa8a-b56b-829c-40bd-fff7d8","roles":[{"uuid":"339d6122-068f-3510-715f-8eeab1","player":"b8e89686-61c4-8f61-7338-c841c4"},{"uuid":"3d5be592-b19a-d9a1-4837-f8a972","player":"dddfa7c7-9bc2-b343-64eb-27359a"}],"readings":[["01","{0} hosts {1}"],["10","{0} is held at {1}"]],"shapes":[],"constraints":[{"uuid":"406e17c9-203b-16b6-c908-12496d","min":1,"max":1,"is_preferred":null,"mandatory":true,"role":"3d5be592-b19a-d9a1-4837-f8a972"}]},
|
31
|
+
{"uuid":"bcbd4058-2282-b0d5-3796-8926ed","roles":[{"uuid":"08c1a8a0-f5f0-2a91-7672-6faed7","player":"b8e89686-61c4-8f61-7338-c841c4"},{"uuid":"86d2eb93-cfb7-5944-be91-c283a3","player":"fbb78bd6-9ac7-3026-bfef-0b7f7b"}],"readings":[["01","{0} has {1}"],["10","{0} is of {1}"]],"shapes":[],"constraints":[{"uuid":"e0d7b186-1062-a710-e1e2-ccafb3","min":0,"max":1,"is_preferred":true,"mandatory":null,"uniqueExcept":"08c1a8a0-f5f0-2a91-7672-6faed7"},{"uuid":"f2a22f39-61e3-c44f-35df-b47503","min":1,"max":1,"is_preferred":null,"mandatory":true,"role":"08c1a8a0-f5f0-2a91-7672-6faed7"}]},
|
32
|
+
{"uuid":"ac4f4d3a-3597-64d2-0f43-c629a6","roles":[{"uuid":"ef021c59-7634-bd8f-2659-d758f2","player":"b69fa324-4908-835f-2e4b-786dd4"},{"uuid":"a6d5a9da-a335-e289-19da-858fcb","player":"0214c2c1-e9f5-7f0e-26fa-df836e"}],"readings":[["10","{0} is for {1}"]],"shapes":[],"constraints":[{"uuid":"6435f6c9-e92b-6229-6e47-48524a","min":1,"max":1,"is_preferred":null,"mandatory":true,"role":"a6d5a9da-a335-e289-19da-858fcb"}]},
|
33
|
+
{"uuid":"14db005c-078c-a0b9-5920-6dfb04","roles":[{"uuid":"44a65dca-aec5-304b-7e72-63af27","player":"f7c76fe6-1c1f-87d0-4c5d-a39d4c"},{"uuid":"ee16313b-520d-b164-b8fe-dbfd2b","player":"b69fa324-4908-835f-2e4b-786dd4"}],"readings":[["01","{0} is of {1}"],["10","{0} has {1}"]],"shapes":[],"constraints":[{"uuid":"17037e8a-69b1-1fa3-6db4-a0aeb6","min":1,"max":1,"is_preferred":null,"mandatory":true,"role":"ee16313b-520d-b164-b8fe-dbfd2b"}]}
|
34
34
|
],
|
35
35
|
constraints: [
|
36
|
-
{"uuid":"
|
37
|
-
{"uuid":"
|
38
|
-
{"uuid":"
|
36
|
+
{"uuid":"cdb1d36a-076d-5005-63b5-d45397","type":"PresenceConstraint","shapes":[],"min_frequency":0,"max_frequency":1,"is_mandatory":null,"is_preferred_identifier":true,"role_sequences":[["38c0a54b-2f61-717c-5bd3-dd31cd","ef021c59-7634-bd8f-2659-d758f2"]]},
|
37
|
+
{"uuid":"ba867f73-af35-10b3-582f-53016f","type":"PresenceConstraint","shapes":[],"min_frequency":0,"max_frequency":1,"is_mandatory":null,"is_preferred_identifier":true,"role_sequences":[["0b035dc7-056e-b9af-0d4f-e49083","cfb71136-204c-5a4b-db81-f0c8d4","49de2032-c1f8-e096-5f94-3cc763","44a65dca-aec5-304b-7e72-63af27"]]},
|
38
|
+
{"uuid":"808b8968-ff6a-3d12-b54f-8c0232","type":"SetEqualityConstraint","shapes":[],"role_sequences":[["a6d5a9da-a335-e289-19da-858fcb","0b035dc7-056e-b9af-0d4f-e49083"],["a4c82469-3335-0a45-a08a-70b1da","339d6122-068f-3510-715f-8eeab1"]]}
|
39
39
|
]
|
40
40
|
}
|
@@ -1,29 +1,29 @@
|
|
1
1
|
{ model: 'WaiterTips',
|
2
2
|
diagrams: [
|
3
|
-
|
3
|
+
|
4
4
|
],
|
5
5
|
object_types: [
|
6
6
|
{"uuid":"f59300ea-f071-a434-e7ca-177cef","name":"AUDValue","shapes":[],"supertype":"567cca0a-f46d-ca00-2895-c4bc36"},
|
7
|
-
{"uuid":"b98c718a-8dde-64cb-b52f-61a33d","name":"Amount","shapes":[
|
7
|
+
{"uuid":"b98c718a-8dde-64cb-b52f-61a33d","name":"Amount","shapes":[],"ref_mode":"AUDValue"},
|
8
8
|
{"uuid":"68066c2b-5a36-72d8-e2d3-10cc31","name":"Auto Counter","shapes":[]},
|
9
|
-
{"uuid":"a829b4c9-3d3a-464f-2435-1405f7","name":"Meal","shapes":[
|
9
|
+
{"uuid":"a829b4c9-3d3a-464f-2435-1405f7","name":"Meal","shapes":[],"ref_mode":".Id"},
|
10
10
|
{"uuid":"7f7c0e31-11d3-5710-a0c6-f0d8c8","name":"MealId","shapes":[],"supertype":"68066c2b-5a36-72d8-e2d3-10cc31"},
|
11
11
|
{"uuid":"567cca0a-f46d-ca00-2895-c4bc36","name":"Money","shapes":[]},
|
12
|
-
{"uuid":"db913091-0ecf-38b1-24e5-3b2558","name":"Service","shapes":[],"objectifies":"
|
12
|
+
{"uuid":"db913091-0ecf-38b1-24e5-3b2558","name":"Service","shapes":[],"objectifies":"b3ee7228-df2c-6d85-6fd0-c564c4"},
|
13
13
|
{"uuid":"8f458c23-08c1-c5ea-bd2e-c4f836","name":"Signed Integer","shapes":[]},
|
14
|
-
{"uuid":"2eddaa42-7e5a-caf0-dbba-3533c9","name":"Waiter","shapes":[
|
14
|
+
{"uuid":"2eddaa42-7e5a-caf0-dbba-3533c9","name":"Waiter","shapes":[],"ref_mode":".Nr"},
|
15
15
|
{"uuid":"6303045b-4b89-8877-b5a7-5f2f27","name":"WaiterNr","shapes":[],"supertype":"8f458c23-08c1-c5ea-bd2e-c4f836"},
|
16
|
-
{"uuid":"d5df70cb-a06e-21dd-0578-24a7dc","name":"WaiterTip","shapes":[],"objectifies":"
|
16
|
+
{"uuid":"d5df70cb-a06e-21dd-0578-24a7dc","name":"WaiterTip","shapes":[],"objectifies":"da1f489e-2db9-c634-3a5b-7301a8","implicit":true}
|
17
17
|
],
|
18
18
|
fact_types: [
|
19
|
-
{"uuid":"
|
20
|
-
{"uuid":"
|
21
|
-
{"uuid":"
|
22
|
-
{"uuid":"
|
23
|
-
{"uuid":"
|
24
|
-
{"uuid":"
|
19
|
+
{"uuid":"da1f489e-2db9-c634-3a5b-7301a8","objectified_as":"d5df70cb-a06e-21dd-0578-24a7dc","roles":[{"uuid":"094c2804-c27f-fa3e-4084-78df2d","player":"2eddaa42-7e5a-caf0-dbba-3533c9"},{"uuid":"9e8e534c-72ff-3141-6258-286026","player":"a829b4c9-3d3a-464f-2435-1405f7"},{"uuid":"1f4d6b6e-5840-4297-ef5b-369ef1","player":"b98c718a-8dde-64cb-b52f-61a33d"}],"readings":[["012","{0} for serving {1} reported a tip of {2}"]],"shapes":[],"constraints":[{"uuid":"07993944-12c2-1097-c102-c677fd","min":1,"max":1,"is_preferred":true,"mandatory":true,"uniqueExcept":"1f4d6b6e-5840-4297-ef5b-369ef1"}]},
|
20
|
+
{"uuid":"673be2f0-05a6-4435-c12b-ff1d52","roles":[{"uuid":"183f8a47-5c3f-8624-1e8f-3dc159","player":"db913091-0ecf-38b1-24e5-3b2558"},{"uuid":"4792ee48-a10e-673a-c928-6c660d","player":"b98c718a-8dde-64cb-b52f-61a33d"}],"readings":[["01","{0} earned a tip of {1}"]],"shapes":[],"constraints":[{"uuid":"e341a4a5-2834-38a6-675f-a76116","min":0,"max":1,"is_preferred":null,"mandatory":null,"uniqueExcept":"4792ee48-a10e-673a-c928-6c660d"}]},
|
21
|
+
{"uuid":"b157074f-1235-3ab5-be60-2c8be2","roles":[{"uuid":"86d81f9b-47c4-dcf4-948e-ca45bb","player":"2eddaa42-7e5a-caf0-dbba-3533c9"},{"uuid":"77e9c45f-f74f-4533-ecd1-4cafbd","player":"6303045b-4b89-8877-b5a7-5f2f27"}],"readings":[["01","{0} has {1}"],["10","{0} is of {1}"]],"shapes":[],"constraints":[{"uuid":"550e1093-a9cd-fead-0809-7dae99","min":0,"max":1,"is_preferred":true,"mandatory":null,"uniqueExcept":"86d81f9b-47c4-dcf4-948e-ca45bb"},{"uuid":"062dc919-8b2b-50bd-cc61-0eae66","min":1,"max":1,"is_preferred":null,"mandatory":true,"role":"86d81f9b-47c4-dcf4-948e-ca45bb"}]},
|
22
|
+
{"uuid":"2e493ff2-43ab-d664-c9ff-fac1dc","roles":[{"uuid":"51523aeb-e1c9-3ee9-2f7a-a39e90","player":"a829b4c9-3d3a-464f-2435-1405f7"},{"uuid":"e5f7b6d9-ffa8-63b7-86aa-edb6a9","player":"7f7c0e31-11d3-5710-a0c6-f0d8c8"}],"readings":[["01","{0} has {1}"],["10","{0} is of {1}"]],"shapes":[],"constraints":[{"uuid":"7be745b3-2a4e-d5ae-182a-2077a0","min":0,"max":1,"is_preferred":true,"mandatory":null,"uniqueExcept":"51523aeb-e1c9-3ee9-2f7a-a39e90"},{"uuid":"a08e4b3d-bbe7-a33a-3ce2-ec9edf","min":1,"max":1,"is_preferred":null,"mandatory":true,"role":"51523aeb-e1c9-3ee9-2f7a-a39e90"}]},
|
23
|
+
{"uuid":"b3ee7228-df2c-6d85-6fd0-c564c4","objectified_as":"db913091-0ecf-38b1-24e5-3b2558","roles":[{"uuid":"ccc865b0-56b4-f9f7-5c18-8fe537","player":"2eddaa42-7e5a-caf0-dbba-3533c9"},{"uuid":"cbc53eae-51a2-2de8-eb5f-395c11","player":"a829b4c9-3d3a-464f-2435-1405f7"}],"readings":[["01","{0} served {1}"]],"shapes":[],"constraints":[{"uuid":"98f434e0-d05c-31c6-5bd4-d95766","min":1,"max":1,"is_preferred":true,"mandatory":true,"uniqueExcept":null}]},
|
24
|
+
{"uuid":"56b5e167-49eb-50f7-70cb-626fa2","roles":[{"uuid":"a6e3482b-fc67-894e-7362-156b3a","player":"b98c718a-8dde-64cb-b52f-61a33d"},{"uuid":"99bf05c9-9b43-4de5-3748-4ea09a","player":"f59300ea-f071-a434-e7ca-177cef"}],"readings":[["01","{0} has {1}"],["10","{0} is of {1}"]],"shapes":[],"constraints":[{"uuid":"407aca0a-b02b-084c-6149-e2d6e5","min":0,"max":1,"is_preferred":true,"mandatory":null,"uniqueExcept":"a6e3482b-fc67-894e-7362-156b3a"},{"uuid":"8275c144-d531-93ca-dd90-f4f50e","min":1,"max":1,"is_preferred":null,"mandatory":true,"role":"a6e3482b-fc67-894e-7362-156b3a"}]}
|
25
25
|
],
|
26
26
|
constraints: [
|
27
|
-
{"uuid":"
|
27
|
+
{"uuid":"478baecb-a570-8bce-e01a-3d58bd","type":"SetEqualityConstraint","shapes":[],"role_sequences":[["ccc865b0-56b4-f9f7-5c18-8fe537","cbc53eae-51a2-2de8-eb5f-395c11","4792ee48-a10e-673a-c928-6c660d"],["094c2804-c27f-fa3e-4084-78df2d","9e8e534c-72ff-3141-6258-286026","1f4d6b6e-5840-4297-ef5b-369ef1"]]}
|
28
28
|
]
|
29
29
|
}
|