diagrams/json/Monogamy.json in activefacts-examples-1.7.1 vs diagrams/json/Monogamy.json in activefacts-examples-1.7.2
- old
+ new
@@ -1,22 +1,22 @@
{ model: 'Monogamy',
diagrams: [
- {"uuid":"afbada12-9cd6-1904-c0fb-1f8e21","name":"Monogamy"}
+
],
object_types: [
{"uuid":"74f7cb25-88de-e214-e3e8-1560f6","name":"Auto Counter","shapes":[]},
- {"uuid":"5d90f0d1-824a-d884-441c-e6ceca","name":"Boy","shapes":[{"diagram":"afbada12-9cd6-1904-c0fb-1f8e21","is_expanded":true,"uuid":"95c3dacb-7434-09e8-e12c-d1c99c","x":257,"y":233}],"supertypes":[["2bb6479d-7c83-6eec-0077-395623","efee1af7-282e-6235-633d-a639c2"]]},
- {"uuid":"33bca377-9b31-f4cf-0931-5d5fe2","name":"Girl","shapes":[{"diagram":"afbada12-9cd6-1904-c0fb-1f8e21","is_expanded":true,"uuid":"4c44b861-dbea-68b3-4e87-d61960","x":96,"y":233}],"supertypes":[["2bb6479d-7c83-6eec-0077-395623","07860fe2-d4cb-3a8f-ced2-f128a5"]]},
- {"uuid":"1baf726f-a0df-29a0-bc72-a2003a","name":"Name","shapes":[{"diagram":"afbada12-9cd6-1904-c0fb-1f8e21","is_expanded":true,"uuid":"593e5c3e-96ba-aac0-b6a4-33e5da","x":368,"y":98}],"supertype":"4b9f0761-bc5a-6a68-92d4-efc237"},
+ {"uuid":"5d90f0d1-824a-d884-441c-e6ceca","name":"Boy","shapes":[],"supertypes":[["2bb6479d-7c83-6eec-0077-395623","ed8deea1-da05-65cf-93ee-a854e3"]]},
+ {"uuid":"33bca377-9b31-f4cf-0931-5d5fe2","name":"Girl","shapes":[],"supertypes":[["2bb6479d-7c83-6eec-0077-395623","3728d5f0-3a64-ff7e-c1c9-5d849d"]]},
+ {"uuid":"1baf726f-a0df-29a0-bc72-a2003a","name":"Name","shapes":[],"supertype":"4b9f0761-bc5a-6a68-92d4-efc237"},
{"uuid":"bcdfe592-a78b-27d7-896f-3e9878","name":"Person ID","shapes":[],"supertype":"74f7cb25-88de-e214-e3e8-1560f6"},
- {"uuid":"2bb6479d-7c83-6eec-0077-395623","name":"Person","shapes":[{"diagram":"afbada12-9cd6-1904-c0fb-1f8e21","is_expanded":true,"uuid":"43ed8c48-a13a-90ea-f95f-95e7d3","x":180,"y":98}],"ref_mode":".ID"},
+ {"uuid":"2bb6479d-7c83-6eec-0077-395623","name":"Person","shapes":[],"ref_mode":".ID"},
{"uuid":"4b9f0761-bc5a-6a68-92d4-efc237","name":"String","shapes":[]}
],
fact_types: [
- {"uuid":"14bd1856-4ba3-91d9-862c-10bad3","roles":[{"uuid":"fd43e929-5050-b6f4-5382-9fbacd","player":"33bca377-9b31-f4cf-0931-5d5fe2"},{"uuid":"551fd533-1a04-cb18-fd8a-4de38c","player":"5d90f0d1-824a-d884-441c-e6ceca"}],"readings":[["01","{0} is going out with {1}"],["10","{0} is going out with {1}"]],"shapes":[{"diagram":"afbada12-9cd6-1904-c0fb-1f8e21","uuid":"f8681bf9-9ed6-798d-1308-14e2ae","x":191,"y":234}],"constraints":[{"uuid":"1b6efe0e-3849-3d53-c2c7-58ef5e","min":0,"max":1,"is_preferred":null,"mandatory":null,"uniqueExcept":"551fd533-1a04-cb18-fd8a-4de38c"},{"uuid":"8c4acbb0-f01a-bb19-2f1c-cac3ba","min":0,"max":1,"is_preferred":null,"mandatory":null,"uniqueExcept":"fd43e929-5050-b6f4-5382-9fbacd"},{"uuid":"c71248b9-56bd-43b4-0fda-dbf836","shapes":[{"diagram":"afbada12-9cd6-1904-c0fb-1f8e21","uuid":"b5244f75-ed30-1f97-71c2-3cc910","x":180,"y":315}],"ringKind":"Symmetric","roles":["fd43e929-5050-b6f4-5382-9fbacd","551fd533-1a04-cb18-fd8a-4de38c"]}]},
- {"uuid":"31e90230-2e27-99b4-1927-eec656","roles":[{"uuid":"f7ca2996-a876-9c2d-bb33-c74b74","player":"2bb6479d-7c83-6eec-0077-395623"},{"uuid":"24d37d0d-168b-ed72-0600-2263b3","player":"bcdfe592-a78b-27d7-896f-3e9878"}],"readings":[["01","{0} has {1}"],["10","{0} is of {1}"]],"shapes":[],"constraints":[{"uuid":"61b75d70-17d0-3ee2-76bf-5cc060","min":0,"max":1,"is_preferred":true,"mandatory":null,"uniqueExcept":"f7ca2996-a876-9c2d-bb33-c74b74"},{"uuid":"ea20be61-6300-8233-4893-18a7a9","min":1,"max":1,"is_preferred":null,"mandatory":true,"role":"f7ca2996-a876-9c2d-bb33-c74b74"}]},
- {"uuid":"4a699ecf-93e9-56ab-7e8d-25e670","roles":[{"uuid":"f3feee27-e7d9-afb9-6407-e04b9b","player":"2bb6479d-7c83-6eec-0077-395623"},{"uuid":"f96623a1-17c9-e84d-49b0-8a6229","player":"1baf726f-a0df-29a0-bc72-a2003a"}],"readings":[["01","{0} is called {1}"]],"shapes":[{"diagram":"afbada12-9cd6-1904-c0fb-1f8e21","uuid":"6936db54-1bd1-a346-8bb6-5c0905","x":286,"y":99}],"constraints":[{"uuid":"aa7ae5ec-d10e-82a9-91dd-1f24e9","min":1,"max":1,"is_preferred":null,"mandatory":true,"role":"f3feee27-e7d9-afb9-6407-e04b9b"}]}
+ {"uuid":"ccd566e8-95bd-fa1c-83ba-ba3bac","roles":[{"uuid":"cb20a406-d16b-911b-f3a5-241815","player":"33bca377-9b31-f4cf-0931-5d5fe2"},{"uuid":"07b3ba0e-26b1-e394-6031-787cff","player":"5d90f0d1-824a-d884-441c-e6ceca"}],"readings":[["01","{0} is going out with {1}"],["10","{0} is going out with {1}"]],"shapes":[],"constraints":[{"uuid":"0bd6e9b6-8c3a-95b7-4178-27b86d","min":0,"max":1,"is_preferred":null,"mandatory":null,"uniqueExcept":"07b3ba0e-26b1-e394-6031-787cff"},{"uuid":"0148fd45-9750-e959-678c-c50783","min":0,"max":1,"is_preferred":null,"mandatory":null,"uniqueExcept":"cb20a406-d16b-911b-f3a5-241815"},{"uuid":"4c3d7a4f-c3d1-f476-70c4-3d9e50","shapes":[],"ringKind":"Symmetric","roles":["cb20a406-d16b-911b-f3a5-241815","07b3ba0e-26b1-e394-6031-787cff"]}]},
+ {"uuid":"39a4c1af-a82d-7a1e-eee0-d9b5bb","roles":[{"uuid":"70c2c903-43c6-a3b2-7fa0-53bfa1","player":"2bb6479d-7c83-6eec-0077-395623"},{"uuid":"4ad62921-9d92-eaf6-8e9d-886e35","player":"bcdfe592-a78b-27d7-896f-3e9878"}],"readings":[["01","{0} has {1}"],["10","{0} is of {1}"]],"shapes":[],"constraints":[{"uuid":"9f867713-cda5-d184-c54d-a4fbf7","min":0,"max":1,"is_preferred":true,"mandatory":null,"uniqueExcept":"70c2c903-43c6-a3b2-7fa0-53bfa1"},{"uuid":"8a9c48cc-0c71-abda-c4d9-8dc585","min":1,"max":1,"is_preferred":null,"mandatory":true,"role":"70c2c903-43c6-a3b2-7fa0-53bfa1"}]},
+ {"uuid":"71787461-1afd-424a-da30-1d74c5","roles":[{"uuid":"18aa2734-1bcc-9fb9-5af1-a6b037","player":"2bb6479d-7c83-6eec-0077-395623"},{"uuid":"ca1265af-3986-112e-a580-7b5f5f","player":"1baf726f-a0df-29a0-bc72-a2003a"}],"readings":[["01","{0} is called {1}"]],"shapes":[],"constraints":[{"uuid":"622c7525-20b8-2500-8c54-7d38d2","min":1,"max":1,"is_preferred":null,"mandatory":true,"role":"18aa2734-1bcc-9fb9-5af1-a6b037"}]}
],
constraints: [
- {"uuid":"64ae7320-0fb3-519c-da6e-ca9e95","type":"SetExclusionConstraint","shapes":[{"diagram":"afbada12-9cd6-1904-c0fb-1f8e21","uuid":"f8c4a62a-649e-34f4-a686-7b648f","x":180,"y":184}],"is_mandatory":true,"role_sequences":[["07860fe2-d4cb-3a8f-ced2-f128a5"],["efee1af7-282e-6235-633d-a639c2"]]}
+ {"uuid":"004fa9f9-ccdf-a314-9ccd-a1c8d6","type":"SetExclusionConstraint","shapes":[],"is_mandatory":true,"role_sequences":[["3728d5f0-3a64-ff7e-c1c9-5d849d"],["ed8deea1-da05-65cf-93ee-a854e3"]]}
]
}