logo
Documentation
Configuring the JSON Schema validator
Type to start searching
    mgrsskls/miyagi
    • core/v3.4.11
    • 20
    • 3
    mgrsskls/miyagi
    • core/v3.4.11
    • 20
    • 3
    • Home
    • Installation
      • Default configuration
      • Available options
      • Via config file
      • Via CLI
      • Extending a template engine
      • Starting miyagi
      • Creating a component
      • Creating mock data
      • Linting mock data
      • Creating a build
      • Introduction
      • Assets
      • Documentation
      • Info
      • Mocks
      • Schema
      • Template
    • The UI
    • Supported template engines
    • JavaScript API
      • Adding JS files
      • Adding custom CSS and JS per component
      • Extending a template engine
      • Using dark and light mode
      • Theming the UI
      • Changing the text direction
      • Changing the HTML language attribute
      • Configuring the JSON Schema validator
      • Organizing components
      • Writing mock data
      • Linting mock data
      • Changing miyagi's port
      • Adding documentation
      • Creating a design token overview
      • Navigating through miyagi
    • VS Code extension

    Configuring the JSON Schema validator

    miyagi uses Ajv for validating your mock data against JSON schema files. If you want to configure Ajv, please refer to the the Ajv options on its website. You can pass these options via config.schema.

    Previous Changing the HTML language attribute
    Next Organizing components
    Made with Material for MkDocs