How does the validation of action schemas take place?

How is the validation of the action schema happening precisely? Which tool is responsible for carrying out the validation?

I encounter validation errors when inputting a schema. The schema appears to be correct in my VS Code OpenAPI/Swagger plugin.