[
  {
    "apiName": "Product2",
    "keyPrefix": "01t",
    "label": "Product",
    "pluralLabel": "Products",
    "tableType": "standard_object",
    "category": "crm",
    "sharingModel": "PublicRead",
    "enableHierarchySharing": false,
    "description": "Standard Salesforce Product object — catalog item used by price books, opportunities, quotes, and orders",
    "fields": [
      {
        "apiName": "Name",
        "label": "Product Name",
        "type": "string",
        "required": true,
        "isNameField": true
      },
      {
        "apiName": "ProductCode",
        "label": "Product Code",
        "type": "string"
      },
      {
        "apiName": "Description",
        "label": "Product Description",
        "type": "textarea"
      },
      {
        "apiName": "IsActive",
        "label": "Active",
        "type": "boolean"
      },
      {
        "apiName": "Family",
        "label": "Product Family",
        "type": "picklist",
        "options": [
          {
            "value": "TiDB Cloud",
            "label": "TiDB Cloud"
          },
          {
            "value": "TiDB Enterprise Subscription",
            "label": "TiDB Enterprise Subscription"
          },
          {
            "value": "PingCAP Professional Services",
            "label": "PingCAP Professional Services"
          },
          {
            "value": "PingCAP Consulting Services",
            "label": "PingCAP Consulting Services"
          },
          {
            "value": "PingCAP Training & Exam Services",
            "label": "PingCAP Training & Exam Services"
          }
        ]
      },
      {
        "apiName": "ExternalId",
        "label": "External ID",
        "type": "string"
      },
      {
        "apiName": "DisplayUrl",
        "label": "Display URL",
        "type": "url"
      },
      {
        "apiName": "StockKeepingUnit",
        "label": "Product SKU",
        "type": "string"
      },
      {
        "apiName": "ExternalDataSourceId",
        "type": "reference",
        "label": "External Data Source ID",
        "referenceTo": [
          "ExternalDataSource"
        ]
      },
      {
        "apiName": "OrderByNo__c",
        "type": "double",
        "label": "OrderByNo"
      },
      {
        "apiName": "QuantityUnitOfMeasure",
        "type": "picklist",
        "label": "QuantityUnitOfMeasure",
        "options": [
          {
            "value": "Each",
            "label": "Each"
          },
          {
            "value": "Hour",
            "label": "Hour"
          },
          {
            "value": "Day",
            "label": "Day"
          },
          {
            "value": "Month",
            "label": "Month"
          },
          {
            "value": "Year",
            "label": "Year"
          }
        ]
      }
    ]
  }
]
