{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/brujula-day/json-schema/brujula-day-post-gastos-request-schema.json",
  "title": "PostGastosRequest",
  "x-generated": "2026-11-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/brujula-day-openapi-generated.yml#/components/schemas/PostGastosRequest",
  "type": "object",
  "properties": {
    "descripcion": {
      "type": "string",
      "description": "Descripción del gasto."
    },
    "monto": {
      "type": "number",
      "description": "Monto del gasto."
    },
    "moneda": {
      "type": "string",
      "description": "UYU o USD."
    },
    "categoria": {
      "type": "string",
      "description": "Categoría del gasto."
    },
    "fecha": {
      "type": "string",
      "description": "Fecha (AAAA-MM)."
    },
    "notas": {
      "type": "string",
      "description": "Notas."
    },
    "espacio_id": {
      "type": "string",
      "description": "Espacio compartido."
    },
    "forma_pago": {
      "type": "string",
      "description": "Forma de pago."
    },
    "cuotas": {
      "type": "integer",
      "description": "Número de cuotas."
    }
  },
  "required": [
    "descripcion",
    "monto"
  ]
}