[
  {
    "apiName": "Flow",
    "description": "Salesforce-compatible flow versions (Tooling API)",
    "fields": [
      {
        "apiName": "CreatedById",
        "createable": false,
        "label": "Created By",
        "referenceTo": [
          "User"
        ],
        "relationshipName": "CreatedBy",
        "type": "reference",
        "updateable": false
      },
      {
        "apiName": "CreatedDate",
        "createable": false,
        "default": "CURRENT_TIMESTAMP",
        "label": "Created Date",
        "type": "datetime",
        "updateable": false
      },
      {
        "apiName": "DefinitionId",
        "label": "Flow Definition",
        "referenceTo": [
          "FlowDefinition"
        ],
        "required": true,
        "type": "reference"
      },
      {
        "apiName": "Description",
        "label": "Description",
        "type": "textarea"
      },
      {
        "apiName": "Id",
        "createable": false,
        "label": "Record ID",
        "type": "string",
        "updateable": false
      },
      {
        "apiName": "IsDeleted",
        "createable": false,
        "default": "0",
        "label": "Deleted",
        "type": "string",
        "updateable": false
      },
      {
        "apiName": "LastModifiedById",
        "createable": false,
        "label": "Last Modified By",
        "referenceTo": [
          "User"
        ],
        "relationshipName": "LastModifiedBy",
        "type": "reference",
        "updateable": false
      },
      {
        "apiName": "LastModifiedDate",
        "createable": false,
        "default": "CURRENT_TIMESTAMP",
        "label": "Last Modified Date",
        "type": "datetime",
        "updateable": false
      },
      {
        "apiName": "MasterLabel",
        "isNameField": true,
        "label": "Label",
        "type": "string"
      },
      {
        "apiName": "Metadata",
        "label": "Flow Metadata",
        "type": "string"
      },
      {
        "apiName": "OwnerId",
        "label": "Owner",
        "referenceTo": [
          "User"
        ],
        "relationshipName": "Owner",
        "type": "reference"
      },
      {
        "apiName": "ProcessType",
        "default": "AutoLaunchedFlow",
        "label": "Process Type",
        "required": true,
        "type": "string"
      },
      {
        "apiName": "Source",
        "default": "custom",
        "label": "Source",
        "required": true,
        "type": "string"
      },
      {
        "apiName": "Status",
        "default": "Draft",
        "label": "Status",
        "required": true,
        "type": "string"
      },
      {
        "apiName": "VersionNumber",
        "default": "1",
        "label": "Version Number",
        "required": true,
        "type": "double"
      }
    ],
    "keyPrefix": "301",
    "label": "Flow Version",
    "pluralLabel": "Flow Versions",
    "sharingModel": "Private",
    "tableType": "standard_object"
  }
]
