changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "properties": {
+ "results": {
+ "description": "Array of nationality predictions for each input name",
+ "items": {
+ "properties": {
+ "name": {
+ "description": "The input first name",
+ "type": "string"
+ },
+ "nationalities": {
+ "description": "List of predicted nationalities ranked by probability",
+ "items": {
+ "properties": {
+ "country_code": {
+ "description": "ISO country code",
+ "type": "string"
+ },
+ "probability": {
+ "description": "Probability score between 0.0 and 1.0",
+ "type": "number"
+ }
+ },
+ "required": [
+ "country_code",
+ "probability"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "sample_size": {
+ "description": "Sample size from nationalize.io dataset",
+ "type": "number"
+ }
+ },
+ "required": [
+ "name",
+ "sample_size",
+ "nationalities"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "results"
+ ],
+ "type": "object"
+}