Files
appium/packages/schema
Jonathan Lipps 284da50353 chore: publish
- appium@3.0.0
 - @appium/base-driver@10.0.0
 - @appium/base-plugin@3.0.0
 - @appium/docutils@2.0.0
 - @appium/driver-test-support@1.0.0
 - @appium/eslint-config-appium-ts@2.0.0
 - @appium/execute-driver-plugin@5.0.0
 - @appium/fake-driver@6.0.0
 - @appium/fake-plugin@4.0.0
 - @appium/images-plugin@4.0.0
 - @appium/logger@2.0.0
 - @appium/opencv@4.0.0
 - @appium/plugin-test-support@1.0.0
 - @appium/relaxed-caps-plugin@2.0.0
 - @appium/schema@1.0.0
 - @appium/storage-plugin@1.0.0
 - @appium/strongbox@1.0.0
 - @appium/support@7.0.0
 - @appium/test-support@4.0.0
 - @appium/tsconfig@1.0.0
 - @appium/types@1.0.0
 - @appium/universal-xml-plugin@2.0.0
2025-08-18 11:28:40 -07:00
..
2025-08-18 11:28:40 -07:00
2025-08-18 11:28:40 -07:00

@appium/schema

JSON schema for Appium configuration files

Description

This package is used internally by Appium, but can also be used to validate Appium configuration files in other contexts.

Install

npm i @appium/schema

Usage

The schema is exported as a JS object:

const { AppiumConfigJsonSchema } = require('@appium/schema');

It is also provided as a JSON file (since this is a JSON schema, after all):

const schema = require('@appium/schema/lib/appium-config.schema.json');

See Also

@appium/types exports a TypeScript type AppiumConfig (generated from this package) for typesafe configuration objects; this may be useful if your Appium configuration is written in JS (e.g., .appiumrc.js). Example:

// @ts-check
/** @type {import('@appium/types').AppiumConfig} */
module.exports = {
  server: {
    port: 1234,
    host: '127.0.0.1'
  }
}

Notes

lib/appium-config.schema.json is generated by this package from lib/appium-config-schema.js (the single source of truth), but is under version control to avoid chicken-or-egg build problems.

License

Apache-2.0