{ "schema_version": 3, "id": "00000000-0000-0000-0000-000000000001", "alias": "legacy_data", "name": "Legacy data contract", "description": "", "elements": { "00000000-0000-0000-0000-000000000002": { "id": "00000000-0000-0000-0000-000000000002", "alias": "produce", "name": "Produce", "description": "", "parent": null, "body": { "Sa": "Function" } }, "00000000-0000-0000-0000-000000000003": { "id": "00000000-0000-0000-0000-000000000003", "alias": "consume", "name": "Consume", "description": "", "parent": null, "body": { "Sa": "Function" } }, "00000000-0000-0000-0000-000000000004": { "id": "00000000-0000-0000-0000-000000000004", "alias": "packet", "name": "Position event", "description": "", "parent": null, "body": { "Sa": { "Shared": { "ExchangeItem": { "kind": "Event" } } } } }, "00000000-0000-0000-0000-000000000005": { "id": "00000000-0000-0000-0000-000000000005", "alias": "coordinate", "name": "Coordinate", "description": "", "parent": null, "body": { "Sa": { "Shared": { "DataType": { "definition": "Record" } } } } }, "00000000-0000-0000-0000-000000000006": { "id": "00000000-0000-0000-0000-000000000006", "alias": "latitude", "name": "Latitude", "description": "", "parent": "00000000-0000-0000-0000-000000000005", "body": { "Sa": { "Shared": { "DataField": { "type_ref": "Real", "minimum": 1, "maximum": 1, "unit": "deg" } } } } }, "00000000-0000-0000-0000-000000000007": { "id": "00000000-0000-0000-0000-000000000007", "alias": "origin", "name": "Origin", "description": "", "parent": "00000000-0000-0000-0000-000000000004", "body": { "Sa": { "Shared": { "DataField": { "type_ref": { "Named": "00000000-0000-0000-0000-000000000005" }, "minimum": 1, "maximum": 1, "unit": "" } } } } }, "00000000-0000-0000-0000-000000000008": { "id": "00000000-0000-0000-0000-000000000008", "alias": "destination", "name": "Destination", "description": "", "parent": "00000000-0000-0000-0000-000000000004", "body": { "Sa": { "Shared": { "DataField": { "type_ref": { "Named": "00000000-0000-0000-0000-000000000005" }, "minimum": 1, "maximum": 1, "unit": "" } } } } }, "00000000-0000-0000-0000-000000000009": { "id": "00000000-0000-0000-0000-000000000009", "alias": "sender_contract", "name": "Sender contract", "description": "", "parent": null, "body": { "Sa": { "Shared": { "Interface": { "items": [ "00000000-0000-0000-0000-000000000004" ] } } } } }, "00000000-0000-0000-0000-00000000000a": { "id": "00000000-0000-0000-0000-00000000000a", "alias": "receiver_contract", "name": "Receiver contract", "description": "", "parent": null, "body": { "Sa": { "Shared": { "Interface": { "items": [ "00000000-0000-0000-0000-000000000004" ] } } } } }, "00000000-0000-0000-0000-00000000000b": { "id": "00000000-0000-0000-0000-00000000000b", "alias": "output", "name": "Output", "description": "", "parent": "00000000-0000-0000-0000-000000000002", "body": { "Sa": { "Shared": { "Port": { "contract": { "FunctionOutput": { "outgoing_items": [ "00000000-0000-0000-0000-000000000004" ] } }, "legacy": null } } } } }, "00000000-0000-0000-0000-00000000000c": { "id": "00000000-0000-0000-0000-00000000000c", "alias": "input", "name": "Input", "description": "", "parent": "00000000-0000-0000-0000-000000000003", "body": { "Sa": { "Shared": { "Port": { "contract": { "FunctionInput": { "incoming_items": [ "00000000-0000-0000-0000-000000000004" ] } }, "legacy": null } } } } }, "00000000-0000-0000-0000-00000000000e": { "id": "00000000-0000-0000-0000-00000000000e", "alias": "scenario", "name": "Position scenario", "description": "", "parent": null, "body": { "Sa": { "Shared": { "Scenario": { "viewpoint": "Functional", "context": null, "precondition": "", "postcondition": "", "steps": [ "00000000-0000-0000-0000-000000000011" ] } } } } }, "00000000-0000-0000-0000-00000000000f": { "id": "00000000-0000-0000-0000-00000000000f", "alias": "sender", "name": "Sender", "description": "", "parent": "00000000-0000-0000-0000-00000000000e", "body": { "Sa": { "Shared": { "Lifeline": { "represented": "00000000-0000-0000-0000-000000000002" } } } } }, "00000000-0000-0000-0000-000000000010": { "id": "00000000-0000-0000-0000-000000000010", "alias": "receiver", "name": "Receiver", "description": "", "parent": "00000000-0000-0000-0000-00000000000e", "body": { "Sa": { "Shared": { "Lifeline": { "represented": "00000000-0000-0000-0000-000000000003" } } } } }, "00000000-0000-0000-0000-000000000011": { "id": "00000000-0000-0000-0000-000000000011", "alias": "message", "name": "Position", "description": "", "parent": "00000000-0000-0000-0000-00000000000e", "body": { "Sa": { "Shared": { "Occurrence": { "body": { "Exchange": { "exchange": "00000000-0000-0000-0000-00000000000d", "sender": "00000000-0000-0000-0000-00000000000f", "receiver": "00000000-0000-0000-0000-000000000010", "message_kind": "Asynchronous", "reply_to": null, "values": [ { "field": "00000000-0000-0000-0000-000000000006", "expression": "navigation.latitude" } ] } }, "precondition": "", "postcondition": "" } } } } } }, "relations": { "00000000-0000-0000-0000-00000000000d": { "id": "00000000-0000-0000-0000-00000000000d", "alias": "position_exchange", "name": "Position exchange", "description": "", "body": { "FunctionalExchange": { "source": "00000000-0000-0000-0000-000000000002", "target": "00000000-0000-0000-0000-000000000003", "source_port": "00000000-0000-0000-0000-00000000000b", "target_port": "00000000-0000-0000-0000-00000000000c", "items": [ "00000000-0000-0000-0000-000000000004" ] } } } }, "diagrams": {}, "artifact_links": {}, "traces": {} }