args: - description: 'JSON string to verify.' name: json required: true - description: 'Optional schema against which to validate the JSON input.' name: schema comment: Verifies if the supplied JSON string is valid and optionally verifies against a provided schema. The script utilizes Powershell's Test-JSON cmdlet. commonfields: id: VerifyJSON version: -1 name: VerifyJSON script: '-' outputs: - contextPath: VerifyJSON.Result description: Whether the passed JSON was verified. type: boolean tags: - JSON - Utility type: powershell dockerimage: demisto/powershell:7.5.0.9017890 fromversion: 5.5.0 tests: - VerifyJSON - Test