github.com/noqcks/syft@v0.0.0-20230920222752-a9e2c4e288e5/schema/json/schema-11.0.0.json (about) 1 { 2 "$schema": "https://json-schema.org/draft/2020-12/schema", 3 "$id": "anchore.io/schema/syft/json/11.0.0/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 "files": { 542 "items": { 543 "$ref": "#/$defs/DpkgFileRecord" 544 }, 545 "type": "array" 546 } 547 }, 548 "type": "object", 549 "required": [ 550 "package", 551 "source", 552 "version", 553 "sourceVersion", 554 "architecture", 555 "maintainer", 556 "installedSize", 557 "files" 558 ] 559 }, 560 "File": { 561 "properties": { 562 "id": { 563 "type": "string" 564 }, 565 "location": { 566 "$ref": "#/$defs/Coordinates" 567 }, 568 "metadata": { 569 "$ref": "#/$defs/FileMetadataEntry" 570 }, 571 "contents": { 572 "type": "string" 573 }, 574 "digests": { 575 "items": { 576 "$ref": "#/$defs/Digest" 577 }, 578 "type": "array" 579 }, 580 "licenses": { 581 "items": { 582 "$ref": "#/$defs/FileLicense" 583 }, 584 "type": "array" 585 } 586 }, 587 "type": "object", 588 "required": [ 589 "id", 590 "location" 591 ] 592 }, 593 "FileLicense": { 594 "properties": { 595 "value": { 596 "type": "string" 597 }, 598 "spdxExpression": { 599 "type": "string" 600 }, 601 "type": { 602 "type": "string" 603 }, 604 "evidence": { 605 "$ref": "#/$defs/FileLicenseEvidence" 606 } 607 }, 608 "type": "object", 609 "required": [ 610 "value", 611 "spdxExpression", 612 "type" 613 ] 614 }, 615 "FileLicenseEvidence": { 616 "properties": { 617 "confidence": { 618 "type": "integer" 619 }, 620 "offset": { 621 "type": "integer" 622 }, 623 "extent": { 624 "type": "integer" 625 } 626 }, 627 "type": "object", 628 "required": [ 629 "confidence", 630 "offset", 631 "extent" 632 ] 633 }, 634 "FileMetadataEntry": { 635 "properties": { 636 "mode": { 637 "type": "integer" 638 }, 639 "type": { 640 "type": "string" 641 }, 642 "linkDestination": { 643 "type": "string" 644 }, 645 "userID": { 646 "type": "integer" 647 }, 648 "groupID": { 649 "type": "integer" 650 }, 651 "mimeType": { 652 "type": "string" 653 }, 654 "size": { 655 "type": "integer" 656 } 657 }, 658 "type": "object", 659 "required": [ 660 "mode", 661 "type", 662 "userID", 663 "groupID", 664 "mimeType", 665 "size" 666 ] 667 }, 668 "GemMetadata": { 669 "properties": { 670 "name": { 671 "type": "string" 672 }, 673 "version": { 674 "type": "string" 675 }, 676 "files": { 677 "items": { 678 "type": "string" 679 }, 680 "type": "array" 681 }, 682 "authors": { 683 "items": { 684 "type": "string" 685 }, 686 "type": "array" 687 }, 688 "homepage": { 689 "type": "string" 690 } 691 }, 692 "type": "object", 693 "required": [ 694 "name", 695 "version" 696 ] 697 }, 698 "GolangBinMetadata": { 699 "properties": { 700 "goBuildSettings": { 701 "patternProperties": { 702 ".*": { 703 "type": "string" 704 } 705 }, 706 "type": "object" 707 }, 708 "goCompiledVersion": { 709 "type": "string" 710 }, 711 "architecture": { 712 "type": "string" 713 }, 714 "h1Digest": { 715 "type": "string" 716 }, 717 "mainModule": { 718 "type": "string" 719 }, 720 "goCryptoSettings": { 721 "items": { 722 "type": "string" 723 }, 724 "type": "array" 725 } 726 }, 727 "type": "object", 728 "required": [ 729 "goCompiledVersion", 730 "architecture" 731 ] 732 }, 733 "GolangModMetadata": { 734 "properties": { 735 "h1Digest": { 736 "type": "string" 737 } 738 }, 739 "type": "object" 740 }, 741 "HackageMetadata": { 742 "properties": { 743 "name": { 744 "type": "string" 745 }, 746 "version": { 747 "type": "string" 748 }, 749 "pkgHash": { 750 "type": "string" 751 }, 752 "snapshotURL": { 753 "type": "string" 754 } 755 }, 756 "type": "object", 757 "required": [ 758 "name", 759 "version" 760 ] 761 }, 762 "IDLikes": { 763 "items": { 764 "type": "string" 765 }, 766 "type": "array" 767 }, 768 "JavaManifest": { 769 "properties": { 770 "main": { 771 "patternProperties": { 772 ".*": { 773 "type": "string" 774 } 775 }, 776 "type": "object" 777 }, 778 "namedSections": { 779 "patternProperties": { 780 ".*": { 781 "patternProperties": { 782 ".*": { 783 "type": "string" 784 } 785 }, 786 "type": "object" 787 } 788 }, 789 "type": "object" 790 } 791 }, 792 "type": "object" 793 }, 794 "JavaMetadata": { 795 "properties": { 796 "virtualPath": { 797 "type": "string" 798 }, 799 "manifest": { 800 "$ref": "#/$defs/JavaManifest" 801 }, 802 "pomProperties": { 803 "$ref": "#/$defs/PomProperties" 804 }, 805 "pomProject": { 806 "$ref": "#/$defs/PomProject" 807 }, 808 "digest": { 809 "items": { 810 "$ref": "#/$defs/Digest" 811 }, 812 "type": "array" 813 } 814 }, 815 "type": "object", 816 "required": [ 817 "virtualPath" 818 ] 819 }, 820 "KbPackageMetadata": { 821 "properties": { 822 "product_id": { 823 "type": "string" 824 }, 825 "kb": { 826 "type": "string" 827 } 828 }, 829 "type": "object", 830 "required": [ 831 "product_id", 832 "kb" 833 ] 834 }, 835 "License": { 836 "properties": { 837 "value": { 838 "type": "string" 839 }, 840 "spdxExpression": { 841 "type": "string" 842 }, 843 "type": { 844 "type": "string" 845 }, 846 "urls": { 847 "items": { 848 "type": "string" 849 }, 850 "type": "array" 851 }, 852 "locations": { 853 "items": { 854 "$ref": "#/$defs/Location" 855 }, 856 "type": "array" 857 } 858 }, 859 "type": "object", 860 "required": [ 861 "value", 862 "spdxExpression", 863 "type", 864 "urls", 865 "locations" 866 ] 867 }, 868 "LinuxKernelMetadata": { 869 "properties": { 870 "name": { 871 "type": "string" 872 }, 873 "architecture": { 874 "type": "string" 875 }, 876 "version": { 877 "type": "string" 878 }, 879 "extendedVersion": { 880 "type": "string" 881 }, 882 "buildTime": { 883 "type": "string" 884 }, 885 "author": { 886 "type": "string" 887 }, 888 "format": { 889 "type": "string" 890 }, 891 "rwRootFS": { 892 "type": "boolean" 893 }, 894 "swapDevice": { 895 "type": "integer" 896 }, 897 "rootDevice": { 898 "type": "integer" 899 }, 900 "videoMode": { 901 "type": "string" 902 } 903 }, 904 "type": "object", 905 "required": [ 906 "name", 907 "architecture", 908 "version" 909 ] 910 }, 911 "LinuxKernelModuleMetadata": { 912 "properties": { 913 "name": { 914 "type": "string" 915 }, 916 "version": { 917 "type": "string" 918 }, 919 "sourceVersion": { 920 "type": "string" 921 }, 922 "path": { 923 "type": "string" 924 }, 925 "description": { 926 "type": "string" 927 }, 928 "author": { 929 "type": "string" 930 }, 931 "license": { 932 "type": "string" 933 }, 934 "kernelVersion": { 935 "type": "string" 936 }, 937 "versionMagic": { 938 "type": "string" 939 }, 940 "parameters": { 941 "patternProperties": { 942 ".*": { 943 "$ref": "#/$defs/LinuxKernelModuleParameter" 944 } 945 }, 946 "type": "object" 947 } 948 }, 949 "type": "object" 950 }, 951 "LinuxKernelModuleParameter": { 952 "properties": { 953 "type": { 954 "type": "string" 955 }, 956 "description": { 957 "type": "string" 958 } 959 }, 960 "type": "object" 961 }, 962 "LinuxRelease": { 963 "properties": { 964 "prettyName": { 965 "type": "string" 966 }, 967 "name": { 968 "type": "string" 969 }, 970 "id": { 971 "type": "string" 972 }, 973 "idLike": { 974 "$ref": "#/$defs/IDLikes" 975 }, 976 "version": { 977 "type": "string" 978 }, 979 "versionID": { 980 "type": "string" 981 }, 982 "versionCodename": { 983 "type": "string" 984 }, 985 "buildID": { 986 "type": "string" 987 }, 988 "imageID": { 989 "type": "string" 990 }, 991 "imageVersion": { 992 "type": "string" 993 }, 994 "variant": { 995 "type": "string" 996 }, 997 "variantID": { 998 "type": "string" 999 }, 1000 "homeURL": { 1001 "type": "string" 1002 }, 1003 "supportURL": { 1004 "type": "string" 1005 }, 1006 "bugReportURL": { 1007 "type": "string" 1008 }, 1009 "privacyPolicyURL": { 1010 "type": "string" 1011 }, 1012 "cpeName": { 1013 "type": "string" 1014 }, 1015 "supportEnd": { 1016 "type": "string" 1017 } 1018 }, 1019 "type": "object" 1020 }, 1021 "Location": { 1022 "properties": { 1023 "path": { 1024 "type": "string" 1025 }, 1026 "layerID": { 1027 "type": "string" 1028 }, 1029 "annotations": { 1030 "patternProperties": { 1031 ".*": { 1032 "type": "string" 1033 } 1034 }, 1035 "type": "object" 1036 } 1037 }, 1038 "type": "object", 1039 "required": [ 1040 "path" 1041 ] 1042 }, 1043 "MixLockMetadata": { 1044 "properties": { 1045 "name": { 1046 "type": "string" 1047 }, 1048 "version": { 1049 "type": "string" 1050 }, 1051 "pkgHash": { 1052 "type": "string" 1053 }, 1054 "pkgHashExt": { 1055 "type": "string" 1056 } 1057 }, 1058 "type": "object", 1059 "required": [ 1060 "name", 1061 "version", 1062 "pkgHash", 1063 "pkgHashExt" 1064 ] 1065 }, 1066 "NixStoreMetadata": { 1067 "properties": { 1068 "outputHash": { 1069 "type": "string" 1070 }, 1071 "output": { 1072 "type": "string" 1073 }, 1074 "files": { 1075 "items": { 1076 "type": "string" 1077 }, 1078 "type": "array" 1079 } 1080 }, 1081 "type": "object", 1082 "required": [ 1083 "outputHash", 1084 "files" 1085 ] 1086 }, 1087 "NpmPackageJSONMetadata": { 1088 "properties": { 1089 "name": { 1090 "type": "string" 1091 }, 1092 "version": { 1093 "type": "string" 1094 }, 1095 "author": { 1096 "type": "string" 1097 }, 1098 "homepage": { 1099 "type": "string" 1100 }, 1101 "description": { 1102 "type": "string" 1103 }, 1104 "url": { 1105 "type": "string" 1106 }, 1107 "private": { 1108 "type": "boolean" 1109 } 1110 }, 1111 "type": "object", 1112 "required": [ 1113 "name", 1114 "version", 1115 "author", 1116 "homepage", 1117 "description", 1118 "url", 1119 "private" 1120 ] 1121 }, 1122 "NpmPackageLockJSONMetadata": { 1123 "properties": { 1124 "resolved": { 1125 "type": "string" 1126 }, 1127 "integrity": { 1128 "type": "string" 1129 } 1130 }, 1131 "type": "object", 1132 "required": [ 1133 "resolved", 1134 "integrity" 1135 ] 1136 }, 1137 "Package": { 1138 "properties": { 1139 "id": { 1140 "type": "string" 1141 }, 1142 "name": { 1143 "type": "string" 1144 }, 1145 "version": { 1146 "type": "string" 1147 }, 1148 "type": { 1149 "type": "string" 1150 }, 1151 "foundBy": { 1152 "type": "string" 1153 }, 1154 "locations": { 1155 "items": { 1156 "$ref": "#/$defs/Location" 1157 }, 1158 "type": "array" 1159 }, 1160 "licenses": { 1161 "$ref": "#/$defs/licenses" 1162 }, 1163 "language": { 1164 "type": "string" 1165 }, 1166 "cpes": { 1167 "items": { 1168 "type": "string" 1169 }, 1170 "type": "array" 1171 }, 1172 "purl": { 1173 "type": "string" 1174 }, 1175 "metadataType": { 1176 "type": "string" 1177 }, 1178 "metadata": { 1179 "anyOf": [ 1180 { 1181 "type": "null" 1182 }, 1183 { 1184 "$ref": "#/$defs/AlpmMetadata" 1185 }, 1186 { 1187 "$ref": "#/$defs/ApkMetadata" 1188 }, 1189 { 1190 "$ref": "#/$defs/BinaryMetadata" 1191 }, 1192 { 1193 "$ref": "#/$defs/CargoPackageMetadata" 1194 }, 1195 { 1196 "$ref": "#/$defs/CocoapodsMetadata" 1197 }, 1198 { 1199 "$ref": "#/$defs/ConanLockMetadata" 1200 }, 1201 { 1202 "$ref": "#/$defs/ConanMetadata" 1203 }, 1204 { 1205 "$ref": "#/$defs/DartPubMetadata" 1206 }, 1207 { 1208 "$ref": "#/$defs/DotnetDepsMetadata" 1209 }, 1210 { 1211 "$ref": "#/$defs/DotnetPortableExecutableMetadata" 1212 }, 1213 { 1214 "$ref": "#/$defs/DpkgMetadata" 1215 }, 1216 { 1217 "$ref": "#/$defs/GemMetadata" 1218 }, 1219 { 1220 "$ref": "#/$defs/GolangBinMetadata" 1221 }, 1222 { 1223 "$ref": "#/$defs/GolangModMetadata" 1224 }, 1225 { 1226 "$ref": "#/$defs/HackageMetadata" 1227 }, 1228 { 1229 "$ref": "#/$defs/JavaMetadata" 1230 }, 1231 { 1232 "$ref": "#/$defs/KbPackageMetadata" 1233 }, 1234 { 1235 "$ref": "#/$defs/LinuxKernelMetadata" 1236 }, 1237 { 1238 "$ref": "#/$defs/LinuxKernelModuleMetadata" 1239 }, 1240 { 1241 "$ref": "#/$defs/MixLockMetadata" 1242 }, 1243 { 1244 "$ref": "#/$defs/NixStoreMetadata" 1245 }, 1246 { 1247 "$ref": "#/$defs/NpmPackageJSONMetadata" 1248 }, 1249 { 1250 "$ref": "#/$defs/NpmPackageLockJSONMetadata" 1251 }, 1252 { 1253 "$ref": "#/$defs/PhpComposerJSONMetadata" 1254 }, 1255 { 1256 "$ref": "#/$defs/PortageMetadata" 1257 }, 1258 { 1259 "$ref": "#/$defs/PythonPackageMetadata" 1260 }, 1261 { 1262 "$ref": "#/$defs/PythonPipfileLockMetadata" 1263 }, 1264 { 1265 "$ref": "#/$defs/PythonRequirementsMetadata" 1266 }, 1267 { 1268 "$ref": "#/$defs/RDescriptionFileMetadata" 1269 }, 1270 { 1271 "$ref": "#/$defs/RebarLockMetadata" 1272 }, 1273 { 1274 "$ref": "#/$defs/RpmMetadata" 1275 }, 1276 { 1277 "$ref": "#/$defs/SwiftPackageManagerMetadata" 1278 } 1279 ] 1280 } 1281 }, 1282 "type": "object", 1283 "required": [ 1284 "id", 1285 "name", 1286 "version", 1287 "type", 1288 "foundBy", 1289 "locations", 1290 "licenses", 1291 "language", 1292 "cpes", 1293 "purl" 1294 ] 1295 }, 1296 "PhpComposerAuthors": { 1297 "properties": { 1298 "name": { 1299 "type": "string" 1300 }, 1301 "email": { 1302 "type": "string" 1303 }, 1304 "homepage": { 1305 "type": "string" 1306 } 1307 }, 1308 "type": "object", 1309 "required": [ 1310 "name" 1311 ] 1312 }, 1313 "PhpComposerExternalReference": { 1314 "properties": { 1315 "type": { 1316 "type": "string" 1317 }, 1318 "url": { 1319 "type": "string" 1320 }, 1321 "reference": { 1322 "type": "string" 1323 }, 1324 "shasum": { 1325 "type": "string" 1326 } 1327 }, 1328 "type": "object", 1329 "required": [ 1330 "type", 1331 "url", 1332 "reference" 1333 ] 1334 }, 1335 "PhpComposerJSONMetadata": { 1336 "properties": { 1337 "name": { 1338 "type": "string" 1339 }, 1340 "version": { 1341 "type": "string" 1342 }, 1343 "source": { 1344 "$ref": "#/$defs/PhpComposerExternalReference" 1345 }, 1346 "dist": { 1347 "$ref": "#/$defs/PhpComposerExternalReference" 1348 }, 1349 "require": { 1350 "patternProperties": { 1351 ".*": { 1352 "type": "string" 1353 } 1354 }, 1355 "type": "object" 1356 }, 1357 "provide": { 1358 "patternProperties": { 1359 ".*": { 1360 "type": "string" 1361 } 1362 }, 1363 "type": "object" 1364 }, 1365 "require-dev": { 1366 "patternProperties": { 1367 ".*": { 1368 "type": "string" 1369 } 1370 }, 1371 "type": "object" 1372 }, 1373 "suggest": { 1374 "patternProperties": { 1375 ".*": { 1376 "type": "string" 1377 } 1378 }, 1379 "type": "object" 1380 }, 1381 "license": { 1382 "items": { 1383 "type": "string" 1384 }, 1385 "type": "array" 1386 }, 1387 "type": { 1388 "type": "string" 1389 }, 1390 "notification-url": { 1391 "type": "string" 1392 }, 1393 "bin": { 1394 "items": { 1395 "type": "string" 1396 }, 1397 "type": "array" 1398 }, 1399 "authors": { 1400 "items": { 1401 "$ref": "#/$defs/PhpComposerAuthors" 1402 }, 1403 "type": "array" 1404 }, 1405 "description": { 1406 "type": "string" 1407 }, 1408 "homepage": { 1409 "type": "string" 1410 }, 1411 "keywords": { 1412 "items": { 1413 "type": "string" 1414 }, 1415 "type": "array" 1416 }, 1417 "time": { 1418 "type": "string" 1419 } 1420 }, 1421 "type": "object", 1422 "required": [ 1423 "name", 1424 "version", 1425 "source", 1426 "dist" 1427 ] 1428 }, 1429 "PomParent": { 1430 "properties": { 1431 "groupId": { 1432 "type": "string" 1433 }, 1434 "artifactId": { 1435 "type": "string" 1436 }, 1437 "version": { 1438 "type": "string" 1439 } 1440 }, 1441 "type": "object", 1442 "required": [ 1443 "groupId", 1444 "artifactId", 1445 "version" 1446 ] 1447 }, 1448 "PomProject": { 1449 "properties": { 1450 "path": { 1451 "type": "string" 1452 }, 1453 "parent": { 1454 "$ref": "#/$defs/PomParent" 1455 }, 1456 "groupId": { 1457 "type": "string" 1458 }, 1459 "artifactId": { 1460 "type": "string" 1461 }, 1462 "version": { 1463 "type": "string" 1464 }, 1465 "name": { 1466 "type": "string" 1467 }, 1468 "description": { 1469 "type": "string" 1470 }, 1471 "url": { 1472 "type": "string" 1473 } 1474 }, 1475 "type": "object", 1476 "required": [ 1477 "path", 1478 "groupId", 1479 "artifactId", 1480 "version", 1481 "name" 1482 ] 1483 }, 1484 "PomProperties": { 1485 "properties": { 1486 "path": { 1487 "type": "string" 1488 }, 1489 "name": { 1490 "type": "string" 1491 }, 1492 "groupId": { 1493 "type": "string" 1494 }, 1495 "artifactId": { 1496 "type": "string" 1497 }, 1498 "version": { 1499 "type": "string" 1500 }, 1501 "scope": { 1502 "type": "string" 1503 }, 1504 "extraFields": { 1505 "patternProperties": { 1506 ".*": { 1507 "type": "string" 1508 } 1509 }, 1510 "type": "object" 1511 } 1512 }, 1513 "type": "object", 1514 "required": [ 1515 "path", 1516 "name", 1517 "groupId", 1518 "artifactId", 1519 "version" 1520 ] 1521 }, 1522 "PortageFileRecord": { 1523 "properties": { 1524 "path": { 1525 "type": "string" 1526 }, 1527 "digest": { 1528 "$ref": "#/$defs/Digest" 1529 } 1530 }, 1531 "type": "object", 1532 "required": [ 1533 "path" 1534 ] 1535 }, 1536 "PortageMetadata": { 1537 "properties": { 1538 "installedSize": { 1539 "type": "integer" 1540 }, 1541 "files": { 1542 "items": { 1543 "$ref": "#/$defs/PortageFileRecord" 1544 }, 1545 "type": "array" 1546 } 1547 }, 1548 "type": "object", 1549 "required": [ 1550 "installedSize", 1551 "files" 1552 ] 1553 }, 1554 "PythonDirectURLOriginInfo": { 1555 "properties": { 1556 "url": { 1557 "type": "string" 1558 }, 1559 "commitId": { 1560 "type": "string" 1561 }, 1562 "vcs": { 1563 "type": "string" 1564 } 1565 }, 1566 "type": "object", 1567 "required": [ 1568 "url" 1569 ] 1570 }, 1571 "PythonFileDigest": { 1572 "properties": { 1573 "algorithm": { 1574 "type": "string" 1575 }, 1576 "value": { 1577 "type": "string" 1578 } 1579 }, 1580 "type": "object", 1581 "required": [ 1582 "algorithm", 1583 "value" 1584 ] 1585 }, 1586 "PythonFileRecord": { 1587 "properties": { 1588 "path": { 1589 "type": "string" 1590 }, 1591 "digest": { 1592 "$ref": "#/$defs/PythonFileDigest" 1593 }, 1594 "size": { 1595 "type": "string" 1596 } 1597 }, 1598 "type": "object", 1599 "required": [ 1600 "path" 1601 ] 1602 }, 1603 "PythonPackageMetadata": { 1604 "properties": { 1605 "name": { 1606 "type": "string" 1607 }, 1608 "version": { 1609 "type": "string" 1610 }, 1611 "author": { 1612 "type": "string" 1613 }, 1614 "authorEmail": { 1615 "type": "string" 1616 }, 1617 "platform": { 1618 "type": "string" 1619 }, 1620 "files": { 1621 "items": { 1622 "$ref": "#/$defs/PythonFileRecord" 1623 }, 1624 "type": "array" 1625 }, 1626 "sitePackagesRootPath": { 1627 "type": "string" 1628 }, 1629 "topLevelPackages": { 1630 "items": { 1631 "type": "string" 1632 }, 1633 "type": "array" 1634 }, 1635 "directUrlOrigin": { 1636 "$ref": "#/$defs/PythonDirectURLOriginInfo" 1637 } 1638 }, 1639 "type": "object", 1640 "required": [ 1641 "name", 1642 "version", 1643 "author", 1644 "authorEmail", 1645 "platform", 1646 "sitePackagesRootPath" 1647 ] 1648 }, 1649 "PythonPipfileLockMetadata": { 1650 "properties": { 1651 "hashes": { 1652 "items": { 1653 "type": "string" 1654 }, 1655 "type": "array" 1656 }, 1657 "index": { 1658 "type": "string" 1659 } 1660 }, 1661 "type": "object", 1662 "required": [ 1663 "hashes", 1664 "index" 1665 ] 1666 }, 1667 "PythonRequirementsMetadata": { 1668 "properties": { 1669 "name": { 1670 "type": "string" 1671 }, 1672 "extras": { 1673 "items": { 1674 "type": "string" 1675 }, 1676 "type": "array" 1677 }, 1678 "versionConstraint": { 1679 "type": "string" 1680 }, 1681 "url": { 1682 "type": "string" 1683 }, 1684 "markers": { 1685 "type": "string" 1686 } 1687 }, 1688 "type": "object", 1689 "required": [ 1690 "name", 1691 "versionConstraint" 1692 ] 1693 }, 1694 "RDescriptionFileMetadata": { 1695 "properties": { 1696 "title": { 1697 "type": "string" 1698 }, 1699 "description": { 1700 "type": "string" 1701 }, 1702 "author": { 1703 "type": "string" 1704 }, 1705 "maintainer": { 1706 "type": "string" 1707 }, 1708 "url": { 1709 "items": { 1710 "type": "string" 1711 }, 1712 "type": "array" 1713 }, 1714 "repository": { 1715 "type": "string" 1716 }, 1717 "built": { 1718 "type": "string" 1719 }, 1720 "needsCompilation": { 1721 "type": "boolean" 1722 }, 1723 "imports": { 1724 "items": { 1725 "type": "string" 1726 }, 1727 "type": "array" 1728 }, 1729 "depends": { 1730 "items": { 1731 "type": "string" 1732 }, 1733 "type": "array" 1734 }, 1735 "suggests": { 1736 "items": { 1737 "type": "string" 1738 }, 1739 "type": "array" 1740 } 1741 }, 1742 "type": "object" 1743 }, 1744 "RebarLockMetadata": { 1745 "properties": { 1746 "name": { 1747 "type": "string" 1748 }, 1749 "version": { 1750 "type": "string" 1751 }, 1752 "pkgHash": { 1753 "type": "string" 1754 }, 1755 "pkgHashExt": { 1756 "type": "string" 1757 } 1758 }, 1759 "type": "object", 1760 "required": [ 1761 "name", 1762 "version", 1763 "pkgHash", 1764 "pkgHashExt" 1765 ] 1766 }, 1767 "Relationship": { 1768 "properties": { 1769 "parent": { 1770 "type": "string" 1771 }, 1772 "child": { 1773 "type": "string" 1774 }, 1775 "type": { 1776 "type": "string" 1777 }, 1778 "metadata": true 1779 }, 1780 "type": "object", 1781 "required": [ 1782 "parent", 1783 "child", 1784 "type" 1785 ] 1786 }, 1787 "RpmMetadata": { 1788 "properties": { 1789 "name": { 1790 "type": "string" 1791 }, 1792 "version": { 1793 "type": "string" 1794 }, 1795 "epoch": { 1796 "oneOf": [ 1797 { 1798 "type": "integer" 1799 }, 1800 { 1801 "type": "null" 1802 } 1803 ] 1804 }, 1805 "architecture": { 1806 "type": "string" 1807 }, 1808 "release": { 1809 "type": "string" 1810 }, 1811 "sourceRpm": { 1812 "type": "string" 1813 }, 1814 "size": { 1815 "type": "integer" 1816 }, 1817 "vendor": { 1818 "type": "string" 1819 }, 1820 "modularityLabel": { 1821 "type": "string" 1822 }, 1823 "files": { 1824 "items": { 1825 "$ref": "#/$defs/RpmdbFileRecord" 1826 }, 1827 "type": "array" 1828 } 1829 }, 1830 "type": "object", 1831 "required": [ 1832 "name", 1833 "version", 1834 "epoch", 1835 "architecture", 1836 "release", 1837 "sourceRpm", 1838 "size", 1839 "vendor", 1840 "modularityLabel", 1841 "files" 1842 ] 1843 }, 1844 "RpmdbFileRecord": { 1845 "properties": { 1846 "path": { 1847 "type": "string" 1848 }, 1849 "mode": { 1850 "type": "integer" 1851 }, 1852 "size": { 1853 "type": "integer" 1854 }, 1855 "digest": { 1856 "$ref": "#/$defs/Digest" 1857 }, 1858 "userName": { 1859 "type": "string" 1860 }, 1861 "groupName": { 1862 "type": "string" 1863 }, 1864 "flags": { 1865 "type": "string" 1866 } 1867 }, 1868 "type": "object", 1869 "required": [ 1870 "path", 1871 "mode", 1872 "size", 1873 "digest", 1874 "userName", 1875 "groupName", 1876 "flags" 1877 ] 1878 }, 1879 "Schema": { 1880 "properties": { 1881 "version": { 1882 "type": "string" 1883 }, 1884 "url": { 1885 "type": "string" 1886 } 1887 }, 1888 "type": "object", 1889 "required": [ 1890 "version", 1891 "url" 1892 ] 1893 }, 1894 "SearchResult": { 1895 "properties": { 1896 "classification": { 1897 "type": "string" 1898 }, 1899 "lineNumber": { 1900 "type": "integer" 1901 }, 1902 "lineOffset": { 1903 "type": "integer" 1904 }, 1905 "seekPosition": { 1906 "type": "integer" 1907 }, 1908 "length": { 1909 "type": "integer" 1910 }, 1911 "value": { 1912 "type": "string" 1913 } 1914 }, 1915 "type": "object", 1916 "required": [ 1917 "classification", 1918 "lineNumber", 1919 "lineOffset", 1920 "seekPosition", 1921 "length" 1922 ] 1923 }, 1924 "Secrets": { 1925 "properties": { 1926 "location": { 1927 "$ref": "#/$defs/Coordinates" 1928 }, 1929 "secrets": { 1930 "items": { 1931 "$ref": "#/$defs/SearchResult" 1932 }, 1933 "type": "array" 1934 } 1935 }, 1936 "type": "object", 1937 "required": [ 1938 "location", 1939 "secrets" 1940 ] 1941 }, 1942 "Source": { 1943 "properties": { 1944 "id": { 1945 "type": "string" 1946 }, 1947 "name": { 1948 "type": "string" 1949 }, 1950 "version": { 1951 "type": "string" 1952 }, 1953 "type": { 1954 "type": "string" 1955 }, 1956 "metadata": true 1957 }, 1958 "type": "object", 1959 "required": [ 1960 "id", 1961 "name", 1962 "version", 1963 "type", 1964 "metadata" 1965 ] 1966 }, 1967 "SwiftPackageManagerMetadata": { 1968 "properties": { 1969 "revision": { 1970 "type": "string" 1971 } 1972 }, 1973 "type": "object", 1974 "required": [ 1975 "revision" 1976 ] 1977 }, 1978 "licenses": { 1979 "items": { 1980 "$ref": "#/$defs/License" 1981 }, 1982 "type": "array" 1983 } 1984 } 1985 }