is-pinoy.dev logois-pinoy.dev

5: Validate

Step 5 — Run the validator to catch errors before opening a PR.

Step 5: Validate your file

Run the validator against your JSON file:

npx @is-pinoy-dev/validate ./subdomains/.json

Replace with your subdomain.

What success looks like

✔ Schema valid
✔ Subdomain matches filename
✔ owner.github present
✔ Records valid

.is-pinoy.dev is ready to submit.

If you see output like this, your file is valid. Move on to Open a PR.

What failure looks like

✖ CNAME value must end with a trailing dot (e.g. "yoursite.vercel.app.")

The validator outputs one error per line with a description of what's wrong. Fix each error and re-run the validator until it passes.

For a full list of validation errors and how to fix them, see Common Errors.


Next: Open a PR

On this page