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