Browse Source

Fix entity batches

Leszek Wiesner 4 years ago
parent
commit
c685e50963

+ 1 - 1
content-directory-schemas/inputs/entityBatches/ChannelBatch.json

@@ -4,7 +4,7 @@
     {
       "title": "Joystream Cartoons",
       "description": "Joystream Cartoons channel",
-      "language": { "existing": { "Code": "EN" } },
+      "language": { "existing": { "code": "EN" } },
       "coverPhotoUrl": "https://user-images.githubusercontent.com/4144334/91547902-7e90db00-e91c-11ea-9f5c-45d4921928d5.png",
       "avatarPhotoURL": "https://user-images.githubusercontent.com/4144334/91546674-ba2aa580-e91a-11ea-96e2-abc7654c0461.png",
       "isPublic": true,

+ 2 - 2
content-directory-schemas/inputs/entityBatches/ContentCategoryBatch.json

@@ -1,7 +1,7 @@
 {
   "className": "ContentCategory",
   "entries": [
-    { "Name": "Cartoon", "Description": "Content which is a cartoon or related to cartoons" },
-    { "Name": "Sports", "Description": "Content related to sports" }
+    { "name": "Cartoon", "description": "Content which is a cartoon or related to cartoons" },
+    { "name": "Sports", "description": "Content related to sports" }
   ]
 }

+ 3 - 3
content-directory-schemas/inputs/entityBatches/LanguageBatch.json

@@ -1,8 +1,8 @@
 {
   "className": "Language",
   "entries": [
-    { "Code": "EN", "Name": "English" },
-    { "Code": "RU", "Name": "Russian" },
-    { "Code": "DE", "Name": "German" }
+    { "code": "EN", "name": "English" },
+    { "code": "RU", "name": "Russian" },
+    { "code": "DE", "name": "German" }
   ]
 }

+ 6 - 8
content-directory-schemas/inputs/entityBatches/VideoBatch.json

@@ -4,16 +4,15 @@
     {
       "title": "Caminades 2",
       "description": "Caminandes 2: Gran Dillama",
-      "language": { "existing": { "Code": "EN" } },
-      "category": { "existing": { "Name": "Cartoon" } },
+      "language": { "existing": { "code": "EN" } },
+      "category": { "existing": { "name": "Cartoon" } },
       "channel": { "existing": { "title": "Joystream Cartoons" } },
       "duration": 146,
       "hasMarketing": false,
-      "isCurated": false,
       "isPublic": true,
       "media": {
         "new": {
-          "encoding": { "existing": { "Name": "MPEG4" } },
+          "encoding": { "existing": { "name": "MPEG4" } },
           "location": {
             "new": {
               "httpMediaLocation": {
@@ -34,16 +33,15 @@
     {
       "title": "Caminades 3",
       "description": "Caminandes 3: Llamigos",
-      "language": { "existing": { "Code": "EN" } },
-      "category": { "existing": { "Name": "Cartoon" } },
+      "language": { "existing": { "code": "EN" } },
+      "category": { "existing": { "name": "Cartoon" } },
       "channel": { "existing": { "title": "Joystream Cartoons" } },
       "duration": 150,
       "hasMarketing": false,
-      "isCurated": false,
       "isPublic": true,
       "media": {
         "new": {
-          "encoding": { "existing": { "Name": "MPEG4" } },
+          "encoding": { "existing": { "name": "MPEG4" } },
           "location": {
             "new": {
               "httpMediaLocation": {

+ 1 - 1
content-directory-schemas/inputs/entityBatches/VideoMediaEncodingBatch.json

@@ -1,4 +1,4 @@
 {
   "className": "VideoMediaEncoding",
-  "entries": [{ "Name": "MPEG4" }]
+  "entries": [{ "name": "MPEG4" }]
 }