github.com/qri-io/qri@v0.10.1-0.20220104210721-c771715036cb/cmd/testdata/expect/TestSaveThenOverrideTransform.json (about)

     1  {
     2    "bodyPath": "/ipfs/QmXhsUK6vGZrqarhw9Z8RCXqhmEpvtVByKtaYVarbDZ5zn",
     3    "commit": {
     4      "author": {
     5        "id": "QmeL2mdVka1eahKENjehK6tBxkkpk5dNQ1qMcgWi7Hrb4B"
     6      },
     7      "message": "transform added",
     8      "path": "/ipfs/Qmd1WvnWMSRPW79bz6Xsw7qbrU9pdw1rinj9ZEBu6aWeS7",
     9      "qri": "cm:0",
    10      "signature": "oKWAhSs8tosCKuv5kZChkfQMuNNKluRcrkIa3fluIOsmPhEmuKz2KvpwJAaAalUrhJSLmblOsfdW+nFCO3pjJwAzfwcueCv/vnIeAfM5io1RL+aUMakBeAflYYe0SUo+xdy+TiKXiX+AElcFUEhqCfG5fd7MSJEK6Whqf/pOeVWYsTE/YYHVTXm2DJOUOAmhUETO7+IKqMyl/HKmYtJTlmpnGKcA6On539nINIyGfRFMlg/H1ZXhN5oGXvWIfjri7TuJtPXtMQVH2h0Ikqgyr8gAwhyPGoxSTZ48KVfaNKnWT5SC+qszdN8vf39Zw3a0/jnBZgY8jtXTm/a/yq9oZw==",
    11      "timestamp": "2001-01-01T01:02:01.000000001Z",
    12      "title": "transform added",
    13      "runID": "4f6d675a-6f6d-4269-a573-213f213f214f"
    14    },
    15    "meta": {
    16      "path": "/ipfs/QmPTny3VHAB5BcP99r6xhK7SGnmDFjpC8cHXLCrHNn2tZB",
    17      "qri": "md:0",
    18      "title": "example movie data"
    19    },
    20    "path": "/ipfs/QmNVJu9Lv7CeQRtPnSFJ7uBaCUEg3UXEPUTyNUKVWW6t1M",
    21    "previousPath": "/ipfs/QmfSR1yRPszTNeBrHug3SDZaUsrJHFLGeezVp3T9Hfh1gN",
    22    "qri": "ds:0",
    23    "structure": {
    24      "checksum": "/ipfs/QmXhsUK6vGZrqarhw9Z8RCXqhmEpvtVByKtaYVarbDZ5zn",
    25      "depth": 2,
    26      "errCount": 1,
    27      "entries": 8,
    28      "format": "csv",
    29      "formatConfig": {
    30        "headerRow": true,
    31        "lazyQuotes": true
    32      },
    33      "length": 224,
    34      "path": "/ipfs/QmSxuAVwd9pPf9c7WMu1gjUsHSLBLRuxQcFjyu9mfsA2TQ",
    35      "qri": "st:0",
    36      "schema": {
    37        "items": {
    38          "items": [
    39            {
    40              "title": "movie_title",
    41              "type": "string"
    42            },
    43            {
    44              "title": "duration",
    45              "type": "integer"
    46            }
    47          ],
    48          "type": "array"
    49        },
    50        "type": "array"
    51      }
    52    },
    53    "stats": {
    54      "path": "/ipfs/QmbJeH82n56LBGBsRWxmSctrUy1Urr1epePSpQ8bMgufsG",
    55      "qri": "sa:0",
    56      "stats": [
    57        {
    58          "count": 8,
    59          "frequencies": {
    60            "Avatar ": 1,
    61            "John Carter ": 1,
    62            "Pirates of the Caribbean: At World's End... 41 chars (2)": 1,
    63            "Spectre ": 1,
    64            "Spider-Man 3 ": 1,
    65            "Star Wars: Episode VII - The Force Awake... 55 chars (5)": 1,
    66            "Tangled ": 1,
    67            "The Dark Knight Rises ": 1
    68          },
    69          "maxLength": 55,
    70          "minLength": 7,
    71          "type": "string",
    72          "unique": 8
    73        },
    74        {
    75          "count": 7,
    76          "histogram": {
    77            "bins": [
    78              100,
    79              132,
    80              148,
    81              156,
    82              164,
    83              169,
    84              178,
    85              179
    86            ],
    87            "frequencies": [
    88              1,
    89              1,
    90              1,
    91              1,
    92              1,
    93              1,
    94              1
    95            ]
    96          },
    97          "max": 178,
    98          "mean": 149.57142857142858,
    99          "median": 156,
   100          "min": 100,
   101          "type": "numeric"
   102        }
   103      ]
   104    },
   105    "transform": {
   106      "qri": "tf:0",
   107      "scriptPath": "/ipfs/QmTBrUJiu2omdjzYMcqfjHFS33wDtNukf8KCs8v9NfTUdo",
   108      "steps": [
   109        {
   110          "name": "",
   111          "syntax": "starlark",
   112          "category": "",
   113          "script": "# transform that doesn't change anything.\nds = dataset.latest()\nprint(\"hello Qri! \\n\")\ndataset.commit(ds)"
   114        }
   115      ]
   116    }
   117  }