github.com/noqcks/syft@v0.0.0-20230920222752-a9e2c4e288e5/schema/json/schema-3.0.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          "h1Digest"
   431        ],
   432        "properties": {
   433          "goCompiledVersion": {
   434            "type": "string"
   435          },
   436          "architecture": {
   437            "type": "string"
   438          },
   439          "h1Digest": {
   440            "type": "string"
   441          }
   442        },
   443        "additionalProperties": true,
   444        "type": "object"
   445      },
   446      "JavaManifest": {
   447        "properties": {
   448          "main": {
   449            "patternProperties": {
   450              ".*": {
   451                "type": "string"
   452              }
   453            },
   454            "type": "object"
   455          },
   456          "namedSections": {
   457            "patternProperties": {
   458              ".*": {
   459                "patternProperties": {
   460                  ".*": {
   461                    "type": "string"
   462                  }
   463                },
   464                "type": "object"
   465              }
   466            },
   467            "type": "object"
   468          }
   469        },
   470        "additionalProperties": true,
   471        "type": "object"
   472      },
   473      "JavaMetadata": {
   474        "required": [
   475          "virtualPath"
   476        ],
   477        "properties": {
   478          "virtualPath": {
   479            "type": "string"
   480          },
   481          "manifest": {
   482            "$schema": "http://json-schema.org/draft-04/schema#",
   483            "$ref": "#/definitions/JavaManifest"
   484          },
   485          "pomProperties": {
   486            "$schema": "http://json-schema.org/draft-04/schema#",
   487            "$ref": "#/definitions/PomProperties"
   488          },
   489          "pomProject": {
   490            "$schema": "http://json-schema.org/draft-04/schema#",
   491            "$ref": "#/definitions/PomProject"
   492          }
   493        },
   494        "additionalProperties": true,
   495        "type": "object"
   496      },
   497      "LinuxRelease": {
   498        "properties": {
   499          "prettyName": {
   500            "type": "string"
   501          },
   502          "name": {
   503            "type": "string"
   504          },
   505          "id": {
   506            "type": "string"
   507          },
   508          "idLike": {
   509            "items": {
   510              "type": "string"
   511            },
   512            "type": "array"
   513          },
   514          "version": {
   515            "type": "string"
   516          },
   517          "versionID": {
   518            "type": "string"
   519          },
   520          "variant": {
   521            "type": "string"
   522          },
   523          "variantID": {
   524            "type": "string"
   525          },
   526          "homeURL": {
   527            "type": "string"
   528          },
   529          "supportURL": {
   530            "type": "string"
   531          },
   532          "bugReportURL": {
   533            "type": "string"
   534          },
   535          "privacyPolicyURL": {
   536            "type": "string"
   537          },
   538          "cpeName": {
   539            "type": "string"
   540          }
   541        },
   542        "additionalProperties": true,
   543        "type": "object"
   544      },
   545      "NpmPackageJSONMetadata": {
   546        "required": [
   547          "author",
   548          "licenses",
   549          "homepage",
   550          "description",
   551          "url"
   552        ],
   553        "properties": {
   554          "files": {
   555            "items": {
   556              "type": "string"
   557            },
   558            "type": "array"
   559          },
   560          "author": {
   561            "type": "string"
   562          },
   563          "licenses": {
   564            "items": {
   565              "type": "string"
   566            },
   567            "type": "array"
   568          },
   569          "homepage": {
   570            "type": "string"
   571          },
   572          "description": {
   573            "type": "string"
   574          },
   575          "url": {
   576            "type": "string"
   577          }
   578        },
   579        "additionalProperties": true,
   580        "type": "object"
   581      },
   582      "Package": {
   583        "required": [
   584          "id",
   585          "name",
   586          "version",
   587          "type",
   588          "foundBy",
   589          "locations",
   590          "licenses",
   591          "language",
   592          "cpes",
   593          "purl"
   594        ],
   595        "properties": {
   596          "id": {
   597            "type": "string"
   598          },
   599          "name": {
   600            "type": "string"
   601          },
   602          "version": {
   603            "type": "string"
   604          },
   605          "type": {
   606            "type": "string"
   607          },
   608          "foundBy": {
   609            "type": "string"
   610          },
   611          "locations": {
   612            "items": {
   613              "$schema": "http://json-schema.org/draft-04/schema#",
   614              "$ref": "#/definitions/Coordinates"
   615            },
   616            "type": "array"
   617          },
   618          "licenses": {
   619            "items": {
   620              "type": "string"
   621            },
   622            "type": "array"
   623          },
   624          "language": {
   625            "type": "string"
   626          },
   627          "cpes": {
   628            "items": {
   629              "type": "string"
   630            },
   631            "type": "array"
   632          },
   633          "purl": {
   634            "type": "string"
   635          },
   636          "metadataType": {
   637            "type": "string"
   638          },
   639          "metadata": {
   640            "anyOf": [
   641              {
   642                "type": "null"
   643              },
   644              {
   645                "$ref": "#/definitions/ApkMetadata"
   646              },
   647              {
   648                "$ref": "#/definitions/CargoPackageMetadata"
   649              },
   650              {
   651                "$ref": "#/definitions/DpkgMetadata"
   652              },
   653              {
   654                "$ref": "#/definitions/GemMetadata"
   655              },
   656              {
   657                "$ref": "#/definitions/GolangBinMetadata"
   658              },
   659              {
   660                "$ref": "#/definitions/JavaMetadata"
   661              },
   662              {
   663                "$ref": "#/definitions/NpmPackageJSONMetadata"
   664              },
   665              {
   666                "$ref": "#/definitions/PhpComposerJSONMetadata"
   667              },
   668              {
   669                "$ref": "#/definitions/PythonPackageMetadata"
   670              },
   671              {
   672                "$ref": "#/definitions/RpmdbMetadata"
   673              }
   674            ]
   675          }
   676        },
   677        "additionalProperties": true,
   678        "type": "object"
   679      },
   680      "PhpComposerAuthors": {
   681        "required": [
   682          "name"
   683        ],
   684        "properties": {
   685          "name": {
   686            "type": "string"
   687          },
   688          "email": {
   689            "type": "string"
   690          },
   691          "homepage": {
   692            "type": "string"
   693          }
   694        },
   695        "additionalProperties": true,
   696        "type": "object"
   697      },
   698      "PhpComposerExternalReference": {
   699        "required": [
   700          "type",
   701          "url",
   702          "reference"
   703        ],
   704        "properties": {
   705          "type": {
   706            "type": "string"
   707          },
   708          "url": {
   709            "type": "string"
   710          },
   711          "reference": {
   712            "type": "string"
   713          },
   714          "shasum": {
   715            "type": "string"
   716          }
   717        },
   718        "additionalProperties": true,
   719        "type": "object"
   720      },
   721      "PhpComposerJSONMetadata": {
   722        "required": [
   723          "name",
   724          "version",
   725          "source",
   726          "dist"
   727        ],
   728        "properties": {
   729          "name": {
   730            "type": "string"
   731          },
   732          "version": {
   733            "type": "string"
   734          },
   735          "source": {
   736            "$schema": "http://json-schema.org/draft-04/schema#",
   737            "$ref": "#/definitions/PhpComposerExternalReference"
   738          },
   739          "dist": {
   740            "$ref": "#/definitions/PhpComposerExternalReference"
   741          },
   742          "require": {
   743            "patternProperties": {
   744              ".*": {
   745                "type": "string"
   746              }
   747            },
   748            "type": "object"
   749          },
   750          "provide": {
   751            "patternProperties": {
   752              ".*": {
   753                "type": "string"
   754              }
   755            },
   756            "type": "object"
   757          },
   758          "require-dev": {
   759            "patternProperties": {
   760              ".*": {
   761                "type": "string"
   762              }
   763            },
   764            "type": "object"
   765          },
   766          "suggest": {
   767            "patternProperties": {
   768              ".*": {
   769                "type": "string"
   770              }
   771            },
   772            "type": "object"
   773          },
   774          "type": {
   775            "type": "string"
   776          },
   777          "notification-url": {
   778            "type": "string"
   779          },
   780          "bin": {
   781            "items": {
   782              "type": "string"
   783            },
   784            "type": "array"
   785          },
   786          "license": {
   787            "items": {
   788              "type": "string"
   789            },
   790            "type": "array"
   791          },
   792          "authors": {
   793            "items": {
   794              "$schema": "http://json-schema.org/draft-04/schema#",
   795              "$ref": "#/definitions/PhpComposerAuthors"
   796            },
   797            "type": "array"
   798          },
   799          "description": {
   800            "type": "string"
   801          },
   802          "homepage": {
   803            "type": "string"
   804          },
   805          "keywords": {
   806            "items": {
   807              "type": "string"
   808            },
   809            "type": "array"
   810          },
   811          "time": {
   812            "type": "string"
   813          }
   814        },
   815        "additionalProperties": true,
   816        "type": "object"
   817      },
   818      "PomParent": {
   819        "required": [
   820          "groupId",
   821          "artifactId",
   822          "version"
   823        ],
   824        "properties": {
   825          "groupId": {
   826            "type": "string"
   827          },
   828          "artifactId": {
   829            "type": "string"
   830          },
   831          "version": {
   832            "type": "string"
   833          }
   834        },
   835        "additionalProperties": true,
   836        "type": "object"
   837      },
   838      "PomProject": {
   839        "required": [
   840          "path",
   841          "groupId",
   842          "artifactId",
   843          "version",
   844          "name"
   845        ],
   846        "properties": {
   847          "path": {
   848            "type": "string"
   849          },
   850          "parent": {
   851            "$schema": "http://json-schema.org/draft-04/schema#",
   852            "$ref": "#/definitions/PomParent"
   853          },
   854          "groupId": {
   855            "type": "string"
   856          },
   857          "artifactId": {
   858            "type": "string"
   859          },
   860          "version": {
   861            "type": "string"
   862          },
   863          "name": {
   864            "type": "string"
   865          },
   866          "description": {
   867            "type": "string"
   868          },
   869          "url": {
   870            "type": "string"
   871          }
   872        },
   873        "additionalProperties": true,
   874        "type": "object"
   875      },
   876      "PomProperties": {
   877        "required": [
   878          "path",
   879          "name",
   880          "groupId",
   881          "artifactId",
   882          "version",
   883          "extraFields"
   884        ],
   885        "properties": {
   886          "path": {
   887            "type": "string"
   888          },
   889          "name": {
   890            "type": "string"
   891          },
   892          "groupId": {
   893            "type": "string"
   894          },
   895          "artifactId": {
   896            "type": "string"
   897          },
   898          "version": {
   899            "type": "string"
   900          },
   901          "extraFields": {
   902            "patternProperties": {
   903              ".*": {
   904                "type": "string"
   905              }
   906            },
   907            "type": "object"
   908          }
   909        },
   910        "additionalProperties": true,
   911        "type": "object"
   912      },
   913      "PythonDirectURLOriginInfo": {
   914        "required": [
   915          "url"
   916        ],
   917        "properties": {
   918          "url": {
   919            "type": "string"
   920          },
   921          "commitId": {
   922            "type": "string"
   923          },
   924          "vcs": {
   925            "type": "string"
   926          }
   927        },
   928        "additionalProperties": true,
   929        "type": "object"
   930      },
   931      "PythonFileDigest": {
   932        "required": [
   933          "algorithm",
   934          "value"
   935        ],
   936        "properties": {
   937          "algorithm": {
   938            "type": "string"
   939          },
   940          "value": {
   941            "type": "string"
   942          }
   943        },
   944        "additionalProperties": true,
   945        "type": "object"
   946      },
   947      "PythonFileRecord": {
   948        "required": [
   949          "path"
   950        ],
   951        "properties": {
   952          "path": {
   953            "type": "string"
   954          },
   955          "digest": {
   956            "$schema": "http://json-schema.org/draft-04/schema#",
   957            "$ref": "#/definitions/PythonFileDigest"
   958          },
   959          "size": {
   960            "type": "string"
   961          }
   962        },
   963        "additionalProperties": true,
   964        "type": "object"
   965      },
   966      "PythonPackageMetadata": {
   967        "required": [
   968          "name",
   969          "version",
   970          "license",
   971          "author",
   972          "authorEmail",
   973          "platform",
   974          "sitePackagesRootPath"
   975        ],
   976        "properties": {
   977          "name": {
   978            "type": "string"
   979          },
   980          "version": {
   981            "type": "string"
   982          },
   983          "license": {
   984            "type": "string"
   985          },
   986          "author": {
   987            "type": "string"
   988          },
   989          "authorEmail": {
   990            "type": "string"
   991          },
   992          "platform": {
   993            "type": "string"
   994          },
   995          "files": {
   996            "items": {
   997              "$schema": "http://json-schema.org/draft-04/schema#",
   998              "$ref": "#/definitions/PythonFileRecord"
   999            },
  1000            "type": "array"
  1001          },
  1002          "sitePackagesRootPath": {
  1003            "type": "string"
  1004          },
  1005          "topLevelPackages": {
  1006            "items": {
  1007              "type": "string"
  1008            },
  1009            "type": "array"
  1010          },
  1011          "directUrlOrigin": {
  1012            "$schema": "http://json-schema.org/draft-04/schema#",
  1013            "$ref": "#/definitions/PythonDirectURLOriginInfo"
  1014          }
  1015        },
  1016        "additionalProperties": true,
  1017        "type": "object"
  1018      },
  1019      "Relationship": {
  1020        "required": [
  1021          "parent",
  1022          "child",
  1023          "type"
  1024        ],
  1025        "properties": {
  1026          "parent": {
  1027            "type": "string"
  1028          },
  1029          "child": {
  1030            "type": "string"
  1031          },
  1032          "type": {
  1033            "type": "string"
  1034          },
  1035          "metadata": {
  1036            "additionalProperties": true
  1037          }
  1038        },
  1039        "additionalProperties": true,
  1040        "type": "object"
  1041      },
  1042      "RpmdbFileRecord": {
  1043        "required": [
  1044          "path",
  1045          "mode",
  1046          "size",
  1047          "digest",
  1048          "userName",
  1049          "groupName",
  1050          "flags"
  1051        ],
  1052        "properties": {
  1053          "path": {
  1054            "type": "string"
  1055          },
  1056          "mode": {
  1057            "type": "integer"
  1058          },
  1059          "size": {
  1060            "type": "integer"
  1061          },
  1062          "digest": {
  1063            "$ref": "#/definitions/Digest"
  1064          },
  1065          "userName": {
  1066            "type": "string"
  1067          },
  1068          "groupName": {
  1069            "type": "string"
  1070          },
  1071          "flags": {
  1072            "type": "string"
  1073          }
  1074        },
  1075        "additionalProperties": true,
  1076        "type": "object"
  1077      },
  1078      "RpmdbMetadata": {
  1079        "required": [
  1080          "name",
  1081          "version",
  1082          "epoch",
  1083          "architecture",
  1084          "release",
  1085          "sourceRpm",
  1086          "size",
  1087          "license",
  1088          "vendor",
  1089          "files"
  1090        ],
  1091        "properties": {
  1092          "name": {
  1093            "type": "string"
  1094          },
  1095          "version": {
  1096            "type": "string"
  1097          },
  1098          "epoch": {
  1099            "type": "integer"
  1100          },
  1101          "architecture": {
  1102            "type": "string"
  1103          },
  1104          "release": {
  1105            "type": "string"
  1106          },
  1107          "sourceRpm": {
  1108            "type": "string"
  1109          },
  1110          "size": {
  1111            "type": "integer"
  1112          },
  1113          "license": {
  1114            "type": "string"
  1115          },
  1116          "vendor": {
  1117            "type": "string"
  1118          },
  1119          "files": {
  1120            "items": {
  1121              "$schema": "http://json-schema.org/draft-04/schema#",
  1122              "$ref": "#/definitions/RpmdbFileRecord"
  1123            },
  1124            "type": "array"
  1125          }
  1126        },
  1127        "additionalProperties": true,
  1128        "type": "object"
  1129      },
  1130      "Schema": {
  1131        "required": [
  1132          "version",
  1133          "url"
  1134        ],
  1135        "properties": {
  1136          "version": {
  1137            "type": "string"
  1138          },
  1139          "url": {
  1140            "type": "string"
  1141          }
  1142        },
  1143        "additionalProperties": true,
  1144        "type": "object"
  1145      },
  1146      "SearchResult": {
  1147        "required": [
  1148          "classification",
  1149          "lineNumber",
  1150          "lineOffset",
  1151          "seekPosition",
  1152          "length"
  1153        ],
  1154        "properties": {
  1155          "classification": {
  1156            "type": "string"
  1157          },
  1158          "lineNumber": {
  1159            "type": "integer"
  1160          },
  1161          "lineOffset": {
  1162            "type": "integer"
  1163          },
  1164          "seekPosition": {
  1165            "type": "integer"
  1166          },
  1167          "length": {
  1168            "type": "integer"
  1169          },
  1170          "value": {
  1171            "type": "string"
  1172          }
  1173        },
  1174        "additionalProperties": true,
  1175        "type": "object"
  1176      },
  1177      "Secrets": {
  1178        "required": [
  1179          "location",
  1180          "secrets"
  1181        ],
  1182        "properties": {
  1183          "location": {
  1184            "$ref": "#/definitions/Coordinates"
  1185          },
  1186          "secrets": {
  1187            "items": {
  1188              "$schema": "http://json-schema.org/draft-04/schema#",
  1189              "$ref": "#/definitions/SearchResult"
  1190            },
  1191            "type": "array"
  1192          }
  1193        },
  1194        "additionalProperties": true,
  1195        "type": "object"
  1196      },
  1197      "Source": {
  1198        "required": [
  1199          "type",
  1200          "target"
  1201        ],
  1202        "properties": {
  1203          "type": {
  1204            "type": "string"
  1205          },
  1206          "target": {
  1207            "additionalProperties": true
  1208          }
  1209        },
  1210        "additionalProperties": true,
  1211        "type": "object"
  1212      }
  1213    }
  1214  }