Changes between Version 1 and Version 2 of DataFormat
- Timestamp:
- 02.09.2011 02:56:11 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DataFormat
v1 v2 25 25 "composite": { 26 26 "dm4.files.file_name": "freifunk-geomap.png", 27 "dm4.files.path": "/home/jri/freifunk-geomap.png" 27 "dm4.files.path": "/home/jri/freifunk-geomap.png", 28 28 "dm4.files.size": 767016, 29 29 "dm4.files.media_type": "image/png", 30 "dm4.files.content": "<img src=\"/proxy/file:%2Fhome%2Fjri%2Ffreifunk-geomap.png\"></img>" ,30 "dm4.files.content": "<img src=\"/proxy/file:%2Fhome%2Fjri%2Ffreifunk-geomap.png\"></img>" 31 31 } 32 32 } … … 68 68 == Association == 69 69 70 Example 2: association that connects 2 topics 71 72 {{{ 73 { 74 "id": 2797, 75 "uri": "", 76 "type_uri": "dm4.core.composition", 77 "value": "", 78 "composite": { 79 }, 80 "role_1": { 81 "topic_id": 2735, 82 "role_type_uri": "dm4.core.whole" 83 }, 84 "role_2": { 85 "topic_id": 2794, 86 "role_type_uri": "dm4.core.part" 87 } 88 } 89 }}} 90 91 Example 2: association that connects a topic with an association 92 93 {{{ 94 { 95 "id": 2798, 96 "uri": "", 97 "type_uri": "dm4.core.instantiation", 98 "value": "", 99 "composite": { 100 }, 101 "role_1": { 102 "topic_id": 60, 103 "role_type_uri": "dm4.core.type" 104 }, 105 "role_2": { 106 "assoc_id": 2797, 107 "role_type_uri": "dm4.core.instance" 108 } 109 } 110 }}} 111 70 112 == Topic Type == 71 113