TestJsonCommand.SchemaFile Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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