github.com/dgraph-io/dgraph@v1.2.8/graphql/e2e/directives/test_data.json (about)

     1  [
     2      {
     3          "uid": "_:bangladesh",
     4          "dgraph.type": "Country",
     5          "Country.name": "Bangladesh"
     6      },
     7      {
     8          "uid": "_:mozambique",
     9          "dgraph.type": "Country",
    10          "Country.name": "Mozambique"
    11      },
    12      {
    13          "uid": "_:angola",
    14          "dgraph.type": "Country",
    15          "Country.name": "Angola"
    16      },
    17      {
    18          "uid": "_:author1",
    19          "dgraph.type": "dgraph.author",
    20          "dgraph.author.name": "Ann Author",
    21          "dgraph.author.dob": "2000-01-01",
    22          "dgraph.author.reputation": 6.6,
    23          "dgraph.author.country": { "uid": "_:bangladesh" },
    24          "dgraph.author.posts": [{ "uid": "_:post1" }, { "uid": "_:post3" }]
    25      },
    26      {
    27          "uid": "_:author2",
    28          "dgraph.type": "dgraph.author",
    29          "dgraph.author.name": "Ann Other Author",
    30          "dgraph.author.dob": "1988-01-01",
    31          "dgraph.author.reputation": 8.9,
    32          "dgraph.author.country": { "uid": "_:angola" },
    33          "dgraph.author.posts": [{ "uid": "_:post2" }, { "uid": "_:post4" }]
    34      },
    35      {
    36          "uid": "_:author3",
    37          "dgraph.type": "dgraph.author",
    38          "dgraph.author.name": "Three Author",
    39          "dgraph.author.dob": "2001-01-01",
    40          "dgraph.author.reputation": 9.1,
    41          "dgraph.author.country": { "uid": "_:bangladesh" }
    42      },
    43      {
    44          "uid": "_:post1",
    45          "dgraph.type": "myPost",
    46          "myPost.title": "Introducing GraphQL in Dgraph",
    47          "text": "The worlds best graph database, now with the best GraphQL support",
    48          "myPost.tags": ["GraphQL", "Dgraph", "Database"],
    49          "dgraph.topic": "GraphQL",
    50          "myPost.numLikes": 100,
    51          "is_published": true,
    52          "myPost.postType": "Fact",
    53          "post.author": { "uid": "_:author1" }
    54      },
    55      {
    56          "uid": "_:post2",
    57          "dgraph.type": "myPost",
    58          "myPost.title": "Learning GraphQL in Dgraph",
    59          "text": "Where do I learn more about GraphQL support in Dgraph?",
    60          "myPost.tags": ["GraphQL", "Dgraph"],
    61          "dgraph.topic": "Learn",
    62          "myPost.numLikes": 87,
    63          "is_published": true,
    64          "myPost.postType": "Question",
    65          "post.author": { "uid": "_:author2" }
    66      },
    67      {
    68          "uid": "_:post3",
    69          "dgraph.type": "myPost",
    70          "myPost.title": "GraphQL doco",
    71          "text": "I think the best place to learn GraphQL support in Dgraph is the excellent docs!",
    72          "myPost.tags": ["GraphQL", "Dgraph"],
    73          "dgraph.topic": "Docs",
    74          "myPost.numLikes": 77,
    75          "is_published": true,
    76          "myPost.postType": "Opinion",
    77          "post.author": { "uid": "_:author1" }
    78      },
    79      {
    80          "uid": "_:post4",
    81          "dgraph.type": "myPost",
    82          "myPost.title": "Random post",
    83          "text": "this post is not worth publishing",
    84          "myPost.tags": ["Random"],
    85          "dgraph.topic": "Random",
    86          "myPost.numLikes": 0,
    87          "is_published": false,
    88          "myPost.postType": "Fact",
    89          "post.author": { "uid": "_:author2" }
    90      },
    91      {
    92          "uid": "_:nsw",
    93          "dgraph.type": "State",
    94          "State.name": "NSW",
    95          "State.xcode": "nsw"
    96      },
    97      {
    98          "uid": "_:nusa",
    99          "dgraph.type": "State",
   100          "State.name": "Nusa",
   101          "State.xcode": "nusa"
   102      }
   103  ]