github.com/lineaje-labs/syft@v0.98.1-0.20231227153149-9e393f60ff1b/schema/json/schema-7.1.2.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 "annotations": { 818 "patternProperties": { 819 ".*": { 820 "type": "string" 821 } 822 }, 823 "type": "object" 824 } 825 }, 826 "type": "object", 827 "required": [ 828 "path" 829 ] 830 }, 831 "MixLockMetadata": { 832 "properties": { 833 "name": { 834 "type": "string" 835 }, 836 "version": { 837 "type": "string" 838 }, 839 "pkgHash": { 840 "type": "string" 841 }, 842 "pkgHashExt": { 843 "type": "string" 844 } 845 }, 846 "type": "object", 847 "required": [ 848 "name", 849 "version", 850 "pkgHash", 851 "pkgHashExt" 852 ] 853 }, 854 "NixStoreMetadata": { 855 "properties": { 856 "outputHash": { 857 "type": "string" 858 }, 859 "output": { 860 "type": "string" 861 }, 862 "files": { 863 "items": { 864 "type": "string" 865 }, 866 "type": "array" 867 } 868 }, 869 "type": "object", 870 "required": [ 871 "outputHash", 872 "files" 873 ] 874 }, 875 "NpmPackageJSONMetadata": { 876 "properties": { 877 "name": { 878 "type": "string" 879 }, 880 "version": { 881 "type": "string" 882 }, 883 "author": { 884 "type": "string" 885 }, 886 "licenses": { 887 "items": { 888 "type": "string" 889 }, 890 "type": "array" 891 }, 892 "homepage": { 893 "type": "string" 894 }, 895 "description": { 896 "type": "string" 897 }, 898 "url": { 899 "type": "string" 900 }, 901 "private": { 902 "type": "boolean" 903 } 904 }, 905 "type": "object", 906 "required": [ 907 "name", 908 "version", 909 "author", 910 "licenses", 911 "homepage", 912 "description", 913 "url", 914 "private" 915 ] 916 }, 917 "NpmPackageLockJSONMetadata": { 918 "properties": { 919 "resolved": { 920 "type": "string" 921 }, 922 "integrity": { 923 "type": "string" 924 } 925 }, 926 "type": "object", 927 "required": [ 928 "resolved", 929 "integrity" 930 ] 931 }, 932 "Package": { 933 "properties": { 934 "id": { 935 "type": "string" 936 }, 937 "name": { 938 "type": "string" 939 }, 940 "version": { 941 "type": "string" 942 }, 943 "type": { 944 "type": "string" 945 }, 946 "foundBy": { 947 "type": "string" 948 }, 949 "locations": { 950 "items": { 951 "$ref": "#/$defs/Location" 952 }, 953 "type": "array" 954 }, 955 "licenses": { 956 "items": { 957 "type": "string" 958 }, 959 "type": "array" 960 }, 961 "language": { 962 "type": "string" 963 }, 964 "cpes": { 965 "items": { 966 "type": "string" 967 }, 968 "type": "array" 969 }, 970 "purl": { 971 "type": "string" 972 }, 973 "metadataType": { 974 "type": "string" 975 }, 976 "metadata": { 977 "anyOf": [ 978 { 979 "type": "null" 980 }, 981 { 982 "$ref": "#/$defs/AlpmMetadata" 983 }, 984 { 985 "$ref": "#/$defs/ApkMetadata" 986 }, 987 { 988 "$ref": "#/$defs/BinaryMetadata" 989 }, 990 { 991 "$ref": "#/$defs/CargoPackageMetadata" 992 }, 993 { 994 "$ref": "#/$defs/CocoapodsMetadata" 995 }, 996 { 997 "$ref": "#/$defs/ConanLockMetadata" 998 }, 999 { 1000 "$ref": "#/$defs/ConanMetadata" 1001 }, 1002 { 1003 "$ref": "#/$defs/DartPubMetadata" 1004 }, 1005 { 1006 "$ref": "#/$defs/DotnetDepsMetadata" 1007 }, 1008 { 1009 "$ref": "#/$defs/DpkgMetadata" 1010 }, 1011 { 1012 "$ref": "#/$defs/GemMetadata" 1013 }, 1014 { 1015 "$ref": "#/$defs/GolangBinMetadata" 1016 }, 1017 { 1018 "$ref": "#/$defs/GolangModMetadata" 1019 }, 1020 { 1021 "$ref": "#/$defs/HackageMetadata" 1022 }, 1023 { 1024 "$ref": "#/$defs/JavaMetadata" 1025 }, 1026 { 1027 "$ref": "#/$defs/KbPackageMetadata" 1028 }, 1029 { 1030 "$ref": "#/$defs/MixLockMetadata" 1031 }, 1032 { 1033 "$ref": "#/$defs/NixStoreMetadata" 1034 }, 1035 { 1036 "$ref": "#/$defs/NpmPackageJSONMetadata" 1037 }, 1038 { 1039 "$ref": "#/$defs/NpmPackageLockJSONMetadata" 1040 }, 1041 { 1042 "$ref": "#/$defs/PhpComposerJSONMetadata" 1043 }, 1044 { 1045 "$ref": "#/$defs/PortageMetadata" 1046 }, 1047 { 1048 "$ref": "#/$defs/PythonPackageMetadata" 1049 }, 1050 { 1051 "$ref": "#/$defs/PythonPipfileLockMetadata" 1052 }, 1053 { 1054 "$ref": "#/$defs/RebarLockMetadata" 1055 }, 1056 { 1057 "$ref": "#/$defs/RpmMetadata" 1058 } 1059 ] 1060 } 1061 }, 1062 "type": "object", 1063 "required": [ 1064 "id", 1065 "name", 1066 "version", 1067 "type", 1068 "foundBy", 1069 "locations", 1070 "licenses", 1071 "language", 1072 "cpes", 1073 "purl" 1074 ] 1075 }, 1076 "PhpComposerAuthors": { 1077 "properties": { 1078 "name": { 1079 "type": "string" 1080 }, 1081 "email": { 1082 "type": "string" 1083 }, 1084 "homepage": { 1085 "type": "string" 1086 } 1087 }, 1088 "type": "object", 1089 "required": [ 1090 "name" 1091 ] 1092 }, 1093 "PhpComposerExternalReference": { 1094 "properties": { 1095 "type": { 1096 "type": "string" 1097 }, 1098 "url": { 1099 "type": "string" 1100 }, 1101 "reference": { 1102 "type": "string" 1103 }, 1104 "shasum": { 1105 "type": "string" 1106 } 1107 }, 1108 "type": "object", 1109 "required": [ 1110 "type", 1111 "url", 1112 "reference" 1113 ] 1114 }, 1115 "PhpComposerJSONMetadata": { 1116 "properties": { 1117 "name": { 1118 "type": "string" 1119 }, 1120 "version": { 1121 "type": "string" 1122 }, 1123 "source": { 1124 "$ref": "#/$defs/PhpComposerExternalReference" 1125 }, 1126 "dist": { 1127 "$ref": "#/$defs/PhpComposerExternalReference" 1128 }, 1129 "require": { 1130 "patternProperties": { 1131 ".*": { 1132 "type": "string" 1133 } 1134 }, 1135 "type": "object" 1136 }, 1137 "provide": { 1138 "patternProperties": { 1139 ".*": { 1140 "type": "string" 1141 } 1142 }, 1143 "type": "object" 1144 }, 1145 "require-dev": { 1146 "patternProperties": { 1147 ".*": { 1148 "type": "string" 1149 } 1150 }, 1151 "type": "object" 1152 }, 1153 "suggest": { 1154 "patternProperties": { 1155 ".*": { 1156 "type": "string" 1157 } 1158 }, 1159 "type": "object" 1160 }, 1161 "type": { 1162 "type": "string" 1163 }, 1164 "notification-url": { 1165 "type": "string" 1166 }, 1167 "bin": { 1168 "items": { 1169 "type": "string" 1170 }, 1171 "type": "array" 1172 }, 1173 "license": { 1174 "items": { 1175 "type": "string" 1176 }, 1177 "type": "array" 1178 }, 1179 "authors": { 1180 "items": { 1181 "$ref": "#/$defs/PhpComposerAuthors" 1182 }, 1183 "type": "array" 1184 }, 1185 "description": { 1186 "type": "string" 1187 }, 1188 "homepage": { 1189 "type": "string" 1190 }, 1191 "keywords": { 1192 "items": { 1193 "type": "string" 1194 }, 1195 "type": "array" 1196 }, 1197 "time": { 1198 "type": "string" 1199 } 1200 }, 1201 "type": "object", 1202 "required": [ 1203 "name", 1204 "version", 1205 "source", 1206 "dist" 1207 ] 1208 }, 1209 "PomParent": { 1210 "properties": { 1211 "groupId": { 1212 "type": "string" 1213 }, 1214 "artifactId": { 1215 "type": "string" 1216 }, 1217 "version": { 1218 "type": "string" 1219 } 1220 }, 1221 "type": "object", 1222 "required": [ 1223 "groupId", 1224 "artifactId", 1225 "version" 1226 ] 1227 }, 1228 "PomProject": { 1229 "properties": { 1230 "path": { 1231 "type": "string" 1232 }, 1233 "parent": { 1234 "$ref": "#/$defs/PomParent" 1235 }, 1236 "groupId": { 1237 "type": "string" 1238 }, 1239 "artifactId": { 1240 "type": "string" 1241 }, 1242 "version": { 1243 "type": "string" 1244 }, 1245 "name": { 1246 "type": "string" 1247 }, 1248 "description": { 1249 "type": "string" 1250 }, 1251 "url": { 1252 "type": "string" 1253 } 1254 }, 1255 "type": "object", 1256 "required": [ 1257 "path", 1258 "groupId", 1259 "artifactId", 1260 "version", 1261 "name" 1262 ] 1263 }, 1264 "PomProperties": { 1265 "properties": { 1266 "path": { 1267 "type": "string" 1268 }, 1269 "name": { 1270 "type": "string" 1271 }, 1272 "groupId": { 1273 "type": "string" 1274 }, 1275 "artifactId": { 1276 "type": "string" 1277 }, 1278 "version": { 1279 "type": "string" 1280 }, 1281 "extraFields": { 1282 "patternProperties": { 1283 ".*": { 1284 "type": "string" 1285 } 1286 }, 1287 "type": "object" 1288 } 1289 }, 1290 "type": "object", 1291 "required": [ 1292 "path", 1293 "name", 1294 "groupId", 1295 "artifactId", 1296 "version" 1297 ] 1298 }, 1299 "PortageFileRecord": { 1300 "properties": { 1301 "path": { 1302 "type": "string" 1303 }, 1304 "digest": { 1305 "$ref": "#/$defs/Digest" 1306 } 1307 }, 1308 "type": "object", 1309 "required": [ 1310 "path" 1311 ] 1312 }, 1313 "PortageMetadata": { 1314 "properties": { 1315 "installedSize": { 1316 "type": "integer" 1317 }, 1318 "files": { 1319 "items": { 1320 "$ref": "#/$defs/PortageFileRecord" 1321 }, 1322 "type": "array" 1323 } 1324 }, 1325 "type": "object", 1326 "required": [ 1327 "installedSize", 1328 "files" 1329 ] 1330 }, 1331 "PythonDirectURLOriginInfo": { 1332 "properties": { 1333 "url": { 1334 "type": "string" 1335 }, 1336 "commitId": { 1337 "type": "string" 1338 }, 1339 "vcs": { 1340 "type": "string" 1341 } 1342 }, 1343 "type": "object", 1344 "required": [ 1345 "url" 1346 ] 1347 }, 1348 "PythonFileDigest": { 1349 "properties": { 1350 "algorithm": { 1351 "type": "string" 1352 }, 1353 "value": { 1354 "type": "string" 1355 } 1356 }, 1357 "type": "object", 1358 "required": [ 1359 "algorithm", 1360 "value" 1361 ] 1362 }, 1363 "PythonFileRecord": { 1364 "properties": { 1365 "path": { 1366 "type": "string" 1367 }, 1368 "digest": { 1369 "$ref": "#/$defs/PythonFileDigest" 1370 }, 1371 "size": { 1372 "type": "string" 1373 } 1374 }, 1375 "type": "object", 1376 "required": [ 1377 "path" 1378 ] 1379 }, 1380 "PythonPackageMetadata": { 1381 "properties": { 1382 "name": { 1383 "type": "string" 1384 }, 1385 "version": { 1386 "type": "string" 1387 }, 1388 "license": { 1389 "type": "string" 1390 }, 1391 "author": { 1392 "type": "string" 1393 }, 1394 "authorEmail": { 1395 "type": "string" 1396 }, 1397 "platform": { 1398 "type": "string" 1399 }, 1400 "files": { 1401 "items": { 1402 "$ref": "#/$defs/PythonFileRecord" 1403 }, 1404 "type": "array" 1405 }, 1406 "sitePackagesRootPath": { 1407 "type": "string" 1408 }, 1409 "topLevelPackages": { 1410 "items": { 1411 "type": "string" 1412 }, 1413 "type": "array" 1414 }, 1415 "directUrlOrigin": { 1416 "$ref": "#/$defs/PythonDirectURLOriginInfo" 1417 } 1418 }, 1419 "type": "object", 1420 "required": [ 1421 "name", 1422 "version", 1423 "license", 1424 "author", 1425 "authorEmail", 1426 "platform", 1427 "sitePackagesRootPath" 1428 ] 1429 }, 1430 "PythonPipfileLockMetadata": { 1431 "properties": { 1432 "hashes": { 1433 "items": { 1434 "type": "string" 1435 }, 1436 "type": "array" 1437 }, 1438 "index": { 1439 "type": "string" 1440 } 1441 }, 1442 "type": "object", 1443 "required": [ 1444 "hashes", 1445 "index" 1446 ] 1447 }, 1448 "RebarLockMetadata": { 1449 "properties": { 1450 "name": { 1451 "type": "string" 1452 }, 1453 "version": { 1454 "type": "string" 1455 }, 1456 "pkgHash": { 1457 "type": "string" 1458 }, 1459 "pkgHashExt": { 1460 "type": "string" 1461 } 1462 }, 1463 "type": "object", 1464 "required": [ 1465 "name", 1466 "version", 1467 "pkgHash", 1468 "pkgHashExt" 1469 ] 1470 }, 1471 "Relationship": { 1472 "properties": { 1473 "parent": { 1474 "type": "string" 1475 }, 1476 "child": { 1477 "type": "string" 1478 }, 1479 "type": { 1480 "type": "string" 1481 }, 1482 "metadata": true 1483 }, 1484 "type": "object", 1485 "required": [ 1486 "parent", 1487 "child", 1488 "type" 1489 ] 1490 }, 1491 "RpmMetadata": { 1492 "properties": { 1493 "name": { 1494 "type": "string" 1495 }, 1496 "version": { 1497 "type": "string" 1498 }, 1499 "epoch": { 1500 "oneOf": [ 1501 { 1502 "type": "integer" 1503 }, 1504 { 1505 "type": "null" 1506 } 1507 ] 1508 }, 1509 "architecture": { 1510 "type": "string" 1511 }, 1512 "release": { 1513 "type": "string" 1514 }, 1515 "sourceRpm": { 1516 "type": "string" 1517 }, 1518 "size": { 1519 "type": "integer" 1520 }, 1521 "license": { 1522 "type": "string" 1523 }, 1524 "vendor": { 1525 "type": "string" 1526 }, 1527 "modularityLabel": { 1528 "type": "string" 1529 }, 1530 "files": { 1531 "items": { 1532 "$ref": "#/$defs/RpmdbFileRecord" 1533 }, 1534 "type": "array" 1535 } 1536 }, 1537 "type": "object", 1538 "required": [ 1539 "name", 1540 "version", 1541 "epoch", 1542 "architecture", 1543 "release", 1544 "sourceRpm", 1545 "size", 1546 "license", 1547 "vendor", 1548 "modularityLabel", 1549 "files" 1550 ] 1551 }, 1552 "RpmdbFileRecord": { 1553 "properties": { 1554 "path": { 1555 "type": "string" 1556 }, 1557 "mode": { 1558 "type": "integer" 1559 }, 1560 "size": { 1561 "type": "integer" 1562 }, 1563 "digest": { 1564 "$ref": "#/$defs/Digest" 1565 }, 1566 "userName": { 1567 "type": "string" 1568 }, 1569 "groupName": { 1570 "type": "string" 1571 }, 1572 "flags": { 1573 "type": "string" 1574 } 1575 }, 1576 "type": "object", 1577 "required": [ 1578 "path", 1579 "mode", 1580 "size", 1581 "digest", 1582 "userName", 1583 "groupName", 1584 "flags" 1585 ] 1586 }, 1587 "Schema": { 1588 "properties": { 1589 "version": { 1590 "type": "string" 1591 }, 1592 "url": { 1593 "type": "string" 1594 } 1595 }, 1596 "type": "object", 1597 "required": [ 1598 "version", 1599 "url" 1600 ] 1601 }, 1602 "SearchResult": { 1603 "properties": { 1604 "classification": { 1605 "type": "string" 1606 }, 1607 "lineNumber": { 1608 "type": "integer" 1609 }, 1610 "lineOffset": { 1611 "type": "integer" 1612 }, 1613 "seekPosition": { 1614 "type": "integer" 1615 }, 1616 "length": { 1617 "type": "integer" 1618 }, 1619 "value": { 1620 "type": "string" 1621 } 1622 }, 1623 "type": "object", 1624 "required": [ 1625 "classification", 1626 "lineNumber", 1627 "lineOffset", 1628 "seekPosition", 1629 "length" 1630 ] 1631 }, 1632 "Secrets": { 1633 "properties": { 1634 "location": { 1635 "$ref": "#/$defs/Coordinates" 1636 }, 1637 "secrets": { 1638 "items": { 1639 "$ref": "#/$defs/SearchResult" 1640 }, 1641 "type": "array" 1642 } 1643 }, 1644 "type": "object", 1645 "required": [ 1646 "location", 1647 "secrets" 1648 ] 1649 }, 1650 "Source": { 1651 "properties": { 1652 "id": { 1653 "type": "string" 1654 }, 1655 "type": { 1656 "type": "string" 1657 }, 1658 "target": true 1659 }, 1660 "type": "object", 1661 "required": [ 1662 "id", 1663 "type", 1664 "target" 1665 ] 1666 } 1667 } 1668 }