Skip to main content

Formdefinitiondynamicschemaresponse

Properties

NameTypeDescriptionNotes
OutputSchema[map[string]AnyType]https://learn.microsoft.com/en-us/powershell/scripting/lang-spec/chapter-04?view=powershell-7.4OutputSchema holds a JSON schema generated dynamically[optional]

Examples

  • Prepare the resource
$Formdefinitiondynamicschemaresponse = Initialize-Formdefinitiondynamicschemaresponse  -OutputSchema {"outputSchema":{"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false,"properties":{"firstName":{"title":"First Name","type":"string"},"fullName":{"title":"Full Name","type":"string"},"lastName":{"title":"Last Name","type":"string"},"startDate":{"format":"date-time","title":"Start Date","type":"string"}},"type":"object"}}
  • Convert the resource to JSON
$Formdefinitiondynamicschemaresponse | ConvertTo-JSON

[Back to top]