5. Validation
On sync (or with “Validate only”), BuilderOS reports:
- Strict
bos.json(format 2). Withoutbos.json, without"format": 2or without"slug", the package isn’t installed. Every unknown key is an error, with the exact path and a suggestion (pages[2].seo.titel: clave desconocida "titel". ¿Quisiste decir "title"?), and each value has its type:"auto_fields": "off"or"delay": "8"are errors. Keys that start with_are comments. The report lists all the problems at once; in WP-CLI, the REST API and MCP they also come inschema[]withpath,codeandmessage. If it fails, the REST API responds 422 with that report (withschema[]anddocs_url, without an error wrapper);docs_urlpoints to chapter 6 of this specification on your site. - Errors (block the installation): unknown field types, repeated
data-bos-id(and, with its own message, two repeaters in the same section with the same id: “Section X has two repeaters with id Y”),imageoutside an<img>,selectwithout options, nonexistentbos.jsonfiles, duplicate sections, and removed sections that are in use on some page (unless you check Force). - Notices: fields without
data-bos-id, resources orurl()entries that don’t exist, images withoutalt, repeaters with elements of different structure, and richtext with block elements. A hand-writtendata-bos-uidthat is no good is ignored with a notice:…: data-bos-uid no válido (solo a-z, 0-9, guion y guion bajo): <uids>……: data-bos-uid repetido en la sección: <uids>…