diagrams/json/WaiterTips.json in activefacts-examples-1.7.1 vs diagrams/json/WaiterTips.json in activefacts-examples-1.7.2

- old
+ new

@@ -1,29 +1,29 @@ { model: 'WaiterTips', diagrams: [ - {"uuid":"dc3229d4-5ad7-a79a-d6bb-791c1f","name":"WaiterTips"} + ], object_types: [ {"uuid":"f59300ea-f071-a434-e7ca-177cef","name":"AUDValue","shapes":[],"supertype":"567cca0a-f46d-ca00-2895-c4bc36"}, - {"uuid":"b98c718a-8dde-64cb-b52f-61a33d","name":"Amount","shapes":[{"diagram":"dc3229d4-5ad7-a79a-d6bb-791c1f","is_expanded":true,"uuid":"12e6c7cc-abb4-eee5-6b69-2045ef","x":441,"y":315}],"ref_mode":"AUDValue"}, + {"uuid":"b98c718a-8dde-64cb-b52f-61a33d","name":"Amount","shapes":[],"ref_mode":"AUDValue"}, {"uuid":"68066c2b-5a36-72d8-e2d3-10cc31","name":"Auto Counter","shapes":[]}, - {"uuid":"a829b4c9-3d3a-464f-2435-1405f7","name":"Meal","shapes":[{"diagram":"dc3229d4-5ad7-a79a-d6bb-791c1f","is_expanded":true,"uuid":"57425aa3-35ed-a92d-2f52-00b313","x":354,"y":218}],"ref_mode":".Id"}, + {"uuid":"a829b4c9-3d3a-464f-2435-1405f7","name":"Meal","shapes":[],"ref_mode":".Id"}, {"uuid":"7f7c0e31-11d3-5710-a0c6-f0d8c8","name":"MealId","shapes":[],"supertype":"68066c2b-5a36-72d8-e2d3-10cc31"}, {"uuid":"567cca0a-f46d-ca00-2895-c4bc36","name":"Money","shapes":[]}, - {"uuid":"db913091-0ecf-38b1-24e5-3b2558","name":"Service","shapes":[],"objectifies":"118083c8-66a6-f478-aef7-124a2d"}, + {"uuid":"db913091-0ecf-38b1-24e5-3b2558","name":"Service","shapes":[],"objectifies":"b3ee7228-df2c-6d85-6fd0-c564c4"}, {"uuid":"8f458c23-08c1-c5ea-bd2e-c4f836","name":"Signed Integer","shapes":[]}, - {"uuid":"2eddaa42-7e5a-caf0-dbba-3533c9","name":"Waiter","shapes":[{"diagram":"dc3229d4-5ad7-a79a-d6bb-791c1f","is_expanded":true,"uuid":"1abf096e-dfa7-316c-2201-b2590f","x":107,"y":218}],"ref_mode":".Nr"}, + {"uuid":"2eddaa42-7e5a-caf0-dbba-3533c9","name":"Waiter","shapes":[],"ref_mode":".Nr"}, {"uuid":"6303045b-4b89-8877-b5a7-5f2f27","name":"WaiterNr","shapes":[],"supertype":"8f458c23-08c1-c5ea-bd2e-c4f836"}, - {"uuid":"d5df70cb-a06e-21dd-0578-24a7dc","name":"WaiterTip","shapes":[],"objectifies":"8606c204-ab72-3e61-1804-a1ab59","implicit":true} + {"uuid":"d5df70cb-a06e-21dd-0578-24a7dc","name":"WaiterTip","shapes":[],"objectifies":"da1f489e-2db9-c634-3a5b-7301a8","implicit":true} ], fact_types: [ - {"uuid":"8606c204-ab72-3e61-1804-a1ab59","objectified_as":"d5df70cb-a06e-21dd-0578-24a7dc","roles":[{"uuid":"3ccedc29-7b48-f9de-28ee-358cee","player":"2eddaa42-7e5a-caf0-dbba-3533c9"},{"uuid":"39d52165-58b4-8b65-5a8a-3035a8","player":"a829b4c9-3d3a-464f-2435-1405f7"},{"uuid":"4c607126-8f14-fcc8-6458-0ebeb8","player":"b98c718a-8dde-64cb-b52f-61a33d"}],"readings":[["012","{0} for serving {1} reported a tip of {2}"]],"shapes":[{"diagram":"dc3229d4-5ad7-a79a-d6bb-791c1f","uuid":"0d32fd64-b660-5979-3236-81b6b4","x":353,"y":105}],"constraints":[{"uuid":"0358f92b-920c-f022-4ac4-3eab4c","min":1,"max":1,"is_preferred":true,"mandatory":true,"uniqueExcept":"4c607126-8f14-fcc8-6458-0ebeb8"}]}, - {"uuid":"6d73ff65-1322-2423-0eea-40f05d","roles":[{"uuid":"88833060-1bde-d0f7-75cf-8de6f7","player":"db913091-0ecf-38b1-24e5-3b2558"},{"uuid":"48bbabdb-b589-1927-1c62-707211","player":"b98c718a-8dde-64cb-b52f-61a33d"}],"readings":[["01","{0} earned a tip of {1}"]],"shapes":[{"diagram":"dc3229d4-5ad7-a79a-d6bb-791c1f","uuid":"bbfaa307-8e26-ffd1-551c-8dd8ba","x":325,"y":316}],"constraints":[{"uuid":"79155bad-c9a2-4d67-83b3-61e38e","min":0,"max":1,"is_preferred":null,"mandatory":null,"uniqueExcept":"48bbabdb-b589-1927-1c62-707211"}]}, - {"uuid":"87096c93-1a25-74a1-6648-f8586f","roles":[{"uuid":"f199990c-866e-df72-3aec-5c24d0","player":"2eddaa42-7e5a-caf0-dbba-3533c9"},{"uuid":"371f8f50-7ae5-49cf-856a-17eacc","player":"6303045b-4b89-8877-b5a7-5f2f27"}],"readings":[["01","{0} has {1}"],["10","{0} is of {1}"]],"shapes":[],"constraints":[{"uuid":"8bb224a2-39d7-3c31-5ce3-041442","min":0,"max":1,"is_preferred":true,"mandatory":null,"uniqueExcept":"f199990c-866e-df72-3aec-5c24d0"},{"uuid":"a0597022-3f93-993d-76fa-32035b","min":1,"max":1,"is_preferred":null,"mandatory":true,"role":"f199990c-866e-df72-3aec-5c24d0"}]}, - {"uuid":"a13bbc97-4978-e2b9-8232-20afce","roles":[{"uuid":"97f47c36-6870-1a9a-f6a6-0b51b0","player":"a829b4c9-3d3a-464f-2435-1405f7"},{"uuid":"ec3ab8b5-9aa4-e3d4-ef8f-dd0516","player":"7f7c0e31-11d3-5710-a0c6-f0d8c8"}],"readings":[["01","{0} has {1}"],["10","{0} is of {1}"]],"shapes":[],"constraints":[{"uuid":"09891adc-5dfc-1235-108e-af87d9","min":0,"max":1,"is_preferred":true,"mandatory":null,"uniqueExcept":"97f47c36-6870-1a9a-f6a6-0b51b0"},{"uuid":"d06e6bba-1af3-cd70-90f0-207c59","min":1,"max":1,"is_preferred":null,"mandatory":true,"role":"97f47c36-6870-1a9a-f6a6-0b51b0"}]}, - {"uuid":"118083c8-66a6-f478-aef7-124a2d","objectified_as":"db913091-0ecf-38b1-24e5-3b2558","roles":[{"uuid":"111760d6-900a-9acb-2a74-64731e","player":"2eddaa42-7e5a-caf0-dbba-3533c9"},{"uuid":"b9a2051d-4bb7-ea58-c455-40d347","player":"a829b4c9-3d3a-464f-2435-1405f7"}],"readings":[["01","{0} served {1}"]],"shapes":[{"diagram":"dc3229d4-5ad7-a79a-d6bb-791c1f","uuid":"c0fac433-d171-51fa-b452-8e31c4","x":231,"y":214,"name_shape":{"x":226,"y":172}}],"constraints":[{"uuid":"d0490b2c-1214-19ba-6184-d34d5c","min":1,"max":1,"is_preferred":true,"mandatory":true,"uniqueExcept":null}]}, - {"uuid":"1c501651-a6f3-c058-67c7-690b18","roles":[{"uuid":"a94c3771-b80f-d7d0-8184-3e8bcf","player":"b98c718a-8dde-64cb-b52f-61a33d"},{"uuid":"671457e8-1708-5788-1906-ac4149","player":"f59300ea-f071-a434-e7ca-177cef"}],"readings":[["01","{0} has {1}"],["10","{0} is of {1}"]],"shapes":[],"constraints":[{"uuid":"c48900ca-8703-67a8-1514-551192","min":0,"max":1,"is_preferred":true,"mandatory":null,"uniqueExcept":"a94c3771-b80f-d7d0-8184-3e8bcf"},{"uuid":"ddc774db-c6f8-050d-b00f-6f3e86","min":1,"max":1,"is_preferred":null,"mandatory":true,"role":"a94c3771-b80f-d7d0-8184-3e8bcf"}]} + {"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"}]}, + {"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"}]}, + {"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"}]}, + {"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"}]}, + {"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}]}, + {"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"}]} ], constraints: [ - {"uuid":"197d57e3-b868-8945-15d7-b42bb2","type":"SetEqualityConstraint","shapes":[{"diagram":"dc3229d4-5ad7-a79a-d6bb-791c1f","uuid":"a680deb4-21e6-f20e-a09d-26c17e","x":292,"y":166}],"role_sequences":[["111760d6-900a-9acb-2a74-64731e","b9a2051d-4bb7-ea58-c455-40d347","48bbabdb-b589-1927-1c62-707211"],["3ccedc29-7b48-f9de-28ee-358cee","39d52165-58b4-8b65-5a8a-3035a8","4c607126-8f14-fcc8-6458-0ebeb8"]]} + {"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"]]} ] }