github.com/kastenhq/syft@v0.0.0-20230821225854-0710af25cdbe/schema/json/schema-3.3.2.json (about)

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