xref: /haiku/src/apps/haikudepot/server/schema/dumpexportrepository.json (revision 1f0635d2277dcd0818dc7f539c1cb1b296f6444b)
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          "url": {
30            "type": "string"
31          },
32          "repoInfoUrl": {
33            "type": "string"
34          },
35          "repositorySourceMirrors": {
36            "type": "array",
37            "items": {
38              "type": "object",
39              "javaType": "org.haiku.haikudepotserver.repository.model.dumpexport.DumpExportRepositorySourceMirror",
40              "properties": {
41                "countryCode": {
42                  "type": "string"
43                },
44                "baseUrl": {
45                  "type": "string"
46                },
47                "description": {
48                  "type": "string"
49                },
50                "isPrimary": {
51                  "type": "boolean"
52                }
53              }
54            }
55          }
56        }
57      }
58    }
59  }
60}