{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/assignar/json-schema/assignar-order-task-charge-item-created-schema.json",
  "title": "OrderTaskChargeItemCreated",
  "description": "An order task charge item as returned when created.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/assignar-orders-api-openapi.yml#/components/schemas/OrderTaskChargeItemCreated",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "readOnly": true
    },
    "order_id": {
      "type": "integer"
    },
    "order_task_id": {
      "type": "integer",
      "description": "The composite order task identifier, echoed from the request path."
    },
    "charge_item_id": {
      "type": "integer"
    },
    "units": {
      "type": "number"
    },
    "rate": {
      "type": "number"
    },
    "asset_id": {
      "type": [
        "integer",
        "null"
      ]
    },
    "comments": {
      "type": [
        "string",
        "null"
      ]
    },
    "is_reconciled": {
      "type": "boolean"
    },
    "created_by": {
      "type": "integer",
      "readOnly": true
    },
    "modified_by": {
      "type": "integer",
      "readOnly": true
    }
  }
}