addedOutput schema / oneOf
Added value: +[
+ {
+ "properties": {
+ "country": {
+ "description": "Full country name",
+ "type": "string"
+ },
+ "country_abbreviation": {
+ "description": "ISO 3166-1 alpha-2 country code",
+ "type": "string"
+ },
+ "found": {
+ "description": "Present and true on an answer; a miss is the found:false branch.",
+ "enum": [
+ true
+ ],
+ "type": "boolean"
+ },
+ "places": {
+ "description": "List of postal codes in the city",
+ "items": {
+ "properties": {
+ "lat": {
+ "description": "Latitude coordinate",
+ "type": "number"
+ },
+ "lon": {
+ "description": "Longitude coordinate",
+ "type": "number"
+ },
+ "name": {
+ "description": "Place name (city)",
+ "type": "string"
+ },
+ "post_code": {
+ "description": "ZIP or postal code",
+ "type": "string"
+ },
+ "state": {
+ "description": "State or province name",
+ "type": "string"
+ },
+ "state_abbreviation": {
+ "description": "State or province abbreviation",
+ "type": "string"
+ }
+ },
+ "required": [
+ "post_code",
+ "name",
+ "lat",
+ "lon"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "state": {
+ "description": "State or province name",
+ "type": "string"
+ },
+ "state_abbreviation": {
+ "description": "State or province abbreviation",
+ "type": "string"
+ }
+ },
+ "required": [
+ "country",
+ "country_abbreviation",
+ "state",
+ "state_abbreviation",
+ "places"
+ ],
+ "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: -{
- "country": {
- "description": "Full country name",
- "type": "string"
- },
- "country_abbreviation": {
- "description": "ISO 3166-1 alpha-2 country code",
- "type": "string"
- },
- "places": {
- "description": "List of postal codes in the city",
- "items": {
- "properties": {
- "lat": {
- "description": "Latitude coordinate",
- "type": "number"
- },
- "lon": {
- "description": "Longitude coordinate",
- "type": "number"
- },
- "name": {
- "description": "Place name (city)",
- "type": "string"
- },
- "post_code": {
- "description": "ZIP or postal code",
- "type": "string"
- },
- "state": {
- "description": "State or province name",
- "type": "string"
- },
- "state_abbreviation": {
- "description": "State or province abbreviation",
- "type": "string"
- }
- },
- "required": [
- "post_code",
- "name",
- "lat",
- "lon"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "state": {
- "description": "State or province name",
- "type": "string"
- },
- "state_abbreviation": {
- "description": "State or province abbreviation",
- "type": "string"
- }
-}