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