 					in: 'formData'
 				}
 				{
+					name: 'identifier'
+					type: 'string'
+					in: 'formData'
+				}
+				{
+					name: 'subjects'
+					type: 'array'
+					items: { type: 'string' }
+					in: 'formData'
+				}
+				{
+					name: 'authors'
+					type: 'array'
+					items: { type: 'string' }
+					in: 'formData'
+				}
+				{
+					name: 'language'
+					type: 'string'
+					in: 'formData'
+					enum: [
+						'en'
+						'de'
+					]
+				}
+				{
+					name: 'name'
+					type: 'string'
+					in: 'formData'
+				}
+				{
 					name: 'tags'
-					type: 'string'
+					type: 'array'
+					items: { type: 'string' }
 					in: 'formData'
 				}
 				{

			tags: ['essential']
			summary: "Upload a file"
			description: "Upload a file and store it as an InfolisFile resource."
			consumes: ['multipart/formx-data']
			parameters: [
				{
					name: 'file'

					done()
				, (err) ->
					tags = []
					if fields['tags']
						tags = Qs.parse(fields['tags'][0]).tags
					entityModel.set 'tags', tags
					if fields['authors']
						entityModel.set 'authors', Qs.parse(fields['authors'][0]).authors
					if fields['subjects']
						entityModel.set 'subjects', Qs.parse(fields['subjects'][0]).subjects
					entityModel.set 'name', fields['name']
					entityModel.set 'identifier', fields['identifier']
					fileModel.set 'size', fileField['size']
					fileModel.set 'tags', tags
					fileModel.set 'mediaType', fields['mediaType']
