Metadata-Version: 2.1
Name: strictyamljsonschema
Version: 0.1.0
Summary: Create StrictYAML schemas from jsonschemas
Home-page: UNKNOWN
Author: Colm O'Connor
Author-email: colm.oconnor.github@gmail.com
License: MIT
Description: # StrictYAMLJSONSchema
        
        Translate JSON schemas in to StrictYAML schema.
        
        
        Simple example:
        
        ```json
        {
            "type": "object",
            "properties": {
                "age": {
                    "type": "integer"
                },
                "name": {
                    "type": "string"
                },
                "possessions": {
                    "type": "array",
                    "items": {
                        "type": "string"
                    }
                }
            },
            "required": ["age", "name", "possession"]
        }
        
        ```
        
        
        ```yaml
        # All about the character
        name: Ford Prefect
        age: 42
        possessions:
        - Towel
        
        ```
        
        
        ```python
        from strictyamljsonschema import load_schema
        from strictyaml import load
        import json
        
        ```
        
        
        
        
        
        Parse correctly:
        
        
        ```python
        print(load(yaml_snippet, load_schema(json.loads(json_schema))).data)
        
        ```
        
        ```yaml
        OrderedDict([('name', 'Ford Prefect'), ('age', 42), ('possessions', ['Towel'])])
        ```
        
        
        
        
        
        
        ## Install
        
        ```sh
        $ pip install strictyamljsonschema
        ```
Keywords: yaml
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Topic :: Text Processing :: Markup
Classifier: Topic :: Software Development :: Libraries
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.1
Classifier: Programming Language :: Python :: 3.2
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Description-Content-Type: text/markdown
