xref: /haiku/src/apps/haikudepot/server/schema/dumpexportpkg.json (revision 4b3c808edaaf626e7ee6cb0ee9d21dc96b173ee6)
181dab213SAndrew Lindesay{
281dab213SAndrew Lindesay  "$schema": "http://json-schema.org/schema#",
381dab213SAndrew Lindesay  "id": "http://depot.haiku-os.org/schema/pkg/dumpexport.json",
481dab213SAndrew Lindesay  "title": "Pkg",
581dab213SAndrew Lindesay  "javaType": "org.haiku.haikudepotserver.pkg.model.dumpexport.DumpExportPkg",
681dab213SAndrew Lindesay  "type": "object",
781dab213SAndrew Lindesay  "properties": {
881dab213SAndrew Lindesay    "name": {
981dab213SAndrew Lindesay      "type": "string"
1081dab213SAndrew Lindesay    },
110d4fa3e5SAndrew Lindesay    "createTimestamp": {
120d4fa3e5SAndrew Lindesay      "type": "integer"
130d4fa3e5SAndrew Lindesay    },
1481dab213SAndrew Lindesay    "modifyTimestamp": {
1581dab213SAndrew Lindesay      "type": "integer"
1681dab213SAndrew Lindesay    },
17*4b3c808eSAndrew Lindesay    "isNativeDesktop": {
18*4b3c808eSAndrew Lindesay      "type": "boolean",
19*4b3c808eSAndrew Lindesay      "description": "True if the package supplies a Haiku native desktop application."
20*4b3c808eSAndrew Lindesay    },
2181dab213SAndrew Lindesay    "prominenceOrdering": {
2281dab213SAndrew Lindesay      "type": "integer"
2381dab213SAndrew Lindesay    },
2481dab213SAndrew Lindesay    "derivedRating": {
2581dab213SAndrew Lindesay      "type": "number"
2681dab213SAndrew Lindesay    },
27*4b3c808eSAndrew Lindesay    "derivedRatingSampleSize": {
28*4b3c808eSAndrew Lindesay      "description": "This is the number of user ratings that were used to create the derived rating. It may be zero if there are no user ratings.",
29*4b3c808eSAndrew Lindesay      "type": "integer"
30*4b3c808eSAndrew Lindesay    },
318c6ebdecSAndrew Lindesay    "hasChangelog": {
328c6ebdecSAndrew Lindesay      "type": "boolean"
338c6ebdecSAndrew Lindesay    },
3481dab213SAndrew Lindesay    "pkgScreenshots": {
3581dab213SAndrew Lindesay      "type": "array",
3681dab213SAndrew Lindesay      "items": {
3781dab213SAndrew Lindesay        "type": "object",
3881dab213SAndrew Lindesay        "javaType": "org.haiku.haikudepotserver.pkg.model.dumpexport.DumpExportPkgScreenshot",
3981dab213SAndrew Lindesay        "properties": {
4081dab213SAndrew Lindesay          "code": {
4181dab213SAndrew Lindesay            "type": "string"
4281dab213SAndrew Lindesay          },
4381dab213SAndrew Lindesay          "length": {
4481dab213SAndrew Lindesay            "type": "integer"
4581dab213SAndrew Lindesay          },
4681dab213SAndrew Lindesay          "height": {
4781dab213SAndrew Lindesay            "type": "integer"
4881dab213SAndrew Lindesay          },
4981dab213SAndrew Lindesay          "width": {
5081dab213SAndrew Lindesay            "type": "integer"
5181dab213SAndrew Lindesay          },
5281dab213SAndrew Lindesay          "ordering": {
5381dab213SAndrew Lindesay            "type": "integer"
5481dab213SAndrew Lindesay          }
5581dab213SAndrew Lindesay        }
5681dab213SAndrew Lindesay      }
5781dab213SAndrew Lindesay    },
5881dab213SAndrew Lindesay    "pkgCategories": {
5981dab213SAndrew Lindesay      "type": "array",
6081dab213SAndrew Lindesay      "items": {
6181dab213SAndrew Lindesay        "type": "object",
6281dab213SAndrew Lindesay        "javaType": "org.haiku.haikudepotserver.pkg.model.dumpexport.DumpExportPkgCategory",
6381dab213SAndrew Lindesay        "properties": {
6481dab213SAndrew Lindesay          "code": {
6581dab213SAndrew Lindesay            "type": "string"
6681dab213SAndrew Lindesay          }
6781dab213SAndrew Lindesay        }
6881dab213SAndrew Lindesay      }
6981dab213SAndrew Lindesay    },
7081dab213SAndrew Lindesay    "pkgVersions": {
7181dab213SAndrew Lindesay      "type": "array",
7281dab213SAndrew Lindesay      "items": {
7381dab213SAndrew Lindesay        "type": "object",
7481dab213SAndrew Lindesay        "javaType": "org.haiku.haikudepotserver.pkg.model.dumpexport.DumpExportPkgVersion",
7581dab213SAndrew Lindesay        "properties": {
760d4fa3e5SAndrew Lindesay          "createTimestamp": {
770d4fa3e5SAndrew Lindesay            "type": "integer"
780d4fa3e5SAndrew Lindesay          },
790d4fa3e5SAndrew Lindesay          "modifyTimestamp": {
800d4fa3e5SAndrew Lindesay            "type": "integer"
810d4fa3e5SAndrew Lindesay          },
8281dab213SAndrew Lindesay          "major": {
8381dab213SAndrew Lindesay            "type": "string"
8481dab213SAndrew Lindesay          },
8581dab213SAndrew Lindesay          "minor": {
8681dab213SAndrew Lindesay            "type": "string"
8781dab213SAndrew Lindesay          },
8881dab213SAndrew Lindesay          "micro": {
8981dab213SAndrew Lindesay            "type": "string"
9081dab213SAndrew Lindesay          },
9181dab213SAndrew Lindesay          "preRelease": {
9281dab213SAndrew Lindesay            "type": "string"
9381dab213SAndrew Lindesay          },
9481dab213SAndrew Lindesay          "revision": {
9581dab213SAndrew Lindesay            "type": "integer"
9681dab213SAndrew Lindesay          },
9781dab213SAndrew Lindesay          "architectureCode": {
9881dab213SAndrew Lindesay            "type": "string"
9981dab213SAndrew Lindesay          },
10081dab213SAndrew Lindesay          "title": {
10181dab213SAndrew Lindesay            "type": "string"
10281dab213SAndrew Lindesay          },
10381dab213SAndrew Lindesay          "summary": {
10481dab213SAndrew Lindesay            "type": "string"
10581dab213SAndrew Lindesay          },
10681dab213SAndrew Lindesay          "description": {
10781dab213SAndrew Lindesay            "type": "string"
10881dab213SAndrew Lindesay          },
10981dab213SAndrew Lindesay          "payloadLength": {
11081dab213SAndrew Lindesay            "type": "integer"
11181dab213SAndrew Lindesay          }
11281dab213SAndrew Lindesay        }
11381dab213SAndrew Lindesay      }
11481dab213SAndrew Lindesay    }
11581dab213SAndrew Lindesay  }
11681dab213SAndrew Lindesay}
117