{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/forwardai/json-schema/forwardai-create-item-schema.json",
  "title": "CreateItem",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/forwardai-item-api-openapi.yml#/components/schemas/CreateItem",
  "type": "object",
  "required": [
    "name",
    "type",
    "incomeAccountId",
    "expenseAccountId"
  ],
  "properties": {
    "name": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "incomeAccountId": {
      "type": "string"
    },
    "expenseAccountId": {
      "type": "string"
    },
    "type": {
      "type": "string",
      "enum": [
        "INVENTORY",
        "NON_INVENTORY",
        "SERVICE",
        "UNKNOWN"
      ]
    },
    "salePrice": {
      "type": "number"
    },
    "purchasePrice": {
      "type": "number"
    },
    "fullName": {
      "type": "string"
    }
  }
}