xref: /haiku/src/apps/haikudepot/server/schema/dumpexportpkg.json (revision 1e60bdeab63fa7a57bc9a55b032052e95a18bd2c)
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    "modifyTimestamp": {
12      "type": "integer"
13    },
14    "prominenceOrdering": {
15      "type": "integer"
16    },
17    "derivedRating": {
18      "type": "number"
19    },
20    "pkgScreenshots": {
21      "type": "array",
22      "items": {
23        "type": "object",
24        "javaType": "org.haiku.haikudepotserver.pkg.model.dumpexport.DumpExportPkgScreenshot",
25        "properties": {
26          "code": {
27            "type": "string"
28          },
29          "length": {
30            "type": "integer"
31          },
32          "height": {
33            "type": "integer"
34          },
35          "width": {
36            "type": "integer"
37          },
38          "ordering": {
39            "type": "integer"
40          }
41        }
42      }
43    },
44    "pkgCategories": {
45      "type": "array",
46      "items": {
47        "type": "object",
48        "javaType": "org.haiku.haikudepotserver.pkg.model.dumpexport.DumpExportPkgCategory",
49        "properties": {
50          "code": {
51            "type": "string"
52          }
53        }
54      }
55    },
56    "pkgVersions": {
57      "type": "array",
58      "items": {
59        "type": "object",
60        "javaType": "org.haiku.haikudepotserver.pkg.model.dumpexport.DumpExportPkgVersion",
61        "properties": {
62          "major": {
63            "type": "string"
64          },
65          "minor": {
66            "type": "string"
67          },
68          "micro": {
69            "type": "string"
70          },
71          "preRelease": {
72            "type": "string"
73          },
74          "revision": {
75            "type": "integer"
76          },
77          "architectureCode": {
78            "type": "string"
79          },
80          "title": {
81            "type": "string"
82          },
83          "summary": {
84            "type": "string"
85          },
86          "description": {
87            "type": "string"
88          },
89          "payloadLength": {
90            "type": "integer"
91          }
92        }
93      }
94    }
95  }
96}