Skip to content
This repository has been archived by the owner on Jul 7, 2022. It is now read-only.

Commit

Permalink
Merge pull request #13 from TheWindRider/master
Browse files Browse the repository at this point in the history
Add code example for Windows terminal to README

Closes #11
  • Loading branch information
rightlag committed Nov 11, 2017
2 parents 56677e7 + d92b9fc commit d59cc23
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions readme.md
Expand Up @@ -123,6 +123,14 @@ JSON Schema [Validation keywords](http://json-schema.org/latest/json-schema-vali
- **INSTANCE:** JSON document being validated
- **SCHEMA:** JSON document containing the description

**Example - macOS:**

$ aptos validate -instance '{"firstName": "John"}' person.json

**Example - Windows:**

> aptos validate -instance "{\"firstName\": \"John\"}" person.json

| Successful Validation :heavy_check_mark: | Unsuccessful Validation :heavy_multiplication_x: |
|----------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------|
| ![](https://user-images.githubusercontent.com/2184329/29053486-5c787966-7bbe-11e7-8fd3-4cb51d87d7d9.png) | ![](https://user-images.githubusercontent.com/2184329/29053538-afcce9c6-7bbe-11e7-8be5-61ac1d876fc1.png) |
Expand Down

0 comments on commit d59cc23

Please sign in to comment.