[
  {
    "apiName": "SharingRule",
    "description": "Record sharing rules",
    "fields": [
      {
        "apiName": "AccessLevel",
        "label": "Access Level",
        "required": true,
        "type": "string"
      },
      {
        "apiName": "CreatedById",
        "createable": false,
        "label": "Created By Id",
        "referenceTo": [
          "User"
        ],
        "relationshipName": "CreatedBy",
        "type": "reference",
        "updateable": false
      },
      {
        "apiName": "CreatedDate",
        "createable": false,
        "default": "CURRENT_TIMESTAMP",
        "label": "Created Date",
        "type": "datetime",
        "updateable": false
      },
      {
        "apiName": "Criteria",
        "label": "Criteria",
        "type": "string"
      },
      {
        "apiName": "Id",
        "createable": false,
        "label": "Id",
        "type": "string",
        "updateable": false
      },
      {
        "apiName": "IsDeleted",
        "createable": false,
        "default": "0",
        "label": "Is Deleted",
        "type": "string",
        "updateable": false
      },
      {
        "apiName": "LastModifiedById",
        "createable": false,
        "label": "Last Modified By Id",
        "referenceTo": [
          "User"
        ],
        "relationshipName": "LastModifiedBy",
        "type": "reference",
        "updateable": false
      },
      {
        "apiName": "LastModifiedDate",
        "createable": false,
        "default": "CURRENT_TIMESTAMP",
        "label": "Last Modified Date",
        "type": "datetime",
        "updateable": false
      },
      {
        "apiName": "Name",
        "isNameField": true,
        "label": "Name",
        "required": true,
        "type": "string"
      },
      {
        "apiName": "ObjectApiName",
        "label": "Object Api Name",
        "required": true,
        "type": "string"
      },
      {
        "apiName": "OwnerId",
        "label": "Owner Id",
        "referenceTo": [
          "User"
        ],
        "relationshipName": "Owner",
        "type": "reference"
      },
      {
        "apiName": "ShareWithGroupId",
        "label": "Share With Group Id",
        "type": "string"
      },
      {
        "apiName": "ShareWithRoleId",
        "label": "Share With Role Id",
        "type": "string"
      },
      {
        "apiName": "SharedFromGroupId",
        "label": "Shared From Group Id",
        "type": "string"
      },
      {
        "apiName": "SharedFromRoleId",
        "label": "Shared From Role Id",
        "type": "string"
      }
    ],
    "keyPrefix": "01q",
    "label": "Record sharing rules",
    "pluralLabel": "SharingRules",
    "sharingModel": "PublicReadWrite",
    "tableType": "standard_object"
  }
]
