addedOutput schema / oneOf
Added value: +[
+ {
+ "properties": {
+ "detected_confidence": {
+ "description": "Confidence score for detected language or null",
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "detected_source": {
+ "description": "Auto-detected source language code or null",
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "format": {
+ "description": "Format type (text or html)",
+ "type": "string"
+ },
+ "found": {
+ "description": "Present and true on an answer; a miss is the found:false branch.",
+ "enum": [
+ true
+ ],
+ "type": "boolean"
+ },
+ "source": {
+ "description": "Source language code or 'auto'",
+ "type": "string"
+ },
+ "target": {
+ "description": "Target language code",
+ "type": "string"
+ },
+ "text": {
+ "description": "Original text that was translated",
+ "type": "string"
+ },
+ "translated_text": {
+ "description": "Translated text or null if unavailable",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "text",
+ "source",
+ "target",
+ "format",
+ "translated_text",
+ "detected_source",
+ "detected_confidence"
+ ],
+ "type": "object"
+ },
+ {
+ "description": "A miss or an unavailable upstream: found:false with a reason and a hint (the shape check-found-false-schemas.mjs expects).",
+ "properties": {
+ "found": {
+ "enum": [
+ false
+ ],
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "found"
+ ],
+ "type": "object"
+ }
+]
removedOutput schema / properties
Removed value: -{
- "detected_confidence": {
- "description": "Confidence score for detected language or null",
- "type": [
- "number",
- "null"
- ]
- },
- "detected_source": {
- "description": "Auto-detected source language code or null",
- "type": [
- "string",
- "null"
- ]
- },
- "format": {
- "description": "Format type (text or html)",
- "type": "string"
- },
- "source": {
- "description": "Source language code or 'auto'",
- "type": "string"
- },
- "target": {
- "description": "Target language code",
- "type": "string"
- },
- "text": {
- "description": "Original text that was translated",
- "type": "string"
- },
- "translated_text": {
- "description": "Translated text or null if unavailable",
- "type": [
- "string",
- "null"
- ]
- }
-}