Clone the repository
To make things simple, we’ve created a starter repository with sample schemas and sample instances. To follow along, clone the getting-started repository using the following command.- Schemaless - an empty JSON Schema that regards all config instances as valid
- Strict Schema - a well-defined JSON Schema that defines the valid fields, types, and values for instances of the
Mobilityconfig type
Create a config type
Before defining a schema, we first need to create a config type to house it. Navigate to the Config Types page.
+ New Config Type button, supply the name Mobility and slug mobility, and click Create.

Config Type slugs are permanent and cannot be changed after creation.
$miru_config_type_slug field.
We’ve already included the $miru_config_type_slug field in both the mobility-schemaless.yaml and mobility.yaml schemas inside the getting-started repository.
Install the CLI
Config schemas typically live in a git repository, allowing them to be versioned alongside the code that uses them. As such, Miru provides a CLI for pushing schemas to Miru. The CLI is useful for local development and testing, but can also be used in CI/CD pipelines to automatically push schemas to Miru as part of your release process. Install To install the Miru CLI, run the installation command in your local machine’s terminal.- Linux
- macOS
curl, tar, grep, and cut to be installed.
Review the contents of the installation script here.The Miru CLI supports macOS and Linux. Windows is not supported.
login command.

Push a schema
With the CLI installed and authenticated, we are ready to push a schema to Miru. Navigate back to the root of the getting-started repository and push the appropriate schema to Miru.Git information is pulled from the local git repository that the schema is defined in. Miru does not require any access to your remote git repository.
Mobility config type.



