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