<commit_before>LAPPS Schema Compiler
============================

**NOTE** This is still a work in progress and likely contains misleading and/or
downright false information...

### Build Status
[![Master build status](http://grid.anc.org:9080/travis/svg/oanc/org.anc.json.schema-compiler?branch=master)](https://travis-ci.org/oanc/org.anc.lapps.schema-compiler)
[![Develop build status](http://grid.anc.org:9080/travis/svg/oanc/org.anc.json.schema-compiler?branch=develop)](https://travis-ci.org/oanc/org.anc.lapps.schema-compiler)


The LAPPS (Language Application Grid) Schema compiler generates a
[JSON Schema](http://json-schema.org) from the LAPPS alternate syntax. The alternate
syntax is **not** a new schema language, it is simply a simplified syntax for 
representing the objects that make up a JSON schema.

## Examples

Example schemata can be found at:

1. [http://vocab.lappsgrid.org/schema/lif.schema](http://vocab.lappsgrid.org/schema/lif.schema)
1. [http://vocab.lappsgrid.org/schema/metadata.schema](http://vocab.lappsgrid.org/schema/metadata.schema)

# Alternate Syntax
<commit_msg>Added Maven Central badge.<commit_after>LAPPS Schema Compiler
============================

**NOTE** This is still a work in progress and likely contains misleading and/or
downright false information...

### Build Status
[![Master build status](http://grid.anc.org:9080/travis/svg/oanc/org.anc.json.schema-compiler?branch=master)](https://travis-ci.org/oanc/org.anc.lapps.schema-compiler)
[![Develop build status](http://grid.anc.org:9080/travis/svg/oanc/org.anc.json.schema-compiler?branch=develop)](https://travis-ci.org/oanc/org.anc.lapps.schema-compiler)

The LAPPS (Language Application Grid) Schema compiler generates a
[JSON Schema](http://json-schema.org) from the LAPPS alternate syntax. The alternate
syntax is **not** a new schema language, it is simply a simplified syntax for 
representing the objects that make up a JSON schema.

## Maven

```xml
<dependency>
    <groupId>org.anc.json</groupId>
    <artifactId>compiler</artifactId>
    <version>${see below}</version>
</dependency>
```

[![Maven Central](https://maven-badges.herokuapp.com/maven-central/org.anc.json/compiler/badge.svg?style=plastic)](https://maven-badges.herokuapp.com/maven-central/org.anc.json/compiler)

## Examples

Example schemata can be found at:

1. [http://vocab.lappsgrid.org/schema/lif.schema](http://vocab.lappsgrid.org/schema/lif.schema)
1. [http://vocab.lappsgrid.org/schema/metadata.schema](http://vocab.lappsgrid.org/schema/metadata.schema)

# Alternate Syntax

{'fraction_non_alphanumeric': 0.166601638704643, 'fraction_numerical': 0.007803355442840421, 'mean_word_length': 5.148681055155875, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 1}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2573976', 'n_tokens_mistral': 862, 'n_tokens_neox': 817, 'n_words': 175}