---
title: Editing the output schema
description: Configure the information included in the output when the flow completes.
component: davinci
page_id: davinci:flows:davinci_editing_the_output_schema
canonical_url: http://docs.pingidentity.com/davinci/flows/davinci_editing_the_output_schema.html
revdate: February 2, 2023
section_ids:
  about-this-task: About this task
  steps: Steps
---

# Editing the output schema

Configure the information included in the output when the flow completes.

## About this task

The output from the flow is generated using a JSON schema with `output` as a root object.

## Steps

1. In DaVinci, click the **Flows** tab.

2. Find the flow and click **... > Edit**.

3. Click **More options ( [icon: ellipsis-v, set=fa]) > Output Schema** to show the output schema.

4. Update the JSON schema.

   You can add one or more parameters to the properties section. For example, this output schema outputs the errorMessage and selectedDeviceOtpEnabled properties:

   ```json
   {
     "output": {
       "type": "object",
       "additionalProperties":true,
       "properties": {
         "errorMessage": {
           "type": "string",
           "displayName": "Error Message",
           "preferredControlType": "textField",
           "enableParameters": true,
           "propertyName": "errorMessage"
         },
         "selectedDeviceOtpEnabled": {
           "type":"bool"
         }
       }
     }
   }
   ```

5. Click **Save**.
