changedOutput schema / properties / answers / items / oneOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "answer": {
- "description": "Probability that the answer is yes, from 0 to 1.",
- "type": "number"
- },
- "kind": {
- "const": "noul",
- "type": "string"
- },
- "probabilities": {
- "additionalProperties": false,
- "properties": {
- "no": {
- "type": "number"
- },
- "yes": {
- "type": "number"
- }
- },
- "required": [
- "yes",
- "no"
- ],
- "type": "object"
- },
- "routing": {
- "additionalProperties": false,
- "properties": {
- "confidence": {
- "description": "Jev's confidence in that routing.",
- "type": "number"
- },
- "kind": {
- "description": "The question type Jev routed this question to.",
- "enum": [
- "noul",
- "score",
- "choice"
- ],
- "type": "string"
- },
- "rubric": {
- "additionalProperties": false,
- "description": "Present when a built-in rubric was picked for a scale question without options.",
- "properties": {
- "confidence": {
- "type": "number"
- },
- "name": {
- "type": "string"
- }
- },
- "required": [
- "name",
- "confidence"
- ],
- "type": "object"
- }
- },
- "required": [
- "kind",
- "confidence"
- ],
- "type": "object"
- }
- },
- "required": [
- "kind",
- "answer",
- "probabilities",
- "routing"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "answer": {
- "description": "Expected level on the rubric. May fall between integer levels.",
- "type": "number"
- },
- "confidence": {
- "type": "number"
- },
- "kind": {
- "const": "score",
- "type": "string"
- },
- "legend": {
- "additionalProperties": {
- "type": "string"
- },
- "description": "Level index to level description.",
- "propertyNames": {
- "type": "string"
- },
- "type": "object"
- },
- "note": {
- "description": "Advice when a built-in rubric was used instead of caller options.",
- "type": "string"
- },
- "probabilities": {
- "additionalProperties": {
- "type": "number"
- },
- "description": "Probability per level index.",
- "propertyNames": {
- "type": "string"
- },
- "type": "object"
- },
- "routing": {
- "additionalProperties": false,
- "properties": {
- "confidence": {
- "description": "Jev's confidence in that routing.",
- "type": "number"
- },
- "kind": {
- "description": "The question type Jev routed this question to.",
- "enum": [
- "noul",
- "score",
- "choice"
- ],
- "type": "string"
- },
- "rubric": {
- "additionalProperties": false,
- "description": "Present when a built-in rubric was picked for a scale question without options.",
- "properties": {
- "confidence": {
- "type": "number"
- },
- "name": {
- "type": "string"
- }
- },
- "required": [
- "name",
- "confidence"
- ],
- "type": "object"
- }
- },
- "required": [
- "kind",
- "confidence"
- ],
- "type": "object"
- },
- "rubric": {
- "description": "Name of the built-in rubric, when one was used.",
- "type": "string"
- }
- },
- "required": [
- "kind",
- "answer",
- "legend",
- "probabilities",
- "confidence",
- "routing"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "answer": {
- "description": "The selected option.",
- "type": "string"
- },
- "confidence": {
- "type": "number"
- },
- "kind": {
- "const": "choice",
- "type": "string"
- },
- "probabilities": {
- "additionalProperties": {
- "type": "number"
- },
- "description": "Probability per option.",
- "propertyNames": {
- "type": "string"
- },
- "type": "object"
- },
- "routing": {
- "additionalProperties": false,
- "properties": {
- "confidence": {
- "description": "Jev's confidence in that routing.",
- "type": "number"
- },
- "kind": {
- "description": "The question type Jev routed this question to.",
- "enum": [
- "noul",
- "score",
- "choice"
- ],
- "type": "string"
- },
- "rubric": {
- "additionalProperties": false,
- "description": "Present when a built-in rubric was picked for a scale question without options.",
- "properties": {
- "confidence": {
- "type": "number"
- },
- "name": {
- "type": "string"
- }
- },
- "required": [
- "name",
- "confidence"
- ],
- "type": "object"
- }
- },
- "required": [
- "kind",
- "confidence"
- ],
- "type": "object"
- }
- },
- "required": [
- "kind",
- "answer",
- "probabilities",
- "confidence",
- "routing"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "kind": {
- "const": "error",
- "type": "string"
- },
- "message": {
- "description": "Why this question could not be answered, and what to change.",
- "type": "string"
- },
- "routing": {
- "additionalProperties": false,
- "description": "Present when the question was routed before the error was detected.",
- "properties": {
- "confidence": {
- "description": "Jev's confidence in that routing.",
- "type": "number"
- },
- "kind": {
- "description": "The question type Jev routed this question to.",
- "enum": [
- "noul",
- "score",
- "choice"
- ],
- "type": "string"
- },
- "rubric": {
- "additionalProperties": false,
- "description": "Present when a built-in rubric was picked for a scale question without options.",
- "properties": {
- "confidence": {
- "type": "number"
- },
- "name": {
- "type": "string"
- }
- },
- "required": [
- "name",
- "confidence"
- ],
- "type": "object"
- }
- },
- "required": [
- "kind",
- "confidence"
- ],
- "type": "object"
- }
- },
- "required": [
- "kind",
- "message"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "answer": {
+ "description": "Probability that the answer is yes, from 0 to 1.",
+ "type": "number"
+ },
+ "kind": {
+ "const": "noul",
+ "type": "string"
+ },
+ "probabilities": {
+ "additionalProperties": false,
+ "properties": {
+ "no": {
+ "type": "number"
+ },
+ "yes": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "yes",
+ "no"
+ ],
+ "type": "object"
+ },
+ "routing": {
+ "additionalProperties": false,
+ "properties": {
+ "confidence": {
+ "description": "Jev's confidence in that routing.",
+ "type": "number"
+ },
+ "kind": {
+ "description": "The question type Jev routed this question to.",
+ "enum": [
+ "noul",
+ "score",
+ "choice"
+ ],
+ "type": "string"
+ },
+ "rubric": {
+ "additionalProperties": false,
+ "description": "Present when a built-in rubric was picked for a scale question without options.",
+ "properties": {
+ "confidence": {
+ "type": "number"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "confidence"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "kind",
+ "confidence"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "kind",
+ "answer",
+ "probabilities"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "answer": {
+ "description": "Expected level on the rubric. May fall between integer levels.",
+ "type": "number"
+ },
+ "confidence": {
+ "type": "number"
+ },
+ "kind": {
+ "const": "score",
+ "type": "string"
+ },
+ "legend": {
+ "additionalProperties": {
+ "type": "string"
+ },
+ "description": "Level index to level description.",
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "note": {
+ "description": "Advice when a built-in rubric was used instead of caller options.",
+ "type": "string"
+ },
+ "probabilities": {
+ "additionalProperties": {
+ "type": "number"
+ },
+ "description": "Probability per level index.",
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "routing": {
+ "additionalProperties": false,
+ "properties": {
+ "confidence": {
+ "description": "Jev's confidence in that routing.",
+ "type": "number"
+ },
+ "kind": {
+ "description": "The question type Jev routed this question to.",
+ "enum": [
+ "noul",
+ "score",
+ "choice"
+ ],
+ "type": "string"
+ },
+ "rubric": {
+ "additionalProperties": false,
+ "description": "Present when a built-in rubric was picked for a scale question without options.",
+ "properties": {
+ "confidence": {
+ "type": "number"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "confidence"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "kind",
+ "confidence"
+ ],
+ "type": "object"
+ },
+ "rubric": {
+ "description": "Name of the built-in rubric, when one was used.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "answer",
+ "legend",
+ "probabilities",
+ "confidence"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "answer": {
+ "description": "The selected option.",
+ "type": "string"
+ },
+ "confidence": {
+ "type": "number"
+ },
+ "kind": {
+ "const": "choice",
+ "type": "string"
+ },
+ "probabilities": {
+ "additionalProperties": {
+ "type": "number"
+ },
+ "description": "Probability per option.",
+ "propertyNames": {
+ "type": "string"
+ },
+ "type": "object"
+ },
+ "routing": {
+ "additionalProperties": false,
+ "properties": {
+ "confidence": {
+ "description": "Jev's confidence in that routing.",
+ "type": "number"
+ },
+ "kind": {
+ "description": "The question type Jev routed this question to.",
+ "enum": [
+ "noul",
+ "score",
+ "choice"
+ ],
+ "type": "string"
+ },
+ "rubric": {
+ "additionalProperties": false,
+ "description": "Present when a built-in rubric was picked for a scale question without options.",
+ "properties": {
+ "confidence": {
+ "type": "number"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "confidence"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "kind",
+ "confidence"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "kind",
+ "answer",
+ "probabilities",
+ "confidence"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "kind": {
+ "const": "error",
+ "type": "string"
+ },
+ "message": {
+ "description": "Why this question could not be answered, and what to change.",
+ "type": "string"
+ },
+ "routing": {
+ "additionalProperties": false,
+ "description": "Present when routing is configured and the question was routed before the error was detected.",
+ "properties": {
+ "confidence": {
+ "description": "Jev's confidence in that routing.",
+ "type": "number"
+ },
+ "kind": {
+ "description": "The question type Jev routed this question to.",
+ "enum": [
+ "noul",
+ "score",
+ "choice"
+ ],
+ "type": "string"
+ },
+ "rubric": {
+ "additionalProperties": false,
+ "description": "Present when a built-in rubric was picked for a scale question without options.",
+ "properties": {
+ "confidence": {
+ "type": "number"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "confidence"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "kind",
+ "confidence"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "kind",
+ "message"
+ ],
+ "type": "object"
+ }
+]