summaryrefslogtreecommitdiff
path: root/spec/fixtures/api/schemas/public_api/v4/packages/nuget/packages_metadata.json
blob: 724df5a437d9b37cc255ef08bda11ebc29cd3056 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
{
  "type": "object",
  "required": ["count", "items"],
  "properties": {
    "count": { "const": 0 },
    "items": {
      "type": "array",
      "items": {
        "type": "object",
        "required": ["lower", "upper", "count", "items"],
        "properties": {
          "lower": { "type": "string" },
          "upper": { "type": "string" },
          "count": { "type": "integer" },
          "items": {
            "type": "array",
            "items": {
              "type": "object",
              "required": ["@id", "packageContent", "catalogEntry"],
              "properties": {
                "@id": { "type": "string" },
                "packageContent": { "type": "string" },
                "catalogEntry": {
                  "type": "object",
                  "required": ["@id", "authors", "dependencyGroups", "id", "packageContent", "summary", "version"],
                  "properties": {
                    "@id": { "type": "string" },
                    "authors": { "const": "" },
                    "id": { "type": "string" },
                    "packageContent": { "type": "string" },
                    "summary": { "const": "" },
                    "tags": { "type": "string" },
                    "projectUrl": { "type": "string" },
                    "licenseUrl": { "type": "string" },
                    "iconUrl": { "type": "string" },
                    "version": { "type": "string" },
                    "dependencyGroups": {
                      "type": "array",
                      "items": { "$ref": "./dependency_group.json" }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}