Skip to content

Latest commit

 

History

History
 
 

kwalify

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Kwalify schema files

The files in the subdirectories of this folder are organized by the type of file, and then named by the version of that file's schema. These YAML files are in the Kwalify format—see that site for documentation.

Validation

To validate your OpenControl files, do the following from your project root directory:

  1. Install Python (2 or 3).

  2. Ignore the schemas/ directory from version control (e.g. .gitignore).

  3. Clone (or update) the schemas repository.

    git clone https://github.com/opencontrol/schemas.git
    # or
    cd schemas && git pull origin master && cd ..
  4. Install the dependencies.

    pip install -r pip install -r schemas/kwalify/requirements.txt
  5. Run the tests.

    pytest

For a more advanced setup, see 18F's cloud.gov compliance repository as an example of using these tests as part of continuous integration.