TestJsonCommand.SchemaFile Property

Definition

Gets or sets path to the file containing schema to validate the JSON string against. This is optional parameter.

[System.Management.Automation.Parameter(ParameterSetName="SchemaFile", Position=1)]
[System.Management.Automation.ValidateNotNullOrEmpty]
public string SchemaFile { get; set; }
[System.Management.Automation.ValidateNotNullOrEmpty]
[System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="JsonStringWithSchemaFile", Position=1)]
[System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="JsonPathWithSchemaFile", Position=1)]
[System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="JsonLiteralPathWithSchemaFile", Position=1)]
public string SchemaFile { get; set; }
[<System.Management.Automation.Parameter(ParameterSetName="SchemaFile", Position=1)>]
[<System.Management.Automation.ValidateNotNullOrEmpty>]
member this.SchemaFile : string with get, set
[<System.Management.Automation.ValidateNotNullOrEmpty>]
[<System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="JsonStringWithSchemaFile", Position=1)>]
[<System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="JsonPathWithSchemaFile", Position=1)>]
[<System.Management.Automation.Parameter(Mandatory=true, ParameterSetName="JsonLiteralPathWithSchemaFile", Position=1)>]
member this.SchemaFile : string with get, set
Public Property SchemaFile As String

Property Value

Attributes

Applies to