github.com/lineaje-labs/syft@v0.98.1-0.20231227153149-9e393f60ff1b/schema/json/schema-3.2.2.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 "DpkgFileRecord": { 281 "required": [ 282 "path", 283 "isConfigFile" 284 ], 285 "properties": { 286 "path": { 287 "type": "string" 288 }, 289 "digest": { 290 "$ref": "#/definitions/Digest" 291 }, 292 "isConfigFile": { 293 "type": "boolean" 294 } 295 }, 296 "additionalProperties": true, 297 "type": "object" 298 }, 299 "DpkgMetadata": { 300 "required": [ 301 "package", 302 "source", 303 "version", 304 "sourceVersion", 305 "architecture", 306 "maintainer", 307 "installedSize", 308 "files" 309 ], 310 "properties": { 311 "package": { 312 "type": "string" 313 }, 314 "source": { 315 "type": "string" 316 }, 317 "version": { 318 "type": "string" 319 }, 320 "sourceVersion": { 321 "type": "string" 322 }, 323 "architecture": { 324 "type": "string" 325 }, 326 "maintainer": { 327 "type": "string" 328 }, 329 "installedSize": { 330 "type": "integer" 331 }, 332 "files": { 333 "items": { 334 "$schema": "http://json-schema.org/draft-04/schema#", 335 "$ref": "#/definitions/DpkgFileRecord" 336 }, 337 "type": "array" 338 } 339 }, 340 "additionalProperties": true, 341 "type": "object" 342 }, 343 "File": { 344 "required": [ 345 "id", 346 "location" 347 ], 348 "properties": { 349 "id": { 350 "type": "string" 351 }, 352 "location": { 353 "$ref": "#/definitions/Coordinates" 354 }, 355 "metadata": { 356 "$schema": "http://json-schema.org/draft-04/schema#", 357 "$ref": "#/definitions/FileMetadataEntry" 358 }, 359 "contents": { 360 "type": "string" 361 }, 362 "digests": { 363 "items": { 364 "$schema": "http://json-schema.org/draft-04/schema#", 365 "$ref": "#/definitions/Digest" 366 }, 367 "type": "array" 368 }, 369 "classifications": { 370 "items": { 371 "$schema": "http://json-schema.org/draft-04/schema#", 372 "$ref": "#/definitions/Classification" 373 }, 374 "type": "array" 375 } 376 }, 377 "additionalProperties": true, 378 "type": "object" 379 }, 380 "FileMetadataEntry": { 381 "required": [ 382 "mode", 383 "type", 384 "userID", 385 "groupID", 386 "mimeType" 387 ], 388 "properties": { 389 "mode": { 390 "type": "integer" 391 }, 392 "type": { 393 "type": "string" 394 }, 395 "linkDestination": { 396 "type": "string" 397 }, 398 "userID": { 399 "type": "integer" 400 }, 401 "groupID": { 402 "type": "integer" 403 }, 404 "mimeType": { 405 "type": "string" 406 } 407 }, 408 "additionalProperties": true, 409 "type": "object" 410 }, 411 "GemMetadata": { 412 "required": [ 413 "name", 414 "version" 415 ], 416 "properties": { 417 "name": { 418 "type": "string" 419 }, 420 "version": { 421 "type": "string" 422 }, 423 "files": { 424 "items": { 425 "type": "string" 426 }, 427 "type": "array" 428 }, 429 "authors": { 430 "items": { 431 "type": "string" 432 }, 433 "type": "array" 434 }, 435 "licenses": { 436 "items": { 437 "type": "string" 438 }, 439 "type": "array" 440 }, 441 "homepage": { 442 "type": "string" 443 } 444 }, 445 "additionalProperties": true, 446 "type": "object" 447 }, 448 "GolangBinMetadata": { 449 "required": [ 450 "goCompiledVersion", 451 "architecture" 452 ], 453 "properties": { 454 "goBuildSettings": { 455 "patternProperties": { 456 ".*": { 457 "type": "string" 458 } 459 }, 460 "type": "object" 461 }, 462 "goCompiledVersion": { 463 "type": "string" 464 }, 465 "architecture": { 466 "type": "string" 467 }, 468 "h1Digest": { 469 "type": "string" 470 } 471 }, 472 "additionalProperties": true, 473 "type": "object" 474 }, 475 "JavaManifest": { 476 "properties": { 477 "main": { 478 "patternProperties": { 479 ".*": { 480 "type": "string" 481 } 482 }, 483 "type": "object" 484 }, 485 "namedSections": { 486 "patternProperties": { 487 ".*": { 488 "patternProperties": { 489 ".*": { 490 "type": "string" 491 } 492 }, 493 "type": "object" 494 } 495 }, 496 "type": "object" 497 } 498 }, 499 "additionalProperties": true, 500 "type": "object" 501 }, 502 "JavaMetadata": { 503 "required": [ 504 "virtualPath" 505 ], 506 "properties": { 507 "virtualPath": { 508 "type": "string" 509 }, 510 "manifest": { 511 "$schema": "http://json-schema.org/draft-04/schema#", 512 "$ref": "#/definitions/JavaManifest" 513 }, 514 "pomProperties": { 515 "$schema": "http://json-schema.org/draft-04/schema#", 516 "$ref": "#/definitions/PomProperties" 517 }, 518 "pomProject": { 519 "$schema": "http://json-schema.org/draft-04/schema#", 520 "$ref": "#/definitions/PomProject" 521 } 522 }, 523 "additionalProperties": true, 524 "type": "object" 525 }, 526 "LinuxRelease": { 527 "properties": { 528 "prettyName": { 529 "type": "string" 530 }, 531 "name": { 532 "type": "string" 533 }, 534 "id": { 535 "type": "string" 536 }, 537 "idLike": { 538 "items": { 539 "type": "string" 540 }, 541 "type": "array" 542 }, 543 "version": { 544 "type": "string" 545 }, 546 "versionID": { 547 "type": "string" 548 }, 549 "variant": { 550 "type": "string" 551 }, 552 "variantID": { 553 "type": "string" 554 }, 555 "homeURL": { 556 "type": "string" 557 }, 558 "supportURL": { 559 "type": "string" 560 }, 561 "bugReportURL": { 562 "type": "string" 563 }, 564 "privacyPolicyURL": { 565 "type": "string" 566 }, 567 "cpeName": { 568 "type": "string" 569 } 570 }, 571 "additionalProperties": true, 572 "type": "object" 573 }, 574 "NpmPackageJSONMetadata": { 575 "required": [ 576 "name", 577 "version", 578 "author", 579 "licenses", 580 "homepage", 581 "description", 582 "url" 583 ], 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 "author": { 598 "type": "string" 599 }, 600 "licenses": { 601 "items": { 602 "type": "string" 603 }, 604 "type": "array" 605 }, 606 "homepage": { 607 "type": "string" 608 }, 609 "description": { 610 "type": "string" 611 }, 612 "url": { 613 "type": "string" 614 } 615 }, 616 "additionalProperties": true, 617 "type": "object" 618 }, 619 "Package": { 620 "required": [ 621 "id", 622 "name", 623 "version", 624 "type", 625 "foundBy", 626 "locations", 627 "licenses", 628 "language", 629 "cpes", 630 "purl" 631 ], 632 "properties": { 633 "id": { 634 "type": "string" 635 }, 636 "name": { 637 "type": "string" 638 }, 639 "version": { 640 "type": "string" 641 }, 642 "type": { 643 "type": "string" 644 }, 645 "foundBy": { 646 "type": "string" 647 }, 648 "locations": { 649 "items": { 650 "$schema": "http://json-schema.org/draft-04/schema#", 651 "$ref": "#/definitions/Coordinates" 652 }, 653 "type": "array" 654 }, 655 "licenses": { 656 "items": { 657 "type": "string" 658 }, 659 "type": "array" 660 }, 661 "language": { 662 "type": "string" 663 }, 664 "cpes": { 665 "items": { 666 "type": "string" 667 }, 668 "type": "array" 669 }, 670 "purl": { 671 "type": "string" 672 }, 673 "metadataType": { 674 "type": "string" 675 }, 676 "metadata": { 677 "anyOf": [ 678 { 679 "type": "null" 680 }, 681 { 682 "$ref": "#/definitions/ApkMetadata" 683 }, 684 { 685 "$ref": "#/definitions/CargoPackageMetadata" 686 }, 687 { 688 "$ref": "#/definitions/DartPubMetadata" 689 }, 690 { 691 "$ref": "#/definitions/DpkgMetadata" 692 }, 693 { 694 "$ref": "#/definitions/GemMetadata" 695 }, 696 { 697 "$ref": "#/definitions/GolangBinMetadata" 698 }, 699 { 700 "$ref": "#/definitions/JavaMetadata" 701 }, 702 { 703 "$ref": "#/definitions/NpmPackageJSONMetadata" 704 }, 705 { 706 "$ref": "#/definitions/PhpComposerJSONMetadata" 707 }, 708 { 709 "$ref": "#/definitions/PythonPackageMetadata" 710 }, 711 { 712 "$ref": "#/definitions/RpmdbMetadata" 713 } 714 ] 715 } 716 }, 717 "additionalProperties": true, 718 "type": "object" 719 }, 720 "PhpComposerAuthors": { 721 "required": [ 722 "name" 723 ], 724 "properties": { 725 "name": { 726 "type": "string" 727 }, 728 "email": { 729 "type": "string" 730 }, 731 "homepage": { 732 "type": "string" 733 } 734 }, 735 "additionalProperties": true, 736 "type": "object" 737 }, 738 "PhpComposerExternalReference": { 739 "required": [ 740 "type", 741 "url", 742 "reference" 743 ], 744 "properties": { 745 "type": { 746 "type": "string" 747 }, 748 "url": { 749 "type": "string" 750 }, 751 "reference": { 752 "type": "string" 753 }, 754 "shasum": { 755 "type": "string" 756 } 757 }, 758 "additionalProperties": true, 759 "type": "object" 760 }, 761 "PhpComposerJSONMetadata": { 762 "required": [ 763 "name", 764 "version", 765 "source", 766 "dist" 767 ], 768 "properties": { 769 "name": { 770 "type": "string" 771 }, 772 "version": { 773 "type": "string" 774 }, 775 "source": { 776 "$schema": "http://json-schema.org/draft-04/schema#", 777 "$ref": "#/definitions/PhpComposerExternalReference" 778 }, 779 "dist": { 780 "$ref": "#/definitions/PhpComposerExternalReference" 781 }, 782 "require": { 783 "patternProperties": { 784 ".*": { 785 "type": "string" 786 } 787 }, 788 "type": "object" 789 }, 790 "provide": { 791 "patternProperties": { 792 ".*": { 793 "type": "string" 794 } 795 }, 796 "type": "object" 797 }, 798 "require-dev": { 799 "patternProperties": { 800 ".*": { 801 "type": "string" 802 } 803 }, 804 "type": "object" 805 }, 806 "suggest": { 807 "patternProperties": { 808 ".*": { 809 "type": "string" 810 } 811 }, 812 "type": "object" 813 }, 814 "type": { 815 "type": "string" 816 }, 817 "notification-url": { 818 "type": "string" 819 }, 820 "bin": { 821 "items": { 822 "type": "string" 823 }, 824 "type": "array" 825 }, 826 "license": { 827 "items": { 828 "type": "string" 829 }, 830 "type": "array" 831 }, 832 "authors": { 833 "items": { 834 "$schema": "http://json-schema.org/draft-04/schema#", 835 "$ref": "#/definitions/PhpComposerAuthors" 836 }, 837 "type": "array" 838 }, 839 "description": { 840 "type": "string" 841 }, 842 "homepage": { 843 "type": "string" 844 }, 845 "keywords": { 846 "items": { 847 "type": "string" 848 }, 849 "type": "array" 850 }, 851 "time": { 852 "type": "string" 853 } 854 }, 855 "additionalProperties": true, 856 "type": "object" 857 }, 858 "PomParent": { 859 "required": [ 860 "groupId", 861 "artifactId", 862 "version" 863 ], 864 "properties": { 865 "groupId": { 866 "type": "string" 867 }, 868 "artifactId": { 869 "type": "string" 870 }, 871 "version": { 872 "type": "string" 873 } 874 }, 875 "additionalProperties": true, 876 "type": "object" 877 }, 878 "PomProject": { 879 "required": [ 880 "path", 881 "groupId", 882 "artifactId", 883 "version", 884 "name" 885 ], 886 "properties": { 887 "path": { 888 "type": "string" 889 }, 890 "parent": { 891 "$schema": "http://json-schema.org/draft-04/schema#", 892 "$ref": "#/definitions/PomParent" 893 }, 894 "groupId": { 895 "type": "string" 896 }, 897 "artifactId": { 898 "type": "string" 899 }, 900 "version": { 901 "type": "string" 902 }, 903 "name": { 904 "type": "string" 905 }, 906 "description": { 907 "type": "string" 908 }, 909 "url": { 910 "type": "string" 911 } 912 }, 913 "additionalProperties": true, 914 "type": "object" 915 }, 916 "PomProperties": { 917 "required": [ 918 "path", 919 "name", 920 "groupId", 921 "artifactId", 922 "version", 923 "extraFields" 924 ], 925 "properties": { 926 "path": { 927 "type": "string" 928 }, 929 "name": { 930 "type": "string" 931 }, 932 "groupId": { 933 "type": "string" 934 }, 935 "artifactId": { 936 "type": "string" 937 }, 938 "version": { 939 "type": "string" 940 }, 941 "extraFields": { 942 "patternProperties": { 943 ".*": { 944 "type": "string" 945 } 946 }, 947 "type": "object" 948 } 949 }, 950 "additionalProperties": true, 951 "type": "object" 952 }, 953 "PythonDirectURLOriginInfo": { 954 "required": [ 955 "url" 956 ], 957 "properties": { 958 "url": { 959 "type": "string" 960 }, 961 "commitId": { 962 "type": "string" 963 }, 964 "vcs": { 965 "type": "string" 966 } 967 }, 968 "additionalProperties": true, 969 "type": "object" 970 }, 971 "PythonFileDigest": { 972 "required": [ 973 "algorithm", 974 "value" 975 ], 976 "properties": { 977 "algorithm": { 978 "type": "string" 979 }, 980 "value": { 981 "type": "string" 982 } 983 }, 984 "additionalProperties": true, 985 "type": "object" 986 }, 987 "PythonFileRecord": { 988 "required": [ 989 "path" 990 ], 991 "properties": { 992 "path": { 993 "type": "string" 994 }, 995 "digest": { 996 "$schema": "http://json-schema.org/draft-04/schema#", 997 "$ref": "#/definitions/PythonFileDigest" 998 }, 999 "size": { 1000 "type": "string" 1001 } 1002 }, 1003 "additionalProperties": true, 1004 "type": "object" 1005 }, 1006 "PythonPackageMetadata": { 1007 "required": [ 1008 "name", 1009 "version", 1010 "license", 1011 "author", 1012 "authorEmail", 1013 "platform", 1014 "sitePackagesRootPath" 1015 ], 1016 "properties": { 1017 "name": { 1018 "type": "string" 1019 }, 1020 "version": { 1021 "type": "string" 1022 }, 1023 "license": { 1024 "type": "string" 1025 }, 1026 "author": { 1027 "type": "string" 1028 }, 1029 "authorEmail": { 1030 "type": "string" 1031 }, 1032 "platform": { 1033 "type": "string" 1034 }, 1035 "files": { 1036 "items": { 1037 "$schema": "http://json-schema.org/draft-04/schema#", 1038 "$ref": "#/definitions/PythonFileRecord" 1039 }, 1040 "type": "array" 1041 }, 1042 "sitePackagesRootPath": { 1043 "type": "string" 1044 }, 1045 "topLevelPackages": { 1046 "items": { 1047 "type": "string" 1048 }, 1049 "type": "array" 1050 }, 1051 "directUrlOrigin": { 1052 "$schema": "http://json-schema.org/draft-04/schema#", 1053 "$ref": "#/definitions/PythonDirectURLOriginInfo" 1054 } 1055 }, 1056 "additionalProperties": true, 1057 "type": "object" 1058 }, 1059 "Relationship": { 1060 "required": [ 1061 "parent", 1062 "child", 1063 "type" 1064 ], 1065 "properties": { 1066 "parent": { 1067 "type": "string" 1068 }, 1069 "child": { 1070 "type": "string" 1071 }, 1072 "type": { 1073 "type": "string" 1074 }, 1075 "metadata": { 1076 "additionalProperties": true 1077 } 1078 }, 1079 "additionalProperties": true, 1080 "type": "object" 1081 }, 1082 "RpmdbFileRecord": { 1083 "required": [ 1084 "path", 1085 "mode", 1086 "size", 1087 "digest", 1088 "userName", 1089 "groupName", 1090 "flags" 1091 ], 1092 "properties": { 1093 "path": { 1094 "type": "string" 1095 }, 1096 "mode": { 1097 "type": "integer" 1098 }, 1099 "size": { 1100 "type": "integer" 1101 }, 1102 "digest": { 1103 "$ref": "#/definitions/Digest" 1104 }, 1105 "userName": { 1106 "type": "string" 1107 }, 1108 "groupName": { 1109 "type": "string" 1110 }, 1111 "flags": { 1112 "type": "string" 1113 } 1114 }, 1115 "additionalProperties": true, 1116 "type": "object" 1117 }, 1118 "RpmdbMetadata": { 1119 "required": [ 1120 "name", 1121 "version", 1122 "epoch", 1123 "architecture", 1124 "release", 1125 "sourceRpm", 1126 "size", 1127 "license", 1128 "vendor", 1129 "files" 1130 ], 1131 "properties": { 1132 "name": { 1133 "type": "string" 1134 }, 1135 "version": { 1136 "type": "string" 1137 }, 1138 "epoch": { 1139 "oneOf": [ 1140 { 1141 "type": "integer" 1142 }, 1143 { 1144 "type": "null" 1145 } 1146 ] 1147 }, 1148 "architecture": { 1149 "type": "string" 1150 }, 1151 "release": { 1152 "type": "string" 1153 }, 1154 "sourceRpm": { 1155 "type": "string" 1156 }, 1157 "size": { 1158 "type": "integer" 1159 }, 1160 "license": { 1161 "type": "string" 1162 }, 1163 "vendor": { 1164 "type": "string" 1165 }, 1166 "files": { 1167 "items": { 1168 "$schema": "http://json-schema.org/draft-04/schema#", 1169 "$ref": "#/definitions/RpmdbFileRecord" 1170 }, 1171 "type": "array" 1172 } 1173 }, 1174 "additionalProperties": true, 1175 "type": "object" 1176 }, 1177 "Schema": { 1178 "required": [ 1179 "version", 1180 "url" 1181 ], 1182 "properties": { 1183 "version": { 1184 "type": "string" 1185 }, 1186 "url": { 1187 "type": "string" 1188 } 1189 }, 1190 "additionalProperties": true, 1191 "type": "object" 1192 }, 1193 "SearchResult": { 1194 "required": [ 1195 "classification", 1196 "lineNumber", 1197 "lineOffset", 1198 "seekPosition", 1199 "length" 1200 ], 1201 "properties": { 1202 "classification": { 1203 "type": "string" 1204 }, 1205 "lineNumber": { 1206 "type": "integer" 1207 }, 1208 "lineOffset": { 1209 "type": "integer" 1210 }, 1211 "seekPosition": { 1212 "type": "integer" 1213 }, 1214 "length": { 1215 "type": "integer" 1216 }, 1217 "value": { 1218 "type": "string" 1219 } 1220 }, 1221 "additionalProperties": true, 1222 "type": "object" 1223 }, 1224 "Secrets": { 1225 "required": [ 1226 "location", 1227 "secrets" 1228 ], 1229 "properties": { 1230 "location": { 1231 "$ref": "#/definitions/Coordinates" 1232 }, 1233 "secrets": { 1234 "items": { 1235 "$schema": "http://json-schema.org/draft-04/schema#", 1236 "$ref": "#/definitions/SearchResult" 1237 }, 1238 "type": "array" 1239 } 1240 }, 1241 "additionalProperties": true, 1242 "type": "object" 1243 }, 1244 "Source": { 1245 "required": [ 1246 "type", 1247 "target" 1248 ], 1249 "properties": { 1250 "type": { 1251 "type": "string" 1252 }, 1253 "target": { 1254 "additionalProperties": true 1255 } 1256 }, 1257 "additionalProperties": true, 1258 "type": "object" 1259 } 1260 } 1261 }