{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/acculynx/json-schema/acculynx-worksheet-item-post-schema.json",
  "title": "worksheetItemPost",
  "x-generated": "2026-11-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/acculynx-financials-api-openapi.yml#/components/schemas/worksheetItemPost",
  "type": "object",
  "properties": {
    "sectionId": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid",
      "description": "The unique ID of the worksheet section where the item will be created. If the worksheet does not exist, this field should be left empty."
    },
    "parentItemId": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid",
      "description": "The unique ID for the parent item of this item."
    },
    "itemName": {
      "type": [
        "string",
        "null"
      ],
      "description": "The name of the item.",
      "maxLength": 28000
    },
    "description": {
      "type": [
        "string",
        "null"
      ],
      "description": "The description of the item.",
      "maxLength": 63000
    },
    "quantity": {
      "type": [
        "integer",
        "null"
      ],
      "description": "The quantity for this item."
    },
    "unitOfMeasure": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid",
      "description": "The unique ID for the unit of measure."
    },
    "costPerUnit": {
      "type": [
        "number",
        "null"
      ],
      "description": "The cost/unit for this item."
    },
    "cost": {
      "type": [
        "number",
        "null"
      ],
      "description": "The cost for this item."
    },
    "price": {
      "type": "number",
      "description": "The price for this item."
    }
  },
  "required": [
    "price"
  ]
}