{ "$schema": "http://json-schema.org/draft-07/schema#", "title": "LocationIdValidationSerializersRequest", "type": "object", "properties": { "id": { "type": "integer", "minimum": 1 }, "all_departments": { "type": "boolean", "default": false }, "departments": { "type": "array", "items": { "$ref": "#/components/schemas/DepartmentIdValidationRequest" }, "default": [] } }, "required": [ "id" ] }