xref: /haiku/src/apps/haikudepot/server/schema/dumpexportrepository.json (revision 6011ce6c7495e4e707bd33b12a7e22d66c710aad)
1{
2  "$schema": "http://json-schema.org/schema#",
3  "id": "http://depot.haiku-os.org/schema/repository/dumpexport.json",
4  "title": "Repository",
5  "javaType": "org.haiku.haikudepotserver.repository.model.dumpexport.DumpExportRepository",
6  "type": "object",
7  "properties": {
8    "code": {
9      "type": "string"
10    },
11    "name": {
12      "type": "string"
13    },
14    "description": {
15      "type": "string"
16    },
17    "informationUrl": {
18      "type": "string"
19    },
20    "repositorySources": {
21      "type": "array",
22      "items": {
23        "type": "object",
24        "javaType": "org.haiku.haikudepotserver.repository.model.dumpexport.DumpExportRepositorySource",
25        "properties": {
26          "code": {
27            "type": "string"
28          },
29          "identifier": {
30            "type": "string",
31            "javaType": "java.lang.String"
32          },
33          "extraIdentifiers": {
34            "type": "array",
35            "items": {
36              "type": "string",
37              "javaType": "java.lang.String"
38            }
39          },
40          "repositorySourceMirrors": {
41            "type": "array",
42            "items": {
43              "type": "object",
44              "javaType": "org.haiku.haikudepotserver.repository.model.dumpexport.DumpExportRepositorySourceMirror",
45              "properties": {
46                "countryCode": {
47                  "type": "string"
48                },
49                "baseUrl": {
50                  "type": "string"
51                },
52                "description": {
53                  "type": "string"
54                },
55                "isPrimary": {
56                  "type": "boolean"
57                }
58              }
59            }
60          }
61        }
62      }
63    }
64  }
65}