{ "components": { "schemas": { "conflictResourceExistsResponse": { "description": "A response object for field 409 conflict errors resulting from trying to create a resource that already exists.", "properties": { "status": { "type": "integer", "description": "The response status.", "minimum": 100, "maximum": 599 }, "message": { "type": "string", "description": "The response message.", "minLength": 1, "maxLength": 512 } }, "required": [ "status", "message" ], "type": "object" }, "fieldValidationError": { "description": "Error description object for a single field.", "properties": { "path": { "type": "string", "description": "The object path of the field.", "example": "/searches/search.query", "minLength": 1, "maxLength": 256 }, "message": { "type": "string", "description": "A user friendly error message.", "example": "Query parameter 'query' exceeds parameter maximum length of 512 characters.", "minLength": 1, "maxLength": 512 } }, "required": [ "path", "message" ], "type": "object" }, "fieldValidationErrorEntry": { "description": "A single validation error description.", "properties": { "message": { "type": "string", "description": "A user friendly error message.", "example": "Query parameter 'query' exceeds parameter maximum length of 512 characters.", "minLength": 1, "maxLength": 512 }, "errors": { "$ref": "#/components/schemas/fieldValidationErrorType", "description": "A field validation type.", "example": "isNull" } }, "required": [ "message", "errors" ], "type": "object" }, "fieldValidationResponse": { "description": "A response object for field validation errors.", "properties": { "status": { "type": "integer", "description": "The response status.", "minimum": 100, "maximum": 599 }, "message": { "type": "string", "description": "The response message.", "minLength": 1, "maxLength": 512 }, "errors": { "items": { "$ref": "#/components/schemas/fieldValidationError" }, "type": "array", "description": "A set of field validation errors.", "maxItems": 32 } }, "required": [ "status", "message", "errors" ], "type": "object" }, "fieldValidationErrorType": { "description": "Error types for field validation. Possible values: isNull,isEmpty,minimumLength,maximumLength,pattern,syntax.", "enum": [ "isNull", "isEmpty", "minimumLength", "maximumLength", "pattern", "syntax" ], "type": "string" } } }, "info": { "contact": {}, "license": {}, "termsOfService": "", "title": "validation", "version": "0.0.1" }, "openapi": "3.0.2", "paths": {}, "servers": [ {} ] }