xref: /haiku/src/apps/haikudepot/server/schema/dumpexportreference.json (revision dd2a1e350b303b855a50fd64e6cb55618be1ae6a)
1{
2  "$schema": "http://json-schema.org/schema#",
3  "id": "http://depot.haiku-os.org/schema/reference/dumpreference.json",
4  "title": "Reference",
5  "javaType": "org.haiku.haikudepotserver.reference.model.dumpexport.DumpExportReference",
6  "type": "object",
7  "properties": {
8    "naturalLanguages": {
9      "type": "array",
10      "items": {
11        "type": "object",
12        "javaType": "org.haiku.haikudepotserver.reference.model.dumpexport.DumpExportReferenceNaturalLanguage",
13        "properties": {
14          "code": {
15            "type": "string"
16          },
17          "name": {
18            "type": "string"
19          },
20          "isPopular": {
21            "type": "boolean"
22          },
23          "hasData": {
24            "type": "boolean",
25            "description": "True if there are any user ratings or localizations present for this language."
26          },
27          "hasLocalizationMessages": {
28            "type": "boolean",
29            "description": "True if there are localizations for the HaikuDepotServer application present for this language."
30          }
31        }
32      }
33    },
34    "pkgCategories": {
35      "type": "array",
36      "items": {
37        "type": "object",
38        "javaType": "org.haiku.haikudepotserver.reference.model.dumpexport.DumpExportReferencePkgCategory",
39        "properties": {
40          "code": {
41            "type": "string"
42          },
43          "name": {
44            "type": "string"
45          }
46        }
47      }
48    },
49    "userRatingStabilities": {
50      "type": "array",
51      "items": {
52        "type": "object",
53        "javaType": "org.haiku.haikudepotserver.reference.model.dumpexport.DumpExportReferenceUserRatingStability",
54        "properties": {
55          "code": {
56            "type": "string"
57          },
58          "name": {
59            "type": "string"
60          },
61          "ordering": {
62            "type": "integer"
63          }
64        }
65      }
66    },
67    "countries": {
68      "type": "array",
69      "items": {
70        "type": "object",
71        "javaType": "org.haiku.haikudepotserver.reference.model.dumpexport.DumpExportReferenceCountry",
72        "properties": {
73          "code": {
74            "type": "string"
75          },
76          "name": {
77            "type": "string"
78          }
79        }
80      }
81    }
82  }
83}