Paste a docker-compose.yml to check its structure: required services key, each service having image or build, and plausible types for ports/environment/volumes/depends_on.
A practical structural check, not full validation against the Compose Specification's complete schema — it catches the common mistakes, not every possible one.
curl -sS "https://devops.majbase.com/docker-compose-validator/api" --data-urlencode 'yaml=services:
web:
image: nginx:latest'
Returns {"valid", "errors", "warnings", "services"}.