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