{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/forwardai/json-schema/forwardai-items-response-by-id-schema.json",
  "title": "ItemsResponseById",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/forwardai-item-api-openapi.yml#/components/schemas/ItemsResponseById",
  "type": "object",
  "properties": {
    "id": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "type": {
      "type": "string"
    },
    "isSold": {
      "type": "boolean"
    },
    "isPurchased": {
      "type": "boolean"
    },
    "salePrice": {
      "type": "number"
    },
    "saleTaxCode": {
      "type": "string"
    },
    "purchasePrice": {
      "type": "number"
    },
    "purchaseTaxCode": {
      "type": "string"
    },
    "incomeAccount": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        }
      }
    },
    "expenseAccount": {
      "type": "object",
      "properties": {
        "id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        }
      }
    },
    "active": {
      "type": "string"
    },
    "createdAt": {
      "type": "string"
    },
    "updatedAt": {
      "type": "string"
    }
  }
}