lib

Core libraries for Radroots
git clone https://radroots.dev/git/lib.git
Log | Files | Refs | README

order_acceptance.v1.json (8080B)


      1 {
      2   "provenance": "Synthetic seller order preparation cases; independent Python sorted ASCII keys and compact UTF-8 encoding implement the governed canonical subset. No Rust writer or product data is consumed.",
      3   "oracle_python": "3.14.7",
      4   "cases": [
      5     {
      6       "wire": {
      7         "type": "orders.accept",
      8         "context": {
      9           "actor": {
     10             "grant_id": "0303030303030303030303030303030303030303030303030303030303030303",
     11             "organization": null,
     12             "participant": "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798",
     13             "role": "seller"
     14           },
     15           "approval": null,
     16           "authority": {
     17             "executor_id": "0202020202020202020202020202020202020202020202020202020202020202",
     18             "generation": "1"
     19           },
     20           "correlation_id": null,
     21           "expected": {
     22             "agreement": null,
     23             "buyer_head": "2121212121212121212121212121212121212121212121212121212121212121",
     24             "checkpoint": {
     25               "coverage": "scope_satisfied",
     26               "digest": "2222222222222222222222222222222222222222222222222222222222222222",
     27               "missing": [],
     28               "sequence": "1"
     29             },
     30             "order_id": "2323232323232323232323232323232323232323232323232323232323232323",
     31             "seller_sequence": "0"
     32           },
     33           "not_after": "200",
     34           "operation_id": "0707070707070707070707070707070707070707070707070707070707070707",
     35           "route_digest": "0606060606060606060606060606060606060606060606060606060606060606",
     36           "workspace_id": "0101010101010101010101010101010101010101010101010101010101010101"
     37         },
     38         "input": {
     39           "request": "2121212121212121212121212121212121212121212121212121212121212121",
     40           "terms_digest": "2424242424242424242424242424242424242424242424242424242424242424",
     41           "allocation": {
     42             "type": "automatic"
     43           }
     44         }
     45       },
     46       "semantic_canonical_utf8": "{\"context\":{\"actor\":{\"grant_id\":\"0303030303030303030303030303030303030303030303030303030303030303\",\"organization\":null,\"participant\":\"79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798\",\"role\":\"seller\"},\"approval\":null,\"authority\":{\"executor_id\":\"0202020202020202020202020202020202020202020202020202020202020202\",\"generation\":\"1\"},\"expected\":{\"agreement\":null,\"buyer_head\":\"2121212121212121212121212121212121212121212121212121212121212121\",\"checkpoint\":{\"coverage\":\"scope_satisfied\",\"digest\":\"2222222222222222222222222222222222222222222222222222222222222222\",\"missing\":[],\"sequence\":\"1\"},\"order_id\":\"2323232323232323232323232323232323232323232323232323232323232323\",\"seller_sequence\":\"0\"},\"not_after\":\"200\",\"operation_id\":\"0707070707070707070707070707070707070707070707070707070707070707\",\"route_digest\":\"0606060606060606060606060606060606060606060606060606060606060606\",\"workspace_id\":\"0101010101010101010101010101010101010101010101010101010101010101\"},\"input\":{\"allocation\":{\"type\":\"automatic\"},\"request\":\"2121212121212121212121212121212121212121212121212121212121212121\",\"terms_digest\":\"2424242424242424242424242424242424242424242424242424242424242424\"},\"type\":\"orders.accept\"}",
     47       "command_digest": "d11735ec58bc026f429f6cb08808a27b460c16867356904b1312c3df2ebacfb0",
     48       "approval_intent_digest": "0ebe2a7998b6beaaa9a1c2c0ef618748f88610e2559e6753ee5ef3fd88a8ae83"
     49     },
     50     {
     51       "wire": {
     52         "type": "orders.accept",
     53         "context": {
     54           "actor": {
     55             "grant_id": "0303030303030303030303030303030303030303030303030303030303030303",
     56             "organization": null,
     57             "participant": "79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798",
     58             "role": "seller"
     59           },
     60           "approval": null,
     61           "authority": {
     62             "executor_id": "0202020202020202020202020202020202020202020202020202020202020202",
     63             "generation": "1"
     64           },
     65           "correlation_id": null,
     66           "expected": {
     67             "agreement": null,
     68             "buyer_head": "2121212121212121212121212121212121212121212121212121212121212121",
     69             "checkpoint": {
     70               "coverage": "scope_satisfied",
     71               "digest": "2222222222222222222222222222222222222222222222222222222222222222",
     72               "missing": [],
     73               "sequence": "1"
     74             },
     75             "order_id": "2323232323232323232323232323232323232323232323232323232323232323",
     76             "seller_sequence": "0"
     77           },
     78           "not_after": "200",
     79           "operation_id": "0707070707070707070707070707070707070707070707070707070707070707",
     80           "route_digest": "0606060606060606060606060606060606060606060606060606060606060606",
     81           "workspace_id": "0101010101010101010101010101010101010101010101010101010101010101"
     82         },
     83         "input": {
     84           "request": "2121212121212121212121212121212121212121212121212121212121212121",
     85           "terms_digest": "2424242424242424242424242424242424242424242424242424242424242424",
     86           "allocation": {
     87             "type": "explicit",
     88             "allocations": [
     89               {
     90                 "line_id": "2525252525252525252525252525252525252525252525252525252525252525",
     91                 "pool_id": "2626262626262626262626262626262626262626262626262626262626262626",
     92                 "quantity": {
     93                   "amount": "250",
     94                   "unit": "g"
     95                 },
     96                 "expected_pool_version": "1"
     97               },
     98               {
     99                 "line_id": "2525252525252525252525252525252525252525252525252525252525252525",
    100                 "pool_id": "2727272727272727272727272727272727272727272727272727272727272727",
    101                 "quantity": {
    102                   "amount": "0.5",
    103                   "unit": "kg"
    104                 },
    105                 "expected_pool_version": "4"
    106               }
    107             ]
    108           }
    109         }
    110       },
    111       "semantic_canonical_utf8": "{\"context\":{\"actor\":{\"grant_id\":\"0303030303030303030303030303030303030303030303030303030303030303\",\"organization\":null,\"participant\":\"79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798\",\"role\":\"seller\"},\"approval\":null,\"authority\":{\"executor_id\":\"0202020202020202020202020202020202020202020202020202020202020202\",\"generation\":\"1\"},\"expected\":{\"agreement\":null,\"buyer_head\":\"2121212121212121212121212121212121212121212121212121212121212121\",\"checkpoint\":{\"coverage\":\"scope_satisfied\",\"digest\":\"2222222222222222222222222222222222222222222222222222222222222222\",\"missing\":[],\"sequence\":\"1\"},\"order_id\":\"2323232323232323232323232323232323232323232323232323232323232323\",\"seller_sequence\":\"0\"},\"not_after\":\"200\",\"operation_id\":\"0707070707070707070707070707070707070707070707070707070707070707\",\"route_digest\":\"0606060606060606060606060606060606060606060606060606060606060606\",\"workspace_id\":\"0101010101010101010101010101010101010101010101010101010101010101\"},\"input\":{\"allocation\":{\"allocations\":[{\"expected_pool_version\":\"1\",\"line_id\":\"2525252525252525252525252525252525252525252525252525252525252525\",\"pool_id\":\"2626262626262626262626262626262626262626262626262626262626262626\",\"quantity\":{\"amount\":\"250\",\"unit\":\"g\"}},{\"expected_pool_version\":\"4\",\"line_id\":\"2525252525252525252525252525252525252525252525252525252525252525\",\"pool_id\":\"2727272727272727272727272727272727272727272727272727272727272727\",\"quantity\":{\"amount\":\"0.5\",\"unit\":\"kg\"}}],\"type\":\"explicit\"},\"request\":\"2121212121212121212121212121212121212121212121212121212121212121\",\"terms_digest\":\"2424242424242424242424242424242424242424242424242424242424242424\"},\"type\":\"orders.accept\"}",
    112       "command_digest": "36e277988011df9deb17998586d99f7246062b83e0dcfc737bdbf3380529987e",
    113       "approval_intent_digest": "01060576ece96f8180245fbde29907a9d3bc73b5bb043a6c0b3b969b92704fc5"
    114     }
    115   ]
    116 }