github.com/noqcks/syft@v0.0.0-20230920222752-a9e2c4e288e5/schema/json/schema-3.3.0.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/PythonPackageMetadata"
   866              },
   867              {
   868                "$ref": "#/definitions/RpmdbMetadata"
   869              }
   870            ]
   871          }
   872        },
   873        "additionalProperties": true,
   874        "type": "object"
   875      },
   876      "PhpComposerAuthors": {
   877        "required": [
   878          "name"
   879        ],
   880        "properties": {
   881          "name": {
   882            "type": "string"
   883          },
   884          "email": {
   885            "type": "string"
   886          },
   887          "homepage": {
   888            "type": "string"
   889          }
   890        },
   891        "additionalProperties": true,
   892        "type": "object"
   893      },
   894      "PhpComposerExternalReference": {
   895        "required": [
   896          "type",
   897          "url",
   898          "reference"
   899        ],
   900        "properties": {
   901          "type": {
   902            "type": "string"
   903          },
   904          "url": {
   905            "type": "string"
   906          },
   907          "reference": {
   908            "type": "string"
   909          },
   910          "shasum": {
   911            "type": "string"
   912          }
   913        },
   914        "additionalProperties": true,
   915        "type": "object"
   916      },
   917      "PhpComposerJSONMetadata": {
   918        "required": [
   919          "name",
   920          "version",
   921          "source",
   922          "dist"
   923        ],
   924        "properties": {
   925          "name": {
   926            "type": "string"
   927          },
   928          "version": {
   929            "type": "string"
   930          },
   931          "source": {
   932            "$schema": "http://json-schema.org/draft-04/schema#",
   933            "$ref": "#/definitions/PhpComposerExternalReference"
   934          },
   935          "dist": {
   936            "$ref": "#/definitions/PhpComposerExternalReference"
   937          },
   938          "require": {
   939            "patternProperties": {
   940              ".*": {
   941                "type": "string"
   942              }
   943            },
   944            "type": "object"
   945          },
   946          "provide": {
   947            "patternProperties": {
   948              ".*": {
   949                "type": "string"
   950              }
   951            },
   952            "type": "object"
   953          },
   954          "require-dev": {
   955            "patternProperties": {
   956              ".*": {
   957                "type": "string"
   958              }
   959            },
   960            "type": "object"
   961          },
   962          "suggest": {
   963            "patternProperties": {
   964              ".*": {
   965                "type": "string"
   966              }
   967            },
   968            "type": "object"
   969          },
   970          "type": {
   971            "type": "string"
   972          },
   973          "notification-url": {
   974            "type": "string"
   975          },
   976          "bin": {
   977            "items": {
   978              "type": "string"
   979            },
   980            "type": "array"
   981          },
   982          "license": {
   983            "items": {
   984              "type": "string"
   985            },
   986            "type": "array"
   987          },
   988          "authors": {
   989            "items": {
   990              "$schema": "http://json-schema.org/draft-04/schema#",
   991              "$ref": "#/definitions/PhpComposerAuthors"
   992            },
   993            "type": "array"
   994          },
   995          "description": {
   996            "type": "string"
   997          },
   998          "homepage": {
   999            "type": "string"
  1000          },
  1001          "keywords": {
  1002            "items": {
  1003              "type": "string"
  1004            },
  1005            "type": "array"
  1006          },
  1007          "time": {
  1008            "type": "string"
  1009          }
  1010        },
  1011        "additionalProperties": true,
  1012        "type": "object"
  1013      },
  1014      "PomParent": {
  1015        "required": [
  1016          "groupId",
  1017          "artifactId",
  1018          "version"
  1019        ],
  1020        "properties": {
  1021          "groupId": {
  1022            "type": "string"
  1023          },
  1024          "artifactId": {
  1025            "type": "string"
  1026          },
  1027          "version": {
  1028            "type": "string"
  1029          }
  1030        },
  1031        "additionalProperties": true,
  1032        "type": "object"
  1033      },
  1034      "PomProject": {
  1035        "required": [
  1036          "path",
  1037          "groupId",
  1038          "artifactId",
  1039          "version",
  1040          "name"
  1041        ],
  1042        "properties": {
  1043          "path": {
  1044            "type": "string"
  1045          },
  1046          "parent": {
  1047            "$schema": "http://json-schema.org/draft-04/schema#",
  1048            "$ref": "#/definitions/PomParent"
  1049          },
  1050          "groupId": {
  1051            "type": "string"
  1052          },
  1053          "artifactId": {
  1054            "type": "string"
  1055          },
  1056          "version": {
  1057            "type": "string"
  1058          },
  1059          "name": {
  1060            "type": "string"
  1061          },
  1062          "description": {
  1063            "type": "string"
  1064          },
  1065          "url": {
  1066            "type": "string"
  1067          }
  1068        },
  1069        "additionalProperties": true,
  1070        "type": "object"
  1071      },
  1072      "PomProperties": {
  1073        "required": [
  1074          "path",
  1075          "name",
  1076          "groupId",
  1077          "artifactId",
  1078          "version",
  1079          "extraFields"
  1080        ],
  1081        "properties": {
  1082          "path": {
  1083            "type": "string"
  1084          },
  1085          "name": {
  1086            "type": "string"
  1087          },
  1088          "groupId": {
  1089            "type": "string"
  1090          },
  1091          "artifactId": {
  1092            "type": "string"
  1093          },
  1094          "version": {
  1095            "type": "string"
  1096          },
  1097          "extraFields": {
  1098            "patternProperties": {
  1099              ".*": {
  1100                "type": "string"
  1101              }
  1102            },
  1103            "type": "object"
  1104          }
  1105        },
  1106        "additionalProperties": true,
  1107        "type": "object"
  1108      },
  1109      "PythonDirectURLOriginInfo": {
  1110        "required": [
  1111          "url"
  1112        ],
  1113        "properties": {
  1114          "url": {
  1115            "type": "string"
  1116          },
  1117          "commitId": {
  1118            "type": "string"
  1119          },
  1120          "vcs": {
  1121            "type": "string"
  1122          }
  1123        },
  1124        "additionalProperties": true,
  1125        "type": "object"
  1126      },
  1127      "PythonFileDigest": {
  1128        "required": [
  1129          "algorithm",
  1130          "value"
  1131        ],
  1132        "properties": {
  1133          "algorithm": {
  1134            "type": "string"
  1135          },
  1136          "value": {
  1137            "type": "string"
  1138          }
  1139        },
  1140        "additionalProperties": true,
  1141        "type": "object"
  1142      },
  1143      "PythonFileRecord": {
  1144        "required": [
  1145          "path"
  1146        ],
  1147        "properties": {
  1148          "path": {
  1149            "type": "string"
  1150          },
  1151          "digest": {
  1152            "$schema": "http://json-schema.org/draft-04/schema#",
  1153            "$ref": "#/definitions/PythonFileDigest"
  1154          },
  1155          "size": {
  1156            "type": "string"
  1157          }
  1158        },
  1159        "additionalProperties": true,
  1160        "type": "object"
  1161      },
  1162      "PythonPackageMetadata": {
  1163        "required": [
  1164          "name",
  1165          "version",
  1166          "license",
  1167          "author",
  1168          "authorEmail",
  1169          "platform",
  1170          "sitePackagesRootPath"
  1171        ],
  1172        "properties": {
  1173          "name": {
  1174            "type": "string"
  1175          },
  1176          "version": {
  1177            "type": "string"
  1178          },
  1179          "license": {
  1180            "type": "string"
  1181          },
  1182          "author": {
  1183            "type": "string"
  1184          },
  1185          "authorEmail": {
  1186            "type": "string"
  1187          },
  1188          "platform": {
  1189            "type": "string"
  1190          },
  1191          "files": {
  1192            "items": {
  1193              "$schema": "http://json-schema.org/draft-04/schema#",
  1194              "$ref": "#/definitions/PythonFileRecord"
  1195            },
  1196            "type": "array"
  1197          },
  1198          "sitePackagesRootPath": {
  1199            "type": "string"
  1200          },
  1201          "topLevelPackages": {
  1202            "items": {
  1203              "type": "string"
  1204            },
  1205            "type": "array"
  1206          },
  1207          "directUrlOrigin": {
  1208            "$schema": "http://json-schema.org/draft-04/schema#",
  1209            "$ref": "#/definitions/PythonDirectURLOriginInfo"
  1210          }
  1211        },
  1212        "additionalProperties": true,
  1213        "type": "object"
  1214      },
  1215      "Relationship": {
  1216        "required": [
  1217          "parent",
  1218          "child",
  1219          "type"
  1220        ],
  1221        "properties": {
  1222          "parent": {
  1223            "type": "string"
  1224          },
  1225          "child": {
  1226            "type": "string"
  1227          },
  1228          "type": {
  1229            "type": "string"
  1230          },
  1231          "metadata": {
  1232            "additionalProperties": true
  1233          }
  1234        },
  1235        "additionalProperties": true,
  1236        "type": "object"
  1237      },
  1238      "RpmdbFileRecord": {
  1239        "required": [
  1240          "path",
  1241          "mode",
  1242          "size",
  1243          "digest",
  1244          "userName",
  1245          "groupName",
  1246          "flags"
  1247        ],
  1248        "properties": {
  1249          "path": {
  1250            "type": "string"
  1251          },
  1252          "mode": {
  1253            "type": "integer"
  1254          },
  1255          "size": {
  1256            "type": "integer"
  1257          },
  1258          "digest": {
  1259            "$ref": "#/definitions/Digest"
  1260          },
  1261          "userName": {
  1262            "type": "string"
  1263          },
  1264          "groupName": {
  1265            "type": "string"
  1266          },
  1267          "flags": {
  1268            "type": "string"
  1269          }
  1270        },
  1271        "additionalProperties": true,
  1272        "type": "object"
  1273      },
  1274      "RpmdbMetadata": {
  1275        "required": [
  1276          "name",
  1277          "version",
  1278          "epoch",
  1279          "architecture",
  1280          "release",
  1281          "sourceRpm",
  1282          "size",
  1283          "license",
  1284          "vendor",
  1285          "files"
  1286        ],
  1287        "properties": {
  1288          "name": {
  1289            "type": "string"
  1290          },
  1291          "version": {
  1292            "type": "string"
  1293          },
  1294          "epoch": {
  1295            "oneOf": [
  1296              {
  1297                "type": "integer"
  1298              },
  1299              {
  1300                "type": "null"
  1301              }
  1302            ]
  1303          },
  1304          "architecture": {
  1305            "type": "string"
  1306          },
  1307          "release": {
  1308            "type": "string"
  1309          },
  1310          "sourceRpm": {
  1311            "type": "string"
  1312          },
  1313          "size": {
  1314            "type": "integer"
  1315          },
  1316          "license": {
  1317            "type": "string"
  1318          },
  1319          "vendor": {
  1320            "type": "string"
  1321          },
  1322          "files": {
  1323            "items": {
  1324              "$schema": "http://json-schema.org/draft-04/schema#",
  1325              "$ref": "#/definitions/RpmdbFileRecord"
  1326            },
  1327            "type": "array"
  1328          }
  1329        },
  1330        "additionalProperties": true,
  1331        "type": "object"
  1332      },
  1333      "Schema": {
  1334        "required": [
  1335          "version",
  1336          "url"
  1337        ],
  1338        "properties": {
  1339          "version": {
  1340            "type": "string"
  1341          },
  1342          "url": {
  1343            "type": "string"
  1344          }
  1345        },
  1346        "additionalProperties": true,
  1347        "type": "object"
  1348      },
  1349      "SearchResult": {
  1350        "required": [
  1351          "classification",
  1352          "lineNumber",
  1353          "lineOffset",
  1354          "seekPosition",
  1355          "length"
  1356        ],
  1357        "properties": {
  1358          "classification": {
  1359            "type": "string"
  1360          },
  1361          "lineNumber": {
  1362            "type": "integer"
  1363          },
  1364          "lineOffset": {
  1365            "type": "integer"
  1366          },
  1367          "seekPosition": {
  1368            "type": "integer"
  1369          },
  1370          "length": {
  1371            "type": "integer"
  1372          },
  1373          "value": {
  1374            "type": "string"
  1375          }
  1376        },
  1377        "additionalProperties": true,
  1378        "type": "object"
  1379      },
  1380      "Secrets": {
  1381        "required": [
  1382          "location",
  1383          "secrets"
  1384        ],
  1385        "properties": {
  1386          "location": {
  1387            "$ref": "#/definitions/Coordinates"
  1388          },
  1389          "secrets": {
  1390            "items": {
  1391              "$schema": "http://json-schema.org/draft-04/schema#",
  1392              "$ref": "#/definitions/SearchResult"
  1393            },
  1394            "type": "array"
  1395          }
  1396        },
  1397        "additionalProperties": true,
  1398        "type": "object"
  1399      },
  1400      "Source": {
  1401        "required": [
  1402          "type",
  1403          "target"
  1404        ],
  1405        "properties": {
  1406          "type": {
  1407            "type": "string"
  1408          },
  1409          "target": {
  1410            "additionalProperties": true
  1411          }
  1412        },
  1413        "additionalProperties": true,
  1414        "type": "object"
  1415      }
  1416    }
  1417  }