LogoLogo
  • Home
  • Protocol Overview
    • Introduction
    • Architecture
  • Protocol Guide
    • Get Started
      • Components
      • Definition of Terms
    • Build a dApp
      • Network Configuration
      • TuumIO Data Node
      • TuumIO Ledgers
      • Roles and Journeys
      • Card Definitions
        • Tiles
        • Functions
      • Events and Event Handlers
      • Node Event Handlers
      • Python Event Handlers
      • Transactional Data
    • Test and Publish
      • Publishing the protocol
      • Testing the app using BrowserStack
  • TuumIO Wallet User Manual
    • About TuumIO Wallet
    • User Access
    • SOLVE Tokens
    • Caira - AI Assistant
    • User Profile
    • Care.Trials
      • Overview
      • Participant
      • Site Admin
      • Trial Admin
      • Physician
      • Nurse
  • Tutorials
    • Create an Event Booker
    • Create a Library Explorer
  • Support
Powered by GitBook
LogoLogo

© Solve.Care. All rights reserved.

On this page

Was this helpful?

Edit on GitHub
Export as PDF
  1. Protocol Guide
  2. Build a dApp

Transactional Data

This section shows the structure and attributes of transactional data.

Transactional data contains configurable data that can be referenced from roles, cards, or events within the network. The following example shows the definition of transactional data in td/td-default.json.

Example:
{
    "id": "td-default",
    "path": "td/td-default.json",
    "definition": {
        "collection": "DEFAULT",
        "description": "DEFAULT",
        "name": "DEFAULT",
        "resource": "DEFAULT",
        "status": "RELEASED",
        "type": "TRANSACTIONAL_DATA"
    },
    "structure": {
        "attributes": [
            {
                "code": "transactionalGuid",
                "name": "transactionalGuid",
                "type_definition": {
                    "type": "string"
                },
                "order": 1,
                "required": false,
                "system": false
            },
            {
                "code": "createdAt",
                "name": "createdAt",
                "type_definition": {
                    "type": "timestamp"
                },
                "order": 2,
                "required": false,
                "system": false
            },
            {
                "code": "answer",
                "name": "answer",
                "type_definition": {
                    "type": "string"
                },
                "order": 3,
                "required": false,
                "system": false
            },
            {
                "name": "senderNodeAddress",
                "code": "senderNodeAddress",
                "type_definition": {
                    "type": "string"
                },
                "required": false,
                "system": false,
                "order": 4
            }
        ]
    }
}
PreviousPython Event HandlersNextTest and Publish

Last updated 11 months ago

Was this helpful?