changedOutput schema / properties / error / anyOf
Previous value: -[
- {
- "properties": {
- "code": {
- "title": "Code",
- "type": "string"
- },
- "quota": {
- "anyOf": [
- {
- "properties": {
- "limit": {
- "const": 7,
- "title": "Limit",
- "type": "integer"
- },
- "remaining": {
- "maximum": 7,
- "minimum": 0,
- "title": "Remaining",
- "type": "integer"
- },
- "resets_at": {
- "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})$",
- "title": "Resets At",
- "type": "string"
- }
- },
- "required": [
- "limit",
- "remaining",
- "resets_at"
- ],
- "title": "FeedbackQuota",
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "reason": {
- "title": "Reason",
- "type": "string"
- },
- "request_id": {
- "anyOf": [
- {
- "maxLength": 128,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9_-]+$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "title": "Request Id"
- },
- "retry_after": {
- "anyOf": [
- {
- "minimum": 0,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "title": "Retry After"
- },
- "status": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "title": "Status"
- },
- "submission_id": {
- "anyOf": [
- {
- "maxLength": 128,
- "minLength": 1,
- "pattern": "^[A-Za-z0-9_-]+$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "title": "Submission Id"
- }
- },
- "required": [
- "code",
- "reason"
- ],
- "title": "FeedbackError",
- "type": "object"
- },
- {
- "type": "null"
- }
-]New value: +[
+ {
+ "properties": {
+ "code": {
+ "title": "Code",
+ "type": "string"
+ },
+ "errors": {
+ "anyOf": [
+ {
+ "items": {
+ "description": "One field that failed validation. It never contains the field value.",
+ "properties": {
+ "code": {
+ "title": "Code",
+ "type": "string"
+ },
+ "field": {
+ "title": "Field",
+ "type": "string"
+ }
+ },
+ "required": [
+ "field",
+ "code"
+ ],
+ "title": "FeedbackFieldError",
+ "type": "object"
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "title": "Errors"
+ },
+ "quota": {
+ "anyOf": [
+ {
+ "properties": {
+ "limit": {
+ "const": 7,
+ "title": "Limit",
+ "type": "integer"
+ },
+ "remaining": {
+ "maximum": 7,
+ "minimum": 0,
+ "title": "Remaining",
+ "type": "integer"
+ },
+ "resets_at": {
+ "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})$",
+ "title": "Resets At",
+ "type": "string"
+ }
+ },
+ "required": [
+ "limit",
+ "remaining",
+ "resets_at"
+ ],
+ "title": "FeedbackQuota",
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "reason": {
+ "title": "Reason",
+ "type": "string"
+ },
+ "request_id": {
+ "anyOf": [
+ {
+ "maxLength": 128,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9_-]+$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "title": "Request Id"
+ },
+ "retry_after": {
+ "anyOf": [
+ {
+ "minimum": 0,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "title": "Retry After"
+ },
+ "status": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "title": "Status"
+ },
+ "submission_id": {
+ "anyOf": [
+ {
+ "maxLength": 128,
+ "minLength": 1,
+ "pattern": "^[A-Za-z0-9_-]+$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "title": "Submission Id"
+ }
+ },
+ "required": [
+ "code",
+ "reason"
+ ],
+ "title": "FeedbackError",
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+]