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