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