Skip to content

Instantly share code, notes, and snippets.

@amirandap
Last active November 4, 2025 22:56
Show Gist options
  • Select an option

  • Save amirandap/aa4940e4429b6c4bed9b6e788b510172 to your computer and use it in GitHub Desktop.

Select an option

Save amirandap/aa4940e4429b6c4bed9b6e788b510172 to your computer and use it in GitHub Desktop.
Supermercadoai
{
"name": "receipt_parser",
"schema": {
"type": "object",
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"fecha": { "type": "string" },
"comercio": { "type": "string" },
"categoria": { "type": "string" },
"subcategoria": { "type": "string" },
"articulo": { "type": "string" },
"medida": { "type": "string" },
"cantidad": { "type": "number" },
"precio_unitario": { "type": "number" },
"total": { "type": "number" },
"total_pedido": { "type": "number" },
"tarjeta": { "type": "string" },
"plataforma": { "type": "string" },
"numeracion_recibo": { "type": "string" },
"direccion_envio": { "type": "string" }
},
"required": ["fecha","comercio","articulo","cantidad","precio_unitario","total","total_pedido"]
}
}
},
"required": ["items"]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment