changedOutput schema / properties / domains / items / oneOf
Previous value: -[
- {
- "description": "One name's availability and per-year price, shared by GET /domains/check and GET /domains/search. `rank`, `hack` and `match` appear on search suggestions only; `reason` only when the name isn't available.",
- "properties": {
- "available": {
- "description": "null when the registry could not be asked (degraded availability).",
- "type": [
- "boolean",
- "null"
- ]
- },
- "currency": {
- "type": "string"
- },
- "first_term": {
- "description": "Available names: the shortest term the request allows (years or min_years) and its total, the ICANN fee included. A purchase's max_price taken from it always covers it.",
- "properties": {
- "total": {
- "description": "An amount as a decimal string, never a float, with its ISO 4217 currency. Ledger amounts are signed.",
- "properties": {
- "amount": {
- "type": "string"
- },
- "currency": {
- "type": "string"
- }
- },
- "required": [
- "amount",
- "currency"
- ],
- "type": "object"
- },
- "years": {
- "type": "integer"
- }
- },
- "required": [
- "years",
- "total"
- ],
- "type": [
- "object",
- "null"
- ]
- },
- "hack": {
- "description": "True when the name is a domain hack, e.g. danger.zone (search only).",
- "type": "boolean"
- },
- "icann_fee": {
- "description": "Same shape as Money, or null when there is no amount.",
- "properties": {
- "amount": {
- "type": "string"
- },
- "currency": {
- "type": "string"
- }
- },
- "required": [
- "amount",
- "currency"
- ],
- "type": [
- "object",
- "null"
- ]
- },
- "match": {
- "description": "exact_sld: the SLD as searched; variation: a stem or a hack (search only).",
- "enum": [
- "exact_sld",
- "variation"
- ],
- "type": "string"
- },
- "min_years": {
- "description": "Smallest purchase term; prices are per year.",
- "type": "integer"
- },
- "name": {
- "type": "string"
- },
- "premium": {
- "type": "boolean"
- },
- "pricing_source": {
- "description": "registry: priced live for this name. baseline: the extension's standard rate, and final for this name: the extension has no premium names (premium_possible is false in GET /pricing/{tld}), or the registry's live check returned no premium price for it. unconfirmed: the registry lookup didn't finish, so on an extension with premium names the price isn't final. A purchase checks the price again either way. Describes REGISTRATION only; see pricing_sources for the others.",
- "enum": [
- "registry",
- "baseline",
- "unconfirmed"
- ],
- "type": "string"
- },
- "pricing_sources": {
- "properties": {
- "registration": {
- "description": "registry: priced live for this name. baseline: the extension's standard rate, and final for this name: the extension has no premium names (premium_possible is false in GET /pricing/{tld}), or the registry's live check returned no premium price for it. unconfirmed: the registry lookup didn't finish, so on an extension with premium names the price isn't final. A purchase checks the price again either way.",
- "enum": [
- "registry",
- "baseline",
- "unconfirmed"
- ],
- "type": "string"
- },
- "renewal": {
- "description": "registry: priced live for this name. baseline: the extension's standard rate, and final for this name: the extension has no premium names (premium_possible is false in GET /pricing/{tld}), or the registry's live check returned no premium price for it. unconfirmed: the registry lookup didn't finish, so on an extension with premium names the price isn't final. A purchase checks the price again either way.",
- "enum": [
- "registry",
- "baseline",
- "unconfirmed"
- ],
- "type": "string"
- },
- "transfer": {
- "description": "registry: priced live for this name. baseline: the extension's standard rate, and final for this name: the extension has no premium names (premium_possible is false in GET /pricing/{tld}), or the registry's live check returned no premium price for it. unconfirmed: the registry lookup didn't finish, so on an extension with premium names the price isn't final. A purchase checks the price again either way.",
- "enum": [
- "registry",
- "baseline",
- "unconfirmed"
- ],
- "type": "string"
- }
- },
- "required": [
- "registration",
- "renewal",
- "transfer"
- ],
- "type": "object"
- },
- "purchasable": {
- "description": "Available and buyable here now; a purchase still re-checks.",
- "type": "boolean"
- },
- "purchase_blocker": {
- "description": "Why a name isn't purchasable: premium_over_cap (a premium above the $10,000 cap), price_unconfirmed (the registry didn't confirm the price), availability_unknown (available is null: the registry couldn't be asked, so check again). null when purchasable, and when available is false, where reason says why.",
- "enum": [
- "premium_over_cap",
- "price_unconfirmed",
- "availability_unknown",
- null
- ],
- "type": [
- "string",
- "null"
- ]
- },
- "rank": {
- "description": "1-based relevance ordinal (search only).",
- "type": "integer"
- },
- "reason": {
- "description": "Only when available is false or null. unavailable: the registry won't offer it (or said why in words we don't map); unknown: the check failed or was shed, so try again. This set won't grow.",
- "enum": [
- "taken",
- "reserved",
- "unavailable",
- "unknown"
- ],
- "type": "string"
- },
- "registration": {
- "description": "An amount as a decimal string, never a float, with its ISO 4217 currency. Ledger amounts are signed.",
- "properties": {
- "amount": {
- "type": "string"
- },
- "currency": {
- "type": "string"
- }
- },
- "required": [
- "amount",
- "currency"
- ],
- "type": "object"
- },
- "renewal": {
- "description": "Same shape as Money, or null when there is no amount.",
- "properties": {
- "amount": {
- "type": "string"
- },
- "currency": {
- "type": "string"
- }
- },
- "required": [
- "amount",
- "currency"
- ],
- "type": [
- "object",
- "null"
- ]
- },
- "transfer": {
- "description": "Same shape as Money, or null when there is no amount.",
- "properties": {
- "amount": {
- "type": "string"
- },
- "currency": {
- "type": "string"
- }
- },
- "required": [
- "amount",
- "currency"
- ],
- "type": [
- "object",
- "null"
- ]
- }
- },
- "required": [
- "name",
- "available",
- "premium",
- "currency",
- "registration",
- "renewal",
- "transfer",
- "pricing_source",
- "pricing_sources",
- "min_years",
- "purchasable",
- "purchase_blocker",
- "icann_fee",
- "first_term"
- ],
- "type": "object"
- },
- {
- "description": "A GET /domains/check entry for a name that could not be evaluated: malformed, or an unsupported TLD.",
- "properties": {
- "error": {
- "type": "string"
- },
- "name": {
- "type": "string"
- }
- },
- "required": [
- "name",
- "error"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "description": "One name's availability and per-year price, shared by GET /domains/check and GET /domains/search. `rank`, `hack` and `match` appear on search suggestions only; `reason` only when the name isn't available. `renewal_total` is what one later year costs, `renewal` plus `icann_fee`: show it as the renewal price and don't add the two yourself. It is null when `renewal` is null or unconfirmed (pricing_sources.renewal), and a term is at least `min_years` of it.",
+ "properties": {
+ "available": {
+ "description": "null when the registry could not be asked (degraded availability).",
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "currency": {
+ "type": "string"
+ },
+ "first_term": {
+ "description": "Available names: the shortest term the request allows (years or min_years) and its total, the ICANN fee included. A purchase's max_price taken from it always covers it.",
+ "properties": {
+ "total": {
+ "description": "An amount as a decimal string, never a float, with its ISO 4217 currency. Ledger amounts are signed.",
+ "properties": {
+ "amount": {
+ "type": "string"
+ },
+ "currency": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "amount",
+ "currency"
+ ],
+ "type": "object"
+ },
+ "years": {
+ "type": "integer"
+ }
+ },
+ "required": [
+ "years",
+ "total"
+ ],
+ "type": [
+ "object",
+ "null"
+ ]
+ },
+ "hack": {
+ "description": "True when the name is a domain hack, e.g. danger.zone (search only).",
+ "type": "boolean"
+ },
+ "icann_fee": {
+ "description": "Same shape as Money, or null when there is no amount.",
+ "properties": {
+ "amount": {
+ "type": "string"
+ },
+ "currency": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "amount",
+ "currency"
+ ],
+ "type": [
+ "object",
+ "null"
+ ]
+ },
+ "match": {
+ "description": "exact_sld: the SLD as searched; variation: a stem or a hack (search only).",
+ "enum": [
+ "exact_sld",
+ "variation"
+ ],
+ "type": "string"
+ },
+ "min_years": {
+ "description": "Smallest purchase term; prices are per year.",
+ "type": "integer"
+ },
+ "name": {
+ "type": "string"
+ },
+ "premium": {
+ "type": "boolean"
+ },
+ "pricing_source": {
+ "description": "registry: priced live for this name. baseline: the extension's standard rate, and final for this name: the extension has no premium names (premium_possible is false in GET /pricing/{tld}), or the registry's live check returned no premium price for it. unconfirmed: the registry lookup didn't finish, so on an extension with premium names the price isn't final. A purchase checks the price again either way. Describes REGISTRATION only; see pricing_sources for the others.",
+ "enum": [
+ "registry",
+ "baseline",
+ "unconfirmed"
+ ],
+ "type": "string"
+ },
+ "pricing_sources": {
+ "properties": {
+ "registration": {
+ "description": "registry: priced live for this name. baseline: the extension's standard rate, and final for this name: the extension has no premium names (premium_possible is false in GET /pricing/{tld}), or the registry's live check returned no premium price for it. unconfirmed: the registry lookup didn't finish, so on an extension with premium names the price isn't final. A purchase checks the price again either way.",
+ "enum": [
+ "registry",
+ "baseline",
+ "unconfirmed"
+ ],
+ "type": "string"
+ },
+ "renewal": {
+ "description": "registry: priced live for this name. baseline: the extension's standard rate, and final for this name: the extension has no premium names (premium_possible is false in GET /pricing/{tld}), or the registry's live check returned no premium price for it. unconfirmed: the registry lookup didn't finish, so on an extension with premium names the price isn't final. A purchase checks the price again either way.",
+ "enum": [
+ "registry",
+ "baseline",
+ "unconfirmed"
+ ],
+ "type": "string"
+ },
+ "transfer": {
+ "description": "registry: priced live for this name. baseline: the extension's standard rate, and final for this name: the extension has no premium names (premium_possible is false in GET /pricing/{tld}), or the registry's live check returned no premium price for it. unconfirmed: the registry lookup didn't finish, so on an extension with premium names the price isn't final. A purchase checks the price again either way.",
+ "enum": [
+ "registry",
+ "baseline",
+ "unconfirmed"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "registration",
+ "renewal",
+ "transfer"
+ ],
+ "type": "object"
+ },
+ "purchasable": {
+ "description": "Available and buyable here now; a purchase still re-checks.",
+ "type": "boolean"
+ },
+ "purchase_blocker": {
+ "description": "Why a name isn't purchasable: premium_over_cap (a premium above the $10,000 cap), price_unconfirmed (the registry didn't confirm the price), availability_unknown (available is null: the registry couldn't be asked, so check again). null when purchasable, and when available is false, where reason says why.",
+ "enum": [
+ "premium_over_cap",
+ "price_unconfirmed",
+ "availability_unknown",
+ null
+ ],
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "rank": {
+ "description": "1-based relevance ordinal (search only).",
+ "type": "integer"
+ },
+ "reason": {
+ "description": "Only when available is false or null. unavailable: the registry won't offer it (or said why in words we don't map); unknown: the check failed or was shed, so try again. This set won't grow.",
+ "enum": [
+ "taken",
+ "reserved",
+ "unavailable",
+ "unknown"
+ ],
+ "type": "string"
+ },
+ "registration": {
+ "description": "An amount as a decimal string, never a float, with its ISO 4217 currency. Ledger amounts are signed.",
+ "properties": {
+ "amount": {
+ "type": "string"
+ },
+ "currency": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "amount",
+ "currency"
+ ],
+ "type": "object"
+ },
+ "renewal": {
+ "description": "Same shape as Money, or null when there is no amount.",
+ "properties": {
+ "amount": {
+ "type": "string"
+ },
+ "currency": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "amount",
+ "currency"
+ ],
+ "type": [
+ "object",
+ "null"
+ ]
+ },
+ "renewal_total": {
+ "description": "Same shape as Money, or null when there is no amount.",
+ "properties": {
+ "amount": {
+ "type": "string"
+ },
+ "currency": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "amount",
+ "currency"
+ ],
+ "type": [
+ "object",
+ "null"
+ ]
+ },
+ "transfer": {
+ "description": "Same shape as Money, or null when there is no amount.",
+ "properties": {
+ "amount": {
+ "type": "string"
+ },
+ "currency": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "amount",
+ "currency"
+ ],
+ "type": [
+ "object",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "name",
+ "available",
+ "premium",
+ "currency",
+ "registration",
+ "renewal",
+ "transfer",
+ "pricing_source",
+ "pricing_sources",
+ "min_years",
+ "purchasable",
+ "purchase_blocker",
+ "icann_fee",
+ "first_term",
+ "renewal_total"
+ ],
+ "type": "object"
+ },
+ {
+ "description": "A GET /domains/check entry for a name that could not be evaluated: malformed, or an unsupported TLD.",
+ "properties": {
+ "error": {
+ "type": "string"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "error"
+ ],
+ "type": "object"
+ }
+]