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

Commit

Permalink
Update readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
rightlag committed Aug 8, 2017
1 parent 1992da8 commit fc016ef
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

---

`aptos` is a module that parses [JSON Schema](http://json-schema.org/) documents to validate client-submitted data and convert JSON schema documents to Avro schema documents.
> A module that parses [JSON Schema](http://json-schema.org/) documents to validate client-submitted data and convert JSON schema documents to Avro schema documents.
## Usage

Expand All @@ -19,7 +19,7 @@
usage: aptos [arguments] SCHEMA
aptos is a tool for validating client-submitted data using the JSON Schema
vocabulary and converting JSON Schema documents to different data-interchange
vocabulary and converts JSON Schema documents to different data-interchange
formats.
positional arguments:
Expand All @@ -40,7 +40,7 @@ More information on JSON Schema: http://json-schema.org/

## Data Validation

Given a JSON Schema document, `aptos` can validate client-submitted data to require that it satisfies a certain number of criteria.
Given a JSON Schema document, `aptos` can validate client-submitted data to ensure that it satisfies a certain number of criteria.

```json
{
Expand Down Expand Up @@ -150,7 +150,7 @@ record = component.accept(AvroSchemaVisitor())
print(json.dumps(record, indent=2))
```

The preceding code generates the following Avro schema:
The above code generates the following Avro schema:

```json
{
Expand Down Expand Up @@ -233,4 +233,4 @@ The preceding code generates the following Avro schema:

| ![Jason Walsh](https://avatars3.githubusercontent.com/u/2184329?v=3&s=128) |
|----------------------------------------------------------------------------|
| Jason Walsh [@rightlag](https://github.com/rightlag) |
| [Jason Walsh](https://github.com/rightlag) |

0 comments on commit fc016ef

Please sign in to comment.