Blueprint data format
A Blueprint JSON file can have many different properties that will be used to define your Playground instance. The most important properties are detailed below.
Here's an example that uses many of them:
{
"landingPage": "/wp-admin/",
"preferredVersions": {
"php": "8.3",
"wp": "6.5"
},
"features": {
"networking": true
},
"steps": [
{
"step": "login",
"username": "admin",
"password": "password"
}
]
}
JSON schema
JSON files can be tedious to write and easy to get wrong. To help with that, Playground provides a JSON schema file that you can use to get auto-completion and validation in your editor. Just set the $schema
property to the following:
{
"$schema": "https://playground.wordpress.net/blueprint-schema.json",
}