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