Skip to content

open311/schema-validation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

47e06a4 · Jul 16, 2016

History

19 Commits
Jul 16, 2016
Sep 17, 2015
Sep 17, 2015
Sep 17, 2015
Sep 17, 2015
Jun 23, 2016
Sep 17, 2015
Sep 17, 2015
Sep 18, 2015
Oct 8, 2015
Sep 17, 2015
Sep 17, 2015
Sep 17, 2015
Sep 17, 2015
Sep 17, 2015
Sep 17, 2015
Dec 9, 2015
Dec 9, 2015
Sep 17, 2015
Sep 17, 2015
Sep 17, 2015

Repository files navigation

Utilities to validate data and APIs using JSON Schema and Swagger

Most of this code is drawn from https://github.com/GSA/project-open-data-dashboard/

It uses the SwaggerAssertions and json-schema libraries

Installation

Clone into web server directory

git clone https://github.com/open311/schema-validation.git .

Copy sample .htaccess and index.php files

cp sample.htaccess .htaccess

cp index.php.sample index.php

Copy sample config files:

cd application/config

cp config.php.sample config.php

Edit the path of the downloads directory in the config file

Get Dependencies with Composer

Install composer if you haven't already

curl -sS https://getcomposer.org/installer | php

Install the defined dependencies

php composer.phar install

Create the downloads directory

mkdir downloads

About

Utilities for data and API schema validation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages