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