sfdc 3.0.0 → 3.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (97) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +96 -0
  3. data/Gemfile +11 -0
  4. data/Guardfile +11 -0
  5. data/LICENSE +22 -0
  6. data/README.md +88 -98
  7. data/Rakefile +10 -0
  8. data/lib/sfdc.rb +1 -0
  9. data/lib/sfdc/abstract_client.rb +1 -1
  10. data/lib/sfdc/attachment.rb +0 -2
  11. data/lib/sfdc/concerns/api.rb +1 -2
  12. data/lib/sfdc/concerns/authentication.rb +1 -2
  13. data/lib/sfdc/concerns/base.rb +5 -7
  14. data/lib/sfdc/concerns/caching.rb +1 -3
  15. data/lib/sfdc/concerns/canvas.rb +0 -2
  16. data/lib/sfdc/concerns/connection.rb +2 -3
  17. data/lib/sfdc/concerns/picklists.rb +1 -4
  18. data/lib/sfdc/concerns/streaming.rb +2 -2
  19. data/lib/sfdc/concerns/verbs.rb +0 -2
  20. data/lib/sfdc/config.rb +1 -0
  21. data/lib/sfdc/middleware/authentication.rb +4 -2
  22. data/lib/sfdc/middleware/authentication/password.rb +2 -5
  23. data/lib/sfdc/middleware/authorization.rb +1 -5
  24. data/lib/sfdc/middleware/caching.rb +0 -2
  25. data/lib/sfdc/middleware/instance_url.rb +0 -4
  26. data/lib/sfdc/middleware/mashify.rb +1 -3
  27. data/lib/sfdc/middleware/multipart.rb +6 -4
  28. data/lib/sfdc/signed_request.rb +1 -1
  29. data/lib/sfdc/tooling/client.rb +4 -6
  30. data/lib/sfdc/version.rb +2 -2
  31. data/sfdc.gemspec +27 -0
  32. data/spec/fixtures/auth_error_response.json +4 -0
  33. data/spec/fixtures/auth_success_response.json +7 -0
  34. data/spec/fixtures/blob.jpg +0 -0
  35. data/spec/fixtures/expired_session_response.json +6 -0
  36. data/spec/fixtures/reauth_success_response.json +7 -0
  37. data/spec/fixtures/refresh_error_response.json +4 -0
  38. data/spec/fixtures/refresh_success_response.json +7 -0
  39. data/spec/fixtures/services_data_success_response.json +12 -0
  40. data/spec/fixtures/sobject/create_success_response.json +5 -0
  41. data/spec/fixtures/sobject/delete_error_response.json +1 -0
  42. data/spec/fixtures/sobject/describe_sobjects_success_response.json +31 -0
  43. data/spec/fixtures/sobject/list_sobjects_success_response.json +31 -0
  44. data/spec/fixtures/sobject/org_query_response.json +11 -0
  45. data/spec/fixtures/sobject/query_aggregate_success_response.json +23 -0
  46. data/spec/fixtures/sobject/query_empty_response.json +5 -0
  47. data/spec/fixtures/sobject/query_error_response.json +6 -0
  48. data/spec/fixtures/sobject/query_paginated_first_page_response.json +14 -0
  49. data/spec/fixtures/sobject/query_paginated_last_page_response.json +13 -0
  50. data/spec/fixtures/sobject/query_success_response.json +38 -0
  51. data/spec/fixtures/sobject/recent_success_response.json +18 -0
  52. data/spec/fixtures/sobject/search_error_response.json +6 -0
  53. data/spec/fixtures/sobject/search_success_response.json +16 -0
  54. data/spec/fixtures/sobject/sobject_describe_error_response.json +6 -0
  55. data/spec/fixtures/sobject/sobject_describe_success_response.json +1429 -0
  56. data/spec/fixtures/sobject/sobject_find_error_response.json +6 -0
  57. data/spec/fixtures/sobject/sobject_find_success_response.json +29 -0
  58. data/spec/fixtures/sobject/upsert_created_success_response.json +5 -0
  59. data/spec/fixtures/sobject/upsert_error_response.json +6 -0
  60. data/spec/fixtures/sobject/upsert_multiple_error_response.json +4 -0
  61. data/spec/fixtures/sobject/upsert_updated_success_response.json +0 -0
  62. data/spec/fixtures/sobject/write_error_response.json +6 -0
  63. data/spec/integration/abstract_client_spec.rb +306 -0
  64. data/spec/integration/data/client_spec.rb +90 -0
  65. data/spec/spec_helper.rb +20 -0
  66. data/spec/support/client_integration.rb +45 -0
  67. data/spec/support/concerns.rb +18 -0
  68. data/spec/support/event_machine.rb +14 -0
  69. data/spec/support/fixture_helpers.rb +45 -0
  70. data/spec/support/matchers.rb +11 -0
  71. data/spec/support/middleware.rb +76 -0
  72. data/spec/support/mock_cache.rb +13 -0
  73. data/spec/unit/abstract_client_spec.rb +11 -0
  74. data/spec/unit/attachment_spec.rb +15 -0
  75. data/spec/unit/collection_spec.rb +52 -0
  76. data/spec/unit/concerns/api_spec.rb +244 -0
  77. data/spec/unit/concerns/authentication_spec.rb +98 -0
  78. data/spec/unit/concerns/base_spec.rb +42 -0
  79. data/spec/unit/concerns/caching_spec.rb +29 -0
  80. data/spec/unit/concerns/canvas_spec.rb +30 -0
  81. data/spec/unit/concerns/connection_spec.rb +22 -0
  82. data/spec/unit/config_spec.rb +99 -0
  83. data/spec/unit/data/client_spec.rb +10 -0
  84. data/spec/unit/mash_spec.rb +36 -0
  85. data/spec/unit/middleware/authentication/password_spec.rb +31 -0
  86. data/spec/unit/middleware/authentication/token_spec.rb +24 -0
  87. data/spec/unit/middleware/authentication_spec.rb +67 -0
  88. data/spec/unit/middleware/authorization_spec.rb +11 -0
  89. data/spec/unit/middleware/gzip_spec.rb +66 -0
  90. data/spec/unit/middleware/instance_url_spec.rb +24 -0
  91. data/spec/unit/middleware/logger_spec.rb +19 -0
  92. data/spec/unit/middleware/mashify_spec.rb +11 -0
  93. data/spec/unit/middleware/raise_error_spec.rb +32 -0
  94. data/spec/unit/signed_request_spec.rb +24 -0
  95. data/spec/unit/sobject_spec.rb +86 -0
  96. data/spec/unit/tooling/client_spec.rb +7 -0
  97. metadata +225 -65
@@ -0,0 +1,4 @@
1
+ {
2
+ "error": "invalid_grant",
3
+ "error_description": "authentication failure - Invalid Password"
4
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "id": "https://login.salesforce.com/id/00Dx0000000BV7z/005x00000012Q9P",
3
+ "issued_at": "1278448832702",
4
+ "instance_url": "https://na1.salesforce.com",
5
+ "signature": "0CmxinZir53Yex7nE0TD+zMpvIWYGb/bdJh6XfOH6EQ=",
6
+ "access_token": "00Dx0000000BV7z!AR8AQAxo9UfVkh8AlV0Gomt9Czx9LjHnSSpwBMmbRcgKFmxOtvxjTrKW19ye6PE3Ds1eQz3z8jr3W7_VbWmEu4Q8TVGSTHxs"
7
+ }
Binary file
@@ -0,0 +1,6 @@
1
+ [
2
+ {
3
+ "message": "Session expired or invalid",
4
+ "errorCode": "INVALID_SESSION_ID"
5
+ }
6
+ ]
@@ -0,0 +1,7 @@
1
+ {
2
+ "id": "https://login.salesforce.com/id/foo/bar",
3
+ "issued_at": "1309974610026",
4
+ "instance_url": "https://na1.salesforce.com",
5
+ "signature": "sig=",
6
+ "access_token": "new_access_token"
7
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "error": "invalid_grant",
3
+ "error_description": "expired access/refresh token"
4
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "id": "https://login.salesforce.com/id/foo/bar",
3
+ "issued_at": "1309974610026",
4
+ "instance_url": "https://na1.salesforce.com",
5
+ "signature": "sig=",
6
+ "access_token": "refreshed_access_token"
7
+ }
@@ -0,0 +1,12 @@
1
+ [
2
+ {
3
+ "version": "20.0",
4
+ "url": "/services/data/v20.0",
5
+ "label": "Winter '11"
6
+ },
7
+ {
8
+ "version": "100",
9
+ "url": "/services/data/v100",
10
+ "label": "Spring '86"
11
+ }
12
+ ]
@@ -0,0 +1,5 @@
1
+ {
2
+ "id" : "some_id",
3
+ "errors" : [ ],
4
+ "success" : true
5
+ }
@@ -0,0 +1 @@
1
+ [{"message":"Provided external ID field does not exist or is not accessible: rid","errorCode":"NOT_FOUND"}]
@@ -0,0 +1,31 @@
1
+ {
2
+ "encoding" : "UTF-8",
3
+ "maxBatchSize" : 200,
4
+ "sobjects" : [ {
5
+ "name" : "Account",
6
+ "label" : "Account",
7
+ "custom" : false,
8
+ "keyPrefix" : "001",
9
+ "labelPlural" : "Accounts",
10
+ "layoutable" : true,
11
+ "activateable" : false,
12
+ "updateable" : true,
13
+ "urls" : {
14
+ "sobject" : "/services/data/v23.0/sobjects/Account",
15
+ "describe" : "/services/data/v23.0/sobjects/Account/describe",
16
+ "rowTemplate" : "/services/data/v23.0/sobjects/Account/{ID}"
17
+ },
18
+ "searchable" : true,
19
+ "createable" : true,
20
+ "customSetting" : false,
21
+ "deletable" : true,
22
+ "deprecatedAndHidden" : false,
23
+ "feedEnabled" : true,
24
+ "mergeable" : true,
25
+ "queryable" : true,
26
+ "replicateable" : true,
27
+ "retrieveable" : true,
28
+ "undeletable" : true,
29
+ "triggerable" : true
30
+ }]
31
+ }
@@ -0,0 +1,31 @@
1
+ {
2
+ "encoding" : "UTF-8",
3
+ "maxBatchSize" : 200,
4
+ "sobjects" : [ {
5
+ "name" : "Account",
6
+ "label" : "Account",
7
+ "custom" : false,
8
+ "keyPrefix" : "001",
9
+ "labelPlural" : "Accounts",
10
+ "layoutable" : true,
11
+ "activateable" : false,
12
+ "updateable" : true,
13
+ "urls" : {
14
+ "sobject" : "/services/data/v23.0/sobjects/Account",
15
+ "describe" : "/services/data/v23.0/sobjects/Account/describe",
16
+ "rowTemplate" : "/services/data/v23.0/sobjects/Account/{ID}"
17
+ },
18
+ "searchable" : true,
19
+ "createable" : true,
20
+ "customSetting" : false,
21
+ "deletable" : true,
22
+ "deprecatedAndHidden" : false,
23
+ "feedEnabled" : true,
24
+ "mergeable" : true,
25
+ "queryable" : true,
26
+ "replicateable" : true,
27
+ "retrieveable" : true,
28
+ "undeletable" : true,
29
+ "triggerable" : true
30
+ }]
31
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "totalSize" : 1,
3
+ "done" : true,
4
+ "records" : [ {
5
+ "attributes" : {
6
+ "type" : "Organization",
7
+ "url" : "/services/data/v20.0/sobjects/Organization/00Dx0000000BV7z"
8
+ },
9
+ "Id" : "00Dx0000000BV7z"
10
+ } ]
11
+ }
@@ -0,0 +1,23 @@
1
+ {
2
+ "totalSize" : 3,
3
+ "done" : true,
4
+ "records" : [ {
5
+ "attributes" : {
6
+ "type" : "AggregateResult"
7
+ },
8
+ "CampaignId" : "701E0000000JuFHIA0",
9
+ "expr0" : 300.0
10
+ }, {
11
+ "attributes" : {
12
+ "type" : "AggregateResult"
13
+ },
14
+ "CampaignId" : "701E00000005ZqAIAU",
15
+ "expr0" : 100.0
16
+ }, {
17
+ "attributes" : {
18
+ "type" : "AggregateResult"
19
+ },
20
+ "CampaignId" : null,
21
+ "expr0" : 400
22
+ } ]
23
+ }
@@ -0,0 +1,5 @@
1
+ {
2
+ "totalSize" : 0,
3
+ "done" : true,
4
+ "records" : [ ]
5
+ }
@@ -0,0 +1,6 @@
1
+ [
2
+ {
3
+ "message": "error_message",
4
+ "errorCode": "INVALID_FIELD"
5
+ }
6
+ ]
@@ -0,0 +1,14 @@
1
+ {
2
+ "totalSize" : 2,
3
+ "done" : false,
4
+ "nextRecordsUrl" : "/services/data/v26.0/query/01gD",
5
+ "records" : [
6
+ {
7
+ "attributes" : {
8
+ "type" : "Whizbang",
9
+ "url" : "/services/data/v20.0/sobjects/Whizbang/foo"
10
+ },
11
+ "Text_Label" : "First Page"
12
+ }
13
+ ]
14
+ }
@@ -0,0 +1,13 @@
1
+ {
2
+ "totalSize" : 2,
3
+ "done" : true,
4
+ "records" : [
5
+ {
6
+ "attributes" : {
7
+ "type" : "Whizbang",
8
+ "url" : "/services/data/v20.0/sobjects/Whizbang/foo"
9
+ },
10
+ "Text_Label" : "Last Page"
11
+ }
12
+ ]
13
+ }
@@ -0,0 +1,38 @@
1
+ {
2
+ "totalSize": 1,
3
+ "done": true,
4
+ "records": [
5
+ {
6
+ "attributes": {
7
+ "type": "Whizbang",
8
+ "url": "/services/data/v20.0/sobjects/Whizbang/foo"
9
+ },
10
+ "Checkbox_Label": false,
11
+ "Text_Label": "Hi there!",
12
+ "Date_Label": "2010-01-01",
13
+ "DateTime_Label": "2011-07-07T00:37:00.000+0000",
14
+ "Picklist_Multiselect_Label": "four;six",
15
+ "ParentWhizbang__r": {
16
+ "Name": "Parent Whizbang",
17
+ "Text_Label": "Hello",
18
+ "attributes": {
19
+ "type": "Whizbang",
20
+ "url": "/services/data/v20.0/sobjects/Whizbang/bar"
21
+ }
22
+ },
23
+ "Whizbangs__r": {
24
+ "totalSize": 1,
25
+ "done": true,
26
+ "records": [
27
+ {
28
+ "attributes": {
29
+ "type": "Whizbang__c",
30
+ "url": "/services/data/v24.0/sobjects/Whizbang__c/a00E0000004D5lsIAC"
31
+ },
32
+ "Name": "Child Whizbang"
33
+ }
34
+ ]
35
+ }
36
+ }
37
+ ]
38
+ }
@@ -0,0 +1,18 @@
1
+ [
2
+ {
3
+ "attributes": {
4
+ "type": "Whizbang",
5
+ "url": "/services/data/v23.0/sobjects/Whizbang/foo"
6
+ },
7
+ "Id": "foo",
8
+ "Name": "whatever"
9
+ },
10
+ {
11
+ "attributes": {
12
+ "type": "Whizbang",
13
+ "url": "/services/data/v23.0/sobjects/Whizbang/bar"
14
+ },
15
+ "Id": "bar",
16
+ "Name": "whatever"
17
+ }
18
+ ]
@@ -0,0 +1,6 @@
1
+ [
2
+ {
3
+ "message": "No search term found. The search term must be enclosed in braces.",
4
+ "errorCode": "MALFORMED_SEARCH"
5
+ }
6
+ ]
@@ -0,0 +1,16 @@
1
+ [
2
+ {
3
+ "attributes": {
4
+ "type": "Whizbang",
5
+ "url": "/services/data/v23.0/sobjects/Whizbang/foo"
6
+ },
7
+ "Id": "foo"
8
+ },
9
+ {
10
+ "attributes": {
11
+ "type": "Whizbang",
12
+ "url": "/services/data/v23.0/sobjects/Whizbang/bar"
13
+ },
14
+ "Id": "bar"
15
+ }
16
+ ]
@@ -0,0 +1,6 @@
1
+ [
2
+ {
3
+ "message": "The requested resource does not exist",
4
+ "errorCode": "NOT_FOUND"
5
+ }
6
+ ]
@@ -0,0 +1,1429 @@
1
+ {
2
+ "name": "Whizbang",
3
+ "fields": [
4
+ {
5
+ "length": 18,
6
+ "name": "Id",
7
+ "type": "id",
8
+ "defaultValue": null,
9
+ "label": "Record ID",
10
+ "updateable": false,
11
+ "calculated": false,
12
+ "controllerName": null,
13
+ "nillable": false,
14
+ "unique": false,
15
+ "precision": 0,
16
+ "scale": 0,
17
+ "caseSensitive": false,
18
+ "byteLength": 18,
19
+ "inlineHelpText": null,
20
+ "nameField": false,
21
+ "externalId": false,
22
+ "idLookup": true,
23
+ "filterable": true,
24
+ "soapType": "tns:ID",
25
+ "createable": false,
26
+ "deprecatedAndHidden": false,
27
+ "autoNumber": false,
28
+ "calculatedFormula": null,
29
+ "defaultValueFormula": null,
30
+ "defaultedOnCreate": true,
31
+ "digits": 0,
32
+ "groupable": true,
33
+ "picklistValues": [],
34
+ "referenceTo": [],
35
+ "relationshipName": null,
36
+ "relationshipOrder": null,
37
+ "restrictedPicklist": false,
38
+ "namePointing": false,
39
+ "custom": false,
40
+ "htmlFormatted": false,
41
+ "dependentPicklist": false,
42
+ "writeRequiresMasterRead": false,
43
+ "sortable": true
44
+ },
45
+ {
46
+ "length": 18,
47
+ "name": "OwnerId",
48
+ "type": "reference",
49
+ "defaultValue": null,
50
+ "label": "Owner ID",
51
+ "updateable": true,
52
+ "calculated": false,
53
+ "controllerName": null,
54
+ "nillable": false,
55
+ "unique": false,
56
+ "precision": 0,
57
+ "scale": 0,
58
+ "caseSensitive": false,
59
+ "byteLength": 18,
60
+ "inlineHelpText": null,
61
+ "nameField": false,
62
+ "externalId": false,
63
+ "idLookup": false,
64
+ "filterable": true,
65
+ "soapType": "tns:ID",
66
+ "createable": true,
67
+ "deprecatedAndHidden": false,
68
+ "autoNumber": false,
69
+ "calculatedFormula": null,
70
+ "defaultValueFormula": null,
71
+ "defaultedOnCreate": true,
72
+ "digits": 0,
73
+ "groupable": true,
74
+ "picklistValues": [],
75
+ "referenceTo": [
76
+ "Group",
77
+ "User"
78
+ ],
79
+ "relationshipName": "Owner",
80
+ "relationshipOrder": null,
81
+ "restrictedPicklist": false,
82
+ "namePointing": true,
83
+ "custom": false,
84
+ "htmlFormatted": false,
85
+ "dependentPicklist": false,
86
+ "writeRequiresMasterRead": false,
87
+ "sortable": true
88
+ },
89
+ {
90
+ "length": 0,
91
+ "name": "IsDeleted",
92
+ "type": "boolean",
93
+ "defaultValue": null,
94
+ "label": "Deleted",
95
+ "updateable": false,
96
+ "calculated": false,
97
+ "controllerName": null,
98
+ "nillable": false,
99
+ "unique": false,
100
+ "precision": 0,
101
+ "scale": 0,
102
+ "caseSensitive": false,
103
+ "byteLength": 0,
104
+ "inlineHelpText": null,
105
+ "nameField": false,
106
+ "externalId": false,
107
+ "idLookup": false,
108
+ "filterable": true,
109
+ "soapType": "xsd:boolean",
110
+ "createable": false,
111
+ "deprecatedAndHidden": false,
112
+ "autoNumber": false,
113
+ "calculatedFormula": null,
114
+ "defaultValueFormula": null,
115
+ "defaultedOnCreate": true,
116
+ "digits": 0,
117
+ "groupable": true,
118
+ "picklistValues": [],
119
+ "referenceTo": [],
120
+ "relationshipName": null,
121
+ "relationshipOrder": null,
122
+ "restrictedPicklist": false,
123
+ "namePointing": false,
124
+ "custom": false,
125
+ "htmlFormatted": false,
126
+ "dependentPicklist": false,
127
+ "writeRequiresMasterRead": false,
128
+ "sortable": true
129
+ },
130
+ {
131
+ "length": 80,
132
+ "name": "Name",
133
+ "type": "string",
134
+ "defaultValue": null,
135
+ "label": "Whizbang Name",
136
+ "updateable": true,
137
+ "calculated": false,
138
+ "controllerName": null,
139
+ "nillable": true,
140
+ "unique": false,
141
+ "precision": 0,
142
+ "scale": 0,
143
+ "caseSensitive": false,
144
+ "byteLength": 240,
145
+ "inlineHelpText": null,
146
+ "nameField": true,
147
+ "externalId": false,
148
+ "idLookup": true,
149
+ "filterable": true,
150
+ "soapType": "xsd:string",
151
+ "createable": true,
152
+ "deprecatedAndHidden": false,
153
+ "autoNumber": false,
154
+ "calculatedFormula": null,
155
+ "defaultValueFormula": null,
156
+ "defaultedOnCreate": true,
157
+ "digits": 0,
158
+ "groupable": true,
159
+ "picklistValues": [],
160
+ "referenceTo": [],
161
+ "relationshipName": null,
162
+ "relationshipOrder": null,
163
+ "restrictedPicklist": false,
164
+ "namePointing": false,
165
+ "custom": false,
166
+ "htmlFormatted": false,
167
+ "dependentPicklist": false,
168
+ "writeRequiresMasterRead": false,
169
+ "sortable": true
170
+ },
171
+ {
172
+ "length": 0,
173
+ "name": "CreatedDate",
174
+ "type": "datetime",
175
+ "defaultValue": null,
176
+ "label": "Created Date",
177
+ "updateable": false,
178
+ "calculated": false,
179
+ "controllerName": null,
180
+ "nillable": false,
181
+ "unique": false,
182
+ "precision": 0,
183
+ "scale": 0,
184
+ "caseSensitive": false,
185
+ "byteLength": 0,
186
+ "inlineHelpText": null,
187
+ "nameField": false,
188
+ "externalId": false,
189
+ "idLookup": false,
190
+ "filterable": true,
191
+ "soapType": "xsd:dateTime",
192
+ "createable": false,
193
+ "deprecatedAndHidden": false,
194
+ "autoNumber": false,
195
+ "calculatedFormula": null,
196
+ "defaultValueFormula": null,
197
+ "defaultedOnCreate": true,
198
+ "digits": 0,
199
+ "groupable": false,
200
+ "picklistValues": [],
201
+ "referenceTo": [],
202
+ "relationshipName": null,
203
+ "relationshipOrder": null,
204
+ "restrictedPicklist": false,
205
+ "namePointing": false,
206
+ "custom": false,
207
+ "htmlFormatted": false,
208
+ "dependentPicklist": false,
209
+ "writeRequiresMasterRead": false,
210
+ "sortable": true
211
+ },
212
+ {
213
+ "length": 18,
214
+ "name": "CreatedById",
215
+ "type": "reference",
216
+ "defaultValue": null,
217
+ "label": "Created By ID",
218
+ "updateable": false,
219
+ "calculated": false,
220
+ "controllerName": null,
221
+ "nillable": false,
222
+ "unique": false,
223
+ "precision": 0,
224
+ "scale": 0,
225
+ "caseSensitive": false,
226
+ "byteLength": 18,
227
+ "inlineHelpText": null,
228
+ "nameField": false,
229
+ "externalId": false,
230
+ "idLookup": false,
231
+ "filterable": true,
232
+ "soapType": "tns:ID",
233
+ "createable": false,
234
+ "deprecatedAndHidden": false,
235
+ "autoNumber": false,
236
+ "calculatedFormula": null,
237
+ "defaultValueFormula": null,
238
+ "defaultedOnCreate": true,
239
+ "digits": 0,
240
+ "groupable": true,
241
+ "picklistValues": [],
242
+ "referenceTo": [
243
+ "User"
244
+ ],
245
+ "relationshipName": "CreatedBy",
246
+ "relationshipOrder": null,
247
+ "restrictedPicklist": false,
248
+ "namePointing": false,
249
+ "custom": false,
250
+ "htmlFormatted": false,
251
+ "dependentPicklist": false,
252
+ "writeRequiresMasterRead": false,
253
+ "sortable": true
254
+ },
255
+ {
256
+ "length": 0,
257
+ "name": "LastModifiedDate",
258
+ "type": "datetime",
259
+ "defaultValue": null,
260
+ "label": "Last Modified Date",
261
+ "updateable": false,
262
+ "calculated": false,
263
+ "controllerName": null,
264
+ "nillable": false,
265
+ "unique": false,
266
+ "precision": 0,
267
+ "scale": 0,
268
+ "caseSensitive": false,
269
+ "byteLength": 0,
270
+ "inlineHelpText": null,
271
+ "nameField": false,
272
+ "externalId": false,
273
+ "idLookup": false,
274
+ "filterable": true,
275
+ "soapType": "xsd:dateTime",
276
+ "createable": false,
277
+ "deprecatedAndHidden": false,
278
+ "autoNumber": false,
279
+ "calculatedFormula": null,
280
+ "defaultValueFormula": null,
281
+ "defaultedOnCreate": true,
282
+ "digits": 0,
283
+ "groupable": false,
284
+ "picklistValues": [],
285
+ "referenceTo": [],
286
+ "relationshipName": null,
287
+ "relationshipOrder": null,
288
+ "restrictedPicklist": false,
289
+ "namePointing": false,
290
+ "custom": false,
291
+ "htmlFormatted": false,
292
+ "dependentPicklist": false,
293
+ "writeRequiresMasterRead": false,
294
+ "sortable": true
295
+ },
296
+ {
297
+ "length": 18,
298
+ "name": "LastModifiedById",
299
+ "type": "reference",
300
+ "defaultValue": null,
301
+ "label": "Last Modified By ID",
302
+ "updateable": false,
303
+ "calculated": false,
304
+ "controllerName": null,
305
+ "nillable": false,
306
+ "unique": false,
307
+ "precision": 0,
308
+ "scale": 0,
309
+ "caseSensitive": false,
310
+ "byteLength": 18,
311
+ "inlineHelpText": null,
312
+ "nameField": false,
313
+ "externalId": false,
314
+ "idLookup": false,
315
+ "filterable": true,
316
+ "soapType": "tns:ID",
317
+ "createable": false,
318
+ "deprecatedAndHidden": false,
319
+ "autoNumber": false,
320
+ "calculatedFormula": null,
321
+ "defaultValueFormula": null,
322
+ "defaultedOnCreate": true,
323
+ "digits": 0,
324
+ "groupable": true,
325
+ "picklistValues": [],
326
+ "referenceTo": [
327
+ "User"
328
+ ],
329
+ "relationshipName": "LastModifiedBy",
330
+ "relationshipOrder": null,
331
+ "restrictedPicklist": false,
332
+ "namePointing": false,
333
+ "custom": false,
334
+ "htmlFormatted": false,
335
+ "dependentPicklist": false,
336
+ "writeRequiresMasterRead": false,
337
+ "sortable": true
338
+ },
339
+ {
340
+ "length": 0,
341
+ "name": "SystemModstamp",
342
+ "type": "datetime",
343
+ "defaultValue": null,
344
+ "label": "System Modstamp",
345
+ "updateable": false,
346
+ "calculated": false,
347
+ "controllerName": null,
348
+ "nillable": false,
349
+ "unique": false,
350
+ "precision": 0,
351
+ "scale": 0,
352
+ "caseSensitive": false,
353
+ "byteLength": 0,
354
+ "inlineHelpText": null,
355
+ "nameField": false,
356
+ "externalId": false,
357
+ "idLookup": false,
358
+ "filterable": true,
359
+ "soapType": "xsd:dateTime",
360
+ "createable": false,
361
+ "deprecatedAndHidden": false,
362
+ "autoNumber": false,
363
+ "calculatedFormula": null,
364
+ "defaultValueFormula": null,
365
+ "defaultedOnCreate": true,
366
+ "digits": 0,
367
+ "groupable": false,
368
+ "picklistValues": [],
369
+ "referenceTo": [],
370
+ "relationshipName": null,
371
+ "relationshipOrder": null,
372
+ "restrictedPicklist": false,
373
+ "namePointing": false,
374
+ "custom": false,
375
+ "htmlFormatted": false,
376
+ "dependentPicklist": false,
377
+ "writeRequiresMasterRead": false,
378
+ "sortable": true
379
+ },
380
+ {
381
+ "length": 30,
382
+ "name": "Auto_Number",
383
+ "type": "string",
384
+ "defaultValue": null,
385
+ "label": "Auto Number",
386
+ "updateable": false,
387
+ "calculated": false,
388
+ "controllerName": null,
389
+ "nillable": false,
390
+ "unique": false,
391
+ "precision": 0,
392
+ "scale": 0,
393
+ "caseSensitive": false,
394
+ "byteLength": 90,
395
+ "inlineHelpText": null,
396
+ "nameField": false,
397
+ "externalId": false,
398
+ "idLookup": false,
399
+ "filterable": true,
400
+ "soapType": "xsd:string",
401
+ "createable": false,
402
+ "deprecatedAndHidden": false,
403
+ "autoNumber": true,
404
+ "calculatedFormula": null,
405
+ "defaultValueFormula": null,
406
+ "defaultedOnCreate": true,
407
+ "digits": 0,
408
+ "groupable": false,
409
+ "picklistValues": [],
410
+ "referenceTo": [],
411
+ "relationshipName": null,
412
+ "relationshipOrder": null,
413
+ "restrictedPicklist": false,
414
+ "namePointing": false,
415
+ "custom": true,
416
+ "htmlFormatted": false,
417
+ "dependentPicklist": false,
418
+ "writeRequiresMasterRead": false,
419
+ "sortable": true
420
+ },
421
+ {
422
+ "length": 0,
423
+ "name": "Checkbox_Field",
424
+ "type": "boolean",
425
+ "defaultValue": true,
426
+ "label": "Checkbox Label",
427
+ "updateable": true,
428
+ "calculated": false,
429
+ "controllerName": null,
430
+ "nillable": false,
431
+ "unique": false,
432
+ "precision": 0,
433
+ "scale": 0,
434
+ "caseSensitive": false,
435
+ "byteLength": 0,
436
+ "inlineHelpText": null,
437
+ "nameField": false,
438
+ "externalId": false,
439
+ "idLookup": false,
440
+ "filterable": true,
441
+ "soapType": "xsd:boolean",
442
+ "createable": true,
443
+ "deprecatedAndHidden": false,
444
+ "autoNumber": false,
445
+ "calculatedFormula": null,
446
+ "defaultValueFormula": null,
447
+ "defaultedOnCreate": true,
448
+ "digits": 0,
449
+ "groupable": true,
450
+ "picklistValues": [],
451
+ "referenceTo": [],
452
+ "relationshipName": null,
453
+ "relationshipOrder": null,
454
+ "restrictedPicklist": false,
455
+ "namePointing": false,
456
+ "custom": true,
457
+ "htmlFormatted": false,
458
+ "dependentPicklist": false,
459
+ "writeRequiresMasterRead": false,
460
+ "sortable": true
461
+ },
462
+ {
463
+ "length": 0,
464
+ "name": "Currency_Field",
465
+ "type": "currency",
466
+ "defaultValue": null,
467
+ "label": "Currency Label",
468
+ "updateable": true,
469
+ "calculated": false,
470
+ "controllerName": null,
471
+ "nillable": true,
472
+ "unique": false,
473
+ "precision": 18,
474
+ "scale": 0,
475
+ "caseSensitive": false,
476
+ "byteLength": 0,
477
+ "inlineHelpText": null,
478
+ "nameField": false,
479
+ "externalId": false,
480
+ "idLookup": false,
481
+ "filterable": true,
482
+ "soapType": "xsd:double",
483
+ "createable": true,
484
+ "deprecatedAndHidden": false,
485
+ "autoNumber": false,
486
+ "calculatedFormula": null,
487
+ "defaultValueFormula": null,
488
+ "defaultedOnCreate": false,
489
+ "digits": 0,
490
+ "groupable": false,
491
+ "picklistValues": [],
492
+ "referenceTo": [],
493
+ "relationshipName": null,
494
+ "relationshipOrder": null,
495
+ "restrictedPicklist": false,
496
+ "namePointing": false,
497
+ "custom": true,
498
+ "htmlFormatted": false,
499
+ "dependentPicklist": false,
500
+ "writeRequiresMasterRead": false,
501
+ "sortable": true
502
+ },
503
+ {
504
+ "length": 0,
505
+ "name": "Date_Field",
506
+ "type": "date",
507
+ "defaultValue": null,
508
+ "label": "Date Label",
509
+ "updateable": true,
510
+ "calculated": false,
511
+ "controllerName": null,
512
+ "nillable": true,
513
+ "unique": false,
514
+ "precision": 0,
515
+ "scale": 0,
516
+ "caseSensitive": false,
517
+ "byteLength": 0,
518
+ "inlineHelpText": null,
519
+ "nameField": false,
520
+ "externalId": false,
521
+ "idLookup": false,
522
+ "filterable": true,
523
+ "soapType": "xsd:date",
524
+ "createable": true,
525
+ "deprecatedAndHidden": false,
526
+ "autoNumber": false,
527
+ "calculatedFormula": null,
528
+ "defaultValueFormula": null,
529
+ "defaultedOnCreate": false,
530
+ "digits": 0,
531
+ "groupable": true,
532
+ "picklistValues": [],
533
+ "referenceTo": [],
534
+ "relationshipName": null,
535
+ "relationshipOrder": null,
536
+ "restrictedPicklist": false,
537
+ "namePointing": false,
538
+ "custom": true,
539
+ "htmlFormatted": false,
540
+ "dependentPicklist": false,
541
+ "writeRequiresMasterRead": false,
542
+ "sortable": true
543
+ },
544
+ {
545
+ "length": 0,
546
+ "name": "DateTime_Field",
547
+ "type": "datetime",
548
+ "defaultValue": null,
549
+ "label": "DateTime Label",
550
+ "updateable": true,
551
+ "calculated": false,
552
+ "controllerName": null,
553
+ "nillable": true,
554
+ "unique": false,
555
+ "precision": 0,
556
+ "scale": 0,
557
+ "caseSensitive": false,
558
+ "byteLength": 0,
559
+ "inlineHelpText": null,
560
+ "nameField": false,
561
+ "externalId": false,
562
+ "idLookup": false,
563
+ "filterable": true,
564
+ "soapType": "xsd:dateTime",
565
+ "createable": true,
566
+ "deprecatedAndHidden": false,
567
+ "autoNumber": false,
568
+ "calculatedFormula": null,
569
+ "defaultValueFormula": null,
570
+ "defaultedOnCreate": false,
571
+ "digits": 0,
572
+ "groupable": false,
573
+ "picklistValues": [],
574
+ "referenceTo": [],
575
+ "relationshipName": null,
576
+ "relationshipOrder": null,
577
+ "restrictedPicklist": false,
578
+ "namePointing": false,
579
+ "custom": true,
580
+ "htmlFormatted": false,
581
+ "dependentPicklist": false,
582
+ "writeRequiresMasterRead": false,
583
+ "sortable": true
584
+ },
585
+ {
586
+ "length": 80,
587
+ "name": "Email_Field",
588
+ "type": "email",
589
+ "defaultValue": null,
590
+ "label": "Email Label",
591
+ "updateable": true,
592
+ "calculated": false,
593
+ "controllerName": null,
594
+ "nillable": true,
595
+ "unique": false,
596
+ "precision": 0,
597
+ "scale": 0,
598
+ "caseSensitive": false,
599
+ "byteLength": 240,
600
+ "inlineHelpText": null,
601
+ "nameField": false,
602
+ "externalId": false,
603
+ "idLookup": false,
604
+ "filterable": true,
605
+ "soapType": "xsd:string",
606
+ "createable": true,
607
+ "deprecatedAndHidden": false,
608
+ "autoNumber": false,
609
+ "calculatedFormula": null,
610
+ "defaultValueFormula": null,
611
+ "defaultedOnCreate": false,
612
+ "digits": 0,
613
+ "groupable": true,
614
+ "picklistValues": [],
615
+ "referenceTo": [],
616
+ "relationshipName": null,
617
+ "relationshipOrder": null,
618
+ "restrictedPicklist": false,
619
+ "namePointing": false,
620
+ "custom": true,
621
+ "htmlFormatted": false,
622
+ "dependentPicklist": false,
623
+ "writeRequiresMasterRead": false,
624
+ "sortable": true
625
+ },
626
+ {
627
+ "length": 0,
628
+ "name": "Number_Field",
629
+ "type": "double",
630
+ "defaultValue": 23,
631
+ "label": "Number Label",
632
+ "updateable": true,
633
+ "calculated": false,
634
+ "controllerName": null,
635
+ "nillable": true,
636
+ "unique": false,
637
+ "precision": 18,
638
+ "scale": 0,
639
+ "caseSensitive": false,
640
+ "byteLength": 0,
641
+ "inlineHelpText": null,
642
+ "nameField": false,
643
+ "externalId": false,
644
+ "idLookup": false,
645
+ "filterable": true,
646
+ "soapType": "xsd:double",
647
+ "createable": true,
648
+ "deprecatedAndHidden": false,
649
+ "autoNumber": false,
650
+ "calculatedFormula": null,
651
+ "defaultValueFormula": null,
652
+ "defaultedOnCreate": false,
653
+ "digits": 0,
654
+ "groupable": false,
655
+ "picklistValues": [],
656
+ "referenceTo": [],
657
+ "relationshipName": null,
658
+ "relationshipOrder": null,
659
+ "restrictedPicklist": false,
660
+ "namePointing": false,
661
+ "custom": true,
662
+ "htmlFormatted": false,
663
+ "dependentPicklist": false,
664
+ "writeRequiresMasterRead": false,
665
+ "sortable": true
666
+ },
667
+ {
668
+ "length": 0,
669
+ "name": "Percent_Field",
670
+ "type": "percent",
671
+ "defaultValue": null,
672
+ "label": "Percent Label",
673
+ "updateable": true,
674
+ "calculated": false,
675
+ "controllerName": null,
676
+ "nillable": true,
677
+ "unique": false,
678
+ "precision": 18,
679
+ "scale": 0,
680
+ "caseSensitive": false,
681
+ "byteLength": 0,
682
+ "inlineHelpText": null,
683
+ "nameField": false,
684
+ "externalId": false,
685
+ "idLookup": false,
686
+ "filterable": true,
687
+ "soapType": "xsd:double",
688
+ "createable": true,
689
+ "deprecatedAndHidden": false,
690
+ "autoNumber": false,
691
+ "calculatedFormula": null,
692
+ "defaultValueFormula": null,
693
+ "defaultedOnCreate": false,
694
+ "digits": 0,
695
+ "groupable": false,
696
+ "picklistValues": [],
697
+ "referenceTo": [],
698
+ "relationshipName": null,
699
+ "relationshipOrder": null,
700
+ "restrictedPicklist": false,
701
+ "namePointing": false,
702
+ "custom": true,
703
+ "htmlFormatted": false,
704
+ "dependentPicklist": false,
705
+ "writeRequiresMasterRead": false,
706
+ "sortable": true
707
+ },
708
+ {
709
+ "length": 40,
710
+ "name": "Phone_Field",
711
+ "type": "phone",
712
+ "defaultValue": null,
713
+ "label": "Phone Label",
714
+ "updateable": true,
715
+ "calculated": false,
716
+ "controllerName": null,
717
+ "nillable": true,
718
+ "unique": false,
719
+ "precision": 0,
720
+ "scale": 0,
721
+ "caseSensitive": false,
722
+ "byteLength": 120,
723
+ "inlineHelpText": null,
724
+ "nameField": false,
725
+ "externalId": false,
726
+ "idLookup": false,
727
+ "filterable": true,
728
+ "soapType": "xsd:string",
729
+ "createable": true,
730
+ "deprecatedAndHidden": false,
731
+ "autoNumber": false,
732
+ "calculatedFormula": null,
733
+ "defaultValueFormula": null,
734
+ "defaultedOnCreate": false,
735
+ "digits": 0,
736
+ "groupable": true,
737
+ "picklistValues": [],
738
+ "referenceTo": [],
739
+ "relationshipName": null,
740
+ "relationshipOrder": null,
741
+ "restrictedPicklist": false,
742
+ "namePointing": false,
743
+ "custom": true,
744
+ "htmlFormatted": false,
745
+ "dependentPicklist": false,
746
+ "writeRequiresMasterRead": false,
747
+ "sortable": true
748
+ },
749
+ {
750
+ "length": 255,
751
+ "name": "Picklist_Field",
752
+ "type": "picklist",
753
+ "defaultValue": null,
754
+ "label": "Picklist Label",
755
+ "updateable": true,
756
+ "calculated": false,
757
+ "controllerName": null,
758
+ "nillable": true,
759
+ "unique": false,
760
+ "precision": 0,
761
+ "scale": 0,
762
+ "caseSensitive": false,
763
+ "byteLength": 765,
764
+ "inlineHelpText": null,
765
+ "nameField": false,
766
+ "externalId": false,
767
+ "idLookup": false,
768
+ "filterable": true,
769
+ "soapType": "xsd:string",
770
+ "createable": true,
771
+ "deprecatedAndHidden": false,
772
+ "autoNumber": false,
773
+ "calculatedFormula": null,
774
+ "defaultValueFormula": null,
775
+ "defaultedOnCreate": false,
776
+ "digits": 0,
777
+ "groupable": true,
778
+ "picklistValues": [
779
+ {
780
+ "value": "one",
781
+ "active": true,
782
+ "label": "one",
783
+ "defaultValue": true,
784
+ "validFor": null
785
+ },
786
+ {
787
+ "value": "two",
788
+ "active": true,
789
+ "label": "two",
790
+ "defaultValue": false,
791
+ "validFor": null
792
+ },
793
+ {
794
+ "value": "three",
795
+ "active": true,
796
+ "label": "three",
797
+ "defaultValue": false,
798
+ "validFor": null
799
+ }
800
+ ],
801
+ "referenceTo": [],
802
+ "relationshipName": null,
803
+ "relationshipOrder": null,
804
+ "restrictedPicklist": false,
805
+ "namePointing": false,
806
+ "custom": true,
807
+ "htmlFormatted": false,
808
+ "dependentPicklist": false,
809
+ "writeRequiresMasterRead": false,
810
+ "sortable": true
811
+ },
812
+ {
813
+ "length": 4099,
814
+ "name": "Picklist_Multiselect_Field",
815
+ "type": "multipicklist",
816
+ "defaultValue": null,
817
+ "label": "Picklist Multiselect Label",
818
+ "updateable": true,
819
+ "calculated": false,
820
+ "controllerName": null,
821
+ "nillable": true,
822
+ "unique": false,
823
+ "precision": 0,
824
+ "scale": 0,
825
+ "caseSensitive": false,
826
+ "byteLength": 4099,
827
+ "inlineHelpText": null,
828
+ "nameField": false,
829
+ "externalId": false,
830
+ "idLookup": false,
831
+ "filterable": true,
832
+ "soapType": "xsd:string",
833
+ "createable": true,
834
+ "deprecatedAndHidden": false,
835
+ "autoNumber": false,
836
+ "calculatedFormula": null,
837
+ "defaultValueFormula": null,
838
+ "defaultedOnCreate": false,
839
+ "digits": 0,
840
+ "groupable": false,
841
+ "picklistValues": [
842
+ {
843
+ "value": "four",
844
+ "active": true,
845
+ "label": "four",
846
+ "defaultValue": true,
847
+ "validFor": null
848
+ },
849
+ {
850
+ "value": "five",
851
+ "active": true,
852
+ "label": "five",
853
+ "defaultValue": false,
854
+ "validFor": null
855
+ },
856
+ {
857
+ "value": "six",
858
+ "active": true,
859
+ "label": "six",
860
+ "defaultValue": false,
861
+ "validFor": null
862
+ }
863
+ ],
864
+ "referenceTo": [],
865
+ "relationshipName": null,
866
+ "relationshipOrder": null,
867
+ "restrictedPicklist": false,
868
+ "namePointing": false,
869
+ "custom": true,
870
+ "htmlFormatted": false,
871
+ "dependentPicklist": false,
872
+ "writeRequiresMasterRead": false,
873
+ "sortable": false
874
+ },
875
+ {
876
+ "length": 255,
877
+ "name": "Dependent_Picklist_Field",
878
+ "type": "picklist",
879
+ "defaultValue": null,
880
+ "label": "Dependent Picklist Label",
881
+ "updateable": true,
882
+ "calculated": false,
883
+ "controllerName": "Picklist_Field",
884
+ "nillable": true,
885
+ "unique": false,
886
+ "precision": 0,
887
+ "scale": 0,
888
+ "caseSensitive": false,
889
+ "byteLength": 765,
890
+ "inlineHelpText": null,
891
+ "nameField": false,
892
+ "externalId": false,
893
+ "idLookup": false,
894
+ "filterable": true,
895
+ "soapType": "xsd:string",
896
+ "createable": true,
897
+ "deprecatedAndHidden": false,
898
+ "autoNumber": false,
899
+ "calculatedFormula": null,
900
+ "defaultValueFormula": null,
901
+ "defaultedOnCreate": false,
902
+ "digits": 0,
903
+ "groupable": true,
904
+ "picklistValues": [
905
+ {
906
+ "value": "seven",
907
+ "active": true,
908
+ "label": "seven",
909
+ "defaultValue": false,
910
+ "validFor": "gAAA"
911
+ },
912
+ {
913
+ "value": "eight",
914
+ "active": true,
915
+ "label": "eight",
916
+ "defaultValue": false,
917
+ "validFor": "gAAA"
918
+ },
919
+ {
920
+ "value": "nine",
921
+ "active": true,
922
+ "label": "nine",
923
+ "defaultValue": false,
924
+ "validFor": "QAAA"
925
+ }
926
+ ],
927
+ "referenceTo": [],
928
+ "relationshipName": null,
929
+ "relationshipOrder": null,
930
+ "restrictedPicklist": false,
931
+ "namePointing": false,
932
+ "custom": true,
933
+ "htmlFormatted": false,
934
+ "dependentPicklist": true,
935
+ "writeRequiresMasterRead": false,
936
+ "sortable": true
937
+ },
938
+ {
939
+ "length": 80,
940
+ "name": "Text_Field",
941
+ "type": "string",
942
+ "defaultValue": "Yes!",
943
+ "label": "Text Label",
944
+ "updateable": true,
945
+ "calculated": false,
946
+ "controllerName": null,
947
+ "nillable": true,
948
+ "unique": false,
949
+ "precision": 0,
950
+ "scale": 0,
951
+ "caseSensitive": false,
952
+ "byteLength": 240,
953
+ "inlineHelpText": null,
954
+ "nameField": false,
955
+ "externalId": false,
956
+ "idLookup": false,
957
+ "filterable": true,
958
+ "soapType": "xsd:string",
959
+ "createable": true,
960
+ "deprecatedAndHidden": false,
961
+ "autoNumber": false,
962
+ "calculatedFormula": null,
963
+ "defaultValueFormula": null,
964
+ "defaultedOnCreate": false,
965
+ "digits": 0,
966
+ "groupable": true,
967
+ "picklistValues": [],
968
+ "referenceTo": [],
969
+ "relationshipName": null,
970
+ "relationshipOrder": null,
971
+ "restrictedPicklist": false,
972
+ "namePointing": false,
973
+ "custom": true,
974
+ "htmlFormatted": false,
975
+ "dependentPicklist": false,
976
+ "writeRequiresMasterRead": false,
977
+ "sortable": true
978
+ },
979
+ {
980
+ "length": 255,
981
+ "name": "TextArea_Field",
982
+ "type": "textarea",
983
+ "defaultValue": null,
984
+ "label": "TextArea Label",
985
+ "updateable": true,
986
+ "calculated": false,
987
+ "controllerName": null,
988
+ "nillable": true,
989
+ "unique": false,
990
+ "precision": 0,
991
+ "scale": 0,
992
+ "caseSensitive": false,
993
+ "byteLength": 765,
994
+ "inlineHelpText": null,
995
+ "nameField": false,
996
+ "externalId": false,
997
+ "idLookup": false,
998
+ "filterable": true,
999
+ "soapType": "xsd:string",
1000
+ "createable": true,
1001
+ "deprecatedAndHidden": false,
1002
+ "autoNumber": false,
1003
+ "calculatedFormula": null,
1004
+ "defaultValueFormula": null,
1005
+ "defaultedOnCreate": false,
1006
+ "digits": 0,
1007
+ "groupable": true,
1008
+ "picklistValues": [],
1009
+ "referenceTo": [],
1010
+ "relationshipName": null,
1011
+ "relationshipOrder": null,
1012
+ "restrictedPicklist": false,
1013
+ "namePointing": false,
1014
+ "custom": true,
1015
+ "htmlFormatted": false,
1016
+ "dependentPicklist": false,
1017
+ "writeRequiresMasterRead": false,
1018
+ "sortable": true
1019
+ },
1020
+ {
1021
+ "length": 32768,
1022
+ "name": "TextAreaLong_Field",
1023
+ "type": "textarea",
1024
+ "defaultValue": null,
1025
+ "label": "TextAreaLong Label",
1026
+ "updateable": true,
1027
+ "calculated": false,
1028
+ "controllerName": null,
1029
+ "nillable": true,
1030
+ "unique": false,
1031
+ "precision": 0,
1032
+ "scale": 0,
1033
+ "caseSensitive": false,
1034
+ "byteLength": 98304,
1035
+ "inlineHelpText": null,
1036
+ "nameField": false,
1037
+ "externalId": false,
1038
+ "idLookup": false,
1039
+ "filterable": false,
1040
+ "soapType": "xsd:string",
1041
+ "createable": true,
1042
+ "deprecatedAndHidden": false,
1043
+ "autoNumber": false,
1044
+ "calculatedFormula": null,
1045
+ "defaultValueFormula": null,
1046
+ "defaultedOnCreate": false,
1047
+ "digits": 0,
1048
+ "groupable": false,
1049
+ "picklistValues": [],
1050
+ "referenceTo": [],
1051
+ "relationshipName": null,
1052
+ "relationshipOrder": null,
1053
+ "restrictedPicklist": false,
1054
+ "namePointing": false,
1055
+ "custom": true,
1056
+ "htmlFormatted": false,
1057
+ "dependentPicklist": false,
1058
+ "writeRequiresMasterRead": false,
1059
+ "sortable": false
1060
+ },
1061
+ {
1062
+ "length": 32768,
1063
+ "name": "TextAreaRich_Field",
1064
+ "type": "textarea",
1065
+ "defaultValue": null,
1066
+ "label": "TextAreaRich Label",
1067
+ "updateable": true,
1068
+ "calculated": false,
1069
+ "controllerName": null,
1070
+ "nillable": true,
1071
+ "unique": false,
1072
+ "precision": 0,
1073
+ "scale": 0,
1074
+ "caseSensitive": false,
1075
+ "byteLength": 98304,
1076
+ "inlineHelpText": null,
1077
+ "nameField": false,
1078
+ "externalId": false,
1079
+ "idLookup": false,
1080
+ "filterable": false,
1081
+ "soapType": "xsd:string",
1082
+ "createable": true,
1083
+ "deprecatedAndHidden": false,
1084
+ "autoNumber": false,
1085
+ "calculatedFormula": null,
1086
+ "defaultValueFormula": null,
1087
+ "defaultedOnCreate": false,
1088
+ "digits": 0,
1089
+ "groupable": false,
1090
+ "picklistValues": [],
1091
+ "referenceTo": [],
1092
+ "relationshipName": null,
1093
+ "relationshipOrder": null,
1094
+ "restrictedPicklist": false,
1095
+ "namePointing": false,
1096
+ "custom": true,
1097
+ "htmlFormatted": true,
1098
+ "dependentPicklist": false,
1099
+ "writeRequiresMasterRead": false,
1100
+ "sortable": false
1101
+ },
1102
+ {
1103
+ "length": 255,
1104
+ "name": "URL_Field",
1105
+ "type": "url",
1106
+ "defaultValue": null,
1107
+ "label": "URL Label",
1108
+ "updateable": true,
1109
+ "calculated": false,
1110
+ "controllerName": null,
1111
+ "nillable": true,
1112
+ "unique": false,
1113
+ "precision": 0,
1114
+ "scale": 0,
1115
+ "caseSensitive": false,
1116
+ "byteLength": 765,
1117
+ "inlineHelpText": null,
1118
+ "nameField": false,
1119
+ "externalId": false,
1120
+ "idLookup": false,
1121
+ "filterable": true,
1122
+ "soapType": "xsd:string",
1123
+ "createable": true,
1124
+ "deprecatedAndHidden": false,
1125
+ "autoNumber": false,
1126
+ "calculatedFormula": null,
1127
+ "defaultValueFormula": null,
1128
+ "defaultedOnCreate": false,
1129
+ "digits": 0,
1130
+ "groupable": true,
1131
+ "picklistValues": [],
1132
+ "referenceTo": [],
1133
+ "relationshipName": null,
1134
+ "relationshipOrder": null,
1135
+ "restrictedPicklist": false,
1136
+ "namePointing": false,
1137
+ "custom": true,
1138
+ "htmlFormatted": false,
1139
+ "dependentPicklist": false,
1140
+ "writeRequiresMasterRead": false,
1141
+ "sortable": true
1142
+ },
1143
+ {
1144
+ "length": 0,
1145
+ "name": "OtherDateTime_Field",
1146
+ "type": "datetime",
1147
+ "defaultValue": null,
1148
+ "label": "OtherDateTime Label",
1149
+ "updateable": true,
1150
+ "calculated": false,
1151
+ "controllerName": null,
1152
+ "nillable": true,
1153
+ "unique": false,
1154
+ "precision": 0,
1155
+ "scale": 0,
1156
+ "caseSensitive": false,
1157
+ "byteLength": 0,
1158
+ "inlineHelpText": null,
1159
+ "nameField": false,
1160
+ "externalId": false,
1161
+ "idLookup": false,
1162
+ "filterable": true,
1163
+ "soapType": "xsd:dateTime",
1164
+ "createable": true,
1165
+ "deprecatedAndHidden": false,
1166
+ "autoNumber": false,
1167
+ "calculatedFormula": null,
1168
+ "defaultValueFormula": null,
1169
+ "defaultedOnCreate": false,
1170
+ "digits": 0,
1171
+ "groupable": false,
1172
+ "picklistValues": [],
1173
+ "referenceTo": [],
1174
+ "relationshipName": null,
1175
+ "relationshipOrder": null,
1176
+ "restrictedPicklist": false,
1177
+ "namePointing": false,
1178
+ "custom": true,
1179
+ "htmlFormatted": false,
1180
+ "dependentPicklist": false,
1181
+ "writeRequiresMasterRead": false,
1182
+ "sortable": true
1183
+ },
1184
+ {
1185
+ "length": 0,
1186
+ "name": "CreateableButNotUpdateableField",
1187
+ "type": "datetime",
1188
+ "defaultValue": null,
1189
+ "label": "CreateableButNotUpdateableField Label",
1190
+ "updateable": false,
1191
+ "calculated": false,
1192
+ "controllerName": null,
1193
+ "nillable": true,
1194
+ "unique": false,
1195
+ "precision": 0,
1196
+ "scale": 0,
1197
+ "caseSensitive": false,
1198
+ "byteLength": 0,
1199
+ "inlineHelpText": null,
1200
+ "nameField": false,
1201
+ "externalId": false,
1202
+ "idLookup": false,
1203
+ "filterable": true,
1204
+ "soapType": "xsd:dateTime",
1205
+ "createable": true,
1206
+ "deprecatedAndHidden": false,
1207
+ "autoNumber": false,
1208
+ "calculatedFormula": null,
1209
+ "defaultValueFormula": null,
1210
+ "defaultedOnCreate": false,
1211
+ "digits": 0,
1212
+ "groupable": false,
1213
+ "picklistValues": [],
1214
+ "referenceTo": [],
1215
+ "relationshipName": null,
1216
+ "relationshipOrder": null,
1217
+ "restrictedPicklist": false,
1218
+ "namePointing": false,
1219
+ "custom": true,
1220
+ "htmlFormatted": false,
1221
+ "dependentPicklist": false,
1222
+ "writeRequiresMasterRead": false,
1223
+ "sortable": true
1224
+ },
1225
+ {
1226
+ "length": 0,
1227
+ "name": "UpdateableButNotCreateableField",
1228
+ "type": "datetime",
1229
+ "defaultValue": null,
1230
+ "label": "UpdateableButNotCreateableField Label",
1231
+ "updateable": true,
1232
+ "calculated": false,
1233
+ "controllerName": null,
1234
+ "nillable": true,
1235
+ "unique": false,
1236
+ "precision": 0,
1237
+ "scale": 0,
1238
+ "caseSensitive": false,
1239
+ "byteLength": 0,
1240
+ "inlineHelpText": null,
1241
+ "nameField": false,
1242
+ "externalId": false,
1243
+ "idLookup": false,
1244
+ "filterable": true,
1245
+ "soapType": "xsd:dateTime",
1246
+ "createable": false,
1247
+ "deprecatedAndHidden": false,
1248
+ "autoNumber": false,
1249
+ "calculatedFormula": null,
1250
+ "defaultValueFormula": null,
1251
+ "defaultedOnCreate": false,
1252
+ "digits": 0,
1253
+ "groupable": false,
1254
+ "picklistValues": [],
1255
+ "referenceTo": [],
1256
+ "relationshipName": null,
1257
+ "relationshipOrder": null,
1258
+ "restrictedPicklist": false,
1259
+ "namePointing": false,
1260
+ "custom": true,
1261
+ "htmlFormatted": false,
1262
+ "dependentPicklist": false,
1263
+ "writeRequiresMasterRead": false,
1264
+ "sortable": true
1265
+ },
1266
+ {
1267
+ "name": "ParentWhizbang__c",
1268
+ "type": "reference",
1269
+ "defaultValue": null,
1270
+ "label": "Parent Whizbang",
1271
+ "updateable": true,
1272
+ "calculated": false,
1273
+ "controllerName": null,
1274
+ "nillable": true,
1275
+ "unique": false,
1276
+ "inlineHelpText": null,
1277
+ "nameField": false,
1278
+ "externalId": false,
1279
+ "idLookup": true,
1280
+ "filterable": true,
1281
+ "soapType": "tns:ID",
1282
+ "createable": true,
1283
+ "deprecatedAndHidden": false,
1284
+ "autoNumber": false,
1285
+ "calculatedFormula": null,
1286
+ "defaultValueFormula": null,
1287
+ "defaultedOnCreate": true,
1288
+ "digits": 0,
1289
+ "groupable": true,
1290
+ "picklistValues": [],
1291
+ "referenceTo": [
1292
+ "Whizbang"
1293
+ ],
1294
+ "relationshipName": "ParentWhizbang__r",
1295
+ "relationshipOrder": null,
1296
+ "restrictedPicklist": false,
1297
+ "namePointing": false,
1298
+ "custom": false,
1299
+ "htmlFormatted": false,
1300
+ "dependentPicklist": false,
1301
+ "writeRequiresMasterRead": false,
1302
+ "sortable": true
1303
+ }
1304
+ ],
1305
+ "label": "Whizbang",
1306
+ "custom": true,
1307
+ "keyPrefix": "a01",
1308
+ "labelPlural": "Whizbangs",
1309
+ "layoutable": true,
1310
+ "activateable": false,
1311
+ "updateable": true,
1312
+ "urls": {
1313
+ "uiEditTemplate": "https://na9.salesforce.com/{ID}/e",
1314
+ "sobject": "/services/data/v23.0/sobjects/Whizbang",
1315
+ "uiDetailTemplate": "https://na9.salesforce.com/{ID}",
1316
+ "describe": "/services/data/v23.0/sobjects/Whizbang/describe",
1317
+ "rowTemplate": "/services/data/v23.0/sobjects/Whizbang/{ID}",
1318
+ "uiNewRecord": "https://na9.salesforce.com/a01/e"
1319
+ },
1320
+ "searchable": true,
1321
+ "childRelationships": [
1322
+ {
1323
+ "field": "ParentId",
1324
+ "deprecatedAndHidden": false,
1325
+ "relationshipName": "Attachments",
1326
+ "cascadeDelete": false,
1327
+ "childSObject": "Attachment"
1328
+ },
1329
+ {
1330
+ "field": "LinkedEntityId",
1331
+ "deprecatedAndHidden": false,
1332
+ "relationshipName": null,
1333
+ "cascadeDelete": true,
1334
+ "childSObject": "ContentDocumentLink"
1335
+ },
1336
+ {
1337
+ "field": "FirstPublishLocationId",
1338
+ "deprecatedAndHidden": false,
1339
+ "relationshipName": null,
1340
+ "cascadeDelete": false,
1341
+ "childSObject": "ContentVersion"
1342
+ },
1343
+ {
1344
+ "field": "ParentId",
1345
+ "deprecatedAndHidden": false,
1346
+ "relationshipName": "FeedSubscriptionsForEntity",
1347
+ "cascadeDelete": true,
1348
+ "childSObject": "EntitySubscription"
1349
+ },
1350
+ {
1351
+ "field": "ParentId",
1352
+ "deprecatedAndHidden": false,
1353
+ "relationshipName": null,
1354
+ "cascadeDelete": false,
1355
+ "childSObject": "FeedComment"
1356
+ },
1357
+ {
1358
+ "field": "ParentId",
1359
+ "deprecatedAndHidden": false,
1360
+ "relationshipName": null,
1361
+ "cascadeDelete": true,
1362
+ "childSObject": "FeedItem"
1363
+ },
1364
+ {
1365
+ "field": "ParentId",
1366
+ "deprecatedAndHidden": false,
1367
+ "relationshipName": null,
1368
+ "cascadeDelete": true,
1369
+ "childSObject": "NewsFeed"
1370
+ },
1371
+ {
1372
+ "field": "ParentId",
1373
+ "deprecatedAndHidden": false,
1374
+ "relationshipName": "Notes",
1375
+ "cascadeDelete": true,
1376
+ "childSObject": "Note"
1377
+ },
1378
+ {
1379
+ "field": "ParentId",
1380
+ "deprecatedAndHidden": false,
1381
+ "relationshipName": "NotesAndAttachments",
1382
+ "cascadeDelete": true,
1383
+ "childSObject": "NoteAndAttachment"
1384
+ },
1385
+ {
1386
+ "field": "TargetObjectId",
1387
+ "deprecatedAndHidden": false,
1388
+ "relationshipName": "ProcessInstances",
1389
+ "cascadeDelete": true,
1390
+ "childSObject": "ProcessInstance"
1391
+ },
1392
+ {
1393
+ "field": "TargetObjectId",
1394
+ "deprecatedAndHidden": false,
1395
+ "relationshipName": "ProcessSteps",
1396
+ "cascadeDelete": false,
1397
+ "childSObject": "ProcessInstanceHistory"
1398
+ },
1399
+ {
1400
+ "field": "ParentId",
1401
+ "deprecatedAndHidden": false,
1402
+ "relationshipName": null,
1403
+ "cascadeDelete": true,
1404
+ "childSObject": "UserProfileFeed"
1405
+ }
1406
+ ],
1407
+ "createable": true,
1408
+ "customSetting": false,
1409
+ "deletable": true,
1410
+ "deprecatedAndHidden": false,
1411
+ "feedEnabled": false,
1412
+ "listviewable": null,
1413
+ "lookupLayoutable": null,
1414
+ "mergeable": false,
1415
+ "queryable": true,
1416
+ "recordTypeInfos": [
1417
+ {
1418
+ "name": "Master",
1419
+ "available": true,
1420
+ "recordTypeId": "012000000000000AAA",
1421
+ "defaultRecordTypeMapping": true
1422
+ }
1423
+ ],
1424
+ "replicateable": true,
1425
+ "retrieveable": true,
1426
+ "searchLayoutable": null,
1427
+ "undeletable": true,
1428
+ "triggerable": true
1429
+ }