github.com/phrase/openapi@v0.0.0-20240514140800-49e8a106740e/schemas/quality_performance_score.yaml (about) 1 --- 2 quality_performance_score: 3 anyOf: 4 - type: object 5 title: error 6 description: Error field for when the request completely fails 7 properties: 8 error: 9 type: object 10 properties: 11 message: 12 type: string 13 code: 14 type: string 15 - type: object 16 properties: 17 data: 18 type: object 19 properties: 20 translations: 21 type: array 22 items: 23 type: object 24 properties: 25 engine: 26 type: string 27 description: Engine used for the translation scoring 28 score: 29 type: number 30 description: Quality score for the translation 31 id: 32 type: string 33 description: One of the translation ids passed in arguments 34 errors: 35 type: array 36 description: Array of errors for any failing translation IDs 37 items: 38 type: object 39 properties: 40 message: 41 type: string 42 code: 43 type: string 44 id: 45 type: string 46 description: One of the translation ids passed in arguments 47 example: 48 data: 49 translations: 50 - engine: "qe_v4" 51 score: 0.78 52 id: "translation_id_1" 53 - engine: "qe_v4" 54 score: 0.95 55 id: "translation_id_2" 56 errors: []