SchemaModule

About this project
A PowerShell module for working with JSON Schema
Wiki / Home
Latest Version Azure Pipelines PowerShell Gallery Github Release Project Status Forks License
Latest Version Build Status Powershell Gallery Github Release Board Status GitHub forks GitHub license

About

The SchemaModule project grew out of a need to create PowerShell objects from a well-defined JSON schema. The functions included with this module should help a developer leverage objects and properties to create objects on-demand. The intended use-case is for this module to be used inside a script or other module to faciliate the creation of objects and ultimately validation.

Function Documentation

Below is the list of current functions and their documentation.

Get-SchemaArray

This function returns the object from an array within the Json Schema.

Get-SchemaDocument

This function will return a PowerShell object of the input Schema.

Get-SchemaObject

This function returns an object from the Json Schema.

Get-SchemaProperty

This function returns one ore more properties from a Json Schema object.

Documentation

This project uses PlatyPS for framing and updating the help files and external help used by the functions.

Automation

A few things within each module are automated by psake such as the functions that are exported, as well as the README file for each module.

Syntax Checking

PSScriptAnalyzer is used to check the code against a set of standards , this ensures that the code works as expected when ran.