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