github.com/noqcks/syft@v0.0.0-20230920222752-a9e2c4e288e5/schema/json/schema-3.2.1.json (about)

     1  {
     2    "$schema": "http://json-schema.org/draft-04/schema#",
     3    "$ref": "#/definitions/Document",
     4    "definitions": {
     5      "ApkFileRecord": {
     6        "required": [
     7          "path"
     8        ],
     9        "properties": {
    10          "path": {
    11            "type": "string"
    12          },
    13          "ownerUid": {
    14            "type": "string"
    15          },
    16          "ownerGid": {
    17            "type": "string"
    18          },
    19          "permissions": {
    20            "type": "string"
    21          },
    22          "digest": {
    23            "$schema": "http://json-schema.org/draft-04/schema#",
    24            "$ref": "#/definitions/Digest"
    25          }
    26        },
    27        "additionalProperties": true,
    28        "type": "object"
    29      },
    30      "ApkMetadata": {
    31        "required": [
    32          "package",
    33          "originPackage",
    34          "maintainer",
    35          "version",
    36          "license",
    37          "architecture",
    38          "url",
    39          "description",
    40          "size",
    41          "installedSize",
    42          "pullDependencies",
    43          "pullChecksum",
    44          "gitCommitOfApkPort",
    45          "files"
    46        ],
    47        "properties": {
    48          "package": {
    49            "type": "string"
    50          },
    51          "originPackage": {
    52            "type": "string"
    53          },
    54          "maintainer": {
    55            "type": "string"
    56          },
    57          "version": {
    58            "type": "string"
    59          },
    60          "license": {
    61            "type": "string"
    62          },
    63          "architecture": {
    64            "type": "string"
    65          },
    66          "url": {
    67            "type": "string"
    68          },
    69          "description": {
    70            "type": "string"
    71          },
    72          "size": {
    73            "type": "integer"
    74          },
    75          "installedSize": {
    76            "type": "integer"
    77          },
    78          "pullDependencies": {
    79            "type": "string"
    80          },
    81          "pullChecksum": {
    82            "type": "string"
    83          },
    84          "gitCommitOfApkPort": {
    85            "type": "string"
    86          },
    87          "files": {
    88            "items": {
    89              "$schema": "http://json-schema.org/draft-04/schema#",
    90              "$ref": "#/definitions/ApkFileRecord"
    91            },
    92            "type": "array"
    93          }
    94        },
    95        "additionalProperties": true,
    96        "type": "object"
    97      },
    98      "CargoPackageMetadata": {
    99        "required": [
   100          "name",
   101          "version",
   102          "source",
   103          "checksum",
   104          "dependencies"
   105        ],
   106        "properties": {
   107          "name": {
   108            "type": "string"
   109          },
   110          "version": {
   111            "type": "string"
   112          },
   113          "source": {
   114            "type": "string"
   115          },
   116          "checksum": {
   117            "type": "string"
   118          },
   119          "dependencies": {
   120            "items": {
   121              "type": "string"
   122            },
   123            "type": "array"
   124          }
   125        },
   126        "additionalProperties": true,
   127        "type": "object"
   128      },
   129      "Classification": {
   130        "required": [
   131          "class",
   132          "metadata"
   133        ],
   134        "properties": {
   135          "class": {
   136            "type": "string"
   137          },
   138          "metadata": {
   139            "patternProperties": {
   140              ".*": {
   141                "type": "string"
   142              }
   143            },
   144            "type": "object"
   145          }
   146        },
   147        "additionalProperties": true,
   148        "type": "object"
   149      },
   150      "Coordinates": {
   151        "required": [
   152          "path"
   153        ],
   154        "properties": {
   155          "path": {
   156            "type": "string"
   157          },
   158          "layerID": {
   159            "type": "string"
   160          }
   161        },
   162        "additionalProperties": true,
   163        "type": "object"
   164      },
   165      "Descriptor": {
   166        "required": [
   167          "name",
   168          "version"
   169        ],
   170        "properties": {
   171          "name": {
   172            "type": "string"
   173          },
   174          "version": {
   175            "type": "string"
   176          },
   177          "configuration": {
   178            "additionalProperties": true
   179          }
   180        },
   181        "additionalProperties": true,
   182        "type": "object"
   183      },
   184      "Digest": {
   185        "required": [
   186          "algorithm",
   187          "value"
   188        ],
   189        "properties": {
   190          "algorithm": {
   191            "type": "string"
   192          },
   193          "value": {
   194            "type": "string"
   195          }
   196        },
   197        "additionalProperties": true,
   198        "type": "object"
   199      },
   200      "Document": {
   201        "required": [
   202          "artifacts",
   203          "artifactRelationships",
   204          "source",
   205          "distro",
   206          "descriptor",
   207          "schema"
   208        ],
   209        "properties": {
   210          "artifacts": {
   211            "items": {
   212              "$schema": "http://json-schema.org/draft-04/schema#",
   213              "$ref": "#/definitions/Package"
   214            },
   215            "type": "array"
   216          },
   217          "artifactRelationships": {
   218            "items": {
   219              "$schema": "http://json-schema.org/draft-04/schema#",
   220              "$ref": "#/definitions/Relationship"
   221            },
   222            "type": "array"
   223          },
   224          "files": {
   225            "items": {
   226              "$schema": "http://json-schema.org/draft-04/schema#",
   227              "$ref": "#/definitions/File"
   228            },
   229            "type": "array"
   230          },
   231          "secrets": {
   232            "items": {
   233              "$schema": "http://json-schema.org/draft-04/schema#",
   234              "$ref": "#/definitions/Secrets"
   235            },
   236            "type": "array"
   237          },
   238          "source": {
   239            "$schema": "http://json-schema.org/draft-04/schema#",
   240            "$ref": "#/definitions/Source"
   241          },
   242          "distro": {
   243            "$schema": "http://json-schema.org/draft-04/schema#",
   244            "$ref": "#/definitions/LinuxRelease"
   245          },
   246          "descriptor": {
   247            "$schema": "http://json-schema.org/draft-04/schema#",
   248            "$ref": "#/definitions/Descriptor"
   249          },
   250          "schema": {
   251            "$schema": "http://json-schema.org/draft-04/schema#",
   252            "$ref": "#/definitions/Schema"
   253          }
   254        },
   255        "additionalProperties": true,
   256        "type": "object"
   257      },
   258      "DpkgFileRecord": {
   259        "required": [
   260          "path",
   261          "isConfigFile"
   262        ],
   263        "properties": {
   264          "path": {
   265            "type": "string"
   266          },
   267          "digest": {
   268            "$ref": "#/definitions/Digest"
   269          },
   270          "isConfigFile": {
   271            "type": "boolean"
   272          }
   273        },
   274        "additionalProperties": true,
   275        "type": "object"
   276      },
   277      "DpkgMetadata": {
   278        "required": [
   279          "package",
   280          "source",
   281          "version",
   282          "sourceVersion",
   283          "architecture",
   284          "maintainer",
   285          "installedSize",
   286          "files"
   287        ],
   288        "properties": {
   289          "package": {
   290            "type": "string"
   291          },
   292          "source": {
   293            "type": "string"
   294          },
   295          "version": {
   296            "type": "string"
   297          },
   298          "sourceVersion": {
   299            "type": "string"
   300          },
   301          "architecture": {
   302            "type": "string"
   303          },
   304          "maintainer": {
   305            "type": "string"
   306          },
   307          "installedSize": {
   308            "type": "integer"
   309          },
   310          "files": {
   311            "items": {
   312              "$schema": "http://json-schema.org/draft-04/schema#",
   313              "$ref": "#/definitions/DpkgFileRecord"
   314            },
   315            "type": "array"
   316          }
   317        },
   318        "additionalProperties": true,
   319        "type": "object"
   320      },
   321      "File": {
   322        "required": [
   323          "id",
   324          "location"
   325        ],
   326        "properties": {
   327          "id": {
   328            "type": "string"
   329          },
   330          "location": {
   331            "$ref": "#/definitions/Coordinates"
   332          },
   333          "metadata": {
   334            "$schema": "http://json-schema.org/draft-04/schema#",
   335            "$ref": "#/definitions/FileMetadataEntry"
   336          },
   337          "contents": {
   338            "type": "string"
   339          },
   340          "digests": {
   341            "items": {
   342              "$schema": "http://json-schema.org/draft-04/schema#",
   343              "$ref": "#/definitions/Digest"
   344            },
   345            "type": "array"
   346          },
   347          "classifications": {
   348            "items": {
   349              "$schema": "http://json-schema.org/draft-04/schema#",
   350              "$ref": "#/definitions/Classification"
   351            },
   352            "type": "array"
   353          }
   354        },
   355        "additionalProperties": true,
   356        "type": "object"
   357      },
   358      "FileMetadataEntry": {
   359        "required": [
   360          "mode",
   361          "type",
   362          "userID",
   363          "groupID",
   364          "mimeType"
   365        ],
   366        "properties": {
   367          "mode": {
   368            "type": "integer"
   369          },
   370          "type": {
   371            "type": "string"
   372          },
   373          "linkDestination": {
   374            "type": "string"
   375          },
   376          "userID": {
   377            "type": "integer"
   378          },
   379          "groupID": {
   380            "type": "integer"
   381          },
   382          "mimeType": {
   383            "type": "string"
   384          }
   385        },
   386        "additionalProperties": true,
   387        "type": "object"
   388      },
   389      "GemMetadata": {
   390        "required": [
   391          "name",
   392          "version"
   393        ],
   394        "properties": {
   395          "name": {
   396            "type": "string"
   397          },
   398          "version": {
   399            "type": "string"
   400          },
   401          "files": {
   402            "items": {
   403              "type": "string"
   404            },
   405            "type": "array"
   406          },
   407          "authors": {
   408            "items": {
   409              "type": "string"
   410            },
   411            "type": "array"
   412          },
   413          "licenses": {
   414            "items": {
   415              "type": "string"
   416            },
   417            "type": "array"
   418          },
   419          "homepage": {
   420            "type": "string"
   421          }
   422        },
   423        "additionalProperties": true,
   424        "type": "object"
   425      },
   426      "GolangBinMetadata": {
   427        "required": [
   428          "goCompiledVersion",
   429          "architecture"
   430        ],
   431        "properties": {
   432          "goBuildSettings": {
   433            "patternProperties": {
   434              ".*": {
   435                "type": "string"
   436              }
   437            },
   438            "type": "object"
   439          },
   440          "goCompiledVersion": {
   441            "type": "string"
   442          },
   443          "architecture": {
   444            "type": "string"
   445          },
   446          "h1Digest": {
   447            "type": "string"
   448          }
   449        },
   450        "additionalProperties": true,
   451        "type": "object"
   452      },
   453      "JavaManifest": {
   454        "properties": {
   455          "main": {
   456            "patternProperties": {
   457              ".*": {
   458                "type": "string"
   459              }
   460            },
   461            "type": "object"
   462          },
   463          "namedSections": {
   464            "patternProperties": {
   465              ".*": {
   466                "patternProperties": {
   467                  ".*": {
   468                    "type": "string"
   469                  }
   470                },
   471                "type": "object"
   472              }
   473            },
   474            "type": "object"
   475          }
   476        },
   477        "additionalProperties": true,
   478        "type": "object"
   479      },
   480      "JavaMetadata": {
   481        "required": [
   482          "virtualPath"
   483        ],
   484        "properties": {
   485          "virtualPath": {
   486            "type": "string"
   487          },
   488          "manifest": {
   489            "$schema": "http://json-schema.org/draft-04/schema#",
   490            "$ref": "#/definitions/JavaManifest"
   491          },
   492          "pomProperties": {
   493            "$schema": "http://json-schema.org/draft-04/schema#",
   494            "$ref": "#/definitions/PomProperties"
   495          },
   496          "pomProject": {
   497            "$schema": "http://json-schema.org/draft-04/schema#",
   498            "$ref": "#/definitions/PomProject"
   499          }
   500        },
   501        "additionalProperties": true,
   502        "type": "object"
   503      },
   504      "LinuxRelease": {
   505        "properties": {
   506          "prettyName": {
   507            "type": "string"
   508          },
   509          "name": {
   510            "type": "string"
   511          },
   512          "id": {
   513            "type": "string"
   514          },
   515          "idLike": {
   516            "items": {
   517              "type": "string"
   518            },
   519            "type": "array"
   520          },
   521          "version": {
   522            "type": "string"
   523          },
   524          "versionID": {
   525            "type": "string"
   526          },
   527          "variant": {
   528            "type": "string"
   529          },
   530          "variantID": {
   531            "type": "string"
   532          },
   533          "homeURL": {
   534            "type": "string"
   535          },
   536          "supportURL": {
   537            "type": "string"
   538          },
   539          "bugReportURL": {
   540            "type": "string"
   541          },
   542          "privacyPolicyURL": {
   543            "type": "string"
   544          },
   545          "cpeName": {
   546            "type": "string"
   547          }
   548        },
   549        "additionalProperties": true,
   550        "type": "object"
   551      },
   552      "NpmPackageJSONMetadata": {
   553        "required": [
   554          "name",
   555          "version",
   556          "author",
   557          "licenses",
   558          "homepage",
   559          "description",
   560          "url"
   561        ],
   562        "properties": {
   563          "name": {
   564            "type": "string"
   565          },
   566          "version": {
   567            "type": "string"
   568          },
   569          "files": {
   570            "items": {
   571              "type": "string"
   572            },
   573            "type": "array"
   574          },
   575          "author": {
   576            "type": "string"
   577          },
   578          "licenses": {
   579            "items": {
   580              "type": "string"
   581            },
   582            "type": "array"
   583          },
   584          "homepage": {
   585            "type": "string"
   586          },
   587          "description": {
   588            "type": "string"
   589          },
   590          "url": {
   591            "type": "string"
   592          }
   593        },
   594        "additionalProperties": true,
   595        "type": "object"
   596      },
   597      "Package": {
   598        "required": [
   599          "id",
   600          "name",
   601          "version",
   602          "type",
   603          "foundBy",
   604          "locations",
   605          "licenses",
   606          "language",
   607          "cpes",
   608          "purl"
   609        ],
   610        "properties": {
   611          "id": {
   612            "type": "string"
   613          },
   614          "name": {
   615            "type": "string"
   616          },
   617          "version": {
   618            "type": "string"
   619          },
   620          "type": {
   621            "type": "string"
   622          },
   623          "foundBy": {
   624            "type": "string"
   625          },
   626          "locations": {
   627            "items": {
   628              "$schema": "http://json-schema.org/draft-04/schema#",
   629              "$ref": "#/definitions/Coordinates"
   630            },
   631            "type": "array"
   632          },
   633          "licenses": {
   634            "items": {
   635              "type": "string"
   636            },
   637            "type": "array"
   638          },
   639          "language": {
   640            "type": "string"
   641          },
   642          "cpes": {
   643            "items": {
   644              "type": "string"
   645            },
   646            "type": "array"
   647          },
   648          "purl": {
   649            "type": "string"
   650          },
   651          "metadataType": {
   652            "type": "string"
   653          },
   654          "metadata": {
   655            "anyOf": [
   656              {
   657                "type": "null"
   658              },
   659              {
   660                "$ref": "#/definitions/ApkMetadata"
   661              },
   662              {
   663                "$ref": "#/definitions/CargoPackageMetadata"
   664              },
   665              {
   666                "$ref": "#/definitions/DpkgMetadata"
   667              },
   668              {
   669                "$ref": "#/definitions/GemMetadata"
   670              },
   671              {
   672                "$ref": "#/definitions/GolangBinMetadata"
   673              },
   674              {
   675                "$ref": "#/definitions/JavaMetadata"
   676              },
   677              {
   678                "$ref": "#/definitions/NpmPackageJSONMetadata"
   679              },
   680              {
   681                "$ref": "#/definitions/PhpComposerJSONMetadata"
   682              },
   683              {
   684                "$ref": "#/definitions/PythonPackageMetadata"
   685              },
   686              {
   687                "$ref": "#/definitions/RpmdbMetadata"
   688              }
   689            ]
   690          }
   691        },
   692        "additionalProperties": true,
   693        "type": "object"
   694      },
   695      "PhpComposerAuthors": {
   696        "required": [
   697          "name"
   698        ],
   699        "properties": {
   700          "name": {
   701            "type": "string"
   702          },
   703          "email": {
   704            "type": "string"
   705          },
   706          "homepage": {
   707            "type": "string"
   708          }
   709        },
   710        "additionalProperties": true,
   711        "type": "object"
   712      },
   713      "PhpComposerExternalReference": {
   714        "required": [
   715          "type",
   716          "url",
   717          "reference"
   718        ],
   719        "properties": {
   720          "type": {
   721            "type": "string"
   722          },
   723          "url": {
   724            "type": "string"
   725          },
   726          "reference": {
   727            "type": "string"
   728          },
   729          "shasum": {
   730            "type": "string"
   731          }
   732        },
   733        "additionalProperties": true,
   734        "type": "object"
   735      },
   736      "PhpComposerJSONMetadata": {
   737        "required": [
   738          "name",
   739          "version",
   740          "source",
   741          "dist"
   742        ],
   743        "properties": {
   744          "name": {
   745            "type": "string"
   746          },
   747          "version": {
   748            "type": "string"
   749          },
   750          "source": {
   751            "$schema": "http://json-schema.org/draft-04/schema#",
   752            "$ref": "#/definitions/PhpComposerExternalReference"
   753          },
   754          "dist": {
   755            "$ref": "#/definitions/PhpComposerExternalReference"
   756          },
   757          "require": {
   758            "patternProperties": {
   759              ".*": {
   760                "type": "string"
   761              }
   762            },
   763            "type": "object"
   764          },
   765          "provide": {
   766            "patternProperties": {
   767              ".*": {
   768                "type": "string"
   769              }
   770            },
   771            "type": "object"
   772          },
   773          "require-dev": {
   774            "patternProperties": {
   775              ".*": {
   776                "type": "string"
   777              }
   778            },
   779            "type": "object"
   780          },
   781          "suggest": {
   782            "patternProperties": {
   783              ".*": {
   784                "type": "string"
   785              }
   786            },
   787            "type": "object"
   788          },
   789          "type": {
   790            "type": "string"
   791          },
   792          "notification-url": {
   793            "type": "string"
   794          },
   795          "bin": {
   796            "items": {
   797              "type": "string"
   798            },
   799            "type": "array"
   800          },
   801          "license": {
   802            "items": {
   803              "type": "string"
   804            },
   805            "type": "array"
   806          },
   807          "authors": {
   808            "items": {
   809              "$schema": "http://json-schema.org/draft-04/schema#",
   810              "$ref": "#/definitions/PhpComposerAuthors"
   811            },
   812            "type": "array"
   813          },
   814          "description": {
   815            "type": "string"
   816          },
   817          "homepage": {
   818            "type": "string"
   819          },
   820          "keywords": {
   821            "items": {
   822              "type": "string"
   823            },
   824            "type": "array"
   825          },
   826          "time": {
   827            "type": "string"
   828          }
   829        },
   830        "additionalProperties": true,
   831        "type": "object"
   832      },
   833      "PomParent": {
   834        "required": [
   835          "groupId",
   836          "artifactId",
   837          "version"
   838        ],
   839        "properties": {
   840          "groupId": {
   841            "type": "string"
   842          },
   843          "artifactId": {
   844            "type": "string"
   845          },
   846          "version": {
   847            "type": "string"
   848          }
   849        },
   850        "additionalProperties": true,
   851        "type": "object"
   852      },
   853      "PomProject": {
   854        "required": [
   855          "path",
   856          "groupId",
   857          "artifactId",
   858          "version",
   859          "name"
   860        ],
   861        "properties": {
   862          "path": {
   863            "type": "string"
   864          },
   865          "parent": {
   866            "$schema": "http://json-schema.org/draft-04/schema#",
   867            "$ref": "#/definitions/PomParent"
   868          },
   869          "groupId": {
   870            "type": "string"
   871          },
   872          "artifactId": {
   873            "type": "string"
   874          },
   875          "version": {
   876            "type": "string"
   877          },
   878          "name": {
   879            "type": "string"
   880          },
   881          "description": {
   882            "type": "string"
   883          },
   884          "url": {
   885            "type": "string"
   886          }
   887        },
   888        "additionalProperties": true,
   889        "type": "object"
   890      },
   891      "PomProperties": {
   892        "required": [
   893          "path",
   894          "name",
   895          "groupId",
   896          "artifactId",
   897          "version",
   898          "extraFields"
   899        ],
   900        "properties": {
   901          "path": {
   902            "type": "string"
   903          },
   904          "name": {
   905            "type": "string"
   906          },
   907          "groupId": {
   908            "type": "string"
   909          },
   910          "artifactId": {
   911            "type": "string"
   912          },
   913          "version": {
   914            "type": "string"
   915          },
   916          "extraFields": {
   917            "patternProperties": {
   918              ".*": {
   919                "type": "string"
   920              }
   921            },
   922            "type": "object"
   923          }
   924        },
   925        "additionalProperties": true,
   926        "type": "object"
   927      },
   928      "PythonDirectURLOriginInfo": {
   929        "required": [
   930          "url"
   931        ],
   932        "properties": {
   933          "url": {
   934            "type": "string"
   935          },
   936          "commitId": {
   937            "type": "string"
   938          },
   939          "vcs": {
   940            "type": "string"
   941          }
   942        },
   943        "additionalProperties": true,
   944        "type": "object"
   945      },
   946      "PythonFileDigest": {
   947        "required": [
   948          "algorithm",
   949          "value"
   950        ],
   951        "properties": {
   952          "algorithm": {
   953            "type": "string"
   954          },
   955          "value": {
   956            "type": "string"
   957          }
   958        },
   959        "additionalProperties": true,
   960        "type": "object"
   961      },
   962      "PythonFileRecord": {
   963        "required": [
   964          "path"
   965        ],
   966        "properties": {
   967          "path": {
   968            "type": "string"
   969          },
   970          "digest": {
   971            "$schema": "http://json-schema.org/draft-04/schema#",
   972            "$ref": "#/definitions/PythonFileDigest"
   973          },
   974          "size": {
   975            "type": "string"
   976          }
   977        },
   978        "additionalProperties": true,
   979        "type": "object"
   980      },
   981      "PythonPackageMetadata": {
   982        "required": [
   983          "name",
   984          "version",
   985          "license",
   986          "author",
   987          "authorEmail",
   988          "platform",
   989          "sitePackagesRootPath"
   990        ],
   991        "properties": {
   992          "name": {
   993            "type": "string"
   994          },
   995          "version": {
   996            "type": "string"
   997          },
   998          "license": {
   999            "type": "string"
  1000          },
  1001          "author": {
  1002            "type": "string"
  1003          },
  1004          "authorEmail": {
  1005            "type": "string"
  1006          },
  1007          "platform": {
  1008            "type": "string"
  1009          },
  1010          "files": {
  1011            "items": {
  1012              "$schema": "http://json-schema.org/draft-04/schema#",
  1013              "$ref": "#/definitions/PythonFileRecord"
  1014            },
  1015            "type": "array"
  1016          },
  1017          "sitePackagesRootPath": {
  1018            "type": "string"
  1019          },
  1020          "topLevelPackages": {
  1021            "items": {
  1022              "type": "string"
  1023            },
  1024            "type": "array"
  1025          },
  1026          "directUrlOrigin": {
  1027            "$schema": "http://json-schema.org/draft-04/schema#",
  1028            "$ref": "#/definitions/PythonDirectURLOriginInfo"
  1029          }
  1030        },
  1031        "additionalProperties": true,
  1032        "type": "object"
  1033      },
  1034      "Relationship": {
  1035        "required": [
  1036          "parent",
  1037          "child",
  1038          "type"
  1039        ],
  1040        "properties": {
  1041          "parent": {
  1042            "type": "string"
  1043          },
  1044          "child": {
  1045            "type": "string"
  1046          },
  1047          "type": {
  1048            "type": "string"
  1049          },
  1050          "metadata": {
  1051            "additionalProperties": true
  1052          }
  1053        },
  1054        "additionalProperties": true,
  1055        "type": "object"
  1056      },
  1057      "RpmdbFileRecord": {
  1058        "required": [
  1059          "path",
  1060          "mode",
  1061          "size",
  1062          "digest",
  1063          "userName",
  1064          "groupName",
  1065          "flags"
  1066        ],
  1067        "properties": {
  1068          "path": {
  1069            "type": "string"
  1070          },
  1071          "mode": {
  1072            "type": "integer"
  1073          },
  1074          "size": {
  1075            "type": "integer"
  1076          },
  1077          "digest": {
  1078            "$ref": "#/definitions/Digest"
  1079          },
  1080          "userName": {
  1081            "type": "string"
  1082          },
  1083          "groupName": {
  1084            "type": "string"
  1085          },
  1086          "flags": {
  1087            "type": "string"
  1088          }
  1089        },
  1090        "additionalProperties": true,
  1091        "type": "object"
  1092      },
  1093      "RpmdbMetadata": {
  1094        "required": [
  1095          "name",
  1096          "version",
  1097          "epoch",
  1098          "architecture",
  1099          "release",
  1100          "sourceRpm",
  1101          "size",
  1102          "license",
  1103          "vendor",
  1104          "files"
  1105        ],
  1106        "properties": {
  1107          "name": {
  1108            "type": "string"
  1109          },
  1110          "version": {
  1111            "type": "string"
  1112          },
  1113          "epoch": {
  1114            "oneOf": [
  1115              {
  1116                "type": "integer"
  1117              },
  1118              {
  1119                "type": "null"
  1120              }
  1121            ]
  1122          },
  1123          "architecture": {
  1124            "type": "string"
  1125          },
  1126          "release": {
  1127            "type": "string"
  1128          },
  1129          "sourceRpm": {
  1130            "type": "string"
  1131          },
  1132          "size": {
  1133            "type": "integer"
  1134          },
  1135          "license": {
  1136            "type": "string"
  1137          },
  1138          "vendor": {
  1139            "type": "string"
  1140          },
  1141          "files": {
  1142            "items": {
  1143              "$schema": "http://json-schema.org/draft-04/schema#",
  1144              "$ref": "#/definitions/RpmdbFileRecord"
  1145            },
  1146            "type": "array"
  1147          }
  1148        },
  1149        "additionalProperties": true,
  1150        "type": "object"
  1151      },
  1152      "Schema": {
  1153        "required": [
  1154          "version",
  1155          "url"
  1156        ],
  1157        "properties": {
  1158          "version": {
  1159            "type": "string"
  1160          },
  1161          "url": {
  1162            "type": "string"
  1163          }
  1164        },
  1165        "additionalProperties": true,
  1166        "type": "object"
  1167      },
  1168      "SearchResult": {
  1169        "required": [
  1170          "classification",
  1171          "lineNumber",
  1172          "lineOffset",
  1173          "seekPosition",
  1174          "length"
  1175        ],
  1176        "properties": {
  1177          "classification": {
  1178            "type": "string"
  1179          },
  1180          "lineNumber": {
  1181            "type": "integer"
  1182          },
  1183          "lineOffset": {
  1184            "type": "integer"
  1185          },
  1186          "seekPosition": {
  1187            "type": "integer"
  1188          },
  1189          "length": {
  1190            "type": "integer"
  1191          },
  1192          "value": {
  1193            "type": "string"
  1194          }
  1195        },
  1196        "additionalProperties": true,
  1197        "type": "object"
  1198      },
  1199      "Secrets": {
  1200        "required": [
  1201          "location",
  1202          "secrets"
  1203        ],
  1204        "properties": {
  1205          "location": {
  1206            "$ref": "#/definitions/Coordinates"
  1207          },
  1208          "secrets": {
  1209            "items": {
  1210              "$schema": "http://json-schema.org/draft-04/schema#",
  1211              "$ref": "#/definitions/SearchResult"
  1212            },
  1213            "type": "array"
  1214          }
  1215        },
  1216        "additionalProperties": true,
  1217        "type": "object"
  1218      },
  1219      "Source": {
  1220        "required": [
  1221          "type",
  1222          "target"
  1223        ],
  1224        "properties": {
  1225          "type": {
  1226            "type": "string"
  1227          },
  1228          "target": {
  1229            "additionalProperties": true
  1230          }
  1231        },
  1232        "additionalProperties": true,
  1233        "type": "object"
  1234      }
  1235    }
  1236  }