{ 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":"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":"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":"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":"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} ], 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"}]} ], 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"]]} ] }