changedOutput schema / $defs / DestinationData / oneOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "kind": {
- "const": "NONE",
- "type": "string"
- }
- },
- "required": [
- "kind"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "addressId": {
- "pattern": "^uaddr_[0-7][0-9a-hjkmnp-tv-z]{9}[ef][0-9a-hjkmnp-tv-z]{2}[89abrstv][0-9a-hjkmnp-tv-z]{12}$",
- "type": "string"
- },
- "kind": {
- "const": "ADDRESS",
- "type": "string"
- }
- },
- "required": [
- "kind",
- "addressId"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "country": {
- "type": "string"
- },
- "kind": {
- "const": "COUNTRY_POSTAL",
- "type": "string"
- },
- "postalCode": {
- "type": [
- "string",
- "null"
- ]
- }
- },
- "required": [
- "kind",
- "country"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "description": "No browsing destination.",
+ "properties": {
+ "kind": {
+ "const": "NONE",
+ "description": "Selects this variant; always `NONE` here.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "description": "One of the user's saved addresses.",
+ "properties": {
+ "addressId": {
+ "description": "ID of the saved address (`uaddr_…`).",
+ "pattern": "^uaddr_[0-7][0-9a-hjkmnp-tv-z]{9}[ef][0-9a-hjkmnp-tv-z]{2}[89abrstv][0-9a-hjkmnp-tv-z]{12}$",
+ "type": "string"
+ },
+ "kind": {
+ "const": "ADDRESS",
+ "description": "Selects this variant; always `ADDRESS` here.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "kind",
+ "addressId"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "description": "A country, optionally with a postal code.",
+ "properties": {
+ "country": {
+ "description": "ISO 3166-1 alpha-2 country code.",
+ "type": "string"
+ },
+ "kind": {
+ "const": "COUNTRY_POSTAL",
+ "description": "Selects this variant; always `COUNTRY_POSTAL` here.",
+ "type": "string"
+ },
+ "postalCode": {
+ "description": "Postal code within the country.",
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "kind",
+ "country"
+ ],
+ "type": "object"
+ }
+]