Skip to content

Commit 2a18159

Browse files
authored
Update README.md
1 parent 73a4553 commit 2a18159

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,17 @@
44

55
# Validate JSON Github Action
66

7-
Easy to use GitHub Action to validates JSON files based on a JSON Schema.
7+
Easy to use GitHub Action to validate JSON files based on a JSON Schema.
88

99
This project uses [`ajv`](https://github.com/epoberezkin/ajv), fast JSON schema validator, to perform the validation.
1010

1111
## Usage
1212

1313
### Inputs
1414

15-
- `schema`: Relative file path under the repository of a JSON schema file to validate the other JSON files with. Default is: `'./schema.json'`.
15+
- `schema`: Relative file path in the repository to a JSON schema file to validate the other JSON files with. If no value is provided `./schema.json` will be used.
1616
- `jsons`: One or more relative file paths under the repository (separated by commas) of the JSON files to validate with the schema provided. Glob paths can be used as well (wildcard matching).
1717

18-
> Note: `schema` is **required**, otherwise default will be used.
19-
2018
### Outputs
2119

2220
- `invalid`: One or more of relative file paths of the invalid JSON files, found in the repository (separated by commas).

0 commit comments

Comments
 (0)