activefacts-examples 1.9.8 → 1.9.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -0
- data/activefacts-examples.gemspec +2 -2
- data/cql/CinemaBookings.cql +7 -1
- data/cql/CinemaTickets.cql +6 -3
- data/cql/CompanyDirectorEmployee.cql +1 -1
- data/cql/Diplomacy.cql +2 -2
- data/cql/OilSupply.cql +3 -3
- data/cql/OneRoleNesting.cql +1 -1
- data/cql/SeparateSubtype.cql +6 -0
- data/cql/ServiceDirector.cql +13 -13
- data/cql/Supervision.cql +2 -3
- data/cql/Warehousing.cql +4 -4
- data/diagrams/json/CinemaTickets.json +7 -4
- data/diagrams/json/OilSupply.json +4 -4
- data/diagrams/json/OneRoleNesting.json +1 -1
- data/images/CinemaTickets.png +0 -0
- data/images/MultipleSubtyping.png +0 -0
- data/images/OilSupply.png +0 -0
- data/metadata/json/CinemaTickets.json +141 -149
- data/metadata/json/Metamodel.json +747 -466
- data/metadata/json/OilSupply.json +63 -63
- data/orm/Blog.orm +214 -214
- data/orm/CinemaTickets.orm +931 -962
- data/orm/ExampleModels2010.csproj +33 -0
- data/orm/MultipleSubtyping.orm +110 -9
- data/orm/OilSupply.orm +347 -353
- data/orm/Warehousing.orm +34 -22
- data/rails/models/CinemaTickets.models +5 -7
- data/rails/schema/Astronomy.schema.rb +14 -14
- data/rails/schema/CinemaBookings.schema.rb +49 -49
- data/rails/schema/CinemaTickets.schema.rb +97 -97
- data/rails/schema/Diplomacy.schema.rb +48 -48
- data/rails/schema/Metamodel.schema.rb +497 -497
- data/rails/schema/SeparateSubtype.schema.rb +18 -18
- data/rails/schema/VenueSeating.schema.rb +26 -26
- data/rails/schema/Warehousing.schema.rb +101 -101
- data/ruby/CinemaTickets.rb +7 -11
- data/ruby/OilSupply.rb +3 -3
- data/ruby/OneRoleNesting.rb +1 -1
- data/sql/server/CinemaTickets.sql +13 -13
- data/sql/server/OilSupply.sql +3 -3
- data/sql/server/OneRoleNesting.sql +6 -6
- metadata +8 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a5d47946d95a7144d2631ad2d596e8ed663364cf
|
4
|
+
data.tar.gz: d14d17f2afac6a0d18f50bf838000b0404559e2b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2b23adb4f446c711392a2e0e86fd853e81f9d21ad4007fc048d422a81a48c3469bc1a4f62f3c0464146e17d340d6832157c65d113ff4eef4393a04cffab49da6
|
7
|
+
data.tar.gz: c4c4e92e3e1baf5130d898494d96a67abaf6d6e6d4a8241187122ce00799e4240821613c22f6aba07accd05f5675607015d3bd17f550ad6329cc7d3a0edde218
|
data/Gemfile
CHANGED
@@ -11,5 +11,6 @@ if this_file =~ %r{\A#{ENV['HOME']}}i
|
|
11
11
|
gem 'activefacts-rmap', path: dir+'/rmap'
|
12
12
|
gem 'activefacts-cql', path: dir+'/cql'
|
13
13
|
gem 'activefacts-orm', path: dir+'/orm'
|
14
|
+
gem 'activefacts-compositions', path: dir+'/compositions'
|
14
15
|
gem 'activefacts-generators', path: dir+'/generators'
|
15
16
|
end
|
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
6
|
spec.name = "activefacts-examples"
|
7
|
-
spec.version = "1.9.
|
7
|
+
spec.version = "1.9.9"
|
8
8
|
spec.authors = ["Clifford Heath"]
|
9
9
|
spec.email = ["clifford.heath@gmail.com"]
|
10
10
|
|
@@ -17,7 +17,7 @@ Gem::Specification.new do |spec|
|
|
17
17
|
spec.require_paths = ["lib"]
|
18
18
|
|
19
19
|
spec.add_development_dependency "bundler", ">= 1.10"
|
20
|
-
spec.add_development_dependency "rake", "
|
20
|
+
spec.add_development_dependency "rake", "> 10"
|
21
21
|
spec.add_development_dependency "rspec", "~> 3", ">= 3.3"
|
22
22
|
|
23
23
|
spec.add_runtime_dependency "activefacts", ">= 1.8", "~> 1"
|
data/cql/CinemaBookings.cql
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
schema Cinema Bookings;
|
2
2
|
|
3
3
|
/*
|
4
4
|
* Value Types
|
@@ -62,3 +62,9 @@ Seat Allocation is where
|
|
62
62
|
*/
|
63
63
|
Booking (in which Person booked Session (in which Cinema shows Film on DateTime) for Number of seats) has allocated Seat
|
64
64
|
only if Cinema contains Row that contains Seat;
|
65
|
+
|
66
|
+
/*
|
67
|
+
Booking has allocated Seat
|
68
|
+
only if that Booking is for some Session that is at some Cinema that contains some Row that contains that Seat;
|
69
|
+
*/
|
70
|
+
|
data/cql/CinemaTickets.cql
CHANGED
@@ -10,7 +10,6 @@ Collection Code is written as Signed Integer(32);
|
|
10
10
|
Day is written as Signed Integer(32) restricted to {1..31};
|
11
11
|
Encrypted Password is written as String;
|
12
12
|
Film ID is written as Auto Counter;
|
13
|
-
High Demand is written as Boolean;
|
14
13
|
Hour is written as Signed Integer(32) restricted to {0..23};
|
15
14
|
Minute is written as Signed Integer(32) restricted to {0..59};
|
16
15
|
Month Nr is written as Signed Integer(32) restricted to {1..12};
|
@@ -75,8 +74,12 @@ Session Time is identified by Year and Month and Day and Hour and Minute where
|
|
75
74
|
Session Time is at one Hour,
|
76
75
|
Session Time is at one Minute;
|
77
76
|
|
78
|
-
Ticket
|
79
|
-
|
77
|
+
Ticket Category is identified by Cinema and Session Time and Section and Ticket Category has high demand where
|
78
|
+
Ticket Category is for one Cinema,
|
79
|
+
Ticket Category is for one Session Time,
|
80
|
+
Ticket Category is for one Section,
|
81
|
+
Ticket Category has high demand;
|
82
|
+
Ticket Category has at most one Price;
|
80
83
|
|
81
84
|
Session is where
|
82
85
|
Cinema shows Film on Session Time,
|
data/cql/Diplomacy.cql
CHANGED
@@ -39,9 +39,9 @@ for each Diplomat, Country at most one of these holds:
|
|
39
39
|
Diplomat serves in Country,
|
40
40
|
Diplomat represents Country;
|
41
41
|
Diplomat is an Ambassador that is from Country(1) to Country(2)
|
42
|
-
only if Diplomat represents Country
|
42
|
+
only if Diplomat represents Country;
|
43
43
|
Diplomat is an Ambassador that is from Country(2) to Country(1)
|
44
|
-
only if Diplomat serves in Country
|
44
|
+
only if Diplomat serves in Country;
|
45
45
|
Diplomat serves in Country
|
46
46
|
only if Diplomat speaks Language that is spoken in Country;
|
47
47
|
each Ambassador occurs at least one time in
|
data/cql/OilSupply.cql
CHANGED
@@ -10,7 +10,7 @@ Quantity is written as Unsigned Integer(32);
|
|
10
10
|
Refinery Name is written as String(80);
|
11
11
|
Region Name is written as String;
|
12
12
|
Season is written as String(6) restricted to {'Autumn', 'Spring', 'Summer', 'Winter'};
|
13
|
-
Transport
|
13
|
+
Transport Mode is written as String restricted to {'Rail', 'Road', 'Sea'};
|
14
14
|
Year Nr is written as Signed Integer(32);
|
15
15
|
|
16
16
|
/*
|
@@ -26,8 +26,8 @@ Refinery is independent identified by its Name;
|
|
26
26
|
Region is independent identified by its Name;
|
27
27
|
|
28
28
|
Transport Route is where
|
29
|
-
Transport
|
30
|
-
Transport
|
29
|
+
Transport Mode transportation is available from Refinery to Region,
|
30
|
+
Transport Mode transportation is available to Region from Refinery;
|
31
31
|
Transport Route incurs at most one Cost per kl;
|
32
32
|
|
33
33
|
Year is identified by its Nr;
|
data/cql/OneRoleNesting.cql
CHANGED
data/cql/SeparateSubtype.cql
CHANGED
@@ -28,3 +28,9 @@ Witness saw at least one Incident,
|
|
28
28
|
Driver is a kind of Person;
|
29
29
|
Vehicle Incident occurred while at most one Driver was in charge;
|
30
30
|
|
31
|
+
/*
|
32
|
+
* Constraints:
|
33
|
+
*/
|
34
|
+
for each Incident, Person at most one of these holds:
|
35
|
+
Incident is a Vehicle Incident that occurred while Driver was in charge and Driver is a kind of Person,
|
36
|
+
Incident was independently witnessed by Witness;
|
data/cql/ServiceDirector.cql
CHANGED
@@ -53,7 +53,7 @@ Credential has one User Name;
|
|
53
53
|
Data Store is identified by its Name;
|
54
54
|
Data Store requires at least one Credential;
|
55
55
|
Data Store has one Friendly-Name;
|
56
|
-
Data Store has at most one
|
56
|
+
Data Store has at most one Heart- Beat Truck PCID;
|
57
57
|
Data Store has one Internal-Credential;
|
58
58
|
Data Store is one Major-Version;
|
59
59
|
Data Store is one Minor-Version;
|
@@ -81,8 +81,8 @@ Monitor is owned by one Monitoring Application;
|
|
81
81
|
|
82
82
|
Network is identified by its Nr;
|
83
83
|
Company has at least one Origin-Network;
|
84
|
-
Data Store has
|
85
|
-
|
84
|
+
Data Store has Tcp- Proxy Network,
|
85
|
+
Tcp- Proxy Network is in at most one Data Store;
|
86
86
|
Host System uses at least one Network,
|
87
87
|
Network is used by at most one Host System;
|
88
88
|
Network uses at most one Domain-Name;
|
@@ -94,7 +94,7 @@ Network is ip_single;
|
|
94
94
|
Network is ip_subnet;
|
95
95
|
|
96
96
|
Notification Level is identified by its Nr;
|
97
|
-
Notification Level has one
|
97
|
+
Notification Level has one Initial- Delay Duration;
|
98
98
|
Notification Level has one Repeat-Duration;
|
99
99
|
|
100
100
|
Notification Type is independent identified by its Name;
|
@@ -102,11 +102,11 @@ Notification Type is independent identified by its Name;
|
|
102
102
|
Provider Type is identified by its Id;
|
103
103
|
|
104
104
|
Recurring Schedule is identified by its Id;
|
105
|
-
Monitor has
|
106
|
-
|
107
|
-
Monitor (as IntegratingMonitor) has
|
108
|
-
Monitor (as IntegratingMonitor) has
|
109
|
-
|
105
|
+
Monitor has All- Exclusion Recurring Schedule,
|
106
|
+
All- Exclusion Recurring Schedule applies to at most one Monitor;
|
107
|
+
Monitor (as IntegratingMonitor) has Integration- Exclusion Recurring Schedule; // Avoid ambiguity; this is a new fact type
|
108
|
+
Monitor (as IntegratingMonitor) has Integration- Exclusion Recurring Schedule,
|
109
|
+
Integration- Exclusion Recurring Schedule applies to at most one IntegratingMonitor;
|
110
110
|
Recurring Schedule has one Duration;
|
111
111
|
Recurring Schedule has one Start-Time;
|
112
112
|
Recurring Schedule friday;
|
@@ -126,7 +126,7 @@ Satellite Message has one Serial Number;
|
|
126
126
|
Satellite Message has one insertion-Date Time;
|
127
127
|
|
128
128
|
Subscription is identified by its Nr;
|
129
|
-
Company has one
|
129
|
+
Company has one Driver- Tech Subscription;
|
130
130
|
Subscription has one Beginning-Date;
|
131
131
|
Subscription has at most one Ending-Date;
|
132
132
|
Subscription is enabled;
|
@@ -206,7 +206,7 @@ for each Credential exactly one of these holds:
|
|
206
206
|
for each Network exactly one of these holds:
|
207
207
|
Network is used by Host System,
|
208
208
|
Company has Origin-Network,
|
209
|
-
|
209
|
+
Tcp- Proxy Network is in Data Store;
|
210
210
|
for each Network exactly one of these holds:
|
211
211
|
Network is ip_single,
|
212
212
|
Network is ip_subnet,
|
@@ -229,7 +229,7 @@ Switch is on private Network
|
|
229
229
|
Data Store has Legacy Switch;
|
230
230
|
Client has default Data Store
|
231
231
|
only if Client uses Data Store;
|
232
|
-
|
232
|
+
Tcp Proxy Network is in Data Store
|
233
233
|
only if Network is ip_single;
|
234
234
|
Network uses Domain Name
|
235
235
|
only if Network is ip_single;
|
@@ -264,7 +264,7 @@ each Recurring Schedule occurs at least one time in
|
|
264
264
|
each Service occurs one time in
|
265
265
|
Vendor provides Service;
|
266
266
|
each Subscription occurs at most one time in
|
267
|
-
Company has
|
267
|
+
Company has Driver Tech Subscription;
|
268
268
|
each Subscription occurs at most one time in
|
269
269
|
Data Store Service has Subscription;
|
270
270
|
each Switch occurs at most one time in
|
data/cql/Supervision.cql
CHANGED
@@ -31,7 +31,6 @@ CEO Shareholding is where
|
|
31
31
|
/*
|
32
32
|
* Constraints:
|
33
33
|
*/
|
34
|
-
either Employee reports to Manager
|
34
|
+
either Employee reports to Manager or Employee is a Manager(2) that is a CEO that runs Company but not both;
|
35
35
|
Employee is a Manager that is a CEO that runs Company
|
36
|
-
if
|
37
|
-
Employee works for Company;
|
36
|
+
only if Employee works for Company;
|
data/cql/Warehousing.cql
CHANGED
@@ -26,8 +26,8 @@ Bin contains one Quantity,
|
|
26
26
|
Dispatch is identified by its ID;
|
27
27
|
|
28
28
|
Dispatch Item is identified by its ID;
|
29
|
-
Dispatch is of
|
30
|
-
Dispatch Item is for
|
29
|
+
Dispatch is of Dispatch Item,
|
30
|
+
Dispatch Item is for one Dispatch;
|
31
31
|
Dispatch Item is in one Quantity;
|
32
32
|
|
33
33
|
Party is identified by its ID;
|
@@ -49,8 +49,8 @@ Purchase Order Item is in one Quantity;
|
|
49
49
|
Receipt is identified by its ID;
|
50
50
|
|
51
51
|
Received Item is identified by its ID;
|
52
|
-
Receipt is of
|
53
|
-
Received Item has
|
52
|
+
Receipt is of Received Item,
|
53
|
+
Received Item has one Receipt;
|
54
54
|
Received Item is one Product;
|
55
55
|
Received Item is for at most one Purchase Order Item;
|
56
56
|
Received Item is in one Quantity;
|
@@ -9,7 +9,6 @@ diagrams: [
|
|
9
9
|
{"uuid":"2259a950-5fb5-213b-6aa8-a279ad","name":"Auto Counter","shapes":[]},
|
10
10
|
{"uuid":"0a9fd309-1413-b920-5f52-56282b","name":"Booking Nr","shapes":[],"supertype":"316a37a0-ef76-de29-6b59-a3a11b"},
|
11
11
|
{"uuid":"24fadb6f-64f4-7e94-92b3-daf28a","name":"Booking","shapes":[],"ref_mode":".Nr","objectifies":"232a2b92-9b25-1ed8-6259-3e9ad6"},
|
12
|
-
{"uuid":"598fda34-eb6e-a165-0e5b-3bb5ce","name":"Boolean","shapes":[]},
|
13
12
|
{"uuid":"f441a0e2-5e6c-c17a-ca22-fb8492","name":"Char","shapes":[]},
|
14
13
|
{"uuid":"dc6de150-c50b-f2e2-7037-4a3e71","name":"Cinema ID","shapes":[],"supertype":"2259a950-5fb5-213b-6aa8-a279ad"},
|
15
14
|
{"uuid":"5e169015-a2b2-7245-bf65-d2c903","name":"Cinema","shapes":[],"ref_mode":".ID"},
|
@@ -18,7 +17,6 @@ diagrams: [
|
|
18
17
|
{"uuid":"a1cda619-2474-8438-2e14-e347fb","name":"Encrypted Password","shapes":[],"supertype":"8e1d41d9-1a29-89c7-e0dd-34f003"},
|
19
18
|
{"uuid":"6f1fdd5b-8e7a-72ee-286e-0348b8","name":"Film ID","shapes":[],"supertype":"2259a950-5fb5-213b-6aa8-a279ad"},
|
20
19
|
{"uuid":"fa44d042-0159-59b9-f4f9-c483cf","name":"Film","shapes":[],"ref_mode":".ID"},
|
21
|
-
{"uuid":"e323ff6f-7ac5-89fe-0a79-7e190a","name":"High Demand","shapes":[],"supertype":"598fda34-eb6e-a165-0e5b-3bb5ce"},
|
22
20
|
{"uuid":"6397821b-524d-aae7-c50e-0d2078","name":"Hour","shapes":[],"supertype":"316a37a0-ef76-de29-6b59-a3a11b"},
|
23
21
|
{"uuid":"8d5b6ddb-3fb6-bd0b-081f-a63cd1","name":"Minute","shapes":[],"supertype":"316a37a0-ef76-de29-6b59-a3a11b"},
|
24
22
|
{"uuid":"77d666d4-7464-6a28-a764-5f7809","name":"Money","shapes":[]},
|
@@ -44,7 +42,7 @@ diagrams: [
|
|
44
42
|
{"uuid":"316a37a0-ef76-de29-6b59-a3a11b","name":"Signed Integer","shapes":[]},
|
45
43
|
{"uuid":"8e1d41d9-1a29-89c7-e0dd-34f003","name":"String","shapes":[]},
|
46
44
|
{"uuid":"fbd080fb-8874-ec14-bded-891183","name":"Text","shapes":[]},
|
47
|
-
{"uuid":"
|
45
|
+
{"uuid":"5e3ed334-c41f-6430-da33-310f14","name":"Ticket Category","shapes":[]},
|
48
46
|
{"uuid":"20f86d25-220a-d165-6191-e9a966","name":"Unsigned Integer","shapes":[]},
|
49
47
|
{"uuid":"07ccd8d3-33f3-fde6-5e61-2cc918","name":"Year Nr","shapes":[],"supertype":"316a37a0-ef76-de29-6b59-a3a11b"},
|
50
48
|
{"uuid":"da692323-013c-7d92-8464-7dc03b","name":"Year","shapes":[],"ref_mode":".Nr"}
|
@@ -54,25 +52,29 @@ diagrams: [
|
|
54
52
|
{"uuid":"2e78368d-4bf9-7db6-b6d9-914c79","roles":[{"uuid":"0f3b4de4-004d-0135-c013-197bcb","player":"7cb85473-d35c-65d1-e499-00fa37"},{"uuid":"58bf4383-3d4a-5b03-55bb-251b54","player":"de01abf3-a73d-d33a-ea2e-fb16ca"}],"readings":[["01","{0} has {1}"],["10","{0} is of {1}"]],"shapes":[],"constraints":[{"uuid":"789b8516-d131-5fe4-7ce3-b125ff","min":0,"max":1,"is_preferred":true,"mandatory":null,"uniqueExcept":"0f3b4de4-004d-0135-c013-197bcb"},{"uuid":"71270c07-3ead-6b97-de5e-8b417b","min":1,"max":1,"is_preferred":null,"mandatory":true,"role":"0f3b4de4-004d-0135-c013-197bcb"}]},
|
55
53
|
{"uuid":"300e8e55-fb01-8e73-5c50-ae8421","roles":[{"uuid":"31ebc788-66e3-9a31-cb81-b956ea","player":"6c5fe7a2-44bf-09f9-f30e-d3298d"},{"uuid":"8ef21cb4-c3d1-94fc-a577-cc6450","player":"da692323-013c-7d92-8464-7dc03b"}],"readings":[["01","{0} is in {1}"]],"shapes":[],"constraints":[{"uuid":"344c05a4-5896-508e-a2ad-644603","min":1,"max":1,"is_preferred":null,"mandatory":true,"role":"31ebc788-66e3-9a31-cb81-b956ea"}]},
|
56
54
|
{"uuid":"20dad6ce-19c4-44a0-bd25-36ea1b","roles":[{"uuid":"7e812cce-ed2a-0ec0-9708-276633","player":"2f6cd681-ca37-1a32-c8a5-39af5d"}],"readings":[["0","{0} uses allocated seating"]],"shapes":[],"constraints":[{"uuid":"30954166-52d2-b361-0e18-c89e21","min":0,"max":1,"is_preferred":true,"mandatory":null,"uniqueExcept":null}]},
|
55
|
+
{"uuid":"71bdbf6a-8745-adf7-e46d-6958f1","roles":[{"uuid":"fc537d9e-5905-a3d4-300b-aecad7","player":"5e3ed334-c41f-6430-da33-310f14"},{"uuid":"bc172526-54f7-51da-dfec-8c3468","player":"28f66ff5-586b-ad53-fbe6-edde21"}],"readings":[["01","{0} has {1}"]],"shapes":[],"constraints":[{"uuid":"a979215b-e23e-1842-cb97-865802","min":0,"max":1,"is_preferred":null,"mandatory":null,"uniqueExcept":"bc172526-54f7-51da-dfec-8c3468"}]},
|
57
56
|
{"uuid":"5262c079-59fb-1640-04e9-b4dc78","roles":[{"uuid":"76085e77-d21a-260b-e023-2a1bda","player":"8ff75bfd-7208-dedc-994a-c24ab5"},{"uuid":"cec6f6f6-fa5a-3575-b6d8-78fe56","player":"d59d8e16-a488-f61a-d3a2-8d04ca"}],"readings":[["01","{0} has {1}"],["10","{0} is of {1}"]],"shapes":[],"constraints":[{"uuid":"d2124480-fc3f-51e0-1145-50d279","min":0,"max":1,"is_preferred":true,"mandatory":null,"uniqueExcept":"76085e77-d21a-260b-e023-2a1bda"},{"uuid":"66b1f488-bbe8-881a-8052-9c0ad9","min":1,"max":1,"is_preferred":null,"mandatory":true,"role":"76085e77-d21a-260b-e023-2a1bda"}]},
|
58
57
|
{"uuid":"4de8ec9f-864d-a745-9a17-32caf1","roles":[{"uuid":"55928c31-aec4-1d8a-b02a-d26153","player":"f188e48e-f857-6c1f-387e-898d24"},{"uuid":"3bb6bdbf-2e74-c0bc-2cf2-144838","player":"5e169015-a2b2-7245-bf65-d2c903"}],"readings":[["01","{0} is in {1}"],["10","{0} contains {1}"]],"shapes":[],"constraints":[{"uuid":"0c8f0296-90fd-a24c-8dae-105621","min":1,"max":1,"is_preferred":null,"mandatory":true,"role":"55928c31-aec4-1d8a-b02a-d26153"}]},
|
58
|
+
{"uuid":"e8ad7b6a-539c-f1df-030d-23c205","roles":[{"uuid":"74c8f872-e232-bf27-d6e4-2c984a","player":"5e3ed334-c41f-6430-da33-310f14"}],"readings":[["0","{0} has high demand"]],"shapes":[],"constraints":[{"uuid":"6d30e786-f1f0-2f6e-e70d-39aaa4","min":0,"max":1,"is_preferred":true,"mandatory":null,"uniqueExcept":null}]},
|
59
59
|
{"uuid":"232a2b92-9b25-1ed8-6259-3e9ad6","objectified_as":"24fadb6f-64f4-7e94-92b3-daf28a","roles":[{"uuid":"4056e201-8482-e6b6-cda7-bc9cb4","player":"8ff75bfd-7208-dedc-994a-c24ab5"},{"uuid":"e17aff30-9059-7954-4519-80ea77","player":"2f6cd681-ca37-1a32-c8a5-39af5d"},{"uuid":"f85f52e7-44f4-f03a-b518-37f9e1","player":"9d10e652-5145-745c-944a-06ef98"}],"readings":[["012","{0} booked {1} for {2} of places"],["021","{0} booked {1} of places for {2}"]],"shapes":[],"constraints":[{"uuid":"93f82ad8-409b-9758-e345-336c3f","min":1,"max":1,"is_preferred":null,"mandatory":true,"uniqueExcept":"f85f52e7-44f4-f03a-b518-37f9e1"}]},
|
60
60
|
{"uuid":"dbd2ea04-e57f-c49b-3493-cd2243","roles":[{"uuid":"9cac4c6b-735e-b02b-6b5f-7a8b3b","player":"2f6cd681-ca37-1a32-c8a5-39af5d"}],"readings":[["0","{0} is high-demand"]],"shapes":[],"constraints":[{"uuid":"24857a51-8bae-9611-b753-342653","min":0,"max":1,"is_preferred":true,"mandatory":null,"uniqueExcept":null}]},
|
61
|
+
{"uuid":"eb191aca-d594-2ff8-d9a1-485a3b","roles":[{"uuid":"c1654074-85c9-b585-8a34-88266b","player":"5e3ed334-c41f-6430-da33-310f14"},{"uuid":"00868b3f-aa96-9c17-adb4-cbebdc","player":"ed0db176-1a97-7160-9307-8739be"}],"readings":[["01","{0} is for {1}"]],"shapes":[],"constraints":[{"uuid":"d58a0613-90df-86e6-7df1-887fc9","min":1,"max":1,"is_preferred":null,"mandatory":true,"role":"c1654074-85c9-b585-8a34-88266b"}]},
|
61
62
|
{"uuid":"8ceef059-4112-7ec3-120a-d111e6","roles":[{"uuid":"99da2751-a693-b9e7-da4d-cbab97","player":"6c5fe7a2-44bf-09f9-f30e-d3298d"},{"uuid":"21fa60ae-6d7d-d1de-e9b7-bb2c21","player":"8621134f-147e-e604-d33a-a5fafd"}],"readings":[["01","{0} is on {1}"]],"shapes":[],"constraints":[{"uuid":"be396e9b-f7e1-fc9e-5b87-372e41","min":1,"max":1,"is_preferred":null,"mandatory":true,"role":"99da2751-a693-b9e7-da4d-cbab97"}]},
|
62
63
|
{"uuid":"97701076-6e22-8f40-8f8a-d43763","roles":[{"uuid":"42f82ea7-174d-28ff-c36a-515727","player":"24fadb6f-64f4-7e94-92b3-daf28a"},{"uuid":"64c31a1a-d336-0cef-f828-94761c","player":"d829edb1-8225-1085-8167-6fc33c"}],"readings":[["01","{0} has {1}"]],"shapes":[],"constraints":[{"uuid":"1aaf48c4-7a97-2b9c-f0a2-1dab94","min":0,"max":1,"is_preferred":null,"mandatory":null,"uniqueExcept":"64c31a1a-d336-0cef-f828-94761c"}]},
|
63
64
|
{"uuid":"f3bbf906-6ae8-0c67-339f-46b2d3","objectified_as":"1d51271a-4130-0367-f706-3c712a","roles":[{"uuid":"295ac212-a287-6dfd-5a8c-a9dd79","player":"24fadb6f-64f4-7e94-92b3-daf28a"},{"uuid":"e0748688-5c61-d6f1-3b1a-7e70da","player":"59e789dd-c97e-f0f6-95ca-216ab0"}],"readings":[["01","{0} has allocated-{1}"],["10","{0} is allocated to {1}"]],"shapes":[],"constraints":[{"uuid":"dcaf2ca2-4bc6-cc00-ae7e-bae74f","min":1,"max":1,"is_preferred":true,"mandatory":true,"uniqueExcept":null}]},
|
64
65
|
{"uuid":"c8d298f4-4c98-e8a6-7a8b-3f3695","roles":[{"uuid":"3ece2ca8-e26e-b55f-12fc-0cf566","player":"6cab2061-f0d2-2a91-c882-1fc8d6"},{"uuid":"6bac197c-627e-aa3e-7a04-282b9d","player":"7f731425-b10e-f359-b3da-d9388c"}],"readings":[["01","{0} has {1}"],["10","{0} is of {1}"]],"shapes":[],"constraints":[{"uuid":"5feda09e-2ffb-d790-1586-31fe02","min":0,"max":1,"is_preferred":true,"mandatory":null,"uniqueExcept":"3ece2ca8-e26e-b55f-12fc-0cf566"},{"uuid":"f66a792d-a33c-2618-a086-5505d7","min":1,"max":1,"is_preferred":null,"mandatory":true,"role":"3ece2ca8-e26e-b55f-12fc-0cf566"}]},
|
65
66
|
{"uuid":"25604355-689d-2429-5bae-0ac48d","objectified_as":"09f6bc4f-e656-00b4-3826-fae086","roles":[{"uuid":"bb0476d5-68f6-7617-53d9-f60651","player":"24fadb6f-64f4-7e94-92b3-daf28a"},{"uuid":"7cd89d87-4e2b-0102-f8a7-5a719e","player":"7cb85473-d35c-65d1-e499-00fa37"},{"uuid":"99222b5d-22df-88f8-5676-d2ae70","player":"9d10e652-5145-745c-944a-06ef98"}],"readings":[["012","{0} applied {1} for {2} of places"],["201","{0} of places for {1} have been paid for by {2}"]],"shapes":[],"constraints":[{"uuid":"06265819-a271-40dc-1089-f0c1b5","min":1,"max":1,"is_preferred":true,"mandatory":true,"uniqueExcept":"99222b5d-22df-88f8-5676-d2ae70"}]},
|
66
|
-
{"uuid":"5970f7e0-6ae1-abd1-adfc-d70bc7","objectified_as":"a1a520c3-744a-683b-eb2f-15fdbd","roles":[{"uuid":"3723750b-9df8-5bb8-d20f-a0f356","player":"5e169015-a2b2-7245-bf65-d2c903"},{"uuid":"e201d588-07ee-f74b-69b6-c023ee","player":"6c5fe7a2-44bf-09f9-f30e-d3298d"},{"uuid":"0411c476-9510-9581-e1f5-d5534a","player":"ed0db176-1a97-7160-9307-8739be"},{"uuid":"81a65099-928c-74b9-630a-497299","player":"e323ff6f-7ac5-89fe-0a79-7e190a"},{"uuid":"19ad0d7b-59e5-8c68-6e33-264990","player":"28f66ff5-586b-ad53-fbe6-edde21"}],"readings":[["10234","tickets on {0} at {1} in {2} for {3} have {4}"]],"shapes":[],"constraints":[{"uuid":"dff00d7a-f859-d7fd-38f1-6da715","min":1,"max":1,"is_preferred":true,"mandatory":true,"uniqueExcept":"19ad0d7b-59e5-8c68-6e33-264990"}]},
|
67
67
|
{"uuid":"c0922945-13f0-3ed4-8594-459407","objectified_as":"2f6cd681-ca37-1a32-c8a5-39af5d","roles":[{"uuid":"bce25f15-994d-37d6-88a0-091cc0","player":"5e169015-a2b2-7245-bf65-d2c903"},{"uuid":"fc267466-2b65-16ea-8aba-40b681","player":"fa44d042-0159-59b9-f4f9-c483cf"},{"uuid":"349406c4-4b63-9dca-e74f-2db285","player":"6c5fe7a2-44bf-09f9-f30e-d3298d"}],"readings":[["012","{0} shows {1} on {2}"],["021","{0} at {1} is showing {2}"],["120","{0} is showing on {1} at {2}"]],"shapes":[],"constraints":[{"uuid":"1368f9cd-1dac-8ff7-9b8d-2d0e13","min":1,"max":1,"is_preferred":true,"mandatory":true,"uniqueExcept":"fc267466-2b65-16ea-8aba-40b681"}]},
|
68
68
|
{"uuid":"9e16d052-706f-e21c-b5a1-123d60","roles":[{"uuid":"17570458-bd19-26e1-f713-a871f0","player":"fa44d042-0159-59b9-f4f9-c483cf"},{"uuid":"0bd0966a-b10c-fd1e-1444-cce827","player":"da692323-013c-7d92-8464-7dc03b"}],"readings":[["01","{0} was made in {1}"]],"shapes":[],"constraints":[{"uuid":"0242479d-45f2-62d7-67fa-7b3f74","min":0,"max":1,"is_preferred":null,"mandatory":null,"uniqueExcept":"0bd0966a-b10c-fd1e-1444-cce827"}]},
|
69
69
|
{"uuid":"688a373f-6316-748e-f5de-0d7cd5","roles":[{"uuid":"f3dda3b3-342d-3d86-7f72-eb15b1","player":"6c5fe7a2-44bf-09f9-f30e-d3298d"},{"uuid":"660b2289-7fe7-757c-716f-c9405a","player":"6397821b-524d-aae7-c50e-0d2078"}],"readings":[["01","{0} is at {1}"]],"shapes":[],"constraints":[{"uuid":"f405d2c5-7e22-eb8e-694a-b4c374","min":1,"max":1,"is_preferred":null,"mandatory":true,"role":"f3dda3b3-342d-3d86-7f72-eb15b1"}]},
|
70
|
+
{"uuid":"be78c15e-3888-7f82-dfe0-55a56c","roles":[{"uuid":"c6c414f4-e5d3-8862-553c-b8ba19","player":"5e3ed334-c41f-6430-da33-310f14"},{"uuid":"78a6deec-7199-22ce-d0b4-66eef8","player":"5e169015-a2b2-7245-bf65-d2c903"}],"readings":[["01","{0} is for {1}"]],"shapes":[],"constraints":[{"uuid":"569b921e-a3f4-6f6d-ca45-dc68f9","min":1,"max":1,"is_preferred":null,"mandatory":true,"role":"c6c414f4-e5d3-8862-553c-b8ba19"}]},
|
70
71
|
{"uuid":"e03256f8-ac1c-d1a9-0835-0b7faf","roles":[{"uuid":"b888753e-0c5b-0cf4-fc9a-c2275c","player":"24fadb6f-64f4-7e94-92b3-daf28a"},{"uuid":"403163c7-d6f1-ce34-fc33-ba7bfd","player":"cd132160-ed6d-0e5d-a730-37f936"}],"readings":[["01","tickets for {0} are being mailed to {1}"]],"shapes":[],"constraints":[{"uuid":"64553e77-5579-2c6e-114b-f7c2df","min":0,"max":1,"is_preferred":null,"mandatory":null,"uniqueExcept":"403163c7-d6f1-ce34-fc33-ba7bfd"}]},
|
71
72
|
{"uuid":"c7b37e97-e552-7855-0224-92daa3","objectified_as":"04021ccb-9406-f70f-6c1d-4ebfc3","roles":[{"uuid":"4f7ec1e9-35ba-1b25-8c0d-63863d","player":"ed0db176-1a97-7160-9307-8739be"},{"uuid":"1efd5997-29a1-9f43-a6bc-97e07f","player":"5e169015-a2b2-7245-bf65-d2c903"}],"readings":[["01","{0} of {1} uses allocated seating"],["10","{0} provides allocated seating in {1}"]],"shapes":[],"constraints":[{"uuid":"fea553ce-4f9e-f07c-17ad-cd430c","min":1,"max":1,"is_preferred":true,"mandatory":true,"uniqueExcept":null}]},
|
72
73
|
{"uuid":"4eaca304-91d6-8206-dea8-03941e","roles":[{"uuid":"265d14e7-4290-682d-d356-a8a7ce","player":"2f6cd681-ca37-1a32-c8a5-39af5d"},{"uuid":"09f63f5b-a4be-4624-2bf8-6dec8e","player":"59e789dd-c97e-f0f6-95ca-216ab0"}],"readings":[["01","{0} has {1}"]],"shapes":[]},
|
73
74
|
{"uuid":"8be65352-26e8-8077-bf6b-8e1b70","roles":[{"uuid":"4112d54d-e5f9-f58f-5ae1-55f9a1","player":"fa44d042-0159-59b9-f4f9-c483cf"},{"uuid":"8254b0a2-30b2-c568-a94b-2cbb08","player":"ae35ec1b-d529-1b5b-8aa6-8e3378"}],"readings":[["01","{0} has {1}"]],"shapes":[],"constraints":[{"uuid":"7fc2bd6f-f470-469d-ad23-ab008e","min":1,"max":1,"is_preferred":null,"mandatory":true,"role":"4112d54d-e5f9-f58f-5ae1-55f9a1"}]},
|
74
75
|
{"uuid":"bafa2892-15df-dc6e-0bc1-47e357","roles":[{"uuid":"c3856969-f31c-dd51-c89b-94bbcd","player":"6c5fe7a2-44bf-09f9-f30e-d3298d"},{"uuid":"f28249d4-20cd-bbe3-d4db-e7a81d","player":"6cab2061-f0d2-2a91-c882-1fc8d6"}],"readings":[["01","{0} is in {1}"]],"shapes":[],"constraints":[{"uuid":"4f37edc3-ef80-7207-b1f2-0faaa1","min":1,"max":1,"is_preferred":null,"mandatory":true,"role":"c3856969-f31c-dd51-c89b-94bbcd"}]},
|
75
76
|
{"uuid":"a970fb87-7333-f272-90bb-d9203a","roles":[{"uuid":"fc851bb2-f774-d1e7-dd70-6c3a96","player":"cd132160-ed6d-0e5d-a730-37f936"},{"uuid":"2d879c3b-8e67-6622-cdbf-b81491","player":"5708e21b-83d7-6f1e-4888-cfa4de"}],"readings":[["01","{0} has {1}"],["10","{0} is of {1}"]],"shapes":[],"constraints":[{"uuid":"f1d96504-3980-37b4-cf1a-f3fede","min":0,"max":1,"is_preferred":true,"mandatory":null,"uniqueExcept":"fc851bb2-f774-d1e7-dd70-6c3a96"},{"uuid":"5ca2b5e1-70af-37a6-a448-b66178","min":1,"max":1,"is_preferred":null,"mandatory":true,"role":"fc851bb2-f774-d1e7-dd70-6c3a96"}]},
|
77
|
+
{"uuid":"40257eef-0afa-68ae-123f-070e98","roles":[{"uuid":"4318b500-d410-1e55-8c1c-3b7fe2","player":"5e3ed334-c41f-6430-da33-310f14"},{"uuid":"407ffdce-02b3-ae2b-a712-069372","player":"6c5fe7a2-44bf-09f9-f30e-d3298d"}],"readings":[["01","{0} is for {1}"]],"shapes":[],"constraints":[{"uuid":"f7579b29-660c-0f0e-f93d-a758e0","min":1,"max":1,"is_preferred":null,"mandatory":true,"role":"4318b500-d410-1e55-8c1c-3b7fe2"}]},
|
76
78
|
{"uuid":"3c7709cc-e904-a728-4b49-af201c","roles":[{"uuid":"e520e31f-e4c8-b7e2-508d-4fae46","player":"8ff75bfd-7208-dedc-994a-c24ab5"},{"uuid":"f9457b40-f87b-75bc-26a5-53c4e2","player":"ae35ec1b-d529-1b5b-8aa6-8e3378"}],"readings":[["01","{0} has login-{1}"],["10","{0} is of {1}"]],"shapes":[],"constraints":[{"uuid":"509f7eec-9a88-7973-5b4b-6db446","min":0,"max":1,"is_preferred":null,"mandatory":null,"uniqueExcept":"f9457b40-f87b-75bc-26a5-53c4e2"},{"uuid":"7439e200-bd0d-b416-d1f2-451c93","min":0,"max":1,"is_preferred":null,"mandatory":null,"uniqueExcept":"e520e31f-e4c8-b7e2-508d-4fae46"}]},
|
77
79
|
{"uuid":"875a2ae5-04d0-8ede-35fb-19f1cd","roles":[{"uuid":"a1231f80-69d0-8595-855a-6553b1","player":"24fadb6f-64f4-7e94-92b3-daf28a"}],"readings":[["0","tickets for {0} have been issued"]],"shapes":[],"constraints":[{"uuid":"376830be-9782-2cc2-46ea-de1c78","min":0,"max":1,"is_preferred":true,"mandatory":null,"uniqueExcept":null}]},
|
78
80
|
{"uuid":"bc1c3ede-3790-4df7-1d3c-8b9a45","roles":[{"uuid":"6f7588c6-0ff1-ed50-7890-24e58c","player":"59e789dd-c97e-f0f6-95ca-216ab0"},{"uuid":"c500e2f4-85fb-5b55-53ba-b9108c","player":"ed0db176-1a97-7160-9307-8739be"}],"readings":[["01","{0} is in {1}"],["10","{0} contains {1}"]],"shapes":[],"constraints":[{"uuid":"f45bbbdd-1277-bd49-3ea6-0ac300","min":0,"max":1,"is_preferred":null,"mandatory":null,"uniqueExcept":"c500e2f4-85fb-5b55-53ba-b9108c"}]},
|
@@ -95,6 +97,7 @@ diagrams: [
|
|
95
97
|
{"uuid":"17d8a5cb-b2cf-d95d-2abd-669111","type":"PresenceConstraint","shapes":[],"min_frequency":0,"max_frequency":1,"is_mandatory":null,"is_preferred_identifier":null,"role_sequences":[["8254b0a2-30b2-c568-a94b-2cbb08","0bd0966a-b10c-fd1e-1444-cce827"]]},
|
96
98
|
{"uuid":"bb3bea21-0c16-4226-b64b-9d594b","type":"SetExclusionConstraint","shapes":[],"is_mandatory":null,"role_sequences":[["42f82ea7-174d-28ff-c36a-515727"],["b888753e-0c5b-0cf4-fc9a-c2275c"]]},
|
97
99
|
{"uuid":"c8bb8d4d-35fe-713e-ae7c-48b484","type":"PresenceConstraint","shapes":[],"min_frequency":0,"max_frequency":1,"is_mandatory":null,"is_preferred_identifier":true,"role_sequences":[["27e8479e-7cff-1bef-3bc5-f1cdda","39f86eb6-01ca-cd28-cf92-6e770c"]]},
|
100
|
+
{"uuid":"dd289cba-6d55-6e35-7c48-5c34e1","type":"PresenceConstraint","shapes":[],"min_frequency":0,"max_frequency":1,"is_mandatory":null,"is_preferred_identifier":true,"role_sequences":[["78a6deec-7199-22ce-d0b4-66eef8","407ffdce-02b3-ae2b-a712-069372","00868b3f-aa96-9c17-adb4-cbebdc","74c8f872-e232-bf27-d6e4-2c984a"]]},
|
98
101
|
{"uuid":"61f2ba65-a8d8-a760-0c1d-3fc9fb","type":"SubsetConstraint","shapes":[],"role_sequences":[["b888753e-0c5b-0cf4-fc9a-c2275c"],["a1231f80-69d0-8595-855a-6553b1"]]},
|
99
102
|
{"uuid":"85e6d48a-b6e7-c281-4c8f-093d45","type":"PresenceConstraint","shapes":[],"min_frequency":0,"max_frequency":1,"is_mandatory":null,"is_preferred_identifier":true,"role_sequences":[["3bb6bdbf-2e74-c0bc-2cf2-144838","46655f5b-fd64-cd0a-696c-ea56c7"]]}
|
100
103
|
]
|
@@ -3,7 +3,7 @@ diagrams: [
|
|
3
3
|
|
4
4
|
],
|
5
5
|
object_types: [
|
6
|
-
{"uuid":"a75160b3-3156-4c04-9e6f-a18ec1","name":"Acceptable Substitution","shapes":[],"objectifies":"c9646a32-609e-13df-86d8-dff782"},
|
6
|
+
{"uuid":"a75160b3-3156-4c04-9e6f-a18ec1","name":"Acceptable Substitution","shapes":[],"objectifies":"c9646a32-609e-13df-86d8-dff782","implicit":true},
|
7
7
|
{"uuid":"84e00afd-a346-95a2-b669-31993c","name":"Cost","shapes":[],"supertype":"c0021d9c-f630-07fd-9852-eb9919"},
|
8
8
|
{"uuid":"c0021d9c-f630-07fd-9852-eb9919","name":"Money","shapes":[]},
|
9
9
|
{"uuid":"d6de60a8-8969-7ffd-ea24-bd2595","name":"Month Nr","shapes":[],"supertype":"00be9eaf-0db1-13de-0a81-8c40b1"},
|
@@ -16,12 +16,12 @@ diagrams: [
|
|
16
16
|
{"uuid":"4bf6b690-aa77-e9d6-6b0d-866fc0","name":"Refinery","shapes":[],"ref_mode":".Name","independent":true},
|
17
17
|
{"uuid":"2f25c81c-2230-814a-dc7d-c498a9","name":"Region Name","shapes":[],"supertype":"df548ed0-3b10-d1c1-93fc-29d431"},
|
18
18
|
{"uuid":"9d3a9977-3456-4f58-c7c9-57ba28","name":"Region","shapes":[],"ref_mode":".Name","independent":true},
|
19
|
-
{"uuid":"f22bc159-fa0e-b4ca-6e08-b24a14","name":"Regional Demand","shapes":[],"objectifies":"85b9800e-dcc5-22b5-a319-592cc6"},
|
19
|
+
{"uuid":"f22bc159-fa0e-b4ca-6e08-b24a14","name":"Regional Demand","shapes":[],"objectifies":"85b9800e-dcc5-22b5-a319-592cc6","implicit":true},
|
20
20
|
{"uuid":"5fdfc3a7-b0e2-3c80-b3fc-2e22ce","name":"Season","shapes":[],"supertype":"df548ed0-3b10-d1c1-93fc-29d431"},
|
21
21
|
{"uuid":"00be9eaf-0db1-13de-0a81-8c40b1","name":"Signed Integer","shapes":[]},
|
22
22
|
{"uuid":"df548ed0-3b10-d1c1-93fc-29d431","name":"String","shapes":[]},
|
23
23
|
{"uuid":"e4c022eb-d99c-6f1b-7a14-21b26a","name":"Supply Period","shapes":[]},
|
24
|
-
{"uuid":"
|
24
|
+
{"uuid":"ea456b07-bde4-e846-1272-06001d","name":"Transport Mode","shapes":[],"supertype":"df548ed0-3b10-d1c1-93fc-29d431"},
|
25
25
|
{"uuid":"ae450e7f-b5e7-124d-f28b-a704a6","name":"Transport Route","shapes":[],"objectifies":"0d15cf74-d8cd-44f0-d223-5eb0a2"},
|
26
26
|
{"uuid":"f8a0f0a9-0387-a6bd-9d23-57e797","name":"Unsigned Integer","shapes":[]},
|
27
27
|
{"uuid":"010c9d61-669b-72ef-45b9-25adc4","name":"Year Nr","shapes":[],"supertype":"00be9eaf-0db1-13de-0a81-8c40b1"},
|
@@ -36,7 +36,7 @@ diagrams: [
|
|
36
36
|
{"uuid":"c9646a32-609e-13df-86d8-dff782","objectified_as":"a75160b3-3156-4c04-9e6f-a18ec1","roles":[{"uuid":"c069f1cd-2fd0-fa98-69da-abc27a","player":"cc2d0ec3-589a-4b6e-83cf-7f1690"},{"uuid":"2df9a3bd-b2a0-b2e5-28a2-1567db","player":"cc2d0ec3-589a-4b6e-83cf-7f1690"},{"uuid":"4413db19-b21d-2d0a-a948-551380","player":"5fdfc3a7-b0e2-3c80-b3fc-2e22ce"}],"readings":[["012","alternate-{0} is an acceptable substitute for {1} in {2}"],["102","{0} may be substituted by alternate-{1} in {2}"]],"shapes":[],"constraints":[{"uuid":"416c3bef-23cf-a3ed-d114-e1071b","min":1,"max":1,"is_preferred":true,"mandatory":true,"uniqueExcept":null},{"uuid":"8b4f5586-eae7-5f46-0cd7-304948","shapes":[],"ringKind":"AcyclicIntransitive","roles":["2df9a3bd-b2a0-b2e5-28a2-1567db","c069f1cd-2fd0-fa98-69da-abc27a"]}]},
|
37
37
|
{"uuid":"43e35ffa-c7e7-0f93-8902-3b36e4","roles":[{"uuid":"15c4a01c-2fbc-5e8b-6a10-d572b4","player":"cc2d0ec3-589a-4b6e-83cf-7f1690"},{"uuid":"b3961d20-e5f1-f8c5-bc14-579bfe","player":"fb37f913-9e5c-e17f-4c1d-22ad40"}],"readings":[["01","{0} has {1}"],["10","{0} is of {1}"]],"shapes":[],"constraints":[{"uuid":"b3e597be-a3f1-8ee2-55f1-aff504","min":0,"max":1,"is_preferred":true,"mandatory":null,"uniqueExcept":"15c4a01c-2fbc-5e8b-6a10-d572b4"},{"uuid":"b07d5fbc-f2b0-16ac-6945-a4c577","min":1,"max":1,"is_preferred":null,"mandatory":true,"role":"15c4a01c-2fbc-5e8b-6a10-d572b4"}]},
|
38
38
|
{"uuid":"cadb824d-875f-6179-bb7f-33bc6c","roles":[{"uuid":"67515e90-b5ad-bf37-8a5b-1a7ff4","player":"e4c022eb-d99c-6f1b-7a14-21b26a"},{"uuid":"9488eb7f-6ae9-01e5-e3f8-d33c01","player":"ce562544-c702-9e02-ebee-1419b4"}],"readings":[["01","{0} is in {1}"]],"shapes":[],"constraints":[{"uuid":"2ce27a5b-b7ec-e580-4f17-d9d67d","min":1,"max":1,"is_preferred":null,"mandatory":true,"role":"67515e90-b5ad-bf37-8a5b-1a7ff4"}]},
|
39
|
-
{"uuid":"0d15cf74-d8cd-44f0-d223-5eb0a2","objectified_as":"ae450e7f-b5e7-124d-f28b-a704a6","roles":[{"uuid":"8bb6b238-00ad-9069-8ccf-af07eb","player":"
|
39
|
+
{"uuid":"0d15cf74-d8cd-44f0-d223-5eb0a2","objectified_as":"ae450e7f-b5e7-124d-f28b-a704a6","roles":[{"uuid":"8bb6b238-00ad-9069-8ccf-af07eb","player":"ea456b07-bde4-e846-1272-06001d"},{"uuid":"caed3d87-9f0e-d247-7270-feb641","player":"4bf6b690-aa77-e9d6-6b0d-866fc0"},{"uuid":"e8537f91-27c0-5c2e-4e89-65a8fd","player":"9d3a9977-3456-4f58-c7c9-57ba28"}],"readings":[["012","{0} transportation is available from {1} to {2}"],["021","{0} transportation is available to {1} from {2}"]],"shapes":[],"constraints":[{"uuid":"b40e1d82-45d6-7334-04f8-24bbb1","min":1,"max":1,"is_preferred":true,"mandatory":true,"uniqueExcept":null}]},
|
40
40
|
{"uuid":"bce18066-a1f3-3343-be32-1b9aa7","roles":[{"uuid":"5c248b99-ecda-d3a6-e5fd-354f96","player":"e4c022eb-d99c-6f1b-7a14-21b26a"},{"uuid":"632deada-3bf9-b93c-8ff9-c86c31","player":"677778ab-55ec-0a8a-959e-03a3df"}],"readings":[["01","{0} is in {1}"]],"shapes":[],"constraints":[{"uuid":"90107798-eadb-5582-7f15-9f13fa","min":1,"max":1,"is_preferred":null,"mandatory":true,"role":"5c248b99-ecda-d3a6-e5fd-354f96"}]},
|
41
41
|
{"uuid":"de57cb74-3fb0-5178-6742-df6640","roles":[{"uuid":"dd004195-4982-8aa3-8043-1a6fd1","player":"677778ab-55ec-0a8a-959e-03a3df"},{"uuid":"fa573542-498a-0434-98a1-2fd33e","player":"010c9d61-669b-72ef-45b9-25adc4"}],"readings":[["01","{0} has {1}"],["10","{0} is of {1}"]],"shapes":[],"constraints":[{"uuid":"ba28a87f-176b-9622-c6be-ae88a6","min":0,"max":1,"is_preferred":true,"mandatory":null,"uniqueExcept":"dd004195-4982-8aa3-8043-1a6fd1"},{"uuid":"afe26754-8969-2702-4e37-fde257","min":1,"max":1,"is_preferred":null,"mandatory":true,"role":"dd004195-4982-8aa3-8043-1a6fd1"}]},
|
42
42
|
{"uuid":"e15a2889-d833-7a1b-ab82-18c312","objectified_as":"2bc280ad-b184-d27e-3b6f-3612c2","roles":[{"uuid":"4555fb42-1a51-3e34-9451-5db159","player":"e4c022eb-d99c-6f1b-7a14-21b26a"},{"uuid":"430cec10-ba3b-53cd-fb7b-31823b","player":"4bf6b690-aa77-e9d6-6b0d-866fc0"},{"uuid":"6d78e66b-5ed4-0cb4-60e6-9db705","player":"16b411a9-406d-f2fe-da28-256c9e"},{"uuid":"7e12c83b-1a26-be9a-b6bf-95d17c","player":"cc2d0ec3-589a-4b6e-83cf-7f1690"}],"readings":[["1032","{0} in {1} will make {2} in {3}"],["1230","{0} will make {1} of {2} in {3}"],["1302","{0} will make {1} in {2} in {3}"]],"shapes":[],"constraints":[{"uuid":"804fd9db-795b-622c-a3bc-b64c5a","min":1,"max":1,"is_preferred":true,"mandatory":true,"uniqueExcept":"6d78e66b-5ed4-0cb4-60e6-9db705"}]},
|
@@ -22,7 +22,7 @@ diagrams: [
|
|
22
22
|
],
|
23
23
|
fact_types: [
|
24
24
|
{"uuid":"f892f1cc-4ed9-7941-27d8-ac19d2","objectified_as":"e4954a31-a5f0-daa0-33d7-183ce6","roles":[{"uuid":"88d86327-0fc6-8088-5ca3-a3f4f9","player":"166a8f92-3858-5a29-200f-5831a8"}],"readings":[["0","{0} died"]],"shapes":[],"constraints":[{"uuid":"f358e06d-8fc8-7c7d-2c41-c60aec","min":1,"max":1,"is_preferred":true,"mandatory":true,"role":"88d86327-0fc6-8088-5ca3-a3f4f9"}]},
|
25
|
-
{"uuid":"1635510b-a1be-c26a-7a81-e42f29","objectified_as":"8da84344-ce69-2164-7825-aebc65","roles":[{"uuid":"2a6f99a7-6cc4-d548-3145-9e99c0","player":"166a8f92-3858-5a29-200f-5831a8"},{"uuid":"18ad2610-392b-135a-682b-c016cd","player":"1cb528ae-86a8-9c6e-e407-bbb750"}],"readings":[["01","{0} was born on {1}"]],"shapes":[],"constraints":[{"uuid":"474b3119-cb8c-ed3a-0d5e-662306","min":1,"max":1,"is_preferred":true,"mandatory":true,"role":"2a6f99a7-6cc4-d548-3145-9e99c0"}]},
|
25
|
+
{"uuid":"1635510b-a1be-c26a-7a81-e42f29","objectified_as":"8da84344-ce69-2164-7825-aebc65","roles":[{"uuid":"2a6f99a7-6cc4-d548-3145-9e99c0","player":"166a8f92-3858-5a29-200f-5831a8"},{"uuid":"18ad2610-392b-135a-682b-c016cd","player":"1cb528ae-86a8-9c6e-e407-bbb750"}],"readings":[["01","{0} was born on {1} -of birth"]],"shapes":[],"constraints":[{"uuid":"474b3119-cb8c-ed3a-0d5e-662306","min":1,"max":1,"is_preferred":true,"mandatory":true,"role":"2a6f99a7-6cc4-d548-3145-9e99c0"}]},
|
26
26
|
{"uuid":"b604fb38-ddcf-694a-885b-027af8","objectified_as":"532f3e60-cacd-b681-5e8f-89c04c","roles":[{"uuid":"3fd1ecff-e506-5ea6-c81f-2ab5ed","player":"34077a14-e590-e4dd-99ad-6b0115"},{"uuid":"ef630d7e-8598-2cb1-cdbc-662694","player":"b79f8450-608f-adab-dbae-ab69dc"}],"readings":[["01","{0} is called {1}"]],"shapes":[],"constraints":[{"uuid":"cab6132a-07e8-20d8-b737-eaadc9","min":1,"max":1,"is_preferred":true,"mandatory":true,"role":"3fd1ecff-e506-5ea6-c81f-2ab5ed"}]},
|
27
27
|
{"uuid":"046a39b6-53c6-9e28-e7a5-954d6b","roles":[{"uuid":"cc96722c-5193-015e-3ba7-ba8c6b","player":"e4954a31-a5f0-daa0-33d7-183ce6"},{"uuid":"90fd0abd-311a-2ac7-1446-6b7f8c","player":"1cb528ae-86a8-9c6e-e407-bbb750"}],"readings":[["01","{0} occurred on death-{1}"]],"shapes":[],"constraints":[{"uuid":"d8db5eb3-5ce6-e7ac-5df3-2e2d37","min":0,"max":1,"is_preferred":null,"mandatory":null,"uniqueExcept":"90fd0abd-311a-2ac7-1446-6b7f8c"}]},
|
28
28
|
{"uuid":"ecad77ad-c928-55eb-b2a3-2a270e","roles":[{"uuid":"0982ac43-5eb7-bc8b-d43e-ce3826","player":"8da84344-ce69-2164-7825-aebc65"},{"uuid":"46fdd5e4-e95c-28a4-97bc-cc0ca7","player":"f767d08c-0138-854f-9e19-43bcac"}],"readings":[["01","{0} was assisted by attending-{1}"],["10","{0} attended {1}"]],"shapes":[],"constraints":[{"uuid":"0a1646d4-4368-0342-0bfa-a41368","min":0,"max":1,"is_preferred":null,"mandatory":null,"uniqueExcept":"46fdd5e4-e95c-28a4-97bc-cc0ca7"}]},
|
data/images/CinemaTickets.png
CHANGED
Binary file
|
Binary file
|
data/images/OilSupply.png
CHANGED
Binary file
|
@@ -2,38 +2,38 @@
|
|
2
2
|
"types": {
|
3
3
|
"Address": {
|
4
4
|
"is_main": false,
|
5
|
-
"id": "
|
5
|
+
"id": "854fe142-6be0-4271-abd4-97514c086a34",
|
6
6
|
"functions": [
|
7
7
|
{
|
8
8
|
"title": "Address Text",
|
9
9
|
"type": "Address Text",
|
10
10
|
"where": "this Address has one Address Text",
|
11
|
-
"role_id": "
|
11
|
+
"role_id": "fd0a53e8-b7b0-4680-8f76-b5f4c128fcdd"
|
12
12
|
},
|
13
13
|
{
|
14
14
|
"title": "all Booking",
|
15
15
|
"type": "Booking",
|
16
16
|
"where": "tickets for some Booking are being mailed to this Address",
|
17
|
-
"role_id": "
|
17
|
+
"role_id": "82a437aa-5189-4a5c-9407-51c83c792b6f",
|
18
18
|
"is_list": true
|
19
19
|
}
|
20
20
|
]
|
21
21
|
},
|
22
22
|
"Address Text": {
|
23
23
|
"is_main": false,
|
24
|
-
"id": "
|
24
|
+
"id": "9ac1a7a4-3d77-42ee-b17b-eed7b092c8f4",
|
25
25
|
"functions": [
|
26
26
|
{
|
27
27
|
"title": "Address",
|
28
28
|
"type": "Address",
|
29
29
|
"where": "this Address Text is of one Address",
|
30
|
-
"role_id": "
|
30
|
+
"role_id": "b4e7f10e-49e1-44fb-8d5b-1cfca3f97682"
|
31
31
|
}
|
32
32
|
]
|
33
33
|
},
|
34
34
|
"Booking": {
|
35
35
|
"is_main": true,
|
36
|
-
"id": "
|
36
|
+
"id": "d267872f-a94e-4b2f-a6a4-57890a81c5bd",
|
37
37
|
"functions": [
|
38
38
|
{
|
39
39
|
"title": "involving Person",
|
@@ -54,392 +54,379 @@
|
|
54
54
|
"title": "Booking Nr",
|
55
55
|
"type": "Booking Nr",
|
56
56
|
"where": "this Booking has one Booking Nr",
|
57
|
-
"role_id": "
|
57
|
+
"role_id": "210c8de8-2a28-48e9-b64e-f157a757bcb4"
|
58
58
|
},
|
59
59
|
{
|
60
60
|
"title": "Collection Code",
|
61
61
|
"type": "Collection Code",
|
62
62
|
"where": "this Booking has one Collection Code",
|
63
|
-
"role_id": "
|
63
|
+
"role_id": "c76e921d-e0b8-4c39-9e07-bbdb8a2b179c"
|
64
64
|
},
|
65
65
|
{
|
66
66
|
"title": "all Allocated Seat",
|
67
67
|
"type": "Seat",
|
68
68
|
"where": "this Booking has some allocated-Seat",
|
69
|
-
"role_id": "
|
69
|
+
"role_id": "5e41eea4-05a7-45e6-b42d-f8606d2b9026",
|
70
70
|
"is_list": true
|
71
71
|
},
|
72
72
|
{
|
73
73
|
"title": "Section",
|
74
74
|
"type": "Section",
|
75
75
|
"where": "this Booking is for seats in one Section",
|
76
|
-
"role_id": "
|
76
|
+
"role_id": "102d3a95-2852-47c8-8e7d-fcd45d3b22b8"
|
77
77
|
},
|
78
78
|
{
|
79
79
|
"title": "all Places Paid",
|
80
80
|
"type": "Places Paid",
|
81
81
|
"where": "this Booking applied some Payment Method for some Number of places",
|
82
|
-
"role_id": "
|
82
|
+
"role_id": "44c59b62-9cb1-49c7-9db9-b363277f026e",
|
83
83
|
"is_list": true
|
84
84
|
},
|
85
85
|
{
|
86
86
|
"title": "Address",
|
87
87
|
"type": "Address",
|
88
88
|
"where": "tickets for this Booking are being mailed to one Address",
|
89
|
-
"role_id": "
|
89
|
+
"role_id": "b2edcab6-a728-4852-8496-fa5b1beaabcb"
|
90
90
|
},
|
91
91
|
{
|
92
92
|
"title": "tickets for Booking have been issued",
|
93
93
|
"type": "boolean",
|
94
94
|
"where": "tickets for this Booking have been issued",
|
95
|
-
"role_id": "
|
95
|
+
"role_id": "5d7a10dd-99a3-4649-bdb6-721a1be8bd2d"
|
96
96
|
}
|
97
97
|
]
|
98
98
|
},
|
99
99
|
"Booking Nr": {
|
100
100
|
"is_main": false,
|
101
|
-
"id": "
|
101
|
+
"id": "052c62c0-99a9-44d5-924a-74cbac824050",
|
102
102
|
"functions": [
|
103
103
|
{
|
104
104
|
"title": "Booking",
|
105
105
|
"type": "Booking",
|
106
106
|
"where": "this Booking Nr is of one Booking",
|
107
|
-
"role_id": "
|
107
|
+
"role_id": "84286052-a262-4844-ba39-0aed0eeb0c37"
|
108
108
|
}
|
109
109
|
]
|
110
110
|
},
|
111
111
|
"Cinema": {
|
112
112
|
"is_main": true,
|
113
|
-
"id": "
|
113
|
+
"id": "d402dcd0-25a6-4701-97ad-13c4e0db60a1",
|
114
114
|
"functions": [
|
115
115
|
{
|
116
116
|
"title": "Cinema ID",
|
117
117
|
"type": "Cinema ID",
|
118
118
|
"where": "this Cinema has one Cinema ID",
|
119
|
-
"role_id": "
|
119
|
+
"role_id": "cf42f7d2-2f58-4bd6-8c27-a7857a03fe0c"
|
120
120
|
},
|
121
121
|
{
|
122
122
|
"title": "Name",
|
123
123
|
"type": "Name",
|
124
124
|
"where": "this Cinema has one Name",
|
125
|
-
"role_id": "
|
125
|
+
"role_id": "dbcbc2bb-e678-44fb-9672-fafff458baca"
|
126
126
|
},
|
127
127
|
{
|
128
128
|
"title": "all Section",
|
129
129
|
"type": "Section",
|
130
130
|
"where": "this Cinema provides allocated seating in some Section",
|
131
|
-
"role_id": "
|
131
|
+
"role_id": "ee589be5-cd03-42f4-9954-adbe30d06594",
|
132
132
|
"is_list": true
|
133
133
|
},
|
134
134
|
{
|
135
135
|
"title": "all Session",
|
136
136
|
"type": "Session",
|
137
137
|
"where": "this Cinema shows some Film on some Session Time",
|
138
|
-
"role_id": "
|
138
|
+
"role_id": "00b07212-8a54-43ae-8e8d-20d722260a5f",
|
139
139
|
"is_list": true
|
140
140
|
},
|
141
141
|
{
|
142
142
|
"title": "all Row",
|
143
143
|
"type": "Row",
|
144
144
|
"where": "this Cinema contains some Row",
|
145
|
-
"role_id": "
|
145
|
+
"role_id": "550b45d2-4440-44b1-9b83-4b7c72529657",
|
146
146
|
"is_list": true
|
147
147
|
},
|
148
148
|
{
|
149
|
-
"title": "all Ticket
|
150
|
-
"type": "Ticket
|
151
|
-
"where": "
|
152
|
-
"role_id": "
|
149
|
+
"title": "all Ticket Category",
|
150
|
+
"type": "Ticket Category",
|
151
|
+
"where": "some Ticket Category is for this Cinema",
|
152
|
+
"role_id": "898bf1cb-d8a8-4334-ae8b-bdb1e211e197",
|
153
153
|
"is_list": true
|
154
154
|
}
|
155
155
|
]
|
156
156
|
},
|
157
157
|
"Cinema ID": {
|
158
158
|
"is_main": false,
|
159
|
-
"id": "
|
159
|
+
"id": "81083d80-957a-464f-907c-6fa1d7eb329d",
|
160
160
|
"functions": [
|
161
161
|
{
|
162
162
|
"title": "Cinema",
|
163
163
|
"type": "Cinema",
|
164
164
|
"where": "this Cinema ID is of one Cinema",
|
165
|
-
"role_id": "
|
165
|
+
"role_id": "cc8e7167-53ca-4a0f-a9ae-b141ced9500b"
|
166
166
|
}
|
167
167
|
]
|
168
168
|
},
|
169
169
|
"Collection Code": {
|
170
170
|
"is_main": false,
|
171
|
-
"id": "
|
171
|
+
"id": "ec0818d3-8168-4723-9cb3-22a23e73256c",
|
172
172
|
"functions": [
|
173
173
|
{
|
174
174
|
"title": "all Booking",
|
175
175
|
"type": "Booking",
|
176
176
|
"where": "some Booking has this Collection Code",
|
177
|
-
"role_id": "
|
177
|
+
"role_id": "2dd95d6a-533d-420b-9092-6ecaf9a35402",
|
178
178
|
"is_list": true
|
179
179
|
}
|
180
180
|
]
|
181
181
|
},
|
182
182
|
"Day": {
|
183
183
|
"is_main": false,
|
184
|
-
"id": "
|
184
|
+
"id": "39c34715-19a1-461f-8a34-871c92363f32",
|
185
185
|
"functions": [
|
186
186
|
{
|
187
187
|
"title": "all Session Time",
|
188
188
|
"type": "Session Time",
|
189
189
|
"where": "some Session Time is on this Day",
|
190
|
-
"role_id": "
|
190
|
+
"role_id": "35f1064b-36dd-4d42-9b50-a7cb4aa1ad96",
|
191
191
|
"is_list": true
|
192
192
|
}
|
193
193
|
]
|
194
194
|
},
|
195
195
|
"Encrypted Password": {
|
196
196
|
"is_main": false,
|
197
|
-
"id": "
|
197
|
+
"id": "1b498e35-0b8c-46bf-a3a0-1ce5c1a3b724",
|
198
198
|
"functions": [
|
199
199
|
{
|
200
200
|
"title": "all Person",
|
201
201
|
"type": "Person",
|
202
202
|
"where": "some Person has this Encrypted Password",
|
203
|
-
"role_id": "
|
203
|
+
"role_id": "9257e659-9487-49a3-8c05-5bf4e7fcc659",
|
204
204
|
"is_list": true
|
205
205
|
}
|
206
206
|
]
|
207
207
|
},
|
208
208
|
"Film": {
|
209
209
|
"is_main": true,
|
210
|
-
"id": "
|
210
|
+
"id": "d386222a-b7f5-48d9-9423-b82e1bfc7709",
|
211
211
|
"functions": [
|
212
212
|
{
|
213
213
|
"title": "all Session",
|
214
214
|
"type": "Session",
|
215
215
|
"where": "this Film is showing on some Session Time at some Cinema",
|
216
|
-
"role_id": "
|
216
|
+
"role_id": "d47a2f65-3953-4d02-a9bc-145af1db2913",
|
217
217
|
"is_list": true
|
218
218
|
},
|
219
219
|
{
|
220
220
|
"title": "Film ID",
|
221
221
|
"type": "Film ID",
|
222
222
|
"where": "this Film has one Film ID",
|
223
|
-
"role_id": "
|
223
|
+
"role_id": "ced69081-a757-482f-bf19-a37456ce1f50"
|
224
224
|
},
|
225
225
|
{
|
226
226
|
"title": "Name",
|
227
227
|
"type": "Name",
|
228
228
|
"where": "this Film has one Name",
|
229
|
-
"role_id": "
|
229
|
+
"role_id": "2c1a9570-7d6a-4ada-b932-0ce3419aa78a"
|
230
230
|
},
|
231
231
|
{
|
232
232
|
"title": "Year",
|
233
233
|
"type": "Year",
|
234
234
|
"where": "this Film was made in one Year",
|
235
|
-
"role_id": "
|
235
|
+
"role_id": "4b5fa330-3541-48c6-861c-f0b69f102e09"
|
236
236
|
}
|
237
237
|
]
|
238
238
|
},
|
239
239
|
"Film ID": {
|
240
240
|
"is_main": false,
|
241
|
-
"id": "
|
241
|
+
"id": "7be8dcf4-a397-4b03-b6ec-b3153cdc2b04",
|
242
242
|
"functions": [
|
243
243
|
{
|
244
244
|
"title": "Film",
|
245
245
|
"type": "Film",
|
246
246
|
"where": "this Film ID is of one Film",
|
247
|
-
"role_id": "
|
248
|
-
}
|
249
|
-
]
|
250
|
-
},
|
251
|
-
"High Demand": {
|
252
|
-
"is_main": false,
|
253
|
-
"id": "90cb9dbe-d4a5-41ce-bff0-37a6cc15321a",
|
254
|
-
"functions": [
|
255
|
-
{
|
256
|
-
"title": "all Ticket Pricing",
|
257
|
-
"type": "Ticket Pricing",
|
258
|
-
"where": "tickets on some Session Time at some Cinema in some Section for this High Demand have some Price",
|
259
|
-
"role_id": "04d8962a-2f11-48dc-a362-4a358254b672",
|
260
|
-
"is_list": true
|
247
|
+
"role_id": "8b955aae-6d54-4644-9cac-625ae13e6574"
|
261
248
|
}
|
262
249
|
]
|
263
250
|
},
|
264
251
|
"Hour": {
|
265
252
|
"is_main": false,
|
266
|
-
"id": "
|
253
|
+
"id": "b883ca80-7ab9-4572-9695-09a190ac5a53",
|
267
254
|
"functions": [
|
268
255
|
{
|
269
256
|
"title": "all Session Time",
|
270
257
|
"type": "Session Time",
|
271
258
|
"where": "some Session Time is at this Hour",
|
272
|
-
"role_id": "
|
259
|
+
"role_id": "614d1647-caf1-4654-ba61-dd2c5d0e8cce",
|
273
260
|
"is_list": true
|
274
261
|
}
|
275
262
|
]
|
276
263
|
},
|
277
264
|
"Minute": {
|
278
265
|
"is_main": false,
|
279
|
-
"id": "
|
266
|
+
"id": "10658f22-00db-461f-9c48-f44b118a0a78",
|
280
267
|
"functions": [
|
281
268
|
{
|
282
269
|
"title": "all Session Time",
|
283
270
|
"type": "Session Time",
|
284
271
|
"where": "some Session Time is at this Minute",
|
285
|
-
"role_id": "
|
272
|
+
"role_id": "670b02dd-c301-431b-ab68-b9a12eed98c7",
|
286
273
|
"is_list": true
|
287
274
|
}
|
288
275
|
]
|
289
276
|
},
|
290
277
|
"Month": {
|
291
278
|
"is_main": false,
|
292
|
-
"id": "
|
279
|
+
"id": "08b9d865-e3d9-460f-b7c6-05b947f5cb62",
|
293
280
|
"functions": [
|
294
281
|
{
|
295
282
|
"title": "Month Nr",
|
296
283
|
"type": "Month Nr",
|
297
284
|
"where": "this Month has one Month Nr",
|
298
|
-
"role_id": "
|
285
|
+
"role_id": "f9c473ef-2bd1-40b6-8dd9-47e1cb34bc70"
|
299
286
|
},
|
300
287
|
{
|
301
288
|
"title": "all Session Time",
|
302
289
|
"type": "Session Time",
|
303
290
|
"where": "some Session Time is in this Month",
|
304
|
-
"role_id": "
|
291
|
+
"role_id": "e08af845-395b-4d4a-bd56-1a2da360e082",
|
305
292
|
"is_list": true
|
306
293
|
}
|
307
294
|
]
|
308
295
|
},
|
309
296
|
"Month Nr": {
|
310
297
|
"is_main": false,
|
311
|
-
"id": "
|
298
|
+
"id": "0eaa6eb3-ff71-40a3-8704-d1a1ad077cfe",
|
312
299
|
"functions": [
|
313
300
|
{
|
314
301
|
"title": "Month",
|
315
302
|
"type": "Month",
|
316
303
|
"where": "this Month Nr is of one Month",
|
317
|
-
"role_id": "
|
304
|
+
"role_id": "6d8dfb61-6858-4449-8adb-b4039f03e452"
|
318
305
|
}
|
319
306
|
]
|
320
307
|
},
|
321
308
|
"Name": {
|
322
309
|
"is_main": false,
|
323
|
-
"id": "
|
310
|
+
"id": "13664dcf-6d5c-4d24-aa32-ce84655227de",
|
324
311
|
"functions": [
|
325
312
|
{
|
326
313
|
"title": "Cinema",
|
327
314
|
"type": "Cinema",
|
328
315
|
"where": "this Name is of one Cinema",
|
329
|
-
"role_id": "
|
316
|
+
"role_id": "9a11bb1c-2974-494d-871a-a40a6e1f09d6"
|
330
317
|
},
|
331
318
|
{
|
332
319
|
"title": "all Film",
|
333
320
|
"type": "Film",
|
334
321
|
"where": "some Film has this Name",
|
335
|
-
"role_id": "
|
322
|
+
"role_id": "5a2bf649-aaff-4033-bec5-2aab9568eb29",
|
336
323
|
"is_list": true
|
337
324
|
},
|
338
325
|
{
|
339
326
|
"title": "Person",
|
340
327
|
"type": "Person",
|
341
328
|
"where": "this Name is of one Person",
|
342
|
-
"role_id": "
|
329
|
+
"role_id": "c744d52c-afad-4415-8ec8-f6dd697abbd0"
|
343
330
|
}
|
344
331
|
]
|
345
332
|
},
|
346
333
|
"Number": {
|
347
334
|
"is_main": false,
|
348
|
-
"id": "
|
335
|
+
"id": "302eaeee-7b93-4217-a870-078ea000eddf",
|
349
336
|
"functions": [
|
350
337
|
{
|
351
338
|
"title": "all Places Paid",
|
352
339
|
"type": "Places Paid",
|
353
340
|
"where": "this Number of places for some Booking have been paid for by some Payment Method",
|
354
|
-
"role_id": "
|
341
|
+
"role_id": "9bba37e1-29d6-4de3-affe-347ce8240a8d",
|
355
342
|
"is_list": true
|
356
343
|
},
|
357
344
|
{
|
358
345
|
"title": "all Booking",
|
359
346
|
"type": "Booking",
|
360
347
|
"where": "some Person booked some Session for this Number of places",
|
361
|
-
"role_id": "
|
348
|
+
"role_id": "7fcb15a1-87c2-4fcc-b8bf-fc180d047ad8",
|
362
349
|
"is_list": true
|
363
350
|
}
|
364
351
|
]
|
365
352
|
},
|
366
353
|
"Payment Method": {
|
367
354
|
"is_main": false,
|
368
|
-
"id": "
|
355
|
+
"id": "00d6b400-479b-47c5-a588-66d9123e7e50",
|
369
356
|
"functions": [
|
370
357
|
{
|
371
358
|
"title": "all Places Paid",
|
372
359
|
"type": "Places Paid",
|
373
360
|
"where": "some Number of places for some Booking have been paid for by this Payment Method",
|
374
|
-
"role_id": "
|
361
|
+
"role_id": "87b4c729-e8af-4800-9bf8-cc7066e103c8",
|
375
362
|
"is_list": true
|
376
363
|
},
|
377
364
|
{
|
378
365
|
"title": "Payment Method Code",
|
379
366
|
"type": "Payment Method Code",
|
380
367
|
"where": "this Payment Method has one Payment Method Code",
|
381
|
-
"role_id": "
|
368
|
+
"role_id": "0ae7cd80-dcdb-442c-9e3e-f708b31958b9"
|
382
369
|
}
|
383
370
|
]
|
384
371
|
},
|
385
372
|
"Payment Method Code": {
|
386
373
|
"is_main": false,
|
387
|
-
"id": "
|
374
|
+
"id": "166cd6da-8efe-408b-aa6c-1ab9b7fdc689",
|
388
375
|
"functions": [
|
389
376
|
{
|
390
377
|
"title": "Payment Method",
|
391
378
|
"type": "Payment Method",
|
392
379
|
"where": "this Payment Method Code is of one Payment Method",
|
393
|
-
"role_id": "
|
380
|
+
"role_id": "78422d76-24ce-47eb-aab9-2c4f63157673"
|
394
381
|
}
|
395
382
|
]
|
396
383
|
},
|
397
384
|
"Person": {
|
398
385
|
"is_main": true,
|
399
|
-
"id": "
|
386
|
+
"id": "e4a6df95-769f-4e96-9ec2-558de6c922c7",
|
400
387
|
"functions": [
|
401
388
|
{
|
402
389
|
"title": "all Booking",
|
403
390
|
"type": "Booking",
|
404
391
|
"where": "this Person booked some Session for some Number of places",
|
405
|
-
"role_id": "
|
392
|
+
"role_id": "d1ad9c6f-ebee-4ce3-958e-20716e6d5380",
|
406
393
|
"is_list": true
|
407
394
|
},
|
408
395
|
{
|
409
396
|
"title": "Encrypted Password",
|
410
397
|
"type": "Encrypted Password",
|
411
398
|
"where": "this Person has one Encrypted Password",
|
412
|
-
"role_id": "
|
399
|
+
"role_id": "8e604ba3-0adc-4be8-ab0f-50a07cb89c28"
|
413
400
|
},
|
414
401
|
{
|
415
402
|
"title": "Person ID",
|
416
403
|
"type": "Person ID",
|
417
404
|
"where": "this Person has one Person ID",
|
418
|
-
"role_id": "
|
405
|
+
"role_id": "c7c3a1ef-a9a3-44cd-b78c-df138b418d06"
|
419
406
|
},
|
420
407
|
{
|
421
408
|
"title": "Login Name",
|
422
409
|
"type": "Name",
|
423
410
|
"where": "this Person has one login-Name",
|
424
|
-
"role_id": "
|
411
|
+
"role_id": "32be8278-7b0d-4f16-b377-be8b6b3beb2c"
|
425
412
|
}
|
426
413
|
]
|
427
414
|
},
|
428
415
|
"Person ID": {
|
429
416
|
"is_main": false,
|
430
|
-
"id": "
|
417
|
+
"id": "4e88462f-5d1a-407d-b108-e1e7fbdf1306",
|
431
418
|
"functions": [
|
432
419
|
{
|
433
420
|
"title": "Person",
|
434
421
|
"type": "Person",
|
435
422
|
"where": "this Person ID is of one Person",
|
436
|
-
"role_id": "
|
423
|
+
"role_id": "cf8b5c04-4033-4e6b-8e69-fa303a3d81ce"
|
437
424
|
}
|
438
425
|
]
|
439
426
|
},
|
440
427
|
"Places Paid": {
|
441
428
|
"is_main": true,
|
442
|
-
"id": "
|
429
|
+
"id": "321bcf9a-2536-4867-8e1f-0ce7e481bbad",
|
443
430
|
"functions": [
|
444
431
|
{
|
445
432
|
"title": "involving Number",
|
@@ -460,154 +447,154 @@
|
|
460
447
|
},
|
461
448
|
"Price": {
|
462
449
|
"is_main": false,
|
463
|
-
"id": "
|
450
|
+
"id": "64eaee16-5f87-4d31-9ce6-ea3815cc01bf",
|
464
451
|
"functions": [
|
465
452
|
{
|
466
|
-
"title": "all Ticket
|
467
|
-
"type": "Ticket
|
468
|
-
"where": "
|
469
|
-
"role_id": "
|
453
|
+
"title": "all Ticket Category",
|
454
|
+
"type": "Ticket Category",
|
455
|
+
"where": "some Ticket Category has this Price",
|
456
|
+
"role_id": "c49b3d4f-81df-444c-a1df-71336d8ab66a",
|
470
457
|
"is_list": true
|
471
458
|
}
|
472
459
|
]
|
473
460
|
},
|
474
461
|
"Row": {
|
475
462
|
"is_main": false,
|
476
|
-
"id": "
|
463
|
+
"id": "3bb4cd73-ef9a-46f5-915a-ad48dae97268",
|
477
464
|
"functions": [
|
478
465
|
{
|
479
466
|
"title": "Row Nr",
|
480
467
|
"type": "Row Nr",
|
481
468
|
"where": "this Row has one Row Nr",
|
482
|
-
"role_id": "
|
469
|
+
"role_id": "41e05659-f7d7-48ca-b44a-2706b6c0d930"
|
483
470
|
},
|
484
471
|
{
|
485
472
|
"title": "Cinema",
|
486
473
|
"type": "Cinema",
|
487
474
|
"where": "this Row is in one Cinema",
|
488
|
-
"role_id": "
|
475
|
+
"role_id": "dde5b2cb-1d17-47aa-b9c0-6330be4b53a5"
|
489
476
|
},
|
490
477
|
{
|
491
478
|
"title": "all Seat",
|
492
479
|
"type": "Seat",
|
493
480
|
"where": "this Row contains some Seat",
|
494
|
-
"role_id": "
|
481
|
+
"role_id": "12152d10-20a9-4807-bb38-87f4b3696a16",
|
495
482
|
"is_list": true
|
496
483
|
}
|
497
484
|
]
|
498
485
|
},
|
499
486
|
"Row Nr": {
|
500
487
|
"is_main": false,
|
501
|
-
"id": "
|
488
|
+
"id": "feccb84e-e2c1-41e4-bf55-9f9c7127bfd5",
|
502
489
|
"functions": [
|
503
490
|
{
|
504
491
|
"title": "all Row",
|
505
492
|
"type": "Row",
|
506
493
|
"where": "this Row Nr is of some Row",
|
507
|
-
"role_id": "
|
494
|
+
"role_id": "4a44990a-4b34-48b2-ab26-18a70c981ed3",
|
508
495
|
"is_list": true
|
509
496
|
}
|
510
497
|
]
|
511
498
|
},
|
512
499
|
"Seat": {
|
513
500
|
"is_main": true,
|
514
|
-
"id": "
|
501
|
+
"id": "cff131c6-471d-4e32-a5d9-aadf241c536e",
|
515
502
|
"functions": [
|
516
503
|
{
|
517
504
|
"title": "all Booking",
|
518
505
|
"type": "Booking",
|
519
506
|
"where": "this Seat is allocated to some Booking",
|
520
|
-
"role_id": "
|
507
|
+
"role_id": "5756c6af-89f4-4d26-b05c-65130f430735",
|
521
508
|
"is_list": true
|
522
509
|
},
|
523
510
|
{
|
524
511
|
"title": "Seat Number",
|
525
512
|
"type": "Seat Number",
|
526
513
|
"where": "this Seat has one Seat Number",
|
527
|
-
"role_id": "
|
514
|
+
"role_id": "6a08fa15-4e2a-45ba-aa81-60e84d484f37"
|
528
515
|
},
|
529
516
|
{
|
530
517
|
"title": "Row",
|
531
518
|
"type": "Row",
|
532
519
|
"where": "this Seat is in one Row",
|
533
|
-
"role_id": "
|
520
|
+
"role_id": "0bfb3ecc-44ea-467b-84ba-af7fe4adcdd6"
|
534
521
|
},
|
535
522
|
{
|
536
523
|
"title": "Section",
|
537
524
|
"type": "Section",
|
538
525
|
"where": "this Seat is in one Section",
|
539
|
-
"role_id": "
|
526
|
+
"role_id": "798413c3-ba32-4160-9717-179c405cbfc2"
|
540
527
|
}
|
541
528
|
]
|
542
529
|
},
|
543
530
|
"Seat Number": {
|
544
531
|
"is_main": false,
|
545
|
-
"id": "
|
532
|
+
"id": "6cc01fba-7b82-403c-89be-b39ae4b09049",
|
546
533
|
"functions": [
|
547
534
|
{
|
548
535
|
"title": "all Seat",
|
549
536
|
"type": "Seat",
|
550
537
|
"where": "this Seat Number is of some Seat",
|
551
|
-
"role_id": "
|
538
|
+
"role_id": "4be451de-2e44-4077-8320-e7be5d25f44c",
|
552
539
|
"is_list": true
|
553
540
|
}
|
554
541
|
]
|
555
542
|
},
|
556
543
|
"Section": {
|
557
544
|
"is_main": false,
|
558
|
-
"id": "
|
545
|
+
"id": "fce26f5c-79e1-4824-8b23-4f92e525a40b",
|
559
546
|
"functions": [
|
560
547
|
{
|
561
548
|
"title": "all Booking",
|
562
549
|
"type": "Booking",
|
563
550
|
"where": "some Booking is for seats in this Section",
|
564
|
-
"role_id": "
|
551
|
+
"role_id": "eb29882b-7b2d-43f4-8f74-f73b9d282810",
|
565
552
|
"is_list": true
|
566
553
|
},
|
567
554
|
{
|
568
555
|
"title": "all Cinema",
|
569
556
|
"type": "Cinema",
|
570
557
|
"where": "this Section of some Cinema uses allocated seating",
|
571
|
-
"role_id": "
|
558
|
+
"role_id": "868d52fb-ba7c-447e-afb5-d5812f1d1d5a",
|
572
559
|
"is_list": true
|
573
560
|
},
|
574
561
|
{
|
575
562
|
"title": "all Seat",
|
576
563
|
"type": "Seat",
|
577
564
|
"where": "this Section contains some Seat",
|
578
|
-
"role_id": "
|
565
|
+
"role_id": "0f760043-baa6-42d0-90c4-13679ac128fd",
|
579
566
|
"is_list": true
|
580
567
|
},
|
581
568
|
{
|
582
569
|
"title": "Section Name",
|
583
570
|
"type": "Section Name",
|
584
571
|
"where": "this Section has one Section Name",
|
585
|
-
"role_id": "
|
572
|
+
"role_id": "b70fd0e9-2f73-45d6-a62a-c54a99127235"
|
586
573
|
},
|
587
574
|
{
|
588
|
-
"title": "all Ticket
|
589
|
-
"type": "Ticket
|
590
|
-
"where": "
|
591
|
-
"role_id": "
|
575
|
+
"title": "all Ticket Category",
|
576
|
+
"type": "Ticket Category",
|
577
|
+
"where": "some Ticket Category is for this Section",
|
578
|
+
"role_id": "63d1b61d-edb5-4fb6-a417-f806d138e626",
|
592
579
|
"is_list": true
|
593
580
|
}
|
594
581
|
]
|
595
582
|
},
|
596
583
|
"Section Name": {
|
597
584
|
"is_main": false,
|
598
|
-
"id": "
|
585
|
+
"id": "379722bb-3c92-4a91-9815-4f4388f7dfeb",
|
599
586
|
"functions": [
|
600
587
|
{
|
601
588
|
"title": "Section",
|
602
589
|
"type": "Section",
|
603
590
|
"where": "this Section Name is of one Section",
|
604
|
-
"role_id": "
|
591
|
+
"role_id": "48f208bb-0214-460a-89ef-e07e1b3b1599"
|
605
592
|
}
|
606
593
|
]
|
607
594
|
},
|
608
595
|
"Session": {
|
609
596
|
"is_main": true,
|
610
|
-
"id": "
|
597
|
+
"id": "420a2128-87da-4cd3-8c10-5e9b45cfb9f7",
|
611
598
|
"functions": [
|
612
599
|
{
|
613
600
|
"title": "involving Cinema",
|
@@ -628,139 +615,144 @@
|
|
628
615
|
"title": "all Booking",
|
629
616
|
"type": "Booking",
|
630
617
|
"where": "some Person booked this Session for some Number of places",
|
631
|
-
"role_id": "
|
618
|
+
"role_id": "9f16d5bc-6d17-4aed-9801-ffe9b8d11f65",
|
632
619
|
"is_list": true
|
633
620
|
},
|
634
621
|
{
|
635
622
|
"title": "Session is high-demand",
|
636
623
|
"type": "boolean",
|
637
624
|
"where": "this Session is high-demand",
|
638
|
-
"role_id": "
|
625
|
+
"role_id": "65c02bd1-6752-46ac-adcc-209ba31333ad"
|
639
626
|
},
|
640
627
|
{
|
641
628
|
"title": "Session uses allocated seating",
|
642
629
|
"type": "boolean",
|
643
630
|
"where": "this Session uses allocated seating",
|
644
|
-
"role_id": "
|
631
|
+
"role_id": "9115463b-0de1-494e-a5dd-132fd3bee96f"
|
645
632
|
}
|
646
633
|
]
|
647
634
|
},
|
648
635
|
"Session Time": {
|
649
636
|
"is_main": false,
|
650
|
-
"id": "
|
637
|
+
"id": "53946231-e597-4065-bdd8-8ba4f0bf7902",
|
651
638
|
"functions": [
|
652
639
|
{
|
653
640
|
"title": "all Session",
|
654
641
|
"type": "Session",
|
655
642
|
"where": "some Cinema shows some Film on this Session Time",
|
656
|
-
"role_id": "
|
643
|
+
"role_id": "6a7143a7-39bf-41cf-9dd4-4e405cfc0c47",
|
657
644
|
"is_list": true
|
658
645
|
},
|
659
646
|
{
|
660
647
|
"title": "Hour",
|
661
648
|
"type": "Hour",
|
662
649
|
"where": "this Session Time is at one Hour",
|
663
|
-
"role_id": "
|
650
|
+
"role_id": "fffaca03-6224-4067-b56b-a10e21501997"
|
664
651
|
},
|
665
652
|
{
|
666
653
|
"title": "Minute",
|
667
654
|
"type": "Minute",
|
668
655
|
"where": "this Session Time is at one Minute",
|
669
|
-
"role_id": "
|
656
|
+
"role_id": "c989dc90-95f9-407a-80de-c8c41a1e86ee"
|
670
657
|
},
|
671
658
|
{
|
672
659
|
"title": "Month",
|
673
660
|
"type": "Month",
|
674
661
|
"where": "this Session Time is in one Month",
|
675
|
-
"role_id": "
|
662
|
+
"role_id": "7bf90194-3e0f-403c-afde-ff0e9b73c703"
|
676
663
|
},
|
677
664
|
{
|
678
665
|
"title": "Year",
|
679
666
|
"type": "Year",
|
680
667
|
"where": "this Session Time is in one Year",
|
681
|
-
"role_id": "
|
668
|
+
"role_id": "9e53bef6-7464-45ae-b200-ecfcb9c03a5a"
|
682
669
|
},
|
683
670
|
{
|
684
671
|
"title": "Day",
|
685
672
|
"type": "Day",
|
686
673
|
"where": "this Session Time is on one Day",
|
687
|
-
"role_id": "
|
674
|
+
"role_id": "7d164a0e-21c0-42e2-8782-da1b0bcc3b85"
|
688
675
|
},
|
689
676
|
{
|
690
|
-
"title": "all Ticket
|
691
|
-
"type": "Ticket
|
692
|
-
"where": "
|
693
|
-
"role_id": "
|
677
|
+
"title": "all Ticket Category",
|
678
|
+
"type": "Ticket Category",
|
679
|
+
"where": "some Ticket Category is for this Session Time",
|
680
|
+
"role_id": "fabeb8cd-9177-41fb-87cf-3caa89bce78c",
|
694
681
|
"is_list": true
|
695
682
|
}
|
696
683
|
]
|
697
684
|
},
|
698
|
-
"Ticket
|
685
|
+
"Ticket Category": {
|
699
686
|
"is_main": true,
|
700
|
-
"id": "
|
687
|
+
"id": "dd052c40-8c29-4453-8cb0-79cec4ac8c45",
|
701
688
|
"functions": [
|
702
689
|
{
|
703
|
-
"title": "
|
704
|
-
"type": "
|
705
|
-
"where": "
|
690
|
+
"title": "Price",
|
691
|
+
"type": "Price",
|
692
|
+
"where": "this Ticket Category has one Price",
|
693
|
+
"role_id": "0bfffe0a-9cd5-4a88-8353-d3c3359a2c2e"
|
706
694
|
},
|
707
695
|
{
|
708
|
-
"title": "
|
709
|
-
"type": "
|
710
|
-
"where": "
|
696
|
+
"title": "Ticket Category has high demand",
|
697
|
+
"type": "boolean",
|
698
|
+
"where": "this Ticket Category has high demand",
|
699
|
+
"role_id": "1ee1f84c-0b45-47a5-ac50-c49aba588d1f"
|
711
700
|
},
|
712
701
|
{
|
713
|
-
"title": "
|
714
|
-
"type": "
|
715
|
-
"where": "
|
702
|
+
"title": "Cinema",
|
703
|
+
"type": "Cinema",
|
704
|
+
"where": "this Ticket Category is for one Cinema",
|
705
|
+
"role_id": "62c20527-0797-42dc-9bdb-8da307ceaa05"
|
716
706
|
},
|
717
707
|
{
|
718
|
-
"title": "
|
719
|
-
"type": "
|
720
|
-
"where": "
|
708
|
+
"title": "Section",
|
709
|
+
"type": "Section",
|
710
|
+
"where": "this Ticket Category is for one Section",
|
711
|
+
"role_id": "7271eaa0-5e43-44c7-ae88-5ac45d4b3ebf"
|
721
712
|
},
|
722
713
|
{
|
723
|
-
"title": "
|
724
|
-
"type": "
|
725
|
-
"where": "
|
714
|
+
"title": "Session Time",
|
715
|
+
"type": "Session Time",
|
716
|
+
"where": "this Ticket Category is for one Session Time",
|
717
|
+
"role_id": "140b2003-a239-454d-8699-b057c9e680d7"
|
726
718
|
}
|
727
719
|
]
|
728
720
|
},
|
729
721
|
"Year": {
|
730
722
|
"is_main": false,
|
731
|
-
"id": "
|
723
|
+
"id": "5a4665e7-e61e-4973-aace-b10bd342afcc",
|
732
724
|
"functions": [
|
733
725
|
{
|
734
726
|
"title": "all Film",
|
735
727
|
"type": "Film",
|
736
728
|
"where": "some Film was made in this Year",
|
737
|
-
"role_id": "
|
729
|
+
"role_id": "4015d21f-7d34-42ef-bd57-9e4048c3319e",
|
738
730
|
"is_list": true
|
739
731
|
},
|
740
732
|
{
|
741
733
|
"title": "all Session Time",
|
742
734
|
"type": "Session Time",
|
743
735
|
"where": "some Session Time is in this Year",
|
744
|
-
"role_id": "
|
736
|
+
"role_id": "58bb5829-2ad2-4ee1-9f09-5fb26d4063cb",
|
745
737
|
"is_list": true
|
746
738
|
},
|
747
739
|
{
|
748
740
|
"title": "Year Nr",
|
749
741
|
"type": "Year Nr",
|
750
742
|
"where": "this Year has one Year Nr",
|
751
|
-
"role_id": "
|
743
|
+
"role_id": "6f451b7b-904d-4fe7-b7f9-302f62888174"
|
752
744
|
}
|
753
745
|
]
|
754
746
|
},
|
755
747
|
"Year Nr": {
|
756
748
|
"is_main": false,
|
757
|
-
"id": "
|
749
|
+
"id": "84235858-7805-4189-bafa-93a7ce519821",
|
758
750
|
"functions": [
|
759
751
|
{
|
760
752
|
"title": "Year",
|
761
753
|
"type": "Year",
|
762
754
|
"where": "this Year Nr is of one Year",
|
763
|
-
"role_id": "
|
755
|
+
"role_id": "4cbf12df-a27d-4938-9265-b593570b4061"
|
764
756
|
}
|
765
757
|
]
|
766
758
|
}
|