github.com/lineaje-labs/syft@v0.98.1-0.20231227153149-9e393f60ff1b/schema/json/schema-6.2.0.json (about)

     1  {
     2    "$schema": "https://json-schema.org/draft/2020-12/schema",
     3    "$id": "https://github.com/anchore/syft/syft/formats/syftjson/model/document",
     4    "$ref": "#/$defs/Document",
     5    "$defs": {
     6      "AlpmFileRecord": {
     7        "properties": {
     8          "path": {
     9            "type": "string"
    10          },
    11          "type": {
    12            "type": "string"
    13          },
    14          "uid": {
    15            "type": "string"
    16          },
    17          "gid": {
    18            "type": "string"
    19          },
    20          "time": {
    21            "type": "string",
    22            "format": "date-time"
    23          },
    24          "size": {
    25            "type": "string"
    26          },
    27          "link": {
    28            "type": "string"
    29          },
    30          "digest": {
    31            "items": {
    32              "$ref": "#/$defs/Digest"
    33            },
    34            "type": "array"
    35          }
    36        },
    37        "type": "object"
    38      },
    39      "AlpmMetadata": {
    40        "properties": {
    41          "basepackage": {
    42            "type": "string"
    43          },
    44          "package": {
    45            "type": "string"
    46          },
    47          "version": {
    48            "type": "string"
    49          },
    50          "description": {
    51            "type": "string"
    52          },
    53          "architecture": {
    54            "type": "string"
    55          },
    56          "size": {
    57            "type": "integer"
    58          },
    59          "packager": {
    60            "type": "string"
    61          },
    62          "license": {
    63            "type": "string"
    64          },
    65          "url": {
    66            "type": "string"
    67          },
    68          "validation": {
    69            "type": "string"
    70          },
    71          "reason": {
    72            "type": "integer"
    73          },
    74          "files": {
    75            "items": {
    76              "$ref": "#/$defs/AlpmFileRecord"
    77            },
    78            "type": "array"
    79          },
    80          "backup": {
    81            "items": {
    82              "$ref": "#/$defs/AlpmFileRecord"
    83            },
    84            "type": "array"
    85          }
    86        },
    87        "type": "object",
    88        "required": [
    89          "basepackage",
    90          "package",
    91          "version",
    92          "description",
    93          "architecture",
    94          "size",
    95          "packager",
    96          "license",
    97          "url",
    98          "validation",
    99          "reason",
   100          "files",
   101          "backup"
   102        ]
   103      },
   104      "ApkFileRecord": {
   105        "properties": {
   106          "path": {
   107            "type": "string"
   108          },
   109          "ownerUid": {
   110            "type": "string"
   111          },
   112          "ownerGid": {
   113            "type": "string"
   114          },
   115          "permissions": {
   116            "type": "string"
   117          },
   118          "digest": {
   119            "$ref": "#/$defs/Digest"
   120          }
   121        },
   122        "type": "object",
   123        "required": [
   124          "path"
   125        ]
   126      },
   127      "ApkMetadata": {
   128        "properties": {
   129          "package": {
   130            "type": "string"
   131          },
   132          "originPackage": {
   133            "type": "string"
   134          },
   135          "maintainer": {
   136            "type": "string"
   137          },
   138          "version": {
   139            "type": "string"
   140          },
   141          "license": {
   142            "type": "string"
   143          },
   144          "architecture": {
   145            "type": "string"
   146          },
   147          "url": {
   148            "type": "string"
   149          },
   150          "description": {
   151            "type": "string"
   152          },
   153          "size": {
   154            "type": "integer"
   155          },
   156          "installedSize": {
   157            "type": "integer"
   158          },
   159          "pullDependencies": {
   160            "items": {
   161              "type": "string"
   162            },
   163            "type": "array"
   164          },
   165          "provides": {
   166            "items": {
   167              "type": "string"
   168            },
   169            "type": "array"
   170          },
   171          "pullChecksum": {
   172            "type": "string"
   173          },
   174          "gitCommitOfApkPort": {
   175            "type": "string"
   176          },
   177          "files": {
   178            "items": {
   179              "$ref": "#/$defs/ApkFileRecord"
   180            },
   181            "type": "array"
   182          }
   183        },
   184        "type": "object",
   185        "required": [
   186          "package",
   187          "originPackage",
   188          "maintainer",
   189          "version",
   190          "license",
   191          "architecture",
   192          "url",
   193          "description",
   194          "size",
   195          "installedSize",
   196          "pullDependencies",
   197          "provides",
   198          "pullChecksum",
   199          "gitCommitOfApkPort",
   200          "files"
   201        ]
   202      },
   203      "BinaryMetadata": {
   204        "properties": {
   205          "classifier": {
   206            "type": "string"
   207          },
   208          "realPath": {
   209            "type": "string"
   210          },
   211          "virtualPath": {
   212            "type": "string"
   213          }
   214        },
   215        "type": "object",
   216        "required": [
   217          "classifier",
   218          "realPath",
   219          "virtualPath"
   220        ]
   221      },
   222      "CargoPackageMetadata": {
   223        "properties": {
   224          "name": {
   225            "type": "string"
   226          },
   227          "version": {
   228            "type": "string"
   229          },
   230          "source": {
   231            "type": "string"
   232          },
   233          "checksum": {
   234            "type": "string"
   235          },
   236          "dependencies": {
   237            "items": {
   238              "type": "string"
   239            },
   240            "type": "array"
   241          }
   242        },
   243        "type": "object",
   244        "required": [
   245          "name",
   246          "version",
   247          "source",
   248          "checksum",
   249          "dependencies"
   250        ]
   251      },
   252      "CocoapodsMetadata": {
   253        "properties": {
   254          "checksum": {
   255            "type": "string"
   256          }
   257        },
   258        "type": "object",
   259        "required": [
   260          "checksum"
   261        ]
   262      },
   263      "ConanLockMetadata": {
   264        "properties": {
   265          "ref": {
   266            "type": "string"
   267          },
   268          "package_id": {
   269            "type": "string"
   270          },
   271          "prev": {
   272            "type": "string"
   273          },
   274          "requires": {
   275            "type": "string"
   276          },
   277          "build_requires": {
   278            "type": "string"
   279          },
   280          "py_requires": {
   281            "type": "string"
   282          },
   283          "options": {
   284            "patternProperties": {
   285              ".*": {
   286                "type": "string"
   287              }
   288            },
   289            "type": "object"
   290          },
   291          "path": {
   292            "type": "string"
   293          },
   294          "context": {
   295            "type": "string"
   296          }
   297        },
   298        "type": "object",
   299        "required": [
   300          "ref"
   301        ]
   302      },
   303      "ConanMetadata": {
   304        "properties": {
   305          "ref": {
   306            "type": "string"
   307          }
   308        },
   309        "type": "object",
   310        "required": [
   311          "ref"
   312        ]
   313      },
   314      "Coordinates": {
   315        "properties": {
   316          "path": {
   317            "type": "string"
   318          },
   319          "layerID": {
   320            "type": "string"
   321          }
   322        },
   323        "type": "object",
   324        "required": [
   325          "path"
   326        ]
   327      },
   328      "DartPubMetadata": {
   329        "properties": {
   330          "name": {
   331            "type": "string"
   332          },
   333          "version": {
   334            "type": "string"
   335          },
   336          "hosted_url": {
   337            "type": "string"
   338          },
   339          "vcs_url": {
   340            "type": "string"
   341          }
   342        },
   343        "type": "object",
   344        "required": [
   345          "name",
   346          "version"
   347        ]
   348      },
   349      "Descriptor": {
   350        "properties": {
   351          "name": {
   352            "type": "string"
   353          },
   354          "version": {
   355            "type": "string"
   356          },
   357          "configuration": true
   358        },
   359        "type": "object",
   360        "required": [
   361          "name",
   362          "version"
   363        ]
   364      },
   365      "Digest": {
   366        "properties": {
   367          "algorithm": {
   368            "type": "string"
   369          },
   370          "value": {
   371            "type": "string"
   372          }
   373        },
   374        "type": "object",
   375        "required": [
   376          "algorithm",
   377          "value"
   378        ]
   379      },
   380      "Document": {
   381        "properties": {
   382          "artifacts": {
   383            "items": {
   384              "$ref": "#/$defs/Package"
   385            },
   386            "type": "array"
   387          },
   388          "artifactRelationships": {
   389            "items": {
   390              "$ref": "#/$defs/Relationship"
   391            },
   392            "type": "array"
   393          },
   394          "files": {
   395            "items": {
   396              "$ref": "#/$defs/File"
   397            },
   398            "type": "array"
   399          },
   400          "secrets": {
   401            "items": {
   402              "$ref": "#/$defs/Secrets"
   403            },
   404            "type": "array"
   405          },
   406          "source": {
   407            "$ref": "#/$defs/Source"
   408          },
   409          "distro": {
   410            "$ref": "#/$defs/LinuxRelease"
   411          },
   412          "descriptor": {
   413            "$ref": "#/$defs/Descriptor"
   414          },
   415          "schema": {
   416            "$ref": "#/$defs/Schema"
   417          }
   418        },
   419        "type": "object",
   420        "required": [
   421          "artifacts",
   422          "artifactRelationships",
   423          "source",
   424          "distro",
   425          "descriptor",
   426          "schema"
   427        ]
   428      },
   429      "DotnetDepsMetadata": {
   430        "properties": {
   431          "name": {
   432            "type": "string"
   433          },
   434          "version": {
   435            "type": "string"
   436          },
   437          "path": {
   438            "type": "string"
   439          },
   440          "sha512": {
   441            "type": "string"
   442          },
   443          "hashPath": {
   444            "type": "string"
   445          }
   446        },
   447        "type": "object",
   448        "required": [
   449          "name",
   450          "version",
   451          "path",
   452          "sha512",
   453          "hashPath"
   454        ]
   455      },
   456      "DpkgFileRecord": {
   457        "properties": {
   458          "path": {
   459            "type": "string"
   460          },
   461          "digest": {
   462            "$ref": "#/$defs/Digest"
   463          },
   464          "isConfigFile": {
   465            "type": "boolean"
   466          }
   467        },
   468        "type": "object",
   469        "required": [
   470          "path",
   471          "isConfigFile"
   472        ]
   473      },
   474      "DpkgMetadata": {
   475        "properties": {
   476          "package": {
   477            "type": "string"
   478          },
   479          "source": {
   480            "type": "string"
   481          },
   482          "version": {
   483            "type": "string"
   484          },
   485          "sourceVersion": {
   486            "type": "string"
   487          },
   488          "architecture": {
   489            "type": "string"
   490          },
   491          "maintainer": {
   492            "type": "string"
   493          },
   494          "installedSize": {
   495            "type": "integer"
   496          },
   497          "files": {
   498            "items": {
   499              "$ref": "#/$defs/DpkgFileRecord"
   500            },
   501            "type": "array"
   502          }
   503        },
   504        "type": "object",
   505        "required": [
   506          "package",
   507          "source",
   508          "version",
   509          "sourceVersion",
   510          "architecture",
   511          "maintainer",
   512          "installedSize",
   513          "files"
   514        ]
   515      },
   516      "File": {
   517        "properties": {
   518          "id": {
   519            "type": "string"
   520          },
   521          "location": {
   522            "$ref": "#/$defs/Coordinates"
   523          },
   524          "metadata": {
   525            "$ref": "#/$defs/FileMetadataEntry"
   526          },
   527          "contents": {
   528            "type": "string"
   529          },
   530          "digests": {
   531            "items": {
   532              "$ref": "#/$defs/Digest"
   533            },
   534            "type": "array"
   535          }
   536        },
   537        "type": "object",
   538        "required": [
   539          "id",
   540          "location"
   541        ]
   542      },
   543      "FileMetadataEntry": {
   544        "properties": {
   545          "mode": {
   546            "type": "integer"
   547          },
   548          "type": {
   549            "type": "string"
   550          },
   551          "linkDestination": {
   552            "type": "string"
   553          },
   554          "userID": {
   555            "type": "integer"
   556          },
   557          "groupID": {
   558            "type": "integer"
   559          },
   560          "mimeType": {
   561            "type": "string"
   562          }
   563        },
   564        "type": "object",
   565        "required": [
   566          "mode",
   567          "type",
   568          "userID",
   569          "groupID",
   570          "mimeType"
   571        ]
   572      },
   573      "GemMetadata": {
   574        "properties": {
   575          "name": {
   576            "type": "string"
   577          },
   578          "version": {
   579            "type": "string"
   580          },
   581          "files": {
   582            "items": {
   583              "type": "string"
   584            },
   585            "type": "array"
   586          },
   587          "authors": {
   588            "items": {
   589              "type": "string"
   590            },
   591            "type": "array"
   592          },
   593          "licenses": {
   594            "items": {
   595              "type": "string"
   596            },
   597            "type": "array"
   598          },
   599          "homepage": {
   600            "type": "string"
   601          }
   602        },
   603        "type": "object",
   604        "required": [
   605          "name",
   606          "version"
   607        ]
   608      },
   609      "GolangBinMetadata": {
   610        "properties": {
   611          "goBuildSettings": {
   612            "patternProperties": {
   613              ".*": {
   614                "type": "string"
   615              }
   616            },
   617            "type": "object"
   618          },
   619          "goCompiledVersion": {
   620            "type": "string"
   621          },
   622          "architecture": {
   623            "type": "string"
   624          },
   625          "h1Digest": {
   626            "type": "string"
   627          },
   628          "mainModule": {
   629            "type": "string"
   630          }
   631        },
   632        "type": "object",
   633        "required": [
   634          "goCompiledVersion",
   635          "architecture"
   636        ]
   637      },
   638      "GolangModMetadata": {
   639        "properties": {
   640          "h1Digest": {
   641            "type": "string"
   642          }
   643        },
   644        "type": "object"
   645      },
   646      "HackageMetadata": {
   647        "properties": {
   648          "name": {
   649            "type": "string"
   650          },
   651          "version": {
   652            "type": "string"
   653          },
   654          "pkgHash": {
   655            "type": "string"
   656          },
   657          "snapshotURL": {
   658            "type": "string"
   659          }
   660        },
   661        "type": "object",
   662        "required": [
   663          "name",
   664          "version"
   665        ]
   666      },
   667      "IDLikes": {
   668        "items": {
   669          "type": "string"
   670        },
   671        "type": "array"
   672      },
   673      "JavaManifest": {
   674        "properties": {
   675          "main": {
   676            "patternProperties": {
   677              ".*": {
   678                "type": "string"
   679              }
   680            },
   681            "type": "object"
   682          },
   683          "namedSections": {
   684            "patternProperties": {
   685              ".*": {
   686                "patternProperties": {
   687                  ".*": {
   688                    "type": "string"
   689                  }
   690                },
   691                "type": "object"
   692              }
   693            },
   694            "type": "object"
   695          }
   696        },
   697        "type": "object"
   698      },
   699      "JavaMetadata": {
   700        "properties": {
   701          "virtualPath": {
   702            "type": "string"
   703          },
   704          "manifest": {
   705            "$ref": "#/$defs/JavaManifest"
   706          },
   707          "pomProperties": {
   708            "$ref": "#/$defs/PomProperties"
   709          },
   710          "pomProject": {
   711            "$ref": "#/$defs/PomProject"
   712          },
   713          "digest": {
   714            "items": {
   715              "$ref": "#/$defs/Digest"
   716            },
   717            "type": "array"
   718          }
   719        },
   720        "type": "object",
   721        "required": [
   722          "virtualPath"
   723        ]
   724      },
   725      "KbPackageMetadata": {
   726        "properties": {
   727          "product_id": {
   728            "type": "string"
   729          },
   730          "kb": {
   731            "type": "string"
   732          }
   733        },
   734        "type": "object",
   735        "required": [
   736          "product_id",
   737          "kb"
   738        ]
   739      },
   740      "LinuxRelease": {
   741        "properties": {
   742          "prettyName": {
   743            "type": "string"
   744          },
   745          "name": {
   746            "type": "string"
   747          },
   748          "id": {
   749            "type": "string"
   750          },
   751          "idLike": {
   752            "$ref": "#/$defs/IDLikes"
   753          },
   754          "version": {
   755            "type": "string"
   756          },
   757          "versionID": {
   758            "type": "string"
   759          },
   760          "versionCodename": {
   761            "type": "string"
   762          },
   763          "buildID": {
   764            "type": "string"
   765          },
   766          "imageID": {
   767            "type": "string"
   768          },
   769          "imageVersion": {
   770            "type": "string"
   771          },
   772          "variant": {
   773            "type": "string"
   774          },
   775          "variantID": {
   776            "type": "string"
   777          },
   778          "homeURL": {
   779            "type": "string"
   780          },
   781          "supportURL": {
   782            "type": "string"
   783          },
   784          "bugReportURL": {
   785            "type": "string"
   786          },
   787          "privacyPolicyURL": {
   788            "type": "string"
   789          },
   790          "cpeName": {
   791            "type": "string"
   792          }
   793        },
   794        "type": "object"
   795      },
   796      "MixLockMetadata": {
   797        "properties": {
   798          "name": {
   799            "type": "string"
   800          },
   801          "version": {
   802            "type": "string"
   803          },
   804          "pkgHash": {
   805            "type": "string"
   806          },
   807          "pkgHashExt": {
   808            "type": "string"
   809          }
   810        },
   811        "type": "object",
   812        "required": [
   813          "name",
   814          "version",
   815          "pkgHash",
   816          "pkgHashExt"
   817        ]
   818      },
   819      "NpmPackageJSONMetadata": {
   820        "properties": {
   821          "name": {
   822            "type": "string"
   823          },
   824          "version": {
   825            "type": "string"
   826          },
   827          "files": {
   828            "items": {
   829              "type": "string"
   830            },
   831            "type": "array"
   832          },
   833          "author": {
   834            "type": "string"
   835          },
   836          "licenses": {
   837            "items": {
   838              "type": "string"
   839            },
   840            "type": "array"
   841          },
   842          "homepage": {
   843            "type": "string"
   844          },
   845          "description": {
   846            "type": "string"
   847          },
   848          "url": {
   849            "type": "string"
   850          },
   851          "private": {
   852            "type": "boolean"
   853          }
   854        },
   855        "type": "object",
   856        "required": [
   857          "name",
   858          "version",
   859          "author",
   860          "licenses",
   861          "homepage",
   862          "description",
   863          "url",
   864          "private"
   865        ]
   866      },
   867      "NpmPackageLockJSONMetadata": {
   868        "properties": {
   869          "resolved": {
   870            "type": "string"
   871          },
   872          "integrity": {
   873            "type": "string"
   874          }
   875        },
   876        "type": "object",
   877        "required": [
   878          "resolved",
   879          "integrity"
   880        ]
   881      },
   882      "Package": {
   883        "properties": {
   884          "id": {
   885            "type": "string"
   886          },
   887          "name": {
   888            "type": "string"
   889          },
   890          "version": {
   891            "type": "string"
   892          },
   893          "type": {
   894            "type": "string"
   895          },
   896          "foundBy": {
   897            "type": "string"
   898          },
   899          "locations": {
   900            "items": {
   901              "$ref": "#/$defs/Coordinates"
   902            },
   903            "type": "array"
   904          },
   905          "licenses": {
   906            "items": {
   907              "type": "string"
   908            },
   909            "type": "array"
   910          },
   911          "language": {
   912            "type": "string"
   913          },
   914          "cpes": {
   915            "items": {
   916              "type": "string"
   917            },
   918            "type": "array"
   919          },
   920          "purl": {
   921            "type": "string"
   922          },
   923          "metadataType": {
   924            "type": "string"
   925          },
   926          "metadata": {
   927            "anyOf": [
   928              {
   929                "type": "null"
   930              },
   931              {
   932                "$ref": "#/$defs/AlpmMetadata"
   933              },
   934              {
   935                "$ref": "#/$defs/ApkMetadata"
   936              },
   937              {
   938                "$ref": "#/$defs/BinaryMetadata"
   939              },
   940              {
   941                "$ref": "#/$defs/CargoPackageMetadata"
   942              },
   943              {
   944                "$ref": "#/$defs/CocoapodsMetadata"
   945              },
   946              {
   947                "$ref": "#/$defs/ConanLockMetadata"
   948              },
   949              {
   950                "$ref": "#/$defs/ConanMetadata"
   951              },
   952              {
   953                "$ref": "#/$defs/DartPubMetadata"
   954              },
   955              {
   956                "$ref": "#/$defs/DotnetDepsMetadata"
   957              },
   958              {
   959                "$ref": "#/$defs/DpkgMetadata"
   960              },
   961              {
   962                "$ref": "#/$defs/GemMetadata"
   963              },
   964              {
   965                "$ref": "#/$defs/GolangBinMetadata"
   966              },
   967              {
   968                "$ref": "#/$defs/GolangModMetadata"
   969              },
   970              {
   971                "$ref": "#/$defs/HackageMetadata"
   972              },
   973              {
   974                "$ref": "#/$defs/JavaMetadata"
   975              },
   976              {
   977                "$ref": "#/$defs/KbPackageMetadata"
   978              },
   979              {
   980                "$ref": "#/$defs/MixLockMetadata"
   981              },
   982              {
   983                "$ref": "#/$defs/NpmPackageJSONMetadata"
   984              },
   985              {
   986                "$ref": "#/$defs/NpmPackageLockJSONMetadata"
   987              },
   988              {
   989                "$ref": "#/$defs/PhpComposerJSONMetadata"
   990              },
   991              {
   992                "$ref": "#/$defs/PortageMetadata"
   993              },
   994              {
   995                "$ref": "#/$defs/PythonPackageMetadata"
   996              },
   997              {
   998                "$ref": "#/$defs/PythonPipfileLockMetadata"
   999              },
  1000              {
  1001                "$ref": "#/$defs/RebarLockMetadata"
  1002              },
  1003              {
  1004                "$ref": "#/$defs/RpmMetadata"
  1005              }
  1006            ]
  1007          }
  1008        },
  1009        "type": "object",
  1010        "required": [
  1011          "id",
  1012          "name",
  1013          "version",
  1014          "type",
  1015          "foundBy",
  1016          "locations",
  1017          "licenses",
  1018          "language",
  1019          "cpes",
  1020          "purl"
  1021        ]
  1022      },
  1023      "PhpComposerAuthors": {
  1024        "properties": {
  1025          "name": {
  1026            "type": "string"
  1027          },
  1028          "email": {
  1029            "type": "string"
  1030          },
  1031          "homepage": {
  1032            "type": "string"
  1033          }
  1034        },
  1035        "type": "object",
  1036        "required": [
  1037          "name"
  1038        ]
  1039      },
  1040      "PhpComposerExternalReference": {
  1041        "properties": {
  1042          "type": {
  1043            "type": "string"
  1044          },
  1045          "url": {
  1046            "type": "string"
  1047          },
  1048          "reference": {
  1049            "type": "string"
  1050          },
  1051          "shasum": {
  1052            "type": "string"
  1053          }
  1054        },
  1055        "type": "object",
  1056        "required": [
  1057          "type",
  1058          "url",
  1059          "reference"
  1060        ]
  1061      },
  1062      "PhpComposerJSONMetadata": {
  1063        "properties": {
  1064          "name": {
  1065            "type": "string"
  1066          },
  1067          "version": {
  1068            "type": "string"
  1069          },
  1070          "source": {
  1071            "$ref": "#/$defs/PhpComposerExternalReference"
  1072          },
  1073          "dist": {
  1074            "$ref": "#/$defs/PhpComposerExternalReference"
  1075          },
  1076          "require": {
  1077            "patternProperties": {
  1078              ".*": {
  1079                "type": "string"
  1080              }
  1081            },
  1082            "type": "object"
  1083          },
  1084          "provide": {
  1085            "patternProperties": {
  1086              ".*": {
  1087                "type": "string"
  1088              }
  1089            },
  1090            "type": "object"
  1091          },
  1092          "require-dev": {
  1093            "patternProperties": {
  1094              ".*": {
  1095                "type": "string"
  1096              }
  1097            },
  1098            "type": "object"
  1099          },
  1100          "suggest": {
  1101            "patternProperties": {
  1102              ".*": {
  1103                "type": "string"
  1104              }
  1105            },
  1106            "type": "object"
  1107          },
  1108          "type": {
  1109            "type": "string"
  1110          },
  1111          "notification-url": {
  1112            "type": "string"
  1113          },
  1114          "bin": {
  1115            "items": {
  1116              "type": "string"
  1117            },
  1118            "type": "array"
  1119          },
  1120          "license": {
  1121            "items": {
  1122              "type": "string"
  1123            },
  1124            "type": "array"
  1125          },
  1126          "authors": {
  1127            "items": {
  1128              "$ref": "#/$defs/PhpComposerAuthors"
  1129            },
  1130            "type": "array"
  1131          },
  1132          "description": {
  1133            "type": "string"
  1134          },
  1135          "homepage": {
  1136            "type": "string"
  1137          },
  1138          "keywords": {
  1139            "items": {
  1140              "type": "string"
  1141            },
  1142            "type": "array"
  1143          },
  1144          "time": {
  1145            "type": "string"
  1146          }
  1147        },
  1148        "type": "object",
  1149        "required": [
  1150          "name",
  1151          "version",
  1152          "source",
  1153          "dist"
  1154        ]
  1155      },
  1156      "PomParent": {
  1157        "properties": {
  1158          "groupId": {
  1159            "type": "string"
  1160          },
  1161          "artifactId": {
  1162            "type": "string"
  1163          },
  1164          "version": {
  1165            "type": "string"
  1166          }
  1167        },
  1168        "type": "object",
  1169        "required": [
  1170          "groupId",
  1171          "artifactId",
  1172          "version"
  1173        ]
  1174      },
  1175      "PomProject": {
  1176        "properties": {
  1177          "path": {
  1178            "type": "string"
  1179          },
  1180          "parent": {
  1181            "$ref": "#/$defs/PomParent"
  1182          },
  1183          "groupId": {
  1184            "type": "string"
  1185          },
  1186          "artifactId": {
  1187            "type": "string"
  1188          },
  1189          "version": {
  1190            "type": "string"
  1191          },
  1192          "name": {
  1193            "type": "string"
  1194          },
  1195          "description": {
  1196            "type": "string"
  1197          },
  1198          "url": {
  1199            "type": "string"
  1200          }
  1201        },
  1202        "type": "object",
  1203        "required": [
  1204          "path",
  1205          "groupId",
  1206          "artifactId",
  1207          "version",
  1208          "name"
  1209        ]
  1210      },
  1211      "PomProperties": {
  1212        "properties": {
  1213          "path": {
  1214            "type": "string"
  1215          },
  1216          "name": {
  1217            "type": "string"
  1218          },
  1219          "groupId": {
  1220            "type": "string"
  1221          },
  1222          "artifactId": {
  1223            "type": "string"
  1224          },
  1225          "version": {
  1226            "type": "string"
  1227          },
  1228          "extraFields": {
  1229            "patternProperties": {
  1230              ".*": {
  1231                "type": "string"
  1232              }
  1233            },
  1234            "type": "object"
  1235          }
  1236        },
  1237        "type": "object",
  1238        "required": [
  1239          "path",
  1240          "name",
  1241          "groupId",
  1242          "artifactId",
  1243          "version"
  1244        ]
  1245      },
  1246      "PortageFileRecord": {
  1247        "properties": {
  1248          "path": {
  1249            "type": "string"
  1250          },
  1251          "digest": {
  1252            "$ref": "#/$defs/Digest"
  1253          }
  1254        },
  1255        "type": "object",
  1256        "required": [
  1257          "path"
  1258        ]
  1259      },
  1260      "PortageMetadata": {
  1261        "properties": {
  1262          "installedSize": {
  1263            "type": "integer"
  1264          },
  1265          "files": {
  1266            "items": {
  1267              "$ref": "#/$defs/PortageFileRecord"
  1268            },
  1269            "type": "array"
  1270          }
  1271        },
  1272        "type": "object",
  1273        "required": [
  1274          "installedSize",
  1275          "files"
  1276        ]
  1277      },
  1278      "PythonDirectURLOriginInfo": {
  1279        "properties": {
  1280          "url": {
  1281            "type": "string"
  1282          },
  1283          "commitId": {
  1284            "type": "string"
  1285          },
  1286          "vcs": {
  1287            "type": "string"
  1288          }
  1289        },
  1290        "type": "object",
  1291        "required": [
  1292          "url"
  1293        ]
  1294      },
  1295      "PythonFileDigest": {
  1296        "properties": {
  1297          "algorithm": {
  1298            "type": "string"
  1299          },
  1300          "value": {
  1301            "type": "string"
  1302          }
  1303        },
  1304        "type": "object",
  1305        "required": [
  1306          "algorithm",
  1307          "value"
  1308        ]
  1309      },
  1310      "PythonFileRecord": {
  1311        "properties": {
  1312          "path": {
  1313            "type": "string"
  1314          },
  1315          "digest": {
  1316            "$ref": "#/$defs/PythonFileDigest"
  1317          },
  1318          "size": {
  1319            "type": "string"
  1320          }
  1321        },
  1322        "type": "object",
  1323        "required": [
  1324          "path"
  1325        ]
  1326      },
  1327      "PythonPackageMetadata": {
  1328        "properties": {
  1329          "name": {
  1330            "type": "string"
  1331          },
  1332          "version": {
  1333            "type": "string"
  1334          },
  1335          "license": {
  1336            "type": "string"
  1337          },
  1338          "author": {
  1339            "type": "string"
  1340          },
  1341          "authorEmail": {
  1342            "type": "string"
  1343          },
  1344          "platform": {
  1345            "type": "string"
  1346          },
  1347          "files": {
  1348            "items": {
  1349              "$ref": "#/$defs/PythonFileRecord"
  1350            },
  1351            "type": "array"
  1352          },
  1353          "sitePackagesRootPath": {
  1354            "type": "string"
  1355          },
  1356          "topLevelPackages": {
  1357            "items": {
  1358              "type": "string"
  1359            },
  1360            "type": "array"
  1361          },
  1362          "directUrlOrigin": {
  1363            "$ref": "#/$defs/PythonDirectURLOriginInfo"
  1364          }
  1365        },
  1366        "type": "object",
  1367        "required": [
  1368          "name",
  1369          "version",
  1370          "license",
  1371          "author",
  1372          "authorEmail",
  1373          "platform",
  1374          "sitePackagesRootPath"
  1375        ]
  1376      },
  1377      "PythonPipfileLockMetadata": {
  1378        "properties": {
  1379          "hashes": {
  1380            "items": {
  1381              "type": "string"
  1382            },
  1383            "type": "array"
  1384          },
  1385          "index": {
  1386            "type": "string"
  1387          }
  1388        },
  1389        "type": "object",
  1390        "required": [
  1391          "hashes",
  1392          "index"
  1393        ]
  1394      },
  1395      "RebarLockMetadata": {
  1396        "properties": {
  1397          "name": {
  1398            "type": "string"
  1399          },
  1400          "version": {
  1401            "type": "string"
  1402          },
  1403          "pkgHash": {
  1404            "type": "string"
  1405          },
  1406          "pkgHashExt": {
  1407            "type": "string"
  1408          }
  1409        },
  1410        "type": "object",
  1411        "required": [
  1412          "name",
  1413          "version",
  1414          "pkgHash",
  1415          "pkgHashExt"
  1416        ]
  1417      },
  1418      "Relationship": {
  1419        "properties": {
  1420          "parent": {
  1421            "type": "string"
  1422          },
  1423          "child": {
  1424            "type": "string"
  1425          },
  1426          "type": {
  1427            "type": "string"
  1428          },
  1429          "metadata": true
  1430        },
  1431        "type": "object",
  1432        "required": [
  1433          "parent",
  1434          "child",
  1435          "type"
  1436        ]
  1437      },
  1438      "RpmMetadata": {
  1439        "properties": {
  1440          "name": {
  1441            "type": "string"
  1442          },
  1443          "version": {
  1444            "type": "string"
  1445          },
  1446          "epoch": {
  1447            "oneOf": [
  1448              {
  1449                "type": "integer"
  1450              },
  1451              {
  1452                "type": "null"
  1453              }
  1454            ]
  1455          },
  1456          "architecture": {
  1457            "type": "string"
  1458          },
  1459          "release": {
  1460            "type": "string"
  1461          },
  1462          "sourceRpm": {
  1463            "type": "string"
  1464          },
  1465          "size": {
  1466            "type": "integer"
  1467          },
  1468          "license": {
  1469            "type": "string"
  1470          },
  1471          "vendor": {
  1472            "type": "string"
  1473          },
  1474          "modularityLabel": {
  1475            "type": "string"
  1476          },
  1477          "files": {
  1478            "items": {
  1479              "$ref": "#/$defs/RpmdbFileRecord"
  1480            },
  1481            "type": "array"
  1482          }
  1483        },
  1484        "type": "object",
  1485        "required": [
  1486          "name",
  1487          "version",
  1488          "epoch",
  1489          "architecture",
  1490          "release",
  1491          "sourceRpm",
  1492          "size",
  1493          "license",
  1494          "vendor",
  1495          "modularityLabel",
  1496          "files"
  1497        ]
  1498      },
  1499      "RpmdbFileRecord": {
  1500        "properties": {
  1501          "path": {
  1502            "type": "string"
  1503          },
  1504          "mode": {
  1505            "type": "integer"
  1506          },
  1507          "size": {
  1508            "type": "integer"
  1509          },
  1510          "digest": {
  1511            "$ref": "#/$defs/Digest"
  1512          },
  1513          "userName": {
  1514            "type": "string"
  1515          },
  1516          "groupName": {
  1517            "type": "string"
  1518          },
  1519          "flags": {
  1520            "type": "string"
  1521          }
  1522        },
  1523        "type": "object",
  1524        "required": [
  1525          "path",
  1526          "mode",
  1527          "size",
  1528          "digest",
  1529          "userName",
  1530          "groupName",
  1531          "flags"
  1532        ]
  1533      },
  1534      "Schema": {
  1535        "properties": {
  1536          "version": {
  1537            "type": "string"
  1538          },
  1539          "url": {
  1540            "type": "string"
  1541          }
  1542        },
  1543        "type": "object",
  1544        "required": [
  1545          "version",
  1546          "url"
  1547        ]
  1548      },
  1549      "SearchResult": {
  1550        "properties": {
  1551          "classification": {
  1552            "type": "string"
  1553          },
  1554          "lineNumber": {
  1555            "type": "integer"
  1556          },
  1557          "lineOffset": {
  1558            "type": "integer"
  1559          },
  1560          "seekPosition": {
  1561            "type": "integer"
  1562          },
  1563          "length": {
  1564            "type": "integer"
  1565          },
  1566          "value": {
  1567            "type": "string"
  1568          }
  1569        },
  1570        "type": "object",
  1571        "required": [
  1572          "classification",
  1573          "lineNumber",
  1574          "lineOffset",
  1575          "seekPosition",
  1576          "length"
  1577        ]
  1578      },
  1579      "Secrets": {
  1580        "properties": {
  1581          "location": {
  1582            "$ref": "#/$defs/Coordinates"
  1583          },
  1584          "secrets": {
  1585            "items": {
  1586              "$ref": "#/$defs/SearchResult"
  1587            },
  1588            "type": "array"
  1589          }
  1590        },
  1591        "type": "object",
  1592        "required": [
  1593          "location",
  1594          "secrets"
  1595        ]
  1596      },
  1597      "Source": {
  1598        "properties": {
  1599          "id": {
  1600            "type": "string"
  1601          },
  1602          "type": {
  1603            "type": "string"
  1604          },
  1605          "target": true
  1606        },
  1607        "type": "object",
  1608        "required": [
  1609          "id",
  1610          "type",
  1611          "target"
  1612        ]
  1613      }
  1614    }
  1615  }