diff options
Diffstat (limited to 'spec/fixtures/api/schemas/public_api/v4/packages/nuget/search.json')
-rw-r--r-- | spec/fixtures/api/schemas/public_api/v4/packages/nuget/search.json | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/spec/fixtures/api/schemas/public_api/v4/packages/nuget/search.json b/spec/fixtures/api/schemas/public_api/v4/packages/nuget/search.json new file mode 100644 index 00000000000..73d0927e24c --- /dev/null +++ b/spec/fixtures/api/schemas/public_api/v4/packages/nuget/search.json @@ -0,0 +1,39 @@ +{ + "type": "object", + "required": ["totalHits", "data"], + "properties": { + "totalHits": { "type": "integer" }, + "data": { + "type": "array", + "items": { + "type": "object", + "required": ["@type", "authors", "id", "summary", "title", "totalDownloads", "verified", "versions"], + "properties": { + "@type": { "const": "Package" }, + "authors": { "const": "" }, + "id": { "type": "string" }, + "summary": { "const": "" }, + "title": { "type": "string" }, + "totalDownloads": { "const": 0 }, + "verified": { "const": true }, + "tags": { "type": "string" }, + "projectUrl": { "type": "string" }, + "licenseUrl": { "type": "string" }, + "iconUrl": { "type": "string" }, + "versions": { + "type": "array", + "items": { + "type": "object", + "required": ["@id", "version", "downloads"], + "properties": { + "@id": { "type": "string" }, + "version": { "type": "string" }, + "downloads": { "const": 0 } + } + } + } + } + } + } + } +} |