addedOutput schema / oneOf
Added value: +[
+ {
+ "properties": {
+ "detections": {
+ "description": "Array of detected languages with confidence scores",
+ "items": {
+ "properties": {
+ "confidence": {
+ "description": "Confidence score for the detection",
+ "type": "number"
+ },
+ "language": {
+ "description": "Detected language code",
+ "type": "string"
+ }
+ },
+ "required": [
+ "language",
+ "confidence"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "found": {
+ "description": "Present and true on an answer; a miss is the found:false branch.",
+ "enum": [
+ true
+ ],
+ "type": "boolean"
+ },
+ "text": {
+ "description": "The input text that was analyzed",
+ "type": "string"
+ }
+ },
+ "required": [
+ "text",
+ "detections"
+ ],
+ "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: -{
- "detections": {
- "description": "Array of detected languages with confidence scores",
- "items": {
- "properties": {
- "confidence": {
- "description": "Confidence score for the detection",
- "type": "number"
- },
- "language": {
- "description": "Detected language code",
- "type": "string"
- }
- },
- "required": [
- "language",
- "confidence"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "text": {
- "description": "The input text that was analyzed",
- "type": "string"
- }
-}