<commit_before># JSON Schema

[![Build Status](http://img.shields.io/travis/kylef/JSONSchema.swift/master.svg?style=flat)](https://travis-ci.org/kylef/JSONSchema.swift)

An implementation of [JSON Schema](http://json-schema.org/) in Swift.

## Installation

```ruby
pod 'JSONSchema'
```

## Usage

```swift
import JSONSchema

let schema = [
    "type": "object",
    "properties": [
        "name": ["type": "string"],
        "price": ["type": "number"],
    ],
]

validate(["name": "Eggs", "price": 34.99], schema)
```

## License

Mockingjay is licensed under the BSD license. See [LICENSE](LICENSE) for more
info.
<commit_msg>[README] JSONSchema<commit_after># JSON Schema

[![Build Status](http://img.shields.io/travis/kylef/JSONSchema.swift/master.svg?style=flat)](https://travis-ci.org/kylef/JSONSchema.swift)

An implementation of [JSON Schema](http://json-schema.org/) in Swift.

## Installation

```ruby
pod 'JSONSchema'
```

## Usage

```swift
import JSONSchema

let schema = [
    "type": "object",
    "properties": [
        "name": ["type": "string"],
        "price": ["type": "number"],
    ],
]

validate(["name": "Eggs", "price": 34.99], schema)
```

## License

JSONSchema is licensed under the BSD license. See [LICENSE](LICENSE) for more
info.

{'fraction_non_alphanumeric': 0.19589257503949448, 'fraction_numerical': 0.00631911532385466, 'mean_word_length': 4.108870967741935, 'pattern_counts': {'":': 16, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1235446', 'n_tokens_mistral': 460, 'n_tokens_neox': 431, 'n_words': 99}