{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/timelodge-com/json-schema/timelodge-com-expense-write-schema.json",
  "title": "ExpenseWrite",
  "x-generated": "2026-11-26",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/timelodge-com-openapi.yml#/components/schemas/ExpenseWrite",
  "type": "object",
  "properties": {
    "project_id": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid"
    },
    "category_id": {
      "type": [
        "string",
        "null"
      ],
      "format": "uuid"
    },
    "expense_date": {
      "type": [
        "string",
        "null"
      ],
      "format": "date"
    },
    "notes": {
      "type": [
        "string",
        "null"
      ]
    },
    "amount": {
      "type": [
        "number",
        "null"
      ]
    },
    "currency": {
      "type": [
        "string",
        "null"
      ]
    },
    "conversion_rate": {
      "type": [
        "number",
        "null"
      ]
    },
    "tax_rate": {
      "type": [
        "number",
        "null"
      ]
    },
    "markup_rate": {
      "type": [
        "number",
        "null"
      ]
    },
    "reimbursable": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "billable": {
      "type": [
        "boolean",
        "null"
      ]
    }
  },
  "required": [
    "project_id",
    "category_id",
    "expense_date",
    "amount",
    "currency"
  ],
  "additionalProperties": false
}