{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/Item",
  "title": "Item",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid"
    },
    "remote_id": {
      "type": [
        "string",
        "null"
      ],
      "description": "The third-party API ID of the matching object."
    },
    "created_at": {
      "type": "string",
      "format": "date-time",
      "description": "The datetime that this object was created by Merge."
    },
    "modified_at": {
      "type": "string",
      "format": "date-time",
      "description": "The datetime that this object was modified by Merge."
    },
    "name": {
      "type": [
        "string",
        "null"
      ],
      "description": "The item's name."
    },
    "status": {
      "oneOf": [
        {
          "$ref": "#/components/schemas/Status7d1Enum"
        },
        {
          "type": "null"
        }
      ],
      "description": "The item's status."
    },
    "type": {
      "oneOf": [
        {
          "$ref": "#/components/schemas/Type2bbEnum"
        },
        {
          "type": "null"
        }
      ],
      "description": "The item's type."
    },
    "unit_price": {
      "type": [
        "number",
        "null"
      ],
      "format": "double",
      "description": "The item's unit price."
    },
    "purchase_price": {
      "type": [
        "number",
        "null"
      ],
      "format": "double",
      "description": "The price at which the item is purchased from a vendor."
    },
    "purchase_account": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid",
      "description": "References the default account used to record a purchase of the item."
    },
    "sales_account": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid",
      "description": "References the default account used to record a sale."
    },
    "company": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid",
      "description": "The company the item belongs to."
    },
    "purchase_tax_rate": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid",
      "description": "The default purchase tax rate for this item."
    },
    "sales_tax_rate": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid",
      "description": "The default sales tax rate for this item."
    },
    "remote_updated_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "description": "When the third party's item note was updated."
    },
    "remote_was_deleted": {
      "type": "boolean",
      "description": "Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/)."
    },
    "field_mappings": {
      "oneOf": [
        {
          "$ref": "#/components/schemas/ItemFieldMappings"
        },
        {
          "type": "null"
        }
      ]
    },
    "remote_data": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "$ref": "#/components/schemas/RemoteData"
      }
    }
  },
  "description": "# The Item Object\n### Description\nThe `Item` object refers to the goods involved in a transaction.\n\n### Usage Example\nFetch from the `LIST Items` endpoint and view a company's items."
}