contentful-importer 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +38 -0
- data/.rspec +3 -0
- data/.travis.yml +8 -0
- data/CHANGELOG.md +4 -0
- data/Gemfile +7 -0
- data/Gemfile.lock +87 -0
- data/LICENSE +22 -0
- data/README.md +327 -0
- data/Rakefile +7 -0
- data/bin/contentful-importer +85 -0
- data/contentful_importer.gemspec +38 -0
- data/example_settings/contentful_model.json +288 -0
- data/example_settings/contentful_structure.json +78 -0
- data/example_settings/files_meaning.txt +15 -0
- data/example_settings/settings.yml +16 -0
- data/lib/cli.rb +13 -0
- data/lib/configuration.rb +36 -0
- data/lib/converters/content_types_structure_creator.rb +60 -0
- data/lib/converters/contentful_model_to_json.rb +109 -0
- data/lib/importer/data_organizer.rb +117 -0
- data/lib/importer/mime_content_type.rb +564 -0
- data/lib/importer/parallel_importer.rb +429 -0
- data/lib/json_schema_validator.rb +64 -0
- data/lib/migrator.rb +39 -0
- data/lib/version.rb +3 -0
- data/spec/fixtures/import_files/assets/image/image_1.json +9 -0
- data/spec/fixtures/import_files/assets/image/image_2.json +9 -0
- data/spec/fixtures/import_files/assets/image/image_3.json +9 -0
- data/spec/fixtures/import_files/assets/image/image_4.json +9 -0
- data/spec/fixtures/import_files/collections/job_skills.json +13 -0
- data/spec/fixtures/import_files/collections/jobs.json +37 -0
- data/spec/fixtures/import_files/collections/profile.json +19 -0
- data/spec/fixtures/import_files/collections/user.json +36 -0
- data/spec/fixtures/import_files/entries/job_skills/job_skills_1.json +7 -0
- data/spec/fixtures/import_files/entries/job_skills/job_skills_10.json +7 -0
- data/spec/fixtures/import_files/entries/job_skills/job_skills_2.json +7 -0
- data/spec/fixtures/import_files/entries/job_skills/job_skills_3.json +7 -0
- data/spec/fixtures/import_files/entries/job_skills/job_skills_4.json +7 -0
- data/spec/fixtures/import_files/entries/job_skills/job_skills_5.json +7 -0
- data/spec/fixtures/import_files/entries/job_skills/job_skills_6.json +7 -0
- data/spec/fixtures/import_files/entries/job_skills/job_skills_7.json +7 -0
- data/spec/fixtures/import_files/entries/job_skills/job_skills_8.json +7 -0
- data/spec/fixtures/import_files/entries/job_skills/job_skills_9.json +7 -0
- data/spec/fixtures/import_files/entries/jobs/jobs_1.json +56 -0
- data/spec/fixtures/import_files/entries/jobs/jobs_2.json +55 -0
- data/spec/fixtures/import_files/entries/jobs/jobs_4.json +49 -0
- data/spec/fixtures/import_files/entries/profile/profile_1.json +12 -0
- data/spec/fixtures/import_files/entries/profile/profile_2.json +12 -0
- data/spec/fixtures/import_files/entries/user/user_1.json +24 -0
- data/spec/fixtures/import_files/entries/user/user_2.json +20 -0
- data/spec/fixtures/import_files/logs/log_published_assets.csv +4 -0
- data/spec/fixtures/import_files/logs/log_published_entries.csv +23 -0
- data/spec/fixtures/import_files/logs/success_assets.csv +4 -0
- data/spec/fixtures/import_files/logs/success_published_assets.csv +0 -0
- data/spec/fixtures/import_files/logs/success_published_entries.csv +22 -0
- data/spec/fixtures/import_files/logs/success_thread_0.csv +12 -0
- data/spec/fixtures/import_files/logs/success_thread_1.csv +11 -0
- data/spec/fixtures/import_files/threads/0/1TVvxCqoRq0qUYAOQuOqys_2.json +20 -0
- data/spec/fixtures/import_files/threads/0/2soCP557HGKoOOK0SqmMOm_1.json +7 -0
- data/spec/fixtures/import_files/threads/0/2soCP557HGKoOOK0SqmMOm_10.json +7 -0
- data/spec/fixtures/import_files/threads/0/2soCP557HGKoOOK0SqmMOm_2.json +7 -0
- data/spec/fixtures/import_files/threads/0/2soCP557HGKoOOK0SqmMOm_3.json +7 -0
- data/spec/fixtures/import_files/threads/0/2soCP557HGKoOOK0SqmMOm_4.json +7 -0
- data/spec/fixtures/import_files/threads/0/2soCP557HGKoOOK0SqmMOm_5.json +7 -0
- data/spec/fixtures/import_files/threads/0/2soCP557HGKoOOK0SqmMOm_6.json +7 -0
- data/spec/fixtures/import_files/threads/0/2soCP557HGKoOOK0SqmMOm_7.json +7 -0
- data/spec/fixtures/import_files/threads/0/6H6pGAV1PUsuoAW26Iu48W_1.json +9 -0
- data/spec/fixtures/import_files/threads/0/6H6pGAV1PUsuoAW26Iu48W_2.json +9 -0
- data/spec/fixtures/import_files/threads/0/6H6pGAV1PUsuoAW26Iu48W_3.json +9 -0
- data/spec/fixtures/import_files/threads/0/6H6pGAV1PUsuoAW26Iu48W_4.json +9 -0
- data/spec/fixtures/import_files/threads/0/6H6pGAV1PUsuoAW26Iu48W_5.json +9 -0
- data/spec/fixtures/import_files/threads/1/1TVvxCqoRq0qUYAOQuOqys_1.json +24 -0
- data/spec/fixtures/import_files/threads/1/1TVvxCqoRq0qUYAOQuOqys_2.json +20 -0
- data/spec/fixtures/import_files/threads/1/2soCP557HGKoOOK0SqmMOm_6.json +7 -0
- data/spec/fixtures/import_files/threads/1/2soCP557HGKoOOK0SqmMOm_7.json +7 -0
- data/spec/fixtures/import_files/threads/1/2soCP557HGKoOOK0SqmMOm_8.json +7 -0
- data/spec/fixtures/import_files/threads/1/2soCP557HGKoOOK0SqmMOm_9.json +7 -0
- data/spec/fixtures/import_files/threads/1/4L1bg4WQ5aWQMiE82ouag_1.json +56 -0
- data/spec/fixtures/import_files/threads/1/4L1bg4WQ5aWQMiE82ouag_2.json +55 -0
- data/spec/fixtures/import_files/threads/1/4L1bg4WQ5aWQMiE82ouag_4.json +49 -0
- data/spec/fixtures/import_files/threads/1/4WFZh4MwC4Mc0EQWAeOY8A_1.json +12 -0
- data/spec/fixtures/import_files/threads/1/4WFZh4MwC4Mc0EQWAeOY8A_2.json +12 -0
- data/spec/fixtures/import_files/threads/assets/0/image_1.json +9 -0
- data/spec/fixtures/import_files/threads/assets/0/image_2.json +9 -0
- data/spec/fixtures/import_files/threads/assets/0/image_3.json +9 -0
- data/spec/fixtures/import_files/threads/assets/0/image_4.json +9 -0
- data/spec/fixtures/settings/contentful_model.json +252 -0
- data/spec/fixtures/settings/contentful_structure.json +73 -0
- data/spec/fixtures/settings/contentful_structure_test.json +66 -0
- data/spec/fixtures/settings/settings.yml +12 -0
- data/spec/fixtures/vcr_cassettes/create_asset.yml +621 -0
- data/spec/fixtures/vcr_cassettes/create_entry.yml +122 -0
- data/spec/fixtures/vcr_cassettes/create_space.yml +87 -0
- data/spec/fixtures/vcr_cassettes/import_assets.yml +2822 -0
- data/spec/fixtures/vcr_cassettes/import_content_types.yml +1915 -0
- data/spec/fixtures/vcr_cassettes/import_entries.yml +5066 -0
- data/spec/fixtures/vcr_cassettes/import_entry.yml +363 -0
- data/spec/fixtures/vcr_cassettes/invalid_credentials.yml +69 -0
- data/spec/fixtures/vcr_cassettes/publish_an_entry.yml +214 -0
- data/spec/fixtures/vcr_cassettes/publish_asset.yml +895 -0
- data/spec/fixtures/vcr_cassettes/publish_entries.yml +5121 -0
- data/spec/fixtures/vcr_cassettes/valid_credentials.yml +7360 -0
- data/spec/lib/configuration_spec.rb +22 -0
- data/spec/lib/importer/parallel_importer_spec.rb +161 -0
- data/spec/lib/json_schema_validator_spec.rb +63 -0
- data/spec/lib/migrator_spec.rb +99 -0
- data/spec/spec_helper.rb +12 -0
- data/spec/support/db_rows_json.rb +9 -0
- data/spec/support/shared_configuration.rb +22 -0
- data/spec/support/vcr.rb +16 -0
- metadata +436 -0
@@ -0,0 +1,55 @@
|
|
1
|
+
{
|
2
|
+
"id": "jobs_2",
|
3
|
+
"name": "Nice job!",
|
4
|
+
"specification": "Nice job description",
|
5
|
+
"created_at": "2014-12-16T10:53:28+00:00",
|
6
|
+
"updated_at": "2014-12-16T10:53:28+00:00",
|
7
|
+
"image_id": 4,
|
8
|
+
"user_id": 1,
|
9
|
+
"database_id": 2,
|
10
|
+
"first_name": "FirstName",
|
11
|
+
"subjects_comments": [
|
12
|
+
"Comment 1",
|
13
|
+
"Comment 2"
|
14
|
+
],
|
15
|
+
"image": {
|
16
|
+
"type": "File",
|
17
|
+
"id": "image_4"
|
18
|
+
},
|
19
|
+
"creator": {
|
20
|
+
"type": "Entry",
|
21
|
+
"id": "user_1"
|
22
|
+
},
|
23
|
+
"comments": [
|
24
|
+
{
|
25
|
+
"type": "comment",
|
26
|
+
"id": "comment_4"
|
27
|
+
},
|
28
|
+
{
|
29
|
+
"type": "comment",
|
30
|
+
"id": "comment_5"
|
31
|
+
}
|
32
|
+
],
|
33
|
+
"skills": [
|
34
|
+
{
|
35
|
+
"type": "job_skills",
|
36
|
+
"id": "job_skills_2"
|
37
|
+
},
|
38
|
+
{
|
39
|
+
"type": "job_skills",
|
40
|
+
"id": "job_skills_4"
|
41
|
+
},
|
42
|
+
{
|
43
|
+
"type": "job_skills",
|
44
|
+
"id": "job_skills_7"
|
45
|
+
},
|
46
|
+
{
|
47
|
+
"type": "job_skills",
|
48
|
+
"id": "job_skills_8"
|
49
|
+
},
|
50
|
+
{
|
51
|
+
"type": "job_skills",
|
52
|
+
"id": "job_skills_9"
|
53
|
+
}
|
54
|
+
]
|
55
|
+
}
|
@@ -0,0 +1,49 @@
|
|
1
|
+
{
|
2
|
+
"id": "jobs_4",
|
3
|
+
"name": "Awesome job",
|
4
|
+
"specification": "One word - awesome!",
|
5
|
+
"created_at": "2014-12-16T12:00:28+00:00",
|
6
|
+
"updated_at": "2014-12-16T12:00:28+00:00",
|
7
|
+
"image_id": 2,
|
8
|
+
"user_id": 2,
|
9
|
+
"database_id": 4,
|
10
|
+
"first_name": "FirstName User 2",
|
11
|
+
"image": {
|
12
|
+
"type": "File",
|
13
|
+
"id": "image_2"
|
14
|
+
},
|
15
|
+
"creator": {
|
16
|
+
"type": "Entry",
|
17
|
+
"id": "user_2"
|
18
|
+
},
|
19
|
+
"skills": [
|
20
|
+
{
|
21
|
+
"type": "job_skills",
|
22
|
+
"id": "job_skills_2"
|
23
|
+
},
|
24
|
+
{
|
25
|
+
"type": "job_skills",
|
26
|
+
"id": "job_skills_3"
|
27
|
+
},
|
28
|
+
{
|
29
|
+
"type": "job_skills",
|
30
|
+
"id": "job_skills_4"
|
31
|
+
},
|
32
|
+
{
|
33
|
+
"type": "job_skills",
|
34
|
+
"id": "job_skills_7"
|
35
|
+
},
|
36
|
+
{
|
37
|
+
"type": "job_skills",
|
38
|
+
"id": "job_skills_8"
|
39
|
+
},
|
40
|
+
{
|
41
|
+
"type": "job_skills",
|
42
|
+
"id": "job_skills_9"
|
43
|
+
},
|
44
|
+
{
|
45
|
+
"type": "job_skills",
|
46
|
+
"id": "job_skills_10"
|
47
|
+
}
|
48
|
+
]
|
49
|
+
}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
{
|
2
|
+
"id": "image_1",
|
3
|
+
"name": "Image 1",
|
4
|
+
"url": "http://new1.fjcdn.com/thumbnails/comments/4019311+_9f47119b44b5043d82c74008dc40397d.jpg",
|
5
|
+
"description": "Fire",
|
6
|
+
"created_at": "2014-12-16T10:22:19+00:00",
|
7
|
+
"updated_at": "2014-12-16T10:22:19+00:00",
|
8
|
+
"database_id": 1
|
9
|
+
}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
{
|
2
|
+
"id": "image_2",
|
3
|
+
"name": "Image 2 - water",
|
4
|
+
"url": "http://csironewsblog.files.wordpress.com/2013/06/water_cover1.jpg",
|
5
|
+
"description": "water",
|
6
|
+
"created_at": "2014-12-16T10:23:17+00:00",
|
7
|
+
"updated_at": "2014-12-16T10:23:17+00:00",
|
8
|
+
"database_id": 2
|
9
|
+
}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
{
|
2
|
+
"id": "image_3",
|
3
|
+
"name": "Ruby on rails",
|
4
|
+
"url": "http://dhwlijwe9jil7.cloudfront.net/files/2012/07/4/companies-using-ruby-on-rails.jpg",
|
5
|
+
"description": "RoR logo",
|
6
|
+
"created_at": "2014-12-16T10:23:57+00:00",
|
7
|
+
"updated_at": "2014-12-16T10:23:57+00:00",
|
8
|
+
"database_id": 3
|
9
|
+
}
|
@@ -0,0 +1,9 @@
|
|
1
|
+
{
|
2
|
+
"id": "image_4",
|
3
|
+
"name": "Ruby",
|
4
|
+
"url": "http://factormedia.com/wp-content/uploads/2012/04/ruby-on-rails_internship.png",
|
5
|
+
"description": "Ruby on 'rails'",
|
6
|
+
"created_at": "2014-12-16T10:24:32+00:00",
|
7
|
+
"updated_at": "2014-12-16T10:24:32+00:00",
|
8
|
+
"database_id": 4
|
9
|
+
}
|
@@ -0,0 +1,252 @@
|
|
1
|
+
{
|
2
|
+
"sys": {
|
3
|
+
"type": "Array"
|
4
|
+
},
|
5
|
+
"total": 4,
|
6
|
+
"skip": 0,
|
7
|
+
"limit": 100,
|
8
|
+
"items": [
|
9
|
+
{
|
10
|
+
"fields": [
|
11
|
+
{
|
12
|
+
"name": "First name",
|
13
|
+
"id": "first_name",
|
14
|
+
"type": "Text"
|
15
|
+
},
|
16
|
+
{
|
17
|
+
"name": "Last name",
|
18
|
+
"id": "last_name",
|
19
|
+
"type": "Text"
|
20
|
+
},
|
21
|
+
{
|
22
|
+
"name": "Birthday",
|
23
|
+
"id": "birthday",
|
24
|
+
"type": "Date"
|
25
|
+
},
|
26
|
+
{
|
27
|
+
"name": "Job Adds",
|
28
|
+
"id": "job_adds",
|
29
|
+
"type": "Array",
|
30
|
+
"items": {
|
31
|
+
"type": "Link",
|
32
|
+
"linkType": "Entry"
|
33
|
+
}
|
34
|
+
}
|
35
|
+
],
|
36
|
+
"name": "User",
|
37
|
+
"sys": {
|
38
|
+
"id": "1TVvxCqoRq0qUYAOQuOqys",
|
39
|
+
"type": "ContentType",
|
40
|
+
"createdAt": "2014-12-16T12:42:08.526Z",
|
41
|
+
"createdBy": {
|
42
|
+
"sys": {
|
43
|
+
"type": "Link",
|
44
|
+
"linkType": "User",
|
45
|
+
"id": "1E7acJL8I5XUXAMHQt9Grs"
|
46
|
+
}
|
47
|
+
},
|
48
|
+
"space": {
|
49
|
+
"sys": {
|
50
|
+
"type": "Link",
|
51
|
+
"linkType": "Space",
|
52
|
+
"id": "ip17s12q0ek4"
|
53
|
+
}
|
54
|
+
},
|
55
|
+
"firstPublishedAt": "2014-12-16T12:43:37.894Z",
|
56
|
+
"publishedCounter": 1,
|
57
|
+
"publishedAt": "2014-12-16T12:43:37.894Z",
|
58
|
+
"publishedBy": {
|
59
|
+
"sys": {
|
60
|
+
"type": "Link",
|
61
|
+
"linkType": "User",
|
62
|
+
"id": "1E7acJL8I5XUXAMHQt9Grs"
|
63
|
+
}
|
64
|
+
},
|
65
|
+
"publishedVersion": 61,
|
66
|
+
"version": 62,
|
67
|
+
"updatedAt": "2014-12-16T12:43:37.919Z",
|
68
|
+
"updatedBy": {
|
69
|
+
"sys": {
|
70
|
+
"type": "Link",
|
71
|
+
"linkType": "User",
|
72
|
+
"id": "1E7acJL8I5XUXAMHQt9Grs"
|
73
|
+
}
|
74
|
+
}
|
75
|
+
},
|
76
|
+
"displayField": "first_name"
|
77
|
+
},
|
78
|
+
{
|
79
|
+
"fields": [
|
80
|
+
{
|
81
|
+
"name": "title",
|
82
|
+
"id": "title",
|
83
|
+
"type": "Text"
|
84
|
+
},
|
85
|
+
{
|
86
|
+
"name": "description",
|
87
|
+
"id": "description",
|
88
|
+
"type": "Text"
|
89
|
+
},
|
90
|
+
{
|
91
|
+
"name": "image",
|
92
|
+
"id": "image",
|
93
|
+
"type": "Link",
|
94
|
+
"linkType": "Asset"
|
95
|
+
},
|
96
|
+
{
|
97
|
+
"name": "creator",
|
98
|
+
"id": "creator",
|
99
|
+
"type": "Link",
|
100
|
+
"linkType": "Entry"
|
101
|
+
}
|
102
|
+
],
|
103
|
+
"name": "Jobs",
|
104
|
+
"sys": {
|
105
|
+
"id": "4L1bg4WQ5aWQMiE82ouag",
|
106
|
+
"type": "ContentType",
|
107
|
+
"createdAt": "2014-12-16T12:44:42.037Z",
|
108
|
+
"createdBy": {
|
109
|
+
"sys": {
|
110
|
+
"type": "Link",
|
111
|
+
"linkType": "User",
|
112
|
+
"id": "1E7acJL8I5XUXAMHQt9Grs"
|
113
|
+
}
|
114
|
+
},
|
115
|
+
"space": {
|
116
|
+
"sys": {
|
117
|
+
"type": "Link",
|
118
|
+
"linkType": "Space",
|
119
|
+
"id": "ip17s12q0ek4"
|
120
|
+
}
|
121
|
+
},
|
122
|
+
"firstPublishedAt": "2014-12-16T12:45:51.836Z",
|
123
|
+
"publishedCounter": 2,
|
124
|
+
"publishedAt": "2014-12-16T13:17:50.310Z",
|
125
|
+
"publishedBy": {
|
126
|
+
"sys": {
|
127
|
+
"type": "Link",
|
128
|
+
"linkType": "User",
|
129
|
+
"id": "1E7acJL8I5XUXAMHQt9Grs"
|
130
|
+
}
|
131
|
+
},
|
132
|
+
"publishedVersion": 58,
|
133
|
+
"version": 59,
|
134
|
+
"updatedAt": "2014-12-16T13:17:50.330Z",
|
135
|
+
"updatedBy": {
|
136
|
+
"sys": {
|
137
|
+
"type": "Link",
|
138
|
+
"linkType": "User",
|
139
|
+
"id": "1E7acJL8I5XUXAMHQt9Grs"
|
140
|
+
}
|
141
|
+
}
|
142
|
+
},
|
143
|
+
"displayField": "title"
|
144
|
+
},
|
145
|
+
{
|
146
|
+
"fields": [
|
147
|
+
{
|
148
|
+
"name": "Nickname",
|
149
|
+
"id": "nickname",
|
150
|
+
"type": "Link",
|
151
|
+
"linkType": "Entry"
|
152
|
+
},
|
153
|
+
{
|
154
|
+
"name": "User",
|
155
|
+
"id": "user",
|
156
|
+
"type": "Link",
|
157
|
+
"linkType": "Entry"
|
158
|
+
}
|
159
|
+
],
|
160
|
+
"name": "Profile",
|
161
|
+
"sys": {
|
162
|
+
"id": "4WFZh4MwC4Mc0EQWAeOY8A",
|
163
|
+
"type": "ContentType",
|
164
|
+
"createdAt": "2014-12-16T12:47:07.624Z",
|
165
|
+
"createdBy": {
|
166
|
+
"sys": {
|
167
|
+
"type": "Link",
|
168
|
+
"linkType": "User",
|
169
|
+
"id": "1E7acJL8I5XUXAMHQt9Grs"
|
170
|
+
}
|
171
|
+
},
|
172
|
+
"space": {
|
173
|
+
"sys": {
|
174
|
+
"type": "Link",
|
175
|
+
"linkType": "Space",
|
176
|
+
"id": "ip17s12q0ek4"
|
177
|
+
}
|
178
|
+
},
|
179
|
+
"firstPublishedAt": "2014-12-16T12:47:33.866Z",
|
180
|
+
"publishedCounter": 1,
|
181
|
+
"publishedAt": "2014-12-16T12:47:33.866Z",
|
182
|
+
"publishedBy": {
|
183
|
+
"sys": {
|
184
|
+
"type": "Link",
|
185
|
+
"linkType": "User",
|
186
|
+
"id": "1E7acJL8I5XUXAMHQt9Grs"
|
187
|
+
}
|
188
|
+
},
|
189
|
+
"publishedVersion": 29,
|
190
|
+
"version": 30,
|
191
|
+
"updatedAt": "2014-12-16T12:47:33.878Z",
|
192
|
+
"updatedBy": {
|
193
|
+
"sys": {
|
194
|
+
"type": "Link",
|
195
|
+
"linkType": "User",
|
196
|
+
"id": "1E7acJL8I5XUXAMHQt9Grs"
|
197
|
+
}
|
198
|
+
}
|
199
|
+
}
|
200
|
+
},
|
201
|
+
{
|
202
|
+
"fields": [
|
203
|
+
{
|
204
|
+
"name": "name",
|
205
|
+
"id": "name",
|
206
|
+
"type": "Text"
|
207
|
+
}
|
208
|
+
],
|
209
|
+
"name": "Job Skills",
|
210
|
+
"sys": {
|
211
|
+
"id": "2soCP557HGKoOOK0SqmMOm",
|
212
|
+
"type": "ContentType",
|
213
|
+
"createdAt": "2014-12-16T12:46:03.311Z",
|
214
|
+
"createdBy": {
|
215
|
+
"sys": {
|
216
|
+
"type": "Link",
|
217
|
+
"linkType": "User",
|
218
|
+
"id": "1E7acJL8I5XUXAMHQt9Grs"
|
219
|
+
}
|
220
|
+
},
|
221
|
+
"space": {
|
222
|
+
"sys": {
|
223
|
+
"type": "Link",
|
224
|
+
"linkType": "Space",
|
225
|
+
"id": "ip17s12q0ek4"
|
226
|
+
}
|
227
|
+
},
|
228
|
+
"firstPublishedAt": "2014-12-16T12:47:00.429Z",
|
229
|
+
"publishedCounter": 1,
|
230
|
+
"publishedAt": "2014-12-16T12:47:00.429Z",
|
231
|
+
"publishedBy": {
|
232
|
+
"sys": {
|
233
|
+
"type": "Link",
|
234
|
+
"linkType": "User",
|
235
|
+
"id": "1E7acJL8I5XUXAMHQt9Grs"
|
236
|
+
}
|
237
|
+
},
|
238
|
+
"publishedVersion": 18,
|
239
|
+
"version": 19,
|
240
|
+
"updatedAt": "2014-12-16T12:47:00.444Z",
|
241
|
+
"updatedBy": {
|
242
|
+
"sys": {
|
243
|
+
"type": "Link",
|
244
|
+
"linkType": "User",
|
245
|
+
"id": "1E7acJL8I5XUXAMHQt9Grs"
|
246
|
+
}
|
247
|
+
}
|
248
|
+
},
|
249
|
+
"displayField": "name"
|
250
|
+
}
|
251
|
+
]
|
252
|
+
}
|
@@ -0,0 +1,73 @@
|
|
1
|
+
{
|
2
|
+
"User": {
|
3
|
+
"id": "1TVvxCqoRq0qUYAOQuOqys",
|
4
|
+
"name": "User",
|
5
|
+
"description": null,
|
6
|
+
"displayField": "first_name",
|
7
|
+
"fields": {
|
8
|
+
"first_name": "Text",
|
9
|
+
"last_name": "Text",
|
10
|
+
"birthday": "Date",
|
11
|
+
"Jobs": {
|
12
|
+
"id": "job_adds",
|
13
|
+
"type": "Array",
|
14
|
+
"link_type": "Entry",
|
15
|
+
"link": "Link"
|
16
|
+
},
|
17
|
+
"Profile": {
|
18
|
+
"id": "profile",
|
19
|
+
"type": "Entry",
|
20
|
+
"link": "Link"
|
21
|
+
}
|
22
|
+
}
|
23
|
+
},
|
24
|
+
"Jobs": {
|
25
|
+
"id": "4L1bg4WQ5aWQMiE82ouag",
|
26
|
+
"name": "Jobs",
|
27
|
+
"description": null,
|
28
|
+
"displayField": "title",
|
29
|
+
"fields": {
|
30
|
+
"title": "Text",
|
31
|
+
"description": "Text",
|
32
|
+
"Image": {
|
33
|
+
"id": "image",
|
34
|
+
"type": "Asset",
|
35
|
+
"link": "Link"
|
36
|
+
},
|
37
|
+
"User": {
|
38
|
+
"id": "creator",
|
39
|
+
"type": "Entry",
|
40
|
+
"link": "Link"
|
41
|
+
},
|
42
|
+
"Job Skills": {
|
43
|
+
"id": "skills",
|
44
|
+
"type": "Array",
|
45
|
+
"link_type": "Entry",
|
46
|
+
"link": "Link"
|
47
|
+
}
|
48
|
+
}
|
49
|
+
},
|
50
|
+
"Profile": {
|
51
|
+
"id": "4WFZh4MwC4Mc0EQWAeOY8A",
|
52
|
+
"name": "Profile",
|
53
|
+
"description": null,
|
54
|
+
"displayField": null,
|
55
|
+
"fields": {
|
56
|
+
"nickname": "Text",
|
57
|
+
"User": {
|
58
|
+
"id": "user",
|
59
|
+
"type": "Entry",
|
60
|
+
"link": "Link"
|
61
|
+
}
|
62
|
+
}
|
63
|
+
},
|
64
|
+
"Job Skills": {
|
65
|
+
"id": "2soCP557HGKoOOK0SqmMOm",
|
66
|
+
"name": "Job Skills",
|
67
|
+
"description": null,
|
68
|
+
"displayField": "name",
|
69
|
+
"fields": {
|
70
|
+
"name": "Text"
|
71
|
+
}
|
72
|
+
}
|
73
|
+
}
|