[
  {
    "apiName": "ProcessDefinition",
    "description": "Approval process definitions",
    "fields": [
      {
        "apiName": "AllowRecall",
        "default": "1",
        "label": "Allow Submitters to Recall",
        "required": true,
        "type": "string"
      },
      {
        "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": "Description",
        "label": "Description",
        "type": "textarea"
      },
      {
        "apiName": "DeveloperName",
        "label": "Developer Name",
        "type": "string"
      },
      {
        "apiName": "EntryFilter",
        "label": "Entry Criteria",
        "type": "string"
      },
      {
        "apiName": "FinalApprovalRecordLock",
        "default": "0",
        "label": "Lock Record on Final Approval",
        "required": true,
        "type": "string"
      },
      {
        "apiName": "FinalRejectionRecordLock",
        "default": "0",
        "label": "Lock Record on Final Rejection",
        "required": true,
        "type": "string"
      },
      {
        "apiName": "Id",
        "createable": false,
        "label": "Record ID",
        "type": "string",
        "updateable": false
      },
      {
        "apiName": "IsActive",
        "default": "1",
        "label": "Active",
        "required": true,
        "type": "string"
      },
      {
        "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": "LockType",
        "label": "Lock Type",
        "type": "string"
      },
      {
        "apiName": "Metadata",
        "label": "Approval Process Metadata",
        "type": "string"
      },
      {
        "apiName": "Name",
        "isNameField": true,
        "label": "Process Name",
        "required": true,
        "type": "string"
      },
      {
        "apiName": "OwnerPack",
        "label": "Owner Pack",
        "required": true,
        "type": "string"
      },
      {
        "apiName": "ProcessOrder",
        "label": "Process Order",
        "type": "double"
      },
      {
        "apiName": "State",
        "default": "Active",
        "label": "State",
        "required": true,
        "type": "string"
      },
      {
        "apiName": "TableEnumOrId",
        "label": "Object",
        "required": true,
        "type": "string"
      }
    ],
    "keyPrefix": "04a",
    "label": "Approval Process",
    "pluralLabel": "Approval Processes",
    "sharingModel": "PublicReadWrite",
    "tableType": "standard_object"
  }
]
