github.com/qri-io/qri@v0.10.1-0.20220104210721-c771715036cb/base/dsfs/testdata/all_fields/input.dataset.json (about)

     1  {
     2    "qri": "ds:0",
     3    "commit": {
     4      "qri": "cm:0",
     5      "title": "I'm a commit"
     6    },
     7    "meta": {
     8      "qri": "md:0",
     9      "title": "dataset with all components example"
    10    },
    11    "transform": {
    12      "qri": "tf:0",
    13      "syntax": "sql",
    14      "scriptPath": "foo.star",
    15      "structure": {
    16        "qri": "st:0",
    17        "format": "csv",
    18        "formatConfig": {
    19          "headerRow": true
    20        },
    21        "schema": {
    22          "type": "array",
    23          "items": {
    24            "type": "array",
    25            "items": [
    26              {
    27                "title": "title",
    28                "type": "string"
    29              },
    30              {
    31                "title": "duration",
    32                "type": "integer"
    33              }
    34            ]
    35          }
    36        }
    37      },
    38      "resources": {
    39        "foo": {"path":"/not/a/real/path"}
    40      }
    41    },
    42    "structure": {
    43      "qri": "st:0",
    44      "format": "csv",
    45      "formatConfig": {
    46        "headerRow": true
    47      },
    48      "schema": {
    49        "type": "array",
    50        "items": {
    51          "type": "array",
    52          "items": [
    53            {
    54              "title": "title",
    55              "type": "string"
    56            },
    57            {
    58              "title": "duration",
    59              "type": "integer"
    60            }
    61          ]
    62        }
    63      }
    64    },
    65    "viz":{
    66      "format": "html",
    67      "qri": "vz:0",
    68      "scriptPath": "bar"
    69    }
    70  }