Haskell library for dealing with YAML schemata.

Peter Harpending f4fe3d859a README: %s/Chris Allen/bitemyapp/ 9 years ago
Data e150a6e332 Add empty Data.Yaml.Schema module. 9 years ago
skel dd11bb296d Delete extraneous whitespace in the skeleton 9 years ago
.gitignore 968df7db46 Add a .gitignore. 9 years ago
LICENSE 3d8b633536 Initial commit; run Setup.hs 9 years ago
README.md f4fe3d859a README: %s/Chris Allen/bitemyapp/ 9 years ago
Setup.hs 3d8b633536 Initial commit; run Setup.hs 9 years ago
yaml-schema.cabal 1c35c4a612 Delete trailing whitespace in cabal file. 9 years ago

README.md

yaml-schema

A Haskell library (and program) to validate YAML against a schema. Unlike other libraries, yaml-validate contains a simple interface, and can interact with files.

Installation and usage

This library is not finished yet. These instructions are for when the library is finished.

yaml-schema is written in Haskell, so you need the Haskell package manager, cabal, and the Haskell compiler, ghc to install it. If you don't have ghc and cabal installed, follow bitemyapp's guide.

Ordinarily, I would just tell you how to install them myself, but it varies quite a bit from OS to OS, and bitemyapp has it all documented.

To install yaml-schema, just run:

cabal install aeson-validate

If you're developing a library, just add yaml-schema to the build-depends field in your library's .cabal file.

Contact

  • Email: peter@harpending.org
  • IRC: pharpend on FreeNode and OFTC

Copyright

Copyright 2015 Peter Harpending

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.