xref: /haiku/src/apps/haikudepot/server/schema/dumpexportrepository.json (revision 9f3bdf3d039430b5172c424def20ce5d9f7367d4)
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          },
32          "repoInfoUrl": {
33            "type": "string"
34          },
35          "architectureCode": {
36            "type": "string"
37          },
38          "extraIdentifiers": {
39            "type": "array",
40            "items": {
41              "type": "string",
42              "javaType": "java.lang.String"
43            }
44          },
45          "repositorySourceMirrors": {
46            "type": "array",
47            "items": {
48              "type": "object",
49              "javaType": "org.haiku.haikudepotserver.repository.model.dumpexport.DumpExportRepositorySourceMirror",
50              "properties": {
51                "countryCode": {
52                  "type": "string"
53                },
54                "baseUrl": {
55                  "type": "string"
56                },
57                "description": {
58                  "type": "string"
59                },
60                "isPrimary": {
61                  "type": "boolean"
62                }
63              }
64            }
65          }
66        }
67      }
68    }
69  }
70}
71