summaryrefslogtreecommitdiff
path: root/spec/fixtures/api/schemas/public_api/v4/packages/nuget/packages_metadata.json
diff options
context:
space:
mode:
Diffstat (limited to 'spec/fixtures/api/schemas/public_api/v4/packages/nuget/packages_metadata.json')
-rw-r--r--spec/fixtures/api/schemas/public_api/v4/packages/nuget/packages_metadata.json54
1 files changed, 54 insertions, 0 deletions
diff --git a/spec/fixtures/api/schemas/public_api/v4/packages/nuget/packages_metadata.json b/spec/fixtures/api/schemas/public_api/v4/packages/nuget/packages_metadata.json
new file mode 100644
index 00000000000..724df5a437d
--- /dev/null
+++ b/spec/fixtures/api/schemas/public_api/v4/packages/nuget/packages_metadata.json
@@ -0,0 +1,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" }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+ }
+}
+
+
+
+