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