addedOutput schema / oneOf
Added value: +[
+ {
+ "properties": {
+ "area_km2": {
+ "description": "Land area in square kilometers",
+ "type": "number"
+ },
+ "borders": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "capital": {
+ "description": "Capital city or 'N/A'",
+ "type": "string"
+ },
+ "codes": {
+ "description": "ISO country codes",
+ "properties": {
+ "alpha2": {
+ "description": "ISO 3166-1 alpha-2 code",
+ "type": "string"
+ },
+ "alpha3": {
+ "description": "ISO 3166-1 alpha-3 code",
+ "type": "string"
+ }
+ },
+ "required": [
+ "alpha2",
+ "alpha3"
+ ],
+ "type": "object"
+ },
+ "currencies": {
+ "description": "List of currencies with symbols",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "flag_image": {
+ "type": "string"
+ },
+ "found": {
+ "description": "Present and true on an answer; a miss is the found:false branch.",
+ "enum": [
+ true
+ ],
+ "type": "boolean"
+ },
+ "languages": {
+ "description": "List of official languages",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "latlng": {
+ "items": {
+ "type": "number"
+ },
+ "type": "array"
+ },
+ "name": {
+ "description": "Common country name",
+ "type": "string"
+ },
+ "official_name": {
+ "description": "Official country name",
+ "type": "string"
+ },
+ "population": {
+ "description": "Total population",
+ "type": "number"
+ },
+ "population_year": {
+ "type": "string"
+ },
+ "region": {
+ "description": "Geographic region",
+ "type": "string"
+ },
+ "subregion": {
+ "description": "Geographic subregion",
+ "type": "string"
+ },
+ "timezones": {
+ "description": "List of timezones used in country",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "tld": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "name",
+ "official_name",
+ "codes",
+ "capital",
+ "population",
+ "area_km2",
+ "region",
+ "subregion",
+ "languages",
+ "currencies"
+ ],
+ "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: -{
- "area_km2": {
- "description": "Land area in square kilometers",
- "type": "number"
- },
- "borders": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "capital": {
- "description": "Capital city or 'N/A'",
- "type": "string"
- },
- "codes": {
- "description": "ISO country codes",
- "properties": {
- "alpha2": {
- "description": "ISO 3166-1 alpha-2 code",
- "type": "string"
- },
- "alpha3": {
- "description": "ISO 3166-1 alpha-3 code",
- "type": "string"
- }
- },
- "required": [
- "alpha2",
- "alpha3"
- ],
- "type": "object"
- },
- "currencies": {
- "description": "List of currencies with symbols",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "flag_image": {
- "type": "string"
- },
- "languages": {
- "description": "List of official languages",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "latlng": {
- "items": {
- "type": "number"
- },
- "type": "array"
- },
- "name": {
- "description": "Common country name",
- "type": "string"
- },
- "official_name": {
- "description": "Official country name",
- "type": "string"
- },
- "population": {
- "description": "Total population",
- "type": "number"
- },
- "population_year": {
- "type": "string"
- },
- "region": {
- "description": "Geographic region",
- "type": "string"
- },
- "subregion": {
- "description": "Geographic subregion",
- "type": "string"
- },
- "timezones": {
- "description": "List of timezones used in country",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "tld": {
- "items": {
- "type": "string"
- },
- "type": "array"
- }
-}