Docupedia Fetcher Page Metadata

Docupedia Fetcher Page Metadata#

The fetcher will retrieve a Docupedia page content along with the metadata and stores it in the evidence folder as a JSON file named after OUTPUT_NAME.

Example Metadata JSON file#

Below is an example of the metadata structure

  1{
  2  "id": "<string>",
  3  "type": "<string>",
  4  "status": "<string>",
  5  "title": "<string>",
  6  "space": {
  7    "id": 123,
  8    "key": "<string>",
  9    "name": "<string>",
 10    "type": "<string>",
 11    "_links": {
 12      "webui": "<string>",
 13      "self": "<string>"
 14    },
 15    "_expandable": {
 16      "metadata": "",
 17      "icon": "",
 18      "description": "",
 19      "retentionPolicy": "",
 20      "homepage": "<string>"
 21    }
 22  },
 23  "history": {
 24    "latest": true,
 25    "createdBy": {
 26      "type": "<string>",
 27      "username": "<string>",
 28      "userKey": "<string>",
 29      "profilePicture": {
 30        "path": "<string>",
 31        "width": 123,
 32        "height": 123,
 33        "isDefault": false
 34      },
 35      "displayName": "<string>",
 36      "_links": {
 37        "self": "<string>"
 38      },
 39      "_expandable": {
 40        "status": "<string>"
 41      }
 42    },
 43    "createdDate": "<string>",
 44    "_links": {
 45      "self": "<string>"
 46    },
 47    "_expandable": {
 48      "lastUpdated": "<string>",
 49      "previousVersion": "<string>",
 50      "contributors": "<string>",
 51      "nextVersion": "<string>"
 52    }
 53  },
 54  "version": {
 55    "by": {
 56      "type": "<string>",
 57      "username": "<string>",
 58      "userKey": "<string>",
 59      "profilePicture": {
 60        "path": "<string>",
 61        "width": 123,
 62        "height": 123,
 63        "isDefault": false
 64      },
 65      "displayName": "<string>",
 66      "_links": {
 67        "self": "<string>"
 68      },
 69      "_expandable": {
 70        "status": "<string>"
 71      }
 72    },
 73    "when": "<string>",
 74    "number": 123,
 75    "minorEdit": false,
 76    "hidden": false,
 77    "_links": {
 78      "self": "<string>"
 79    },
 80    "_expandable": {
 81      "content": "<string>"
 82    }
 83  },
 84  "extensions": {
 85    "position": "<string>"
 86  },
 87  "_links": {
 88    "webui": "<string>",
 89    "edit": "<string>",
 90    "tinyui": "<string>",
 91    "collection": "<string>",
 92    "base": "<string>",
 93    "context": "<string>",
 94    "self": "<string>"
 95  },
 96  "_expandable": {
 97    "container": "<string>",
 98    "metadata": "<string>",
 99    "operations": "<string>",
100    "children": "<string>",
101    "restrictions": "<string>n",
102    "ancestors": "<string>",
103    "body": "<string>",
104    "descendants": "<string>"
105  }
106}

The complete metadata schema definition can be found here