{
  "$schema": "https://datapackage.org/profiles/2.0/datapackage.json",
  "name": "golden-horse-2018-nominations",
  "title": "第55屆金馬獎入圍者–電影網絡",
  "version": "1.0.0",
  "description": "55th Golden Horse Awards nominee–film network (2018)",
  "licenses": [
    {
      "name": "CC-BY-4.0",
      "path": "https://creativecommons.org/licenses/by/4.0/"
    }
  ],
  "x-netscied": {
    "kind": "graph",
    "directed": false,
    "multi_edges": true
  },
  "resources": [
    {
      "name": "nodes",
      "path": "nodes.csv",
      "type": "table",
      "format": "csv",
      "mediatype": "text/csv",
      "encoding": "utf-8",
      "schema": {
        "fields": [
          {
            "name": "index",
            "type": "integer"
          },
          {
            "name": "id",
            "type": "string"
          },
          {
            "name": "kind",
            "type": "string"
          },
          {
            "name": "label",
            "type": "string"
          },
          {
            "name": "label_en",
            "type": "string"
          }
        ],
        "primaryKey": [
          "id"
        ]
      }
    },
    {
      "name": "edges",
      "path": "edges.csv",
      "type": "table",
      "format": "csv",
      "mediatype": "text/csv",
      "encoding": "utf-8",
      "schema": {
        "fields": [
          {
            "name": "id",
            "type": "string"
          },
          {
            "name": "source",
            "type": "string"
          },
          {
            "name": "target",
            "type": "string"
          },
          {
            "name": "category",
            "type": "string"
          },
          {
            "name": "category_en",
            "type": "string"
          },
          {
            "name": "winner",
            "type": "boolean"
          }
        ],
        "primaryKey": [
          "id"
        ],
        "foreignKeys": [
          {
            "fields": [
              "source"
            ],
            "reference": {
              "resource": "nodes",
              "fields": [
                "id"
              ]
            }
          },
          {
            "fields": [
              "target"
            ],
            "reference": {
              "resource": "nodes",
              "fields": [
                "id"
              ]
            }
          }
        ]
      }
    }
  ]
}
