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