valueflows

valueflows docs
git clone https://s.sonu.ch/~srfsh/valueflows.git
Log | Files | Refs | README

move-crypto.yaml (1893B)


      1 # Move of crypto-currency for one agent, ignoring the fee
      2 
      3 '@context':
      4   - https://git.io/vf-examples-jsonld-context
      5   - bob: https://bob.example/
      6     fair: https://faircoin.example/
      7 
      8 '@id': rgh:valueflows/valueflows/master/examples/move-crypto.yaml
      9 '@graph':
     10 
     11   # accounts before
     12 
     13   - '@id': fair:6fb358a3-2859-4d6a-a4fa-431603ee70f5
     14     '@type': EconomicResource
     15     skos:note: Bob's first wallet address
     16     classifiedAs: wd:Q21002847 # FairCoin
     17     accountingQuantity:
     18       om2:hasUnit: om2:one
     19       om2:hasNumericalValue: 540
     20 
     21   - '@id': fair:3be5259d-10f0-431c-9fec-9c0c15a461d3
     22     '@type': EconomicResource
     23     skos:note: Bob's second wallet address 
     24     classifiedAs: wd:Q21002847 # FairCoin
     25     accountingQuantity:
     26       om2:hasUnit: om2:one
     27       om2:hasNumericalValue: 480
     28 
     29   # move between Bob's accounts
     30 
     31   - '@id': urn:uuid:e5afaa28-1080-4912-835b-46883efb83e6
     32     '@type': EconomicEvent
     33     action: move
     34     resourceClassifiedAs: wd:Q21002847 # FairCoin
     35     resourceInventoriedAs: fair:6fb358a3-2859-4d6a-a4fa-431603ee70f5 # Bob's first wallet address
     36     toResourceInventoriedAs: fair:3be5259d-10f0-431c-9fec-9c0c15a461d3 # Bob's second wallet address
     37     provider: https://bob.example
     38     receiver: https://bob.example
     39     resourceQuantity:
     40       om2:hasUnit: om2:one
     41       om2:hasNumericalValue: 100
     42     hasPointInTime: 2019-04-18T8:30:08-5:00
     43 
     44   # accounts after
     45 
     46   - '@id': fair:b6fb358a3-2859-4d6a-a4fa-431603ee70f5
     47     '@type': EconomicResource
     48     skos:note: Bob's first wallet address 
     49     classifiedAs: wd:Q21002847 # FairCoin
     50     accountingQuantity:
     51       om2:hasUnit: om2:one
     52       om2:hasNumericalValue: 440
     53 
     54   - '@id': fair:3be5259d-10f0-431c-9fec-9c0c15a461d3
     55     '@type': EconomicResource
     56     skos:note: Bob's second wallet address 
     57     classifiedAs: wd:Q21002847 # FairCoin
     58     accountingQuantity:
     59       om2:hasUnit: om2:one
     60       om2:hasNumericalValue: 580