xref: /haiku/src/apps/haikudepot/server/schema/dumpexportpkg.json (revision a5c0d1a80e18f50987966fda2005210092d7671b)
1{
2  "$schema": "http://json-schema.org/schema#",
3  "id": "http://depot.haiku-os.org/schema/pkg/dumpexport.json",
4  "title": "Pkg",
5  "javaType": "org.haiku.haikudepotserver.pkg.model.dumpexport.DumpExportPkg",
6  "type": "object",
7  "properties": {
8    "name": {
9      "type": "string"
10    },
11    "createTimestamp": {
12      "type": "integer"
13    },
14    "modifyTimestamp": {
15      "type": "integer"
16    },
17    "prominenceOrdering": {
18      "type": "integer"
19    },
20    "derivedRating": {
21      "type": "number"
22    },
23    "hasChangelog": {
24      "type": "boolean"
25    },
26    "pkgScreenshots": {
27      "type": "array",
28      "items": {
29        "type": "object",
30        "javaType": "org.haiku.haikudepotserver.pkg.model.dumpexport.DumpExportPkgScreenshot",
31        "properties": {
32          "code": {
33            "type": "string"
34          },
35          "length": {
36            "type": "integer"
37          },
38          "height": {
39            "type": "integer"
40          },
41          "width": {
42            "type": "integer"
43          },
44          "ordering": {
45            "type": "integer"
46          }
47        }
48      }
49    },
50    "pkgCategories": {
51      "type": "array",
52      "items": {
53        "type": "object",
54        "javaType": "org.haiku.haikudepotserver.pkg.model.dumpexport.DumpExportPkgCategory",
55        "properties": {
56          "code": {
57            "type": "string"
58          }
59        }
60      }
61    },
62    "pkgVersions": {
63      "type": "array",
64      "items": {
65        "type": "object",
66        "javaType": "org.haiku.haikudepotserver.pkg.model.dumpexport.DumpExportPkgVersion",
67        "properties": {
68          "createTimestamp": {
69            "type": "integer"
70          },
71          "modifyTimestamp": {
72            "type": "integer"
73          },
74          "major": {
75            "type": "string"
76          },
77          "minor": {
78            "type": "string"
79          },
80          "micro": {
81            "type": "string"
82          },
83          "preRelease": {
84            "type": "string"
85          },
86          "revision": {
87            "type": "integer"
88          },
89          "architectureCode": {
90            "type": "string"
91          },
92          "title": {
93            "type": "string"
94          },
95          "summary": {
96            "type": "string"
97          },
98          "description": {
99            "type": "string"
100          },
101          "payloadLength": {
102            "type": "integer"
103          }
104        }
105      }
106    }
107  }
108}
109