[
  {
    "apiName": "PricebookEntry",
    "description": "Standard Salesforce Price Book Entry — links a Product2 to a Pricebook2; record-level access cascades from Pricebook2.",
    "fields": [
      {
        "apiName": "CreatedById",
        "createable": false,
        "label": "Created By",
        "referenceTo": [
          "User"
        ],
        "relationshipName": "CreatedBy",
        "type": "reference",
        "updateable": false
      },
      {
        "apiName": "CreatedDate",
        "createable": false,
        "label": "Created Date",
        "type": "datetime",
        "updateable": false
      },
      {
        "apiName": "CurrencyIsoCode",
        "default": "USD",
        "label": "Currency ISO Code",
        "options": [
          {
            "label": "Chinese Yuan",
            "value": "CNY"
          },
          {
            "label": "Japanese Yen",
            "value": "JPY"
          },
          {
            "label": "Singapore Dollar",
            "value": "SGD"
          },
          {
            "label": "U.S. Dollar",
            "value": "USD"
          }
        ],
        "type": "picklist"
      },
      {
        "apiName": "Id",
        "createable": false,
        "label": "ID",
        "required": true,
        "type": "string",
        "updateable": false
      },
      {
        "apiName": "IsActive",
        "label": "Active",
        "type": "string"
      },
      {
        "apiName": "IsDeleted",
        "createable": false,
        "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,
        "label": "Last Modified Date",
        "type": "datetime",
        "updateable": false
      },
      {
        "apiName": "Name",
        "createable": false,
        "isNameField": true,
        "label": "Product Name",
        "type": "string",
        "updateable": false
      },
      {
        "apiName": "OwnerId",
        "label": "Owner",
        "referenceTo": [
          "User"
        ],
        "relationshipName": "Owner",
        "type": "reference"
      },
      {
        "apiName": "Pricebook2Id",
        "childRelationshipName": "PricebookEntries",
        "label": "Price Book",
        "referenceTo": [
          "Pricebook2"
        ],
        "relationshipName": "Pricebook2",
        "required": true,
        "type": "reference"
      },
      {
        "apiName": "Product2Id",
        "childRelationshipName": "PricebookEntries",
        "label": "Product",
        "referenceTo": [
          "Product2"
        ],
        "relationshipName": "Product2",
        "required": true,
        "type": "reference"
      },
      {
        "apiName": "ProductCode",
        "label": "Product Code",
        "type": "string"
      },
      {
        "apiName": "SystemModstamp",
        "createable": false,
        "label": "System Modstamp",
        "type": "datetime",
        "updateable": false
      },
      {
        "apiName": "UnitPrice",
        "label": "List Price",
        "required": true,
        "type": "string"
      },
      {
        "apiName": "UseStandardPrice",
        "label": "Use Standard Price",
        "type": "string"
      }
    ],
    "keyPrefix": "01u",
    "label": "Price Book Entry",
    "pluralLabel": "Price Book Entries",
    "sharingModel": "ControlledByParent",
    "tableType": "standard_object"
  }
]
