github.com/anchore/syft@v1.4.2-0.20240516191711-1bec1fc5d397/schema/json/schema-11.0.2.json (about) 1 { 2 "$schema": "https://json-schema.org/draft/2020-12/schema", 3 "$id": "anchore.io/schema/syft/json/11.0.2/document", 4 "$ref": "#/$defs/Document", 5 "$defs": { 6 "AlpmFileRecord": { 7 "properties": { 8 "path": { 9 "type": "string" 10 }, 11 "type": { 12 "type": "string" 13 }, 14 "uid": { 15 "type": "string" 16 }, 17 "gid": { 18 "type": "string" 19 }, 20 "time": { 21 "type": "string", 22 "format": "date-time" 23 }, 24 "size": { 25 "type": "string" 26 }, 27 "link": { 28 "type": "string" 29 }, 30 "digest": { 31 "items": { 32 "$ref": "#/$defs/Digest" 33 }, 34 "type": "array" 35 } 36 }, 37 "type": "object" 38 }, 39 "AlpmMetadata": { 40 "properties": { 41 "basepackage": { 42 "type": "string" 43 }, 44 "package": { 45 "type": "string" 46 }, 47 "version": { 48 "type": "string" 49 }, 50 "description": { 51 "type": "string" 52 }, 53 "architecture": { 54 "type": "string" 55 }, 56 "size": { 57 "type": "integer" 58 }, 59 "packager": { 60 "type": "string" 61 }, 62 "url": { 63 "type": "string" 64 }, 65 "validation": { 66 "type": "string" 67 }, 68 "reason": { 69 "type": "integer" 70 }, 71 "files": { 72 "items": { 73 "$ref": "#/$defs/AlpmFileRecord" 74 }, 75 "type": "array" 76 }, 77 "backup": { 78 "items": { 79 "$ref": "#/$defs/AlpmFileRecord" 80 }, 81 "type": "array" 82 } 83 }, 84 "type": "object", 85 "required": [ 86 "basepackage", 87 "package", 88 "version", 89 "description", 90 "architecture", 91 "size", 92 "packager", 93 "url", 94 "validation", 95 "reason", 96 "files", 97 "backup" 98 ] 99 }, 100 "ApkFileRecord": { 101 "properties": { 102 "path": { 103 "type": "string" 104 }, 105 "ownerUid": { 106 "type": "string" 107 }, 108 "ownerGid": { 109 "type": "string" 110 }, 111 "permissions": { 112 "type": "string" 113 }, 114 "digest": { 115 "$ref": "#/$defs/Digest" 116 } 117 }, 118 "type": "object", 119 "required": [ 120 "path" 121 ] 122 }, 123 "ApkMetadata": { 124 "properties": { 125 "package": { 126 "type": "string" 127 }, 128 "originPackage": { 129 "type": "string" 130 }, 131 "maintainer": { 132 "type": "string" 133 }, 134 "version": { 135 "type": "string" 136 }, 137 "architecture": { 138 "type": "string" 139 }, 140 "url": { 141 "type": "string" 142 }, 143 "description": { 144 "type": "string" 145 }, 146 "size": { 147 "type": "integer" 148 }, 149 "installedSize": { 150 "type": "integer" 151 }, 152 "pullDependencies": { 153 "items": { 154 "type": "string" 155 }, 156 "type": "array" 157 }, 158 "provides": { 159 "items": { 160 "type": "string" 161 }, 162 "type": "array" 163 }, 164 "pullChecksum": { 165 "type": "string" 166 }, 167 "gitCommitOfApkPort": { 168 "type": "string" 169 }, 170 "files": { 171 "items": { 172 "$ref": "#/$defs/ApkFileRecord" 173 }, 174 "type": "array" 175 } 176 }, 177 "type": "object", 178 "required": [ 179 "package", 180 "originPackage", 181 "maintainer", 182 "version", 183 "architecture", 184 "url", 185 "description", 186 "size", 187 "installedSize", 188 "pullDependencies", 189 "provides", 190 "pullChecksum", 191 "gitCommitOfApkPort", 192 "files" 193 ] 194 }, 195 "BinaryMetadata": { 196 "properties": { 197 "matches": { 198 "items": { 199 "$ref": "#/$defs/ClassifierMatch" 200 }, 201 "type": "array" 202 } 203 }, 204 "type": "object", 205 "required": [ 206 "matches" 207 ] 208 }, 209 "CargoPackageMetadata": { 210 "properties": { 211 "name": { 212 "type": "string" 213 }, 214 "version": { 215 "type": "string" 216 }, 217 "source": { 218 "type": "string" 219 }, 220 "checksum": { 221 "type": "string" 222 }, 223 "dependencies": { 224 "items": { 225 "type": "string" 226 }, 227 "type": "array" 228 } 229 }, 230 "type": "object", 231 "required": [ 232 "name", 233 "version", 234 "source", 235 "checksum", 236 "dependencies" 237 ] 238 }, 239 "ClassifierMatch": { 240 "properties": { 241 "classifier": { 242 "type": "string" 243 }, 244 "location": { 245 "$ref": "#/$defs/Location" 246 } 247 }, 248 "type": "object", 249 "required": [ 250 "classifier", 251 "location" 252 ] 253 }, 254 "CocoapodsMetadata": { 255 "properties": { 256 "checksum": { 257 "type": "string" 258 } 259 }, 260 "type": "object", 261 "required": [ 262 "checksum" 263 ] 264 }, 265 "ConanLockMetadata": { 266 "properties": { 267 "ref": { 268 "type": "string" 269 }, 270 "package_id": { 271 "type": "string" 272 }, 273 "prev": { 274 "type": "string" 275 }, 276 "requires": { 277 "items": { 278 "type": "string" 279 }, 280 "type": "array" 281 }, 282 "build_requires": { 283 "items": { 284 "type": "string" 285 }, 286 "type": "array" 287 }, 288 "py_requires": { 289 "items": { 290 "type": "string" 291 }, 292 "type": "array" 293 }, 294 "options": { 295 "patternProperties": { 296 ".*": { 297 "type": "string" 298 } 299 }, 300 "type": "object" 301 }, 302 "path": { 303 "type": "string" 304 }, 305 "context": { 306 "type": "string" 307 } 308 }, 309 "type": "object", 310 "required": [ 311 "ref" 312 ] 313 }, 314 "ConanMetadata": { 315 "properties": { 316 "ref": { 317 "type": "string" 318 } 319 }, 320 "type": "object", 321 "required": [ 322 "ref" 323 ] 324 }, 325 "Coordinates": { 326 "properties": { 327 "path": { 328 "type": "string" 329 }, 330 "layerID": { 331 "type": "string" 332 } 333 }, 334 "type": "object", 335 "required": [ 336 "path" 337 ] 338 }, 339 "DartPubMetadata": { 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 "type": "object", 355 "required": [ 356 "name", 357 "version" 358 ] 359 }, 360 "Descriptor": { 361 "properties": { 362 "name": { 363 "type": "string" 364 }, 365 "version": { 366 "type": "string" 367 }, 368 "configuration": true 369 }, 370 "type": "object", 371 "required": [ 372 "name", 373 "version" 374 ] 375 }, 376 "Digest": { 377 "properties": { 378 "algorithm": { 379 "type": "string" 380 }, 381 "value": { 382 "type": "string" 383 } 384 }, 385 "type": "object", 386 "required": [ 387 "algorithm", 388 "value" 389 ] 390 }, 391 "Document": { 392 "properties": { 393 "artifacts": { 394 "items": { 395 "$ref": "#/$defs/Package" 396 }, 397 "type": "array" 398 }, 399 "artifactRelationships": { 400 "items": { 401 "$ref": "#/$defs/Relationship" 402 }, 403 "type": "array" 404 }, 405 "files": { 406 "items": { 407 "$ref": "#/$defs/File" 408 }, 409 "type": "array" 410 }, 411 "secrets": { 412 "items": { 413 "$ref": "#/$defs/Secrets" 414 }, 415 "type": "array" 416 }, 417 "source": { 418 "$ref": "#/$defs/Source" 419 }, 420 "distro": { 421 "$ref": "#/$defs/LinuxRelease" 422 }, 423 "descriptor": { 424 "$ref": "#/$defs/Descriptor" 425 }, 426 "schema": { 427 "$ref": "#/$defs/Schema" 428 } 429 }, 430 "type": "object", 431 "required": [ 432 "artifacts", 433 "artifactRelationships", 434 "source", 435 "distro", 436 "descriptor", 437 "schema" 438 ] 439 }, 440 "DotnetDepsMetadata": { 441 "properties": { 442 "name": { 443 "type": "string" 444 }, 445 "version": { 446 "type": "string" 447 }, 448 "path": { 449 "type": "string" 450 }, 451 "sha512": { 452 "type": "string" 453 }, 454 "hashPath": { 455 "type": "string" 456 } 457 }, 458 "type": "object", 459 "required": [ 460 "name", 461 "version", 462 "path", 463 "sha512", 464 "hashPath" 465 ] 466 }, 467 "DotnetPortableExecutableMetadata": { 468 "properties": { 469 "assemblyVersion": { 470 "type": "string" 471 }, 472 "legalCopyright": { 473 "type": "string" 474 }, 475 "comments": { 476 "type": "string" 477 }, 478 "internalName": { 479 "type": "string" 480 }, 481 "companyName": { 482 "type": "string" 483 }, 484 "productName": { 485 "type": "string" 486 }, 487 "productVersion": { 488 "type": "string" 489 } 490 }, 491 "type": "object", 492 "required": [ 493 "assemblyVersion", 494 "legalCopyright", 495 "companyName", 496 "productName", 497 "productVersion" 498 ] 499 }, 500 "DpkgFileRecord": { 501 "properties": { 502 "path": { 503 "type": "string" 504 }, 505 "digest": { 506 "$ref": "#/$defs/Digest" 507 }, 508 "isConfigFile": { 509 "type": "boolean" 510 } 511 }, 512 "type": "object", 513 "required": [ 514 "path", 515 "isConfigFile" 516 ] 517 }, 518 "DpkgMetadata": { 519 "properties": { 520 "package": { 521 "type": "string" 522 }, 523 "source": { 524 "type": "string" 525 }, 526 "version": { 527 "type": "string" 528 }, 529 "sourceVersion": { 530 "type": "string" 531 }, 532 "architecture": { 533 "type": "string" 534 }, 535 "maintainer": { 536 "type": "string" 537 }, 538 "installedSize": { 539 "type": "integer" 540 }, 541 "provides": { 542 "items": { 543 "type": "string" 544 }, 545 "type": "array" 546 }, 547 "depends": { 548 "items": { 549 "type": "string" 550 }, 551 "type": "array" 552 }, 553 "preDepends": { 554 "items": { 555 "type": "string" 556 }, 557 "type": "array" 558 }, 559 "files": { 560 "items": { 561 "$ref": "#/$defs/DpkgFileRecord" 562 }, 563 "type": "array" 564 } 565 }, 566 "type": "object", 567 "required": [ 568 "package", 569 "source", 570 "version", 571 "sourceVersion", 572 "architecture", 573 "maintainer", 574 "installedSize", 575 "files" 576 ] 577 }, 578 "File": { 579 "properties": { 580 "id": { 581 "type": "string" 582 }, 583 "location": { 584 "$ref": "#/$defs/Coordinates" 585 }, 586 "metadata": { 587 "$ref": "#/$defs/FileMetadataEntry" 588 }, 589 "contents": { 590 "type": "string" 591 }, 592 "digests": { 593 "items": { 594 "$ref": "#/$defs/Digest" 595 }, 596 "type": "array" 597 }, 598 "licenses": { 599 "items": { 600 "$ref": "#/$defs/FileLicense" 601 }, 602 "type": "array" 603 } 604 }, 605 "type": "object", 606 "required": [ 607 "id", 608 "location" 609 ] 610 }, 611 "FileLicense": { 612 "properties": { 613 "value": { 614 "type": "string" 615 }, 616 "spdxExpression": { 617 "type": "string" 618 }, 619 "type": { 620 "type": "string" 621 }, 622 "evidence": { 623 "$ref": "#/$defs/FileLicenseEvidence" 624 } 625 }, 626 "type": "object", 627 "required": [ 628 "value", 629 "spdxExpression", 630 "type" 631 ] 632 }, 633 "FileLicenseEvidence": { 634 "properties": { 635 "confidence": { 636 "type": "integer" 637 }, 638 "offset": { 639 "type": "integer" 640 }, 641 "extent": { 642 "type": "integer" 643 } 644 }, 645 "type": "object", 646 "required": [ 647 "confidence", 648 "offset", 649 "extent" 650 ] 651 }, 652 "FileMetadataEntry": { 653 "properties": { 654 "mode": { 655 "type": "integer" 656 }, 657 "type": { 658 "type": "string" 659 }, 660 "linkDestination": { 661 "type": "string" 662 }, 663 "userID": { 664 "type": "integer" 665 }, 666 "groupID": { 667 "type": "integer" 668 }, 669 "mimeType": { 670 "type": "string" 671 }, 672 "size": { 673 "type": "integer" 674 } 675 }, 676 "type": "object", 677 "required": [ 678 "mode", 679 "type", 680 "userID", 681 "groupID", 682 "mimeType", 683 "size" 684 ] 685 }, 686 "GemMetadata": { 687 "properties": { 688 "name": { 689 "type": "string" 690 }, 691 "version": { 692 "type": "string" 693 }, 694 "files": { 695 "items": { 696 "type": "string" 697 }, 698 "type": "array" 699 }, 700 "authors": { 701 "items": { 702 "type": "string" 703 }, 704 "type": "array" 705 }, 706 "homepage": { 707 "type": "string" 708 } 709 }, 710 "type": "object", 711 "required": [ 712 "name", 713 "version" 714 ] 715 }, 716 "GolangBinMetadata": { 717 "properties": { 718 "goBuildSettings": { 719 "patternProperties": { 720 ".*": { 721 "type": "string" 722 } 723 }, 724 "type": "object" 725 }, 726 "goCompiledVersion": { 727 "type": "string" 728 }, 729 "architecture": { 730 "type": "string" 731 }, 732 "h1Digest": { 733 "type": "string" 734 }, 735 "mainModule": { 736 "type": "string" 737 }, 738 "goCryptoSettings": { 739 "items": { 740 "type": "string" 741 }, 742 "type": "array" 743 } 744 }, 745 "type": "object", 746 "required": [ 747 "goCompiledVersion", 748 "architecture" 749 ] 750 }, 751 "GolangModMetadata": { 752 "properties": { 753 "h1Digest": { 754 "type": "string" 755 } 756 }, 757 "type": "object" 758 }, 759 "HackageMetadata": { 760 "properties": { 761 "name": { 762 "type": "string" 763 }, 764 "version": { 765 "type": "string" 766 }, 767 "pkgHash": { 768 "type": "string" 769 }, 770 "snapshotURL": { 771 "type": "string" 772 } 773 }, 774 "type": "object", 775 "required": [ 776 "name", 777 "version" 778 ] 779 }, 780 "IDLikes": { 781 "items": { 782 "type": "string" 783 }, 784 "type": "array" 785 }, 786 "JavaManifest": { 787 "properties": { 788 "main": { 789 "patternProperties": { 790 ".*": { 791 "type": "string" 792 } 793 }, 794 "type": "object" 795 }, 796 "namedSections": { 797 "patternProperties": { 798 ".*": { 799 "patternProperties": { 800 ".*": { 801 "type": "string" 802 } 803 }, 804 "type": "object" 805 } 806 }, 807 "type": "object" 808 } 809 }, 810 "type": "object" 811 }, 812 "JavaMetadata": { 813 "properties": { 814 "virtualPath": { 815 "type": "string" 816 }, 817 "manifest": { 818 "$ref": "#/$defs/JavaManifest" 819 }, 820 "pomProperties": { 821 "$ref": "#/$defs/PomProperties" 822 }, 823 "pomProject": { 824 "$ref": "#/$defs/PomProject" 825 }, 826 "digest": { 827 "items": { 828 "$ref": "#/$defs/Digest" 829 }, 830 "type": "array" 831 } 832 }, 833 "type": "object", 834 "required": [ 835 "virtualPath" 836 ] 837 }, 838 "KbPackageMetadata": { 839 "properties": { 840 "product_id": { 841 "type": "string" 842 }, 843 "kb": { 844 "type": "string" 845 } 846 }, 847 "type": "object", 848 "required": [ 849 "product_id", 850 "kb" 851 ] 852 }, 853 "License": { 854 "properties": { 855 "value": { 856 "type": "string" 857 }, 858 "spdxExpression": { 859 "type": "string" 860 }, 861 "type": { 862 "type": "string" 863 }, 864 "urls": { 865 "items": { 866 "type": "string" 867 }, 868 "type": "array" 869 }, 870 "locations": { 871 "items": { 872 "$ref": "#/$defs/Location" 873 }, 874 "type": "array" 875 } 876 }, 877 "type": "object", 878 "required": [ 879 "value", 880 "spdxExpression", 881 "type", 882 "urls", 883 "locations" 884 ] 885 }, 886 "LinuxKernelMetadata": { 887 "properties": { 888 "name": { 889 "type": "string" 890 }, 891 "architecture": { 892 "type": "string" 893 }, 894 "version": { 895 "type": "string" 896 }, 897 "extendedVersion": { 898 "type": "string" 899 }, 900 "buildTime": { 901 "type": "string" 902 }, 903 "author": { 904 "type": "string" 905 }, 906 "format": { 907 "type": "string" 908 }, 909 "rwRootFS": { 910 "type": "boolean" 911 }, 912 "swapDevice": { 913 "type": "integer" 914 }, 915 "rootDevice": { 916 "type": "integer" 917 }, 918 "videoMode": { 919 "type": "string" 920 } 921 }, 922 "type": "object", 923 "required": [ 924 "name", 925 "architecture", 926 "version" 927 ] 928 }, 929 "LinuxKernelModuleMetadata": { 930 "properties": { 931 "name": { 932 "type": "string" 933 }, 934 "version": { 935 "type": "string" 936 }, 937 "sourceVersion": { 938 "type": "string" 939 }, 940 "path": { 941 "type": "string" 942 }, 943 "description": { 944 "type": "string" 945 }, 946 "author": { 947 "type": "string" 948 }, 949 "license": { 950 "type": "string" 951 }, 952 "kernelVersion": { 953 "type": "string" 954 }, 955 "versionMagic": { 956 "type": "string" 957 }, 958 "parameters": { 959 "patternProperties": { 960 ".*": { 961 "$ref": "#/$defs/LinuxKernelModuleParameter" 962 } 963 }, 964 "type": "object" 965 } 966 }, 967 "type": "object" 968 }, 969 "LinuxKernelModuleParameter": { 970 "properties": { 971 "type": { 972 "type": "string" 973 }, 974 "description": { 975 "type": "string" 976 } 977 }, 978 "type": "object" 979 }, 980 "LinuxRelease": { 981 "properties": { 982 "prettyName": { 983 "type": "string" 984 }, 985 "name": { 986 "type": "string" 987 }, 988 "id": { 989 "type": "string" 990 }, 991 "idLike": { 992 "$ref": "#/$defs/IDLikes" 993 }, 994 "version": { 995 "type": "string" 996 }, 997 "versionID": { 998 "type": "string" 999 }, 1000 "versionCodename": { 1001 "type": "string" 1002 }, 1003 "buildID": { 1004 "type": "string" 1005 }, 1006 "imageID": { 1007 "type": "string" 1008 }, 1009 "imageVersion": { 1010 "type": "string" 1011 }, 1012 "variant": { 1013 "type": "string" 1014 }, 1015 "variantID": { 1016 "type": "string" 1017 }, 1018 "homeURL": { 1019 "type": "string" 1020 }, 1021 "supportURL": { 1022 "type": "string" 1023 }, 1024 "bugReportURL": { 1025 "type": "string" 1026 }, 1027 "privacyPolicyURL": { 1028 "type": "string" 1029 }, 1030 "cpeName": { 1031 "type": "string" 1032 }, 1033 "supportEnd": { 1034 "type": "string" 1035 } 1036 }, 1037 "type": "object" 1038 }, 1039 "Location": { 1040 "properties": { 1041 "path": { 1042 "type": "string" 1043 }, 1044 "layerID": { 1045 "type": "string" 1046 }, 1047 "annotations": { 1048 "patternProperties": { 1049 ".*": { 1050 "type": "string" 1051 } 1052 }, 1053 "type": "object" 1054 } 1055 }, 1056 "type": "object", 1057 "required": [ 1058 "path" 1059 ] 1060 }, 1061 "MixLockMetadata": { 1062 "properties": { 1063 "name": { 1064 "type": "string" 1065 }, 1066 "version": { 1067 "type": "string" 1068 }, 1069 "pkgHash": { 1070 "type": "string" 1071 }, 1072 "pkgHashExt": { 1073 "type": "string" 1074 } 1075 }, 1076 "type": "object", 1077 "required": [ 1078 "name", 1079 "version", 1080 "pkgHash", 1081 "pkgHashExt" 1082 ] 1083 }, 1084 "NixStoreMetadata": { 1085 "properties": { 1086 "outputHash": { 1087 "type": "string" 1088 }, 1089 "output": { 1090 "type": "string" 1091 }, 1092 "files": { 1093 "items": { 1094 "type": "string" 1095 }, 1096 "type": "array" 1097 } 1098 }, 1099 "type": "object", 1100 "required": [ 1101 "outputHash", 1102 "files" 1103 ] 1104 }, 1105 "NpmPackageJSONMetadata": { 1106 "properties": { 1107 "name": { 1108 "type": "string" 1109 }, 1110 "version": { 1111 "type": "string" 1112 }, 1113 "author": { 1114 "type": "string" 1115 }, 1116 "homepage": { 1117 "type": "string" 1118 }, 1119 "description": { 1120 "type": "string" 1121 }, 1122 "url": { 1123 "type": "string" 1124 }, 1125 "private": { 1126 "type": "boolean" 1127 } 1128 }, 1129 "type": "object", 1130 "required": [ 1131 "name", 1132 "version", 1133 "author", 1134 "homepage", 1135 "description", 1136 "url", 1137 "private" 1138 ] 1139 }, 1140 "NpmPackageLockJSONMetadata": { 1141 "properties": { 1142 "resolved": { 1143 "type": "string" 1144 }, 1145 "integrity": { 1146 "type": "string" 1147 } 1148 }, 1149 "type": "object", 1150 "required": [ 1151 "resolved", 1152 "integrity" 1153 ] 1154 }, 1155 "Package": { 1156 "properties": { 1157 "id": { 1158 "type": "string" 1159 }, 1160 "name": { 1161 "type": "string" 1162 }, 1163 "version": { 1164 "type": "string" 1165 }, 1166 "type": { 1167 "type": "string" 1168 }, 1169 "foundBy": { 1170 "type": "string" 1171 }, 1172 "locations": { 1173 "items": { 1174 "$ref": "#/$defs/Location" 1175 }, 1176 "type": "array" 1177 }, 1178 "licenses": { 1179 "$ref": "#/$defs/licenses" 1180 }, 1181 "language": { 1182 "type": "string" 1183 }, 1184 "cpes": { 1185 "items": { 1186 "type": "string" 1187 }, 1188 "type": "array" 1189 }, 1190 "purl": { 1191 "type": "string" 1192 }, 1193 "metadataType": { 1194 "type": "string" 1195 }, 1196 "metadata": { 1197 "anyOf": [ 1198 { 1199 "type": "null" 1200 }, 1201 { 1202 "$ref": "#/$defs/AlpmMetadata" 1203 }, 1204 { 1205 "$ref": "#/$defs/ApkMetadata" 1206 }, 1207 { 1208 "$ref": "#/$defs/BinaryMetadata" 1209 }, 1210 { 1211 "$ref": "#/$defs/CargoPackageMetadata" 1212 }, 1213 { 1214 "$ref": "#/$defs/CocoapodsMetadata" 1215 }, 1216 { 1217 "$ref": "#/$defs/ConanLockMetadata" 1218 }, 1219 { 1220 "$ref": "#/$defs/ConanMetadata" 1221 }, 1222 { 1223 "$ref": "#/$defs/DartPubMetadata" 1224 }, 1225 { 1226 "$ref": "#/$defs/DotnetDepsMetadata" 1227 }, 1228 { 1229 "$ref": "#/$defs/DotnetPortableExecutableMetadata" 1230 }, 1231 { 1232 "$ref": "#/$defs/DpkgMetadata" 1233 }, 1234 { 1235 "$ref": "#/$defs/GemMetadata" 1236 }, 1237 { 1238 "$ref": "#/$defs/GolangBinMetadata" 1239 }, 1240 { 1241 "$ref": "#/$defs/GolangModMetadata" 1242 }, 1243 { 1244 "$ref": "#/$defs/HackageMetadata" 1245 }, 1246 { 1247 "$ref": "#/$defs/JavaMetadata" 1248 }, 1249 { 1250 "$ref": "#/$defs/KbPackageMetadata" 1251 }, 1252 { 1253 "$ref": "#/$defs/LinuxKernelMetadata" 1254 }, 1255 { 1256 "$ref": "#/$defs/LinuxKernelModuleMetadata" 1257 }, 1258 { 1259 "$ref": "#/$defs/MixLockMetadata" 1260 }, 1261 { 1262 "$ref": "#/$defs/NixStoreMetadata" 1263 }, 1264 { 1265 "$ref": "#/$defs/NpmPackageJSONMetadata" 1266 }, 1267 { 1268 "$ref": "#/$defs/NpmPackageLockJSONMetadata" 1269 }, 1270 { 1271 "$ref": "#/$defs/PhpComposerJSONMetadata" 1272 }, 1273 { 1274 "$ref": "#/$defs/PortageMetadata" 1275 }, 1276 { 1277 "$ref": "#/$defs/PythonPackageMetadata" 1278 }, 1279 { 1280 "$ref": "#/$defs/PythonPipfileLockMetadata" 1281 }, 1282 { 1283 "$ref": "#/$defs/PythonRequirementsMetadata" 1284 }, 1285 { 1286 "$ref": "#/$defs/RDescriptionFileMetadata" 1287 }, 1288 { 1289 "$ref": "#/$defs/RebarLockMetadata" 1290 }, 1291 { 1292 "$ref": "#/$defs/RpmMetadata" 1293 }, 1294 { 1295 "$ref": "#/$defs/SwiftPackageManagerMetadata" 1296 }, 1297 { 1298 "$ref": "#/$defs/WordpressPluginMetadata" 1299 } 1300 ] 1301 } 1302 }, 1303 "type": "object", 1304 "required": [ 1305 "id", 1306 "name", 1307 "version", 1308 "type", 1309 "foundBy", 1310 "locations", 1311 "licenses", 1312 "language", 1313 "cpes", 1314 "purl" 1315 ] 1316 }, 1317 "PhpComposerAuthors": { 1318 "properties": { 1319 "name": { 1320 "type": "string" 1321 }, 1322 "email": { 1323 "type": "string" 1324 }, 1325 "homepage": { 1326 "type": "string" 1327 } 1328 }, 1329 "type": "object", 1330 "required": [ 1331 "name" 1332 ] 1333 }, 1334 "PhpComposerExternalReference": { 1335 "properties": { 1336 "type": { 1337 "type": "string" 1338 }, 1339 "url": { 1340 "type": "string" 1341 }, 1342 "reference": { 1343 "type": "string" 1344 }, 1345 "shasum": { 1346 "type": "string" 1347 } 1348 }, 1349 "type": "object", 1350 "required": [ 1351 "type", 1352 "url", 1353 "reference" 1354 ] 1355 }, 1356 "PhpComposerJSONMetadata": { 1357 "properties": { 1358 "name": { 1359 "type": "string" 1360 }, 1361 "version": { 1362 "type": "string" 1363 }, 1364 "source": { 1365 "$ref": "#/$defs/PhpComposerExternalReference" 1366 }, 1367 "dist": { 1368 "$ref": "#/$defs/PhpComposerExternalReference" 1369 }, 1370 "require": { 1371 "patternProperties": { 1372 ".*": { 1373 "type": "string" 1374 } 1375 }, 1376 "type": "object" 1377 }, 1378 "provide": { 1379 "patternProperties": { 1380 ".*": { 1381 "type": "string" 1382 } 1383 }, 1384 "type": "object" 1385 }, 1386 "require-dev": { 1387 "patternProperties": { 1388 ".*": { 1389 "type": "string" 1390 } 1391 }, 1392 "type": "object" 1393 }, 1394 "suggest": { 1395 "patternProperties": { 1396 ".*": { 1397 "type": "string" 1398 } 1399 }, 1400 "type": "object" 1401 }, 1402 "license": { 1403 "items": { 1404 "type": "string" 1405 }, 1406 "type": "array" 1407 }, 1408 "type": { 1409 "type": "string" 1410 }, 1411 "notification-url": { 1412 "type": "string" 1413 }, 1414 "bin": { 1415 "items": { 1416 "type": "string" 1417 }, 1418 "type": "array" 1419 }, 1420 "authors": { 1421 "items": { 1422 "$ref": "#/$defs/PhpComposerAuthors" 1423 }, 1424 "type": "array" 1425 }, 1426 "description": { 1427 "type": "string" 1428 }, 1429 "homepage": { 1430 "type": "string" 1431 }, 1432 "keywords": { 1433 "items": { 1434 "type": "string" 1435 }, 1436 "type": "array" 1437 }, 1438 "time": { 1439 "type": "string" 1440 } 1441 }, 1442 "type": "object", 1443 "required": [ 1444 "name", 1445 "version", 1446 "source", 1447 "dist" 1448 ] 1449 }, 1450 "PomParent": { 1451 "properties": { 1452 "groupId": { 1453 "type": "string" 1454 }, 1455 "artifactId": { 1456 "type": "string" 1457 }, 1458 "version": { 1459 "type": "string" 1460 } 1461 }, 1462 "type": "object", 1463 "required": [ 1464 "groupId", 1465 "artifactId", 1466 "version" 1467 ] 1468 }, 1469 "PomProject": { 1470 "properties": { 1471 "path": { 1472 "type": "string" 1473 }, 1474 "parent": { 1475 "$ref": "#/$defs/PomParent" 1476 }, 1477 "groupId": { 1478 "type": "string" 1479 }, 1480 "artifactId": { 1481 "type": "string" 1482 }, 1483 "version": { 1484 "type": "string" 1485 }, 1486 "name": { 1487 "type": "string" 1488 }, 1489 "description": { 1490 "type": "string" 1491 }, 1492 "url": { 1493 "type": "string" 1494 } 1495 }, 1496 "type": "object", 1497 "required": [ 1498 "path", 1499 "groupId", 1500 "artifactId", 1501 "version", 1502 "name" 1503 ] 1504 }, 1505 "PomProperties": { 1506 "properties": { 1507 "path": { 1508 "type": "string" 1509 }, 1510 "name": { 1511 "type": "string" 1512 }, 1513 "groupId": { 1514 "type": "string" 1515 }, 1516 "artifactId": { 1517 "type": "string" 1518 }, 1519 "version": { 1520 "type": "string" 1521 }, 1522 "scope": { 1523 "type": "string" 1524 }, 1525 "extraFields": { 1526 "patternProperties": { 1527 ".*": { 1528 "type": "string" 1529 } 1530 }, 1531 "type": "object" 1532 } 1533 }, 1534 "type": "object", 1535 "required": [ 1536 "path", 1537 "name", 1538 "groupId", 1539 "artifactId", 1540 "version" 1541 ] 1542 }, 1543 "PortageFileRecord": { 1544 "properties": { 1545 "path": { 1546 "type": "string" 1547 }, 1548 "digest": { 1549 "$ref": "#/$defs/Digest" 1550 } 1551 }, 1552 "type": "object", 1553 "required": [ 1554 "path" 1555 ] 1556 }, 1557 "PortageMetadata": { 1558 "properties": { 1559 "installedSize": { 1560 "type": "integer" 1561 }, 1562 "files": { 1563 "items": { 1564 "$ref": "#/$defs/PortageFileRecord" 1565 }, 1566 "type": "array" 1567 } 1568 }, 1569 "type": "object", 1570 "required": [ 1571 "installedSize", 1572 "files" 1573 ] 1574 }, 1575 "PythonDirectURLOriginInfo": { 1576 "properties": { 1577 "url": { 1578 "type": "string" 1579 }, 1580 "commitId": { 1581 "type": "string" 1582 }, 1583 "vcs": { 1584 "type": "string" 1585 } 1586 }, 1587 "type": "object", 1588 "required": [ 1589 "url" 1590 ] 1591 }, 1592 "PythonFileDigest": { 1593 "properties": { 1594 "algorithm": { 1595 "type": "string" 1596 }, 1597 "value": { 1598 "type": "string" 1599 } 1600 }, 1601 "type": "object", 1602 "required": [ 1603 "algorithm", 1604 "value" 1605 ] 1606 }, 1607 "PythonFileRecord": { 1608 "properties": { 1609 "path": { 1610 "type": "string" 1611 }, 1612 "digest": { 1613 "$ref": "#/$defs/PythonFileDigest" 1614 }, 1615 "size": { 1616 "type": "string" 1617 } 1618 }, 1619 "type": "object", 1620 "required": [ 1621 "path" 1622 ] 1623 }, 1624 "PythonPackageMetadata": { 1625 "properties": { 1626 "name": { 1627 "type": "string" 1628 }, 1629 "version": { 1630 "type": "string" 1631 }, 1632 "author": { 1633 "type": "string" 1634 }, 1635 "authorEmail": { 1636 "type": "string" 1637 }, 1638 "platform": { 1639 "type": "string" 1640 }, 1641 "files": { 1642 "items": { 1643 "$ref": "#/$defs/PythonFileRecord" 1644 }, 1645 "type": "array" 1646 }, 1647 "sitePackagesRootPath": { 1648 "type": "string" 1649 }, 1650 "topLevelPackages": { 1651 "items": { 1652 "type": "string" 1653 }, 1654 "type": "array" 1655 }, 1656 "directUrlOrigin": { 1657 "$ref": "#/$defs/PythonDirectURLOriginInfo" 1658 } 1659 }, 1660 "type": "object", 1661 "required": [ 1662 "name", 1663 "version", 1664 "author", 1665 "authorEmail", 1666 "platform", 1667 "sitePackagesRootPath" 1668 ] 1669 }, 1670 "PythonPipfileLockMetadata": { 1671 "properties": { 1672 "hashes": { 1673 "items": { 1674 "type": "string" 1675 }, 1676 "type": "array" 1677 }, 1678 "index": { 1679 "type": "string" 1680 } 1681 }, 1682 "type": "object", 1683 "required": [ 1684 "hashes", 1685 "index" 1686 ] 1687 }, 1688 "PythonRequirementsMetadata": { 1689 "properties": { 1690 "name": { 1691 "type": "string" 1692 }, 1693 "extras": { 1694 "items": { 1695 "type": "string" 1696 }, 1697 "type": "array" 1698 }, 1699 "versionConstraint": { 1700 "type": "string" 1701 }, 1702 "url": { 1703 "type": "string" 1704 }, 1705 "markers": { 1706 "type": "string" 1707 } 1708 }, 1709 "type": "object", 1710 "required": [ 1711 "name", 1712 "versionConstraint" 1713 ] 1714 }, 1715 "RDescriptionFileMetadata": { 1716 "properties": { 1717 "title": { 1718 "type": "string" 1719 }, 1720 "description": { 1721 "type": "string" 1722 }, 1723 "author": { 1724 "type": "string" 1725 }, 1726 "maintainer": { 1727 "type": "string" 1728 }, 1729 "url": { 1730 "items": { 1731 "type": "string" 1732 }, 1733 "type": "array" 1734 }, 1735 "repository": { 1736 "type": "string" 1737 }, 1738 "built": { 1739 "type": "string" 1740 }, 1741 "needsCompilation": { 1742 "type": "boolean" 1743 }, 1744 "imports": { 1745 "items": { 1746 "type": "string" 1747 }, 1748 "type": "array" 1749 }, 1750 "depends": { 1751 "items": { 1752 "type": "string" 1753 }, 1754 "type": "array" 1755 }, 1756 "suggests": { 1757 "items": { 1758 "type": "string" 1759 }, 1760 "type": "array" 1761 } 1762 }, 1763 "type": "object" 1764 }, 1765 "RebarLockMetadata": { 1766 "properties": { 1767 "name": { 1768 "type": "string" 1769 }, 1770 "version": { 1771 "type": "string" 1772 }, 1773 "pkgHash": { 1774 "type": "string" 1775 }, 1776 "pkgHashExt": { 1777 "type": "string" 1778 } 1779 }, 1780 "type": "object", 1781 "required": [ 1782 "name", 1783 "version", 1784 "pkgHash", 1785 "pkgHashExt" 1786 ] 1787 }, 1788 "Relationship": { 1789 "properties": { 1790 "parent": { 1791 "type": "string" 1792 }, 1793 "child": { 1794 "type": "string" 1795 }, 1796 "type": { 1797 "type": "string" 1798 }, 1799 "metadata": true 1800 }, 1801 "type": "object", 1802 "required": [ 1803 "parent", 1804 "child", 1805 "type" 1806 ] 1807 }, 1808 "RpmMetadata": { 1809 "properties": { 1810 "name": { 1811 "type": "string" 1812 }, 1813 "version": { 1814 "type": "string" 1815 }, 1816 "epoch": { 1817 "oneOf": [ 1818 { 1819 "type": "integer" 1820 }, 1821 { 1822 "type": "null" 1823 } 1824 ] 1825 }, 1826 "architecture": { 1827 "type": "string" 1828 }, 1829 "release": { 1830 "type": "string" 1831 }, 1832 "sourceRpm": { 1833 "type": "string" 1834 }, 1835 "size": { 1836 "type": "integer" 1837 }, 1838 "vendor": { 1839 "type": "string" 1840 }, 1841 "modularityLabel": { 1842 "type": "string" 1843 }, 1844 "files": { 1845 "items": { 1846 "$ref": "#/$defs/RpmdbFileRecord" 1847 }, 1848 "type": "array" 1849 } 1850 }, 1851 "type": "object", 1852 "required": [ 1853 "name", 1854 "version", 1855 "epoch", 1856 "architecture", 1857 "release", 1858 "sourceRpm", 1859 "size", 1860 "vendor", 1861 "modularityLabel", 1862 "files" 1863 ] 1864 }, 1865 "RpmdbFileRecord": { 1866 "properties": { 1867 "path": { 1868 "type": "string" 1869 }, 1870 "mode": { 1871 "type": "integer" 1872 }, 1873 "size": { 1874 "type": "integer" 1875 }, 1876 "digest": { 1877 "$ref": "#/$defs/Digest" 1878 }, 1879 "userName": { 1880 "type": "string" 1881 }, 1882 "groupName": { 1883 "type": "string" 1884 }, 1885 "flags": { 1886 "type": "string" 1887 } 1888 }, 1889 "type": "object", 1890 "required": [ 1891 "path", 1892 "mode", 1893 "size", 1894 "digest", 1895 "userName", 1896 "groupName", 1897 "flags" 1898 ] 1899 }, 1900 "Schema": { 1901 "properties": { 1902 "version": { 1903 "type": "string" 1904 }, 1905 "url": { 1906 "type": "string" 1907 } 1908 }, 1909 "type": "object", 1910 "required": [ 1911 "version", 1912 "url" 1913 ] 1914 }, 1915 "SearchResult": { 1916 "properties": { 1917 "classification": { 1918 "type": "string" 1919 }, 1920 "lineNumber": { 1921 "type": "integer" 1922 }, 1923 "lineOffset": { 1924 "type": "integer" 1925 }, 1926 "seekPosition": { 1927 "type": "integer" 1928 }, 1929 "length": { 1930 "type": "integer" 1931 }, 1932 "value": { 1933 "type": "string" 1934 } 1935 }, 1936 "type": "object", 1937 "required": [ 1938 "classification", 1939 "lineNumber", 1940 "lineOffset", 1941 "seekPosition", 1942 "length" 1943 ] 1944 }, 1945 "Secrets": { 1946 "properties": { 1947 "location": { 1948 "$ref": "#/$defs/Coordinates" 1949 }, 1950 "secrets": { 1951 "items": { 1952 "$ref": "#/$defs/SearchResult" 1953 }, 1954 "type": "array" 1955 } 1956 }, 1957 "type": "object", 1958 "required": [ 1959 "location", 1960 "secrets" 1961 ] 1962 }, 1963 "Source": { 1964 "properties": { 1965 "id": { 1966 "type": "string" 1967 }, 1968 "name": { 1969 "type": "string" 1970 }, 1971 "version": { 1972 "type": "string" 1973 }, 1974 "type": { 1975 "type": "string" 1976 }, 1977 "metadata": true 1978 }, 1979 "type": "object", 1980 "required": [ 1981 "id", 1982 "name", 1983 "version", 1984 "type", 1985 "metadata" 1986 ] 1987 }, 1988 "SwiftPackageManagerMetadata": { 1989 "properties": { 1990 "revision": { 1991 "type": "string" 1992 } 1993 }, 1994 "type": "object", 1995 "required": [ 1996 "revision" 1997 ] 1998 }, 1999 "WordpressPluginMetadata": { 2000 "properties": { 2001 "plugin_name": { 2002 "type": "string" 2003 }, 2004 "author": { 2005 "type": "string" 2006 }, 2007 "author_uri": { 2008 "type": "string" 2009 } 2010 }, 2011 "type": "object", 2012 "required": [ 2013 "plugin_name" 2014 ] 2015 }, 2016 "licenses": { 2017 "items": { 2018 "$ref": "#/$defs/License" 2019 }, 2020 "type": "array" 2021 } 2022 } 2023 }