diff --git a/src/components/collections-component/weapon-story.json b/src/components/collections-component/weapon-story.json index fb94ece..1ccd2ed 100644 --- a/src/components/collections-component/weapon-story.json +++ b/src/components/collections-component/weapon-story.json @@ -11,7 +11,8 @@ "displayName": "Weapon Story Story", "type": "component", "repeatable": true, - "component": "translations.weapon-story-story" + "component": "translations.weapon-story-story", + "required": false }, "category": { "type": "relation", diff --git a/src/components/translations/audio-sets.json b/src/components/translations/audio-sets.json index 2f00998..d8a0ce0 100644 --- a/src/components/translations/audio-sets.json +++ b/src/components/translations/audio-sets.json @@ -2,7 +2,8 @@ "collectionName": "components_translations_audio_sets", "info": { "displayName": "Audio Sets", - "icon": "file-audio" + "icon": "file-audio", + "description": "" }, "options": {}, "attributes": { @@ -10,6 +11,31 @@ "type": "relation", "relation": "oneToOne", "target": "api::language.language" + }, + "audiofile": { + "type": "media", + "multiple": false, + "required": true, + "allowedTypes": [ + "files" + ] + }, + "source": { + "type": "component", + "repeatable": false, + "component": "basics.source", + "required": true + }, + "status": { + "type": "enumeration", + "enum": [ + "Incomplete", + "Draft", + "Review", + "Done" + ], + "default": "Incomplete", + "required": true } } } diff --git a/src/components/translations/chronology-item.json b/src/components/translations/chronology-item.json index d763446..0e8f96d 100644 --- a/src/components/translations/chronology-item.json +++ b/src/components/translations/chronology-item.json @@ -20,6 +20,17 @@ }, "note": { "type": "text" + }, + "status": { + "type": "enumeration", + "enum": [ + "Incomplete", + "Draft", + "Review", + "Done" + ], + "default": "Incomplete", + "required": true } } } diff --git a/src/components/translations/glossary-definition.json b/src/components/translations/glossary-definition.json index 4eaaf49..684bebc 100644 --- a/src/components/translations/glossary-definition.json +++ b/src/components/translations/glossary-definition.json @@ -14,6 +14,17 @@ "type": "relation", "relation": "oneToOne", "target": "api::language.language" + }, + "status": { + "type": "enumeration", + "enum": [ + "Incomplete", + "Draft", + "Review", + "Done" + ], + "default": "Incomplete", + "required": true } } } diff --git a/src/components/translations/scan-set.json b/src/components/translations/scan-set.json index 9bd578d..75b660f 100644 --- a/src/components/translations/scan-set.json +++ b/src/components/translations/scan-set.json @@ -15,7 +15,7 @@ "pages": { "type": "media", "multiple": true, - "required": false, + "required": true, "allowedTypes": [ "images" ] @@ -26,6 +26,17 @@ "repeatable": false, "component": "basics.source", "required": true + }, + "status": { + "type": "enumeration", + "enum": [ + "Incomplete", + "Draft", + "Review", + "Done" + ], + "default": "Incomplete", + "required": true } } } diff --git a/src/components/translations/text-set.json b/src/components/translations/text-set.json index 112a14f..b26dea5 100644 --- a/src/components/translations/text-set.json +++ b/src/components/translations/text-set.json @@ -20,6 +20,17 @@ "type": "relation", "relation": "oneToOne", "target": "api::language.language" + }, + "status": { + "type": "enumeration", + "enum": [ + "Incomplete", + "Draft", + "Review", + "Done" + ], + "default": "Incomplete", + "required": true } } } diff --git a/src/components/translations/video-sets.json b/src/components/translations/video-sets.json index 8f74fb5..d64b77c 100644 --- a/src/components/translations/video-sets.json +++ b/src/components/translations/video-sets.json @@ -13,7 +13,8 @@ "target": "api::language.language" }, "video_url": { - "type": "string" + "type": "string", + "required": true }, "video_embed": { "type": "string" @@ -25,11 +26,23 @@ "required": true }, "subfile": { + "type": "media", + "multiple": false, + "required": false, "allowedTypes": [ "files" + ] + }, + "status": { + "type": "enumeration", + "enum": [ + "Incomplete", + "Draft", + "Review", + "Done" ], - "type": "media", - "multiple": false + "required": true, + "default": "Incomplete" } } } diff --git a/src/components/translations/weapon-story-story.json b/src/components/translations/weapon-story-story.json index 1338b40..342aff3 100644 --- a/src/components/translations/weapon-story-story.json +++ b/src/components/translations/weapon-story-story.json @@ -26,6 +26,17 @@ "type": "relation", "relation": "oneToOne", "target": "api::language.language" + }, + "status": { + "type": "enumeration", + "enum": [ + "Incomplete", + "Draft", + "Review", + "Done" + ], + "default": "Incomplete", + "required": true } } }