| # Copyright 2018 The Chromium OS Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| "$schema": http://json-schema.org/draft-07/schema# |
| typeDefs: |
| command-group: &command_group |
| type: object |
| properties: |
| name: |
| description: Name of command to run on the device. |
| type: string |
| args: |
| description: Arguments to pass to multiple command invocations and compare against golden database. |
| type: array |
| items: |
| type: string |
| description: Arguments to run and compare against golden database. |
| properties: |
| chromeos: |
| type: object |
| properties: |
| devices: |
| type: array |
| items: |
| type: object |
| properties: |
| device-name: |
| type: string |
| description: Device name. |
| pattern: "^[A-Za-z]$" |
| command-groups: |
| type: array |
| items: *command_group |