{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/decknote-app/json-schema/decknote-app-post-api-v1-invoices-request-schema.json",
  "title": "PostApiV1InvoicesRequest",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/decknote-app-openapi-generated.yml#/components/schemas/PostApiV1InvoicesRequest",
  "type": "object",
  "properties": {
    "kind": {
      "type": "string",
      "description": "\"invoice\" or \"estimate\""
    },
    "clientId": {
      "type": "string"
    },
    "lines": {
      "type": "array",
      "description": "Each line: { \"description\": \"…\", \"quantity\": number, \"price\": number }"
    }
  },
  "required": [
    "kind",
    "clientId",
    "lines"
  ]
}