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