changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "additionalProperties": false,
+ "properties": {
+ "note": {
+ "type": "string"
+ },
+ "offers": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "amount_range": {
+ "type": "string"
+ },
+ "canonical_url": {
+ "format": "uri",
+ "type": "string"
+ },
+ "first_loan_zero_percent": {
+ "anyOf": [
+ {
+ "type": "boolean"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "interest_free_days": {
+ "type": "number"
+ },
+ "name": {
+ "type": "string"
+ },
+ "rate": {
+ "type": "string"
+ },
+ "rating_average": {
+ "type": "number"
+ },
+ "slug": {
+ "type": "string"
+ },
+ "term_range": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "slug",
+ "canonical_url",
+ "first_loan_zero_percent"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "query": {
+ "additionalProperties": false,
+ "description": "Применённые фильтры",
+ "properties": {
+ "amount": {
+ "type": "number"
+ },
+ "first_loan_zero": {
+ "type": "boolean"
+ },
+ "term_days": {
+ "type": "number"
+ }
+ },
+ "type": "object"
+ },
+ "total": {
+ "description": "Сколько предложений подошло всего",
+ "type": "number"
+ },
+ "truncated": {
+ "description": "true — вернулась не вся выборка, увеличьте limit",
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "query",
+ "total",
+ "truncated",
+ "note",
+ "offers"
+ ],
+ "type": "object"
+}