@salesforce/plugin-schema 2.2.0 → 2.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- {"version":"2.2.0","commands":{"sobject:describe":{"id":"sobject:describe","summary":"Display the metadata for a standard or custom object or a Tooling API object.","description":"The metadata is displayed in JSON format. See this topic for a description of each property: https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/sforce_api_calls_describesobjects_describesobjectresult.htm.\n\nThis command displays metadata for Salesforce objects by default. Use the --use-tooling-api flag to view metadata for a Tooling API object.","strict":true,"pluginName":"@salesforce/plugin-schema","pluginAlias":"@salesforce/plugin-schema","pluginType":"core","aliases":["force:schema:sobject:describe"],"examples":["Display the metadata of the \"Account\" standard object in your default org:\n<%= config.bin %> <%= command.id %> --sobject Account","Display the metadata of the \"MyObject__c\" custom object in the org with alias \"my-scratch-org\":\n<%= config.bin %> <%= command.id %> --sobject MyObject__c --target-org my-scratch-org","Display the metadata of the ApexCodeCoverage Tooling API object in your default org:\n<%= config.bin %> <%= command.id %> --sobject ApexCodeCoverage --use-tooling-api"],"flags":{"json":{"name":"json","type":"boolean","description":"Format output as json.","helpGroup":"GLOBAL","allowNo":false},"target-org":{"name":"target-org","type":"option","char":"o","summary":"Username or alias of the target org.","multiple":false,"aliases":["targetusername","u"]},"api-version":{"name":"api-version","type":"option","description":"Override the api version used for api requests made by this command","multiple":false,"aliases":["apiversion"]},"loglevel":{"name":"loglevel","type":"option","hidden":true,"multiple":false,"deprecated":{"message":"The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored."}},"sobject":{"name":"sobject","type":"option","char":"s","summary":"API name of the object to describe.","required":true,"multiple":false,"aliases":["sobjecttype"]},"use-tooling-api":{"name":"use-tooling-api","type":"boolean","char":"t","summary":"Use Tooling API to display metadata for Tooling API objects.","allowNo":false,"aliases":["usetoolingapi"]}},"args":[],"hasDynamicHelp":true},"sobject:list":{"id":"sobject:list","summary":"List all Salesforce objects of a specified category.","description":"You can list the standard objects, custom objects, or all. The lists include only Salesforce objects, not Tooling API objects.","strict":true,"pluginName":"@salesforce/plugin-schema","pluginAlias":"@salesforce/plugin-schema","pluginType":"core","aliases":["force:schema:sobject:list"],"examples":["List all objects in your default org:\n<%= config.bin %> <%= command.id %> --sobject all","List only custom objects in the org with alias \"my-scratch-org\":\n<%= config.bin %> <%= command.id %> --sobject custom --target-org my-scratch-org"],"flags":{"json":{"name":"json","type":"boolean","description":"Format output as json.","helpGroup":"GLOBAL","allowNo":false},"target-org":{"name":"target-org","type":"option","char":"o","summary":"Username or alias of the target org.","multiple":false,"aliases":["targetusername","u"]},"api-version":{"name":"api-version","type":"option","description":"Override the api version used for api requests made by this command","multiple":false,"aliases":["apiversion"]},"loglevel":{"name":"loglevel","type":"option","hidden":true,"multiple":false,"deprecated":{"message":"The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored."}},"sobject":{"name":"sobject","type":"option","char":"s","summary":"Category of objects to list.","multiple":false,"default":"ALL","aliases":["sobjecttypecategory","c"]}},"args":[],"hasDynamicHelp":true}}}
1
+ {"version":"2.2.2","commands":{"sobject:describe":{"id":"sobject:describe","summary":"Display the metadata for a standard or custom object or a Tooling API object.","description":"The metadata is displayed in JSON format. See this topic for a description of each property: https://developer.salesforce.com/docs/atlas.en-us.api.meta/api/sforce_api_calls_describesobjects_describesobjectresult.htm.\n\nThis command displays metadata for Salesforce objects by default. Use the --use-tooling-api flag to view metadata for a Tooling API object.","strict":true,"pluginName":"@salesforce/plugin-schema","pluginAlias":"@salesforce/plugin-schema","pluginType":"core","aliases":["force:schema:sobject:describe"],"examples":["Display the metadata of the \"Account\" standard object in your default org:\n<%= config.bin %> <%= command.id %> --sobject Account","Display the metadata of the \"MyObject__c\" custom object in the org with alias \"my-scratch-org\":\n<%= config.bin %> <%= command.id %> --sobject MyObject__c --target-org my-scratch-org","Display the metadata of the ApexCodeCoverage Tooling API object in your default org:\n<%= config.bin %> <%= command.id %> --sobject ApexCodeCoverage --use-tooling-api"],"flags":{"json":{"name":"json","type":"boolean","description":"Format output as json.","helpGroup":"GLOBAL","allowNo":false},"target-org":{"name":"target-org","type":"option","char":"o","summary":"Username or alias of the target org.","multiple":false,"aliases":["targetusername","u"]},"api-version":{"name":"api-version","type":"option","description":"Override the api version used for api requests made by this command","multiple":false,"aliases":["apiversion"]},"loglevel":{"name":"loglevel","type":"option","hidden":true,"multiple":false,"deprecated":{"message":"The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored."}},"sobject":{"name":"sobject","type":"option","char":"s","summary":"API name of the object to describe.","required":true,"multiple":false,"aliases":["sobjecttype"]},"use-tooling-api":{"name":"use-tooling-api","type":"boolean","char":"t","summary":"Use Tooling API to display metadata for Tooling API objects.","allowNo":false,"aliases":["usetoolingapi"]}},"args":[],"hasDynamicHelp":true},"sobject:list":{"id":"sobject:list","summary":"List all Salesforce objects of a specified category.","description":"You can list the standard objects, custom objects, or all. The lists include only Salesforce objects, not Tooling API objects.","strict":true,"pluginName":"@salesforce/plugin-schema","pluginAlias":"@salesforce/plugin-schema","pluginType":"core","aliases":["force:schema:sobject:list"],"examples":["List all objects in your default org:\n<%= config.bin %> <%= command.id %> --sobject all","List only custom objects in the org with alias \"my-scratch-org\":\n<%= config.bin %> <%= command.id %> --sobject custom --target-org my-scratch-org"],"flags":{"json":{"name":"json","type":"boolean","description":"Format output as json.","helpGroup":"GLOBAL","allowNo":false},"target-org":{"name":"target-org","type":"option","char":"o","summary":"Username or alias of the target org.","multiple":false,"aliases":["targetusername","u"]},"api-version":{"name":"api-version","type":"option","description":"Override the api version used for api requests made by this command","multiple":false,"aliases":["apiversion"]},"loglevel":{"name":"loglevel","type":"option","hidden":true,"multiple":false,"deprecated":{"message":"The loglevel flag is no longer in use on this command. You may use it without error, but it will be ignored."}},"sobject":{"name":"sobject","type":"option","char":"s","summary":"Category of objects to list.","multiple":false,"default":"ALL","aliases":["sobjecttypecategory","c"]}},"args":[],"hasDynamicHelp":true}}}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@salesforce/plugin-schema",
3
3
  "description": "Commands to interact with salesforce sobject schemas",
4
- "version": "2.2.0",
4
+ "version": "2.2.2",
5
5
  "author": "Salesforce",
6
6
  "main": "lib/index.js",
7
7
  "bugs": "https://github.com/forcedotcom/cli/issues",
@@ -51,7 +51,8 @@
51
51
  "files": [
52
52
  "/lib",
53
53
  "/messages",
54
- "/oclif.manifest.json"
54
+ "/oclif.manifest.json",
55
+ "/schemas"
55
56
  ],
56
57
  "homepage": "https://github.com/salesforcecli/plugin-schema",
57
58
  "keywords": [
@@ -95,13 +96,14 @@
95
96
  "format": "sf-format",
96
97
  "lint": "sf-lint",
97
98
  "postpack": "shx rm -f oclif.manifest.json",
98
- "posttest": "yarn lint && yarn test:deprecation-policy && yarn test:command-reference",
99
+ "posttest": "yarn lint && yarn test:deprecation-policy && yarn test:json-schema && yarn test:command-reference",
99
100
  "prepack": "sf-prepack",
100
101
  "prepare": "sf-install",
101
102
  "pretest": "sf-compile-test",
102
103
  "test": "sf-test",
103
104
  "test:command-reference": "./bin/dev commandreference:generate --erroronwarnings",
104
105
  "test:deprecation-policy": "./bin/dev snapshot:compare",
106
+ "test:json-schema": "./bin/dev schema:compare",
105
107
  "test:nuts": "nyc mocha \"**/*.nut.ts\" --slow 4500 --timeout 600000 --parallel",
106
108
  "version": "oclif readme"
107
109
  },
@@ -109,7 +111,7 @@
109
111
  "access": "public"
110
112
  },
111
113
  "sfdx": {
112
- "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-schema/2.2.0.crt",
113
- "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-schema/2.2.0.sig"
114
+ "publicKeyUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-schema/2.2.2.crt",
115
+ "signatureUrl": "https://developer.salesforce.com/media/salesforce-cli/security/@salesforce/plugin-schema/2.2.2.sig"
114
116
  }
115
117
  }
@@ -0,0 +1,616 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$ref": "#/definitions/DescribeSObjectResult",
4
+ "definitions": {
5
+ "DescribeSObjectResult": {
6
+ "type": "object",
7
+ "properties": {
8
+ "actionOverrides": {
9
+ "anyOf": [
10
+ {
11
+ "type": "array",
12
+ "items": {
13
+ "$ref": "#/definitions/ActionOverride"
14
+ }
15
+ },
16
+ {
17
+ "type": "null"
18
+ }
19
+ ]
20
+ },
21
+ "activateable": {
22
+ "type": "boolean"
23
+ },
24
+ "childRelationships": {
25
+ "type": "array",
26
+ "items": {
27
+ "$ref": "#/definitions/ChildRelationship"
28
+ }
29
+ },
30
+ "compactLayoutable": {
31
+ "type": "boolean"
32
+ },
33
+ "createable": {
34
+ "type": "boolean"
35
+ },
36
+ "custom": {
37
+ "type": "boolean"
38
+ },
39
+ "customSetting": {
40
+ "type": "boolean"
41
+ },
42
+ "dataTranslationEnabled": {
43
+ "type": ["boolean", "null"]
44
+ },
45
+ "deepCloneable": {
46
+ "type": "boolean"
47
+ },
48
+ "defaultImplementation": {
49
+ "type": ["string", "null"]
50
+ },
51
+ "deletable": {
52
+ "type": "boolean"
53
+ },
54
+ "deprecatedAndHidden": {
55
+ "type": "boolean"
56
+ },
57
+ "feedEnabled": {
58
+ "type": "boolean"
59
+ },
60
+ "fields": {
61
+ "anyOf": [
62
+ {
63
+ "type": "array",
64
+ "items": {
65
+ "$ref": "#/definitions/Field"
66
+ }
67
+ },
68
+ {
69
+ "type": "null"
70
+ }
71
+ ]
72
+ },
73
+ "hasSubtypes": {
74
+ "type": "boolean"
75
+ },
76
+ "idEnabled": {
77
+ "type": "boolean"
78
+ },
79
+ "implementedBy": {
80
+ "type": ["string", "null"]
81
+ },
82
+ "implementsInterfaces": {
83
+ "type": ["string", "null"]
84
+ },
85
+ "isInterface": {
86
+ "type": "boolean"
87
+ },
88
+ "isSubtype": {
89
+ "type": "boolean"
90
+ },
91
+ "keyPrefix": {
92
+ "type": ["string", "null"]
93
+ },
94
+ "label": {
95
+ "type": "string"
96
+ },
97
+ "labelPlural": {
98
+ "type": "string"
99
+ },
100
+ "layoutable": {
101
+ "type": "boolean"
102
+ },
103
+ "mergeable": {
104
+ "type": "boolean"
105
+ },
106
+ "mruEnabled": {
107
+ "type": "boolean"
108
+ },
109
+ "name": {
110
+ "type": "string"
111
+ },
112
+ "namedLayoutInfos": {
113
+ "type": "array",
114
+ "items": {
115
+ "$ref": "#/definitions/NamedLayoutInfo"
116
+ }
117
+ },
118
+ "networkScopeFieldName": {
119
+ "type": ["string", "null"]
120
+ },
121
+ "queryable": {
122
+ "type": "boolean"
123
+ },
124
+ "recordTypeInfos": {
125
+ "type": "array",
126
+ "items": {
127
+ "$ref": "#/definitions/RecordTypeInfo"
128
+ }
129
+ },
130
+ "replicateable": {
131
+ "type": "boolean"
132
+ },
133
+ "retrieveable": {
134
+ "type": "boolean"
135
+ },
136
+ "searchLayoutable": {
137
+ "type": ["boolean", "null"]
138
+ },
139
+ "searchable": {
140
+ "type": "boolean"
141
+ },
142
+ "supportedScopes": {
143
+ "anyOf": [
144
+ {
145
+ "type": "array",
146
+ "items": {
147
+ "$ref": "#/definitions/ScopeInfo"
148
+ }
149
+ },
150
+ {
151
+ "type": "null"
152
+ }
153
+ ]
154
+ },
155
+ "triggerable": {
156
+ "type": ["boolean", "null"]
157
+ },
158
+ "undeletable": {
159
+ "type": "boolean"
160
+ },
161
+ "updateable": {
162
+ "type": "boolean"
163
+ },
164
+ "urlDetail": {
165
+ "type": ["string", "null"]
166
+ },
167
+ "urlEdit": {
168
+ "type": ["string", "null"]
169
+ },
170
+ "urlNew": {
171
+ "type": ["string", "null"]
172
+ }
173
+ },
174
+ "required": [
175
+ "activateable",
176
+ "childRelationships",
177
+ "compactLayoutable",
178
+ "createable",
179
+ "custom",
180
+ "customSetting",
181
+ "deepCloneable",
182
+ "deletable",
183
+ "deprecatedAndHidden",
184
+ "feedEnabled",
185
+ "hasSubtypes",
186
+ "idEnabled",
187
+ "isInterface",
188
+ "isSubtype",
189
+ "label",
190
+ "labelPlural",
191
+ "layoutable",
192
+ "mergeable",
193
+ "mruEnabled",
194
+ "name",
195
+ "namedLayoutInfos",
196
+ "queryable",
197
+ "recordTypeInfos",
198
+ "replicateable",
199
+ "retrieveable",
200
+ "searchable",
201
+ "undeletable",
202
+ "updateable"
203
+ ],
204
+ "additionalProperties": false
205
+ },
206
+ "ActionOverride": {
207
+ "type": "object",
208
+ "properties": {
209
+ "formFactor": {
210
+ "type": "string"
211
+ },
212
+ "isAvailableInTouch": {
213
+ "type": "boolean"
214
+ },
215
+ "name": {
216
+ "type": "string"
217
+ },
218
+ "pageId": {
219
+ "type": "string"
220
+ },
221
+ "url": {
222
+ "type": ["string", "null"]
223
+ }
224
+ },
225
+ "required": ["formFactor", "isAvailableInTouch", "name", "pageId"],
226
+ "additionalProperties": false
227
+ },
228
+ "ChildRelationship": {
229
+ "type": "object",
230
+ "properties": {
231
+ "cascadeDelete": {
232
+ "type": "boolean"
233
+ },
234
+ "childSObject": {
235
+ "type": "string"
236
+ },
237
+ "deprecatedAndHidden": {
238
+ "type": "boolean"
239
+ },
240
+ "field": {
241
+ "type": "string"
242
+ },
243
+ "junctionIdListNames": {
244
+ "anyOf": [
245
+ {
246
+ "type": "array",
247
+ "items": {
248
+ "type": "string"
249
+ }
250
+ },
251
+ {
252
+ "type": "null"
253
+ }
254
+ ]
255
+ },
256
+ "junctionReferenceTo": {
257
+ "anyOf": [
258
+ {
259
+ "type": "array",
260
+ "items": {
261
+ "type": "string"
262
+ }
263
+ },
264
+ {
265
+ "type": "null"
266
+ }
267
+ ]
268
+ },
269
+ "relationshipName": {
270
+ "type": ["string", "null"]
271
+ },
272
+ "restrictedDelete": {
273
+ "type": ["boolean", "null"]
274
+ }
275
+ },
276
+ "required": ["cascadeDelete", "childSObject", "deprecatedAndHidden", "field"],
277
+ "additionalProperties": false
278
+ },
279
+ "Field": {
280
+ "type": "object",
281
+ "properties": {
282
+ "aggregatable": {
283
+ "type": "boolean"
284
+ },
285
+ "aiPredictionField": {
286
+ "type": "boolean"
287
+ },
288
+ "autoNumber": {
289
+ "type": "boolean"
290
+ },
291
+ "byteLength": {
292
+ "type": "number"
293
+ },
294
+ "calculated": {
295
+ "type": "boolean"
296
+ },
297
+ "calculatedFormula": {
298
+ "type": ["string", "null"]
299
+ },
300
+ "cascadeDelete": {
301
+ "type": ["boolean", "null"]
302
+ },
303
+ "caseSensitive": {
304
+ "type": "boolean"
305
+ },
306
+ "compoundFieldName": {
307
+ "type": ["string", "null"]
308
+ },
309
+ "controllerName": {
310
+ "type": ["string", "null"]
311
+ },
312
+ "createable": {
313
+ "type": "boolean"
314
+ },
315
+ "custom": {
316
+ "type": "boolean"
317
+ },
318
+ "dataTranslationEnabled": {
319
+ "type": ["boolean", "null"]
320
+ },
321
+ "defaultValue": {
322
+ "anyOf": [
323
+ {},
324
+ {
325
+ "type": "null"
326
+ }
327
+ ]
328
+ },
329
+ "defaultValueFormula": {
330
+ "type": ["string", "null"]
331
+ },
332
+ "defaultedOnCreate": {
333
+ "type": "boolean"
334
+ },
335
+ "dependentPicklist": {
336
+ "type": ["boolean", "null"]
337
+ },
338
+ "deprecatedAndHidden": {
339
+ "type": "boolean"
340
+ },
341
+ "digits": {
342
+ "type": "number"
343
+ },
344
+ "displayLocationInDecimal": {
345
+ "type": ["boolean", "null"]
346
+ },
347
+ "encrypted": {
348
+ "type": ["boolean", "null"]
349
+ },
350
+ "externalId": {
351
+ "type": ["boolean", "null"]
352
+ },
353
+ "extraTypeInfo": {
354
+ "type": ["string", "null"]
355
+ },
356
+ "filterable": {
357
+ "type": "boolean"
358
+ },
359
+ "filteredLookupInfo": {
360
+ "anyOf": [
361
+ {
362
+ "$ref": "#/definitions/FilteredLookupInfo"
363
+ },
364
+ {
365
+ "type": "null"
366
+ }
367
+ ]
368
+ },
369
+ "formulaTreatNullNumberAsZero": {
370
+ "type": ["boolean", "null"]
371
+ },
372
+ "groupable": {
373
+ "type": "boolean"
374
+ },
375
+ "highScaleNumber": {
376
+ "type": ["boolean", "null"]
377
+ },
378
+ "htmlFormatted": {
379
+ "type": ["boolean", "null"]
380
+ },
381
+ "idLookup": {
382
+ "type": "boolean"
383
+ },
384
+ "inlineHelpText": {
385
+ "type": ["string", "null"]
386
+ },
387
+ "label": {
388
+ "type": "string"
389
+ },
390
+ "length": {
391
+ "type": "number"
392
+ },
393
+ "mask": {
394
+ "type": ["string", "null"]
395
+ },
396
+ "maskType": {
397
+ "type": ["string", "null"]
398
+ },
399
+ "name": {
400
+ "type": "string"
401
+ },
402
+ "nameField": {
403
+ "type": "boolean"
404
+ },
405
+ "namePointing": {
406
+ "type": ["boolean", "null"]
407
+ },
408
+ "nillable": {
409
+ "type": "boolean"
410
+ },
411
+ "permissionable": {
412
+ "type": "boolean"
413
+ },
414
+ "picklistValues": {
415
+ "anyOf": [
416
+ {
417
+ "type": "array",
418
+ "items": {
419
+ "$ref": "#/definitions/PicklistEntry"
420
+ }
421
+ },
422
+ {
423
+ "type": "null"
424
+ }
425
+ ]
426
+ },
427
+ "polymorphicForeignKey": {
428
+ "type": "boolean"
429
+ },
430
+ "precision": {
431
+ "type": "number"
432
+ },
433
+ "queryByDistance": {
434
+ "type": "boolean"
435
+ },
436
+ "referenceTargetField": {
437
+ "type": ["string", "null"]
438
+ },
439
+ "referenceTo": {
440
+ "anyOf": [
441
+ {
442
+ "type": "array",
443
+ "items": {
444
+ "type": "string"
445
+ }
446
+ },
447
+ {
448
+ "type": "null"
449
+ }
450
+ ]
451
+ },
452
+ "relationshipName": {
453
+ "type": ["string", "null"]
454
+ },
455
+ "relationshipOrder": {
456
+ "type": ["number", "null"]
457
+ },
458
+ "restrictedDelete": {
459
+ "type": ["boolean", "null"]
460
+ },
461
+ "restrictedPicklist": {
462
+ "type": "boolean"
463
+ },
464
+ "scale": {
465
+ "type": "number"
466
+ },
467
+ "searchPrefilterable": {
468
+ "type": "boolean"
469
+ },
470
+ "soapType": {
471
+ "type": "string"
472
+ },
473
+ "sortable": {
474
+ "type": ["boolean", "null"]
475
+ },
476
+ "type": {
477
+ "type": "string"
478
+ },
479
+ "unique": {
480
+ "type": "boolean"
481
+ },
482
+ "updateable": {
483
+ "type": "boolean"
484
+ },
485
+ "writeRequiresMasterRead": {
486
+ "type": ["boolean", "null"]
487
+ }
488
+ },
489
+ "required": [
490
+ "aggregatable",
491
+ "aiPredictionField",
492
+ "autoNumber",
493
+ "byteLength",
494
+ "calculated",
495
+ "caseSensitive",
496
+ "createable",
497
+ "custom",
498
+ "defaultedOnCreate",
499
+ "deprecatedAndHidden",
500
+ "digits",
501
+ "filterable",
502
+ "groupable",
503
+ "idLookup",
504
+ "label",
505
+ "length",
506
+ "name",
507
+ "nameField",
508
+ "nillable",
509
+ "permissionable",
510
+ "polymorphicForeignKey",
511
+ "precision",
512
+ "queryByDistance",
513
+ "restrictedPicklist",
514
+ "scale",
515
+ "searchPrefilterable",
516
+ "soapType",
517
+ "type",
518
+ "unique",
519
+ "updateable"
520
+ ],
521
+ "additionalProperties": false
522
+ },
523
+ "FilteredLookupInfo": {
524
+ "type": "object",
525
+ "properties": {
526
+ "controllingFields": {
527
+ "type": "array",
528
+ "items": {
529
+ "type": "string"
530
+ }
531
+ },
532
+ "dependent": {
533
+ "type": "boolean"
534
+ },
535
+ "optionalFilter": {
536
+ "type": "boolean"
537
+ }
538
+ },
539
+ "required": ["controllingFields", "dependent", "optionalFilter"],
540
+ "additionalProperties": false
541
+ },
542
+ "PicklistEntry": {
543
+ "type": "object",
544
+ "properties": {
545
+ "active": {
546
+ "type": "boolean"
547
+ },
548
+ "defaultValue": {
549
+ "type": "boolean"
550
+ },
551
+ "label": {
552
+ "type": ["string", "null"]
553
+ },
554
+ "validFor": {
555
+ "type": ["string", "null"]
556
+ },
557
+ "value": {
558
+ "type": "string"
559
+ }
560
+ },
561
+ "required": ["active", "defaultValue", "value"],
562
+ "additionalProperties": false
563
+ },
564
+ "NamedLayoutInfo": {
565
+ "type": "object",
566
+ "properties": {
567
+ "name": {
568
+ "type": "string"
569
+ }
570
+ },
571
+ "required": ["name"],
572
+ "additionalProperties": false
573
+ },
574
+ "RecordTypeInfo": {
575
+ "type": "object",
576
+ "properties": {
577
+ "active": {
578
+ "type": "boolean"
579
+ },
580
+ "available": {
581
+ "type": "boolean"
582
+ },
583
+ "defaultRecordTypeMapping": {
584
+ "type": "boolean"
585
+ },
586
+ "developerName": {
587
+ "type": "string"
588
+ },
589
+ "master": {
590
+ "type": "boolean"
591
+ },
592
+ "name": {
593
+ "type": "string"
594
+ },
595
+ "recordTypeId": {
596
+ "type": ["string", "null"]
597
+ }
598
+ },
599
+ "required": ["active", "available", "defaultRecordTypeMapping", "developerName", "master", "name"],
600
+ "additionalProperties": false
601
+ },
602
+ "ScopeInfo": {
603
+ "type": "object",
604
+ "properties": {
605
+ "label": {
606
+ "type": "string"
607
+ },
608
+ "name": {
609
+ "type": "string"
610
+ }
611
+ },
612
+ "required": ["label", "name"],
613
+ "additionalProperties": false
614
+ }
615
+ }
616
+ }
@@ -0,0 +1,12 @@
1
+ {
2
+ "$schema": "http://json-schema.org/draft-07/schema#",
3
+ "$ref": "#/definitions/SObjectListResult",
4
+ "definitions": {
5
+ "SObjectListResult": {
6
+ "type": "array",
7
+ "items": {
8
+ "type": "string"
9
+ }
10
+ }
11
+ }
12
+ }