mirror of
https://github.com/anchore/syft.git
synced 2025-11-17 16:33:21 +01:00
393 lines
17 KiB
JSON
393 lines
17 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/schema#",
|
|
"properties": {
|
|
"artifacts": {
|
|
"items": {
|
|
"properties": {
|
|
"foundBy": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"locations": {
|
|
"items": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"properties": {
|
|
"layerIndex": {
|
|
"type": "integer"
|
|
},
|
|
"path": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"layerIndex",
|
|
"path"
|
|
],
|
|
"type": "object"
|
|
}
|
|
]
|
|
},
|
|
"type": "array"
|
|
},
|
|
"metadata": {
|
|
"properties": {
|
|
"architecture": {
|
|
"type": "string"
|
|
},
|
|
"author": {
|
|
"type": "string"
|
|
},
|
|
"authorEmail": {
|
|
"type": "string"
|
|
},
|
|
"description": {
|
|
"type": "string"
|
|
},
|
|
"epoch": {
|
|
"type": "integer"
|
|
},
|
|
"files": {
|
|
"items": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"properties": {
|
|
"checksum": {
|
|
"type": "string"
|
|
},
|
|
"digest": {
|
|
"properties": {
|
|
"algorithm": {
|
|
"type": "string"
|
|
},
|
|
"value": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"algorithm",
|
|
"value"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"ownerGid": {
|
|
"type": "string"
|
|
},
|
|
"ownerUid": {
|
|
"type": "string"
|
|
},
|
|
"path": {
|
|
"type": "string"
|
|
},
|
|
"permissions": {
|
|
"type": "string"
|
|
},
|
|
"size": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"path"
|
|
],
|
|
"type": "object"
|
|
}
|
|
]
|
|
},
|
|
"type": "array"
|
|
},
|
|
"gitCommitOfApkPort": {
|
|
"type": "string"
|
|
},
|
|
"homepage": {
|
|
"type": "string"
|
|
},
|
|
"installedSize": {
|
|
"type": "integer"
|
|
},
|
|
"license": {
|
|
"type": "string"
|
|
},
|
|
"licenses": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"maintainer": {
|
|
"type": "string"
|
|
},
|
|
"manifest": {
|
|
"properties": {
|
|
"main": {
|
|
"properties": {
|
|
"Archiver-Version": {
|
|
"type": "string"
|
|
},
|
|
"Build-Jdk": {
|
|
"type": "string"
|
|
},
|
|
"Built-By": {
|
|
"type": "string"
|
|
},
|
|
"Created-By": {
|
|
"type": "string"
|
|
},
|
|
"Extension-Name": {
|
|
"type": "string"
|
|
},
|
|
"Group-Id": {
|
|
"type": "string"
|
|
},
|
|
"Hudson-Version": {
|
|
"type": "string"
|
|
},
|
|
"Implementation-Title": {
|
|
"type": "string"
|
|
},
|
|
"Implementation-Version": {
|
|
"type": "string"
|
|
},
|
|
"Jenkins-Version": {
|
|
"type": "string"
|
|
},
|
|
"Long-Name": {
|
|
"type": "string"
|
|
},
|
|
"Main-Class": {
|
|
"type": "string"
|
|
},
|
|
"Manifest-Version": {
|
|
"type": "string"
|
|
},
|
|
"Minimum-Java-Version": {
|
|
"type": "string"
|
|
},
|
|
"Plugin-Dependencies": {
|
|
"type": "string"
|
|
},
|
|
"Plugin-Developers": {
|
|
"type": "string"
|
|
},
|
|
"Plugin-License-Name": {
|
|
"type": "string"
|
|
},
|
|
"Plugin-License-Url": {
|
|
"type": "string"
|
|
},
|
|
"Plugin-ScmUrl": {
|
|
"type": "string"
|
|
},
|
|
"Plugin-Version": {
|
|
"type": "string"
|
|
},
|
|
"Short-Name": {
|
|
"type": "string"
|
|
},
|
|
"Specification-Title": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"Archiver-Version",
|
|
"Build-Jdk",
|
|
"Built-By",
|
|
"Created-By",
|
|
"Manifest-Version"
|
|
],
|
|
"type": "object"
|
|
}
|
|
},
|
|
"required": [
|
|
"main"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"name": {
|
|
"type": "string"
|
|
},
|
|
"originPackage": {
|
|
"type": "string"
|
|
},
|
|
"package": {
|
|
"type": "string"
|
|
},
|
|
"platform": {
|
|
"type": "string"
|
|
},
|
|
"pomProperties": {
|
|
"properties": {
|
|
"artifactId": {
|
|
"type": "string"
|
|
},
|
|
"extraFields": {
|
|
"type": "null"
|
|
},
|
|
"groupId": {
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"type": "string"
|
|
},
|
|
"path": {
|
|
"type": "string"
|
|
},
|
|
"version": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"artifactId",
|
|
"extraFields",
|
|
"groupId",
|
|
"name",
|
|
"path",
|
|
"version"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"pullChecksum": {
|
|
"type": "string"
|
|
},
|
|
"pullDependencies": {
|
|
"type": "string"
|
|
},
|
|
"release": {
|
|
"type": "string"
|
|
},
|
|
"sitePackagesRootPath": {
|
|
"type": "string"
|
|
},
|
|
"size": {
|
|
"type": "integer"
|
|
},
|
|
"source": {
|
|
"type": "string"
|
|
},
|
|
"sourceRpm": {
|
|
"type": "string"
|
|
},
|
|
"topLevelPackages": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"url": {
|
|
"type": "string"
|
|
},
|
|
"vendor": {
|
|
"type": "string"
|
|
},
|
|
"version": {
|
|
"type": "string"
|
|
},
|
|
"virtualPath": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"name": {
|
|
"type": "string"
|
|
},
|
|
"type": {
|
|
"type": "string"
|
|
},
|
|
"version": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"foundBy",
|
|
"locations",
|
|
"name",
|
|
"type",
|
|
"version"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"source": {
|
|
"properties": {
|
|
"target": {
|
|
"anyOf": [
|
|
{
|
|
"type": "string"
|
|
},
|
|
{
|
|
"properties": {
|
|
"digest": {
|
|
"type": "string"
|
|
},
|
|
"layers": {
|
|
"items": {
|
|
"properties": {
|
|
"digest": {
|
|
"type": "string"
|
|
},
|
|
"mediaType": {
|
|
"type": "string"
|
|
},
|
|
"size": {
|
|
"type": "integer"
|
|
}
|
|
},
|
|
"required": [
|
|
"digest",
|
|
"mediaType",
|
|
"size"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"mediaType": {
|
|
"type": "string"
|
|
},
|
|
"size": {
|
|
"type": "integer"
|
|
},
|
|
"tags": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"required": [
|
|
"digest",
|
|
"layers",
|
|
"mediaType",
|
|
"size",
|
|
"tags"
|
|
],
|
|
"type": "object"
|
|
}
|
|
]
|
|
},
|
|
"type": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"target",
|
|
"type"
|
|
],
|
|
"type": "object"
|
|
}
|
|
},
|
|
"required": [
|
|
"artifacts",
|
|
"source"
|
|
],
|
|
"type": "object"
|
|
} |