debian-mirror-gitlab/spec/fixtures/api/schemas/graphql/packages/package_details.json

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

271 lines
4.9 KiB
JSON
Raw Normal View History

2021-03-08 18:12:59 +05:30
{
"type": "object",
2021-03-11 19:13:27 +05:30
"additionalProperties": false,
"required": [
2021-04-29 21:17:54 +05:30
"id",
"name",
"createdAt",
"updatedAt",
"version",
"packageType",
"project",
2023-04-23 21:23:45 +05:30
"publicPackage",
2021-04-29 21:17:54 +05:30
"tags",
"pipelines",
"versions",
2021-11-18 22:05:49 +05:30
"status",
2022-10-11 01:57:18 +05:30
"canDestroy",
2023-01-13 00:05:48 +05:30
"lastDownloadedAt",
"_links"
2021-03-11 19:13:27 +05:30
],
2021-03-08 18:12:59 +05:30
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"createdAt": {
"type": "string"
},
"updatedAt": {
"type": "string"
},
"version": {
2023-04-23 21:23:45 +05:30
"type": [
"string",
"null"
]
2021-03-08 18:12:59 +05:30
},
2021-11-18 22:05:49 +05:30
"canDestroy": {
2023-04-23 21:23:45 +05:30
"type": [
"boolean"
]
2021-11-18 22:05:49 +05:30
},
2021-03-11 19:13:27 +05:30
"packageType": {
2023-04-23 21:23:45 +05:30
"type": [
"string"
],
2021-04-29 21:17:54 +05:30
"enum": [
"MAVEN",
"NPM",
"CONAN",
"NUGET",
"PYPI",
"COMPOSER",
"GENERIC",
"GOLANG",
"RUBYGEMS",
2021-12-11 22:18:48 +05:30
"DEBIAN",
"HELM"
2021-04-29 21:17:54 +05:30
]
2021-03-08 18:12:59 +05:30
},
"tags": {
2021-03-11 19:13:27 +05:30
"type": "object",
"additionalProperties": false,
"properties": {
2023-04-23 21:23:45 +05:30
"count": {
"type": "integer"
},
"pageInfo": {
"type": "object"
},
"edges": {
"type": "array"
},
"nodes": {
"type": "array"
}
2021-03-11 19:13:27 +05:30
}
2021-03-08 18:12:59 +05:30
},
"project": {
"type": "object"
},
2023-04-23 21:23:45 +05:30
"publicPackage": {
"type": "boolean"
},
2021-03-08 18:12:59 +05:30
"pipelines": {
2021-03-11 19:13:27 +05:30
"type": "object",
"additionalProperties": false,
"properties": {
2023-04-23 21:23:45 +05:30
"pageInfo": {
"type": "object"
},
"count": {
"type": "integer"
},
"edges": {
"type": "array"
},
"nodes": {
"type": "array"
}
2021-03-11 19:13:27 +05:30
}
2021-03-08 18:12:59 +05:30
},
"versions": {
2021-03-11 19:13:27 +05:30
"type": "object",
"additionalProperties": false,
"properties": {
2023-04-23 21:23:45 +05:30
"count": {
"type": "integer"
},
"pageInfo": {
"type": "object"
},
"edges": {
"type": "array"
},
"nodes": {
"type": "array"
}
2021-03-11 19:13:27 +05:30
}
},
"metadata": {
"anyOf": [
2023-04-23 21:23:45 +05:30
{
"$ref": "./package_composer_metadata.json"
},
{
"$ref": "./package_conan_metadata.json"
},
{
"$ref": "./package_maven_metadata.json"
},
{
"$ref": "./package_nuget_metadata.json"
},
{
"$ref": "./package_pypi_metadata.json"
},
{
"type": "null"
}
2021-03-11 19:13:27 +05:30
]
2021-04-29 21:17:54 +05:30
},
"packageFiles": {
"type": "object",
"additionalProperties": false,
"properties": {
2023-04-23 21:23:45 +05:30
"count": {
"type": "integer"
},
"pageInfo": {
"type": "object"
},
"edges": {
"type": "array"
},
"nodes": {
"type": "array"
}
2021-04-29 21:17:54 +05:30
}
2021-06-08 01:23:25 +05:30
},
"status": {
2023-04-23 21:23:45 +05:30
"type": [
"string"
],
"enum": [
"DEFAULT",
"HIDDEN",
"PROCESSING",
"ERROR"
]
2021-10-27 15:23:28 +05:30
},
"dependencyLinks": {
"type": "object",
"additionalProperties": false,
"properties": {
2023-04-23 21:23:45 +05:30
"pageInfo": {
"type": "object"
},
"edges": {
"type": "array"
},
"count": {
"type": "integer"
},
2021-10-27 15:23:28 +05:30
"nodes": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"dependencyType": {
"type": "string"
},
"dependency": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"versionPattern": {
"type": "string"
}
}
},
"metadata": {
"anyOf": [
2023-04-23 21:23:45 +05:30
{
"$ref": "./package_nuget_dependency_link_metadata.json"
},
{
"type": "null"
}
2021-10-27 15:23:28 +05:30
]
}
}
}
}
}
2022-03-02 08:16:31 +05:30
},
"npmUrl": {
"type": "string"
},
"mavenUrl": {
"type": "string"
},
"conanUrl": {
"type": "string"
},
"nugetUrl": {
"type": "string"
},
"pypiUrl": {
"type": "string"
},
"pypiSetupUrl": {
"type": "string"
},
"composerUrl": {
"type": "string"
},
"composerConfigRepositoryUrl": {
"type": "string"
2022-10-11 01:57:18 +05:30
},
"lastDownloadedAt": {
2023-04-23 21:23:45 +05:30
"type": [
"string",
"null"
]
2023-01-13 00:05:48 +05:30
},
"_links": {
"type": "object",
"additionalProperties": false,
"properties": {
"webPath": {
2023-04-23 21:23:45 +05:30
"type": [
"string",
"null"
]
2023-01-13 00:05:48 +05:30
}
}
2021-03-08 18:12:59 +05:30
}
}
}