Schema JSON: estrarre un curriculum
JSON Schema per estrarre un curriculum con un LLM: esperienze, competenze, lingue e formazione. Senza età, foto né altri dati sensibili.
Estrai i dati del curriculum. Non inventare nulla: se un dato manca, lascia il campo vuoto. Non dedurre età, stato civile, origine, religione né salute.
JSON Schema
{
"type": "object",
"required": [
"nome",
"esperienze",
"competenze"
],
"properties": {
"nome": {
"type": "string"
},
"ruolo": {
"type": "string",
"description": "Ruolo attuale o cercato"
},
"lingue": {
"type": "array",
"items": {
"type": "object",
"properties": {
"lingua": {
"type": "string"
},
"livello": {
"type": "string"
}
}
}
},
"competenze": {
"type": "array",
"items": {
"type": "string"
}
},
"esperienze": {
"type": "array",
"items": {
"type": "object",
"required": [
"ruolo",
"azienda"
],
"properties": {
"fine": {
"type": "string"
},
"ruolo": {
"type": "string"
},
"inizio": {
"type": "string"
},
"azienda": {
"type": "string"
}
}
}
},
"formazione": {
"type": "array",
"items": {
"type": "object",
"properties": {
"anno": {
"type": "string"
},
"titolo": {
"type": "string"
},
"istituto": {
"type": "string"
}
}
}
},
"anni_esperienza": {
"type": "number"
}
}
}Estimated cost
Input tokens per call : ≈ 577
| Model | Per call | Per 1,000 calls |
|---|---|---|
| Mistral Large · Mistral AI | €0.00025 | €0.25 |
| DeepSeek Flash · DeepSeek | €0.00015 | €0.15 |
| DeepSeek V4 Pro · DeepSeek | €0.00067 | €0.67 |
| GPT-6 Luna · OpenAI | €0.00005 | €0.05 |
| GPT-6 Sol · OpenAI | €0.00102 | €1.02 |
| Claude Sonnet 5.5 · Anthropic | €0.00102 | €1.02 |
| Claude Opus 5.5 · Anthropic | €0.00203 | €2.03 |
| Self-hosted open-source model (Ollama, vLLM) | €0 in API fees (server cost only) | |
Input cost only, excluding the model's answer. Providers' public standard prices (Mistral AI, DeepSeek, OpenAI, Anthropic) converted from USD to euros at the ECB rate of September 29, 2026. Estimate: 1 token ≈ 3.6 characters.
Common to all 3 regions
Created by the author, no outside source.
Commercial use allowed · credit the author · changes allowed.
Text or data only: no access to files, network or commands.
Hosted in France (Scaleway, Paris). No transfer outside the EU.
European Union · 5/5
No personal data.
No training data: no summary required.
United States · 5/5
No personal data.
No training data: no documentation to publish.
China · 5/5
No personal data.
No training data; AI-generated content published in China must be labelled (2025).
Indicative summary as of 30/09/2026, not a legal certification. Method and sources →
Statistics
Likes : 0 · Comments : 0
Click a counter to show or hide it, hover the chart for details. One view per visitor per day, bots excluded; counting started on 30 September 2026.
- Identifier
- contextetech--estrarre-curriculum
- Type
- Output schemas
- File
- estrarre-curriculum.schema.json
- Format
- JSON (application/json)
- Size
- 1,449 bytes (1.4 KB)
- Encoding
- UTF-8
- Estimated tokens
- ≈ 403
- Language
- Italian
- License
- MIT
- Commercial use
- Allowed
- Personal data
- None
- Version
- 1.0
- Published on
- October 3, 2026 at 5:20 AM
- Updated on
- October 3, 2026 at 5:20 AM
- Storage
- in database
- Uses
- 0
- Likes
- 0
estrarre-curriculum.schema.json
{
"type": "object",
"required": [
"nome",
"esperienze",
"competenze"
],
"properties": {
"nome": {
"type": "string"
},
"ruolo": {
"type": "string",
"description": "Ruolo attuale o cercato"
},
"lingue": {
"type": "array",
"items": {
"type": "object",
"properties": {
"lingua": {
"type": "string"
},
"livello": {
"type": "string"
}
}
}
},
"competenze": {
"type": "array",
"items": {
"type": "string"
}
},
"esperienze": {
"type": "array",
"items": {
"type": "object",
"required": [
"ruolo",
"azienda"
],
"properties": {
"fine": {
"type": "string"
},
"ruolo": {
"type": "string"
},
"inizio": {
"type": "string"
},
"azienda": {
"type": "string"
}
}
}
},
"formazione": {
"type": "array",
"items": {
"type": "object",
"properties": {
"anno": {
"type": "string"
},
"titolo": {
"type": "string"
},
"istituto": {
"type": "string"
}
}
}
},
"anni_esperienza": {
"type": "number"
}
}
}Anthropic API (Python)
import json, anthropic
schema = json.load(open("estrarre-curriculum.schema.json"))
client = anthropic.Anthropic()
resp = client.messages.create(model="claude-sonnet-5", max_tokens=1024,
tools=[{"name": "extraire", "description": "Renvoie les données extraites", "input_schema": schema}],
tool_choice={"type": "tool", "name": "extraire"},
messages=[{"role": "user", "content": "your input here"}])
print(resp.content[0].input)OpenAI format (response_format)
{
"type": "json_schema",
"json_schema": {
"name": "estrarre-curriculum",
"schema": {
"type": "object",
"required": [
"nome",
"esperienze",
"competenze"
],
"properties": {
"nome": {
"type": "string"
},
"ruolo": {
"type": "string",
"description": "Ruolo attuale o cercato"
},
"lingue": {
"type": "array",
"items": {
"type": "object",
"properties": {
"lingua": {
"type": "string"
},
"livello": {
"type": "string"
}
}
}
},
"competenze": {
"type": "array",
"items": {
"type": "string"
}
},
"esperienze": {
"type": "array",
"items": {
"type": "object",
"required": [
"ruolo",
"azienda"
],
"properties": {
"fine": {
"type": "string"
},
"ruolo": {
"type": "string"
},
"inizio": {
"type": "string"
},
"azienda": {
"type": "string"
}
}
}
},
"formazione": {
"type": "array",
"items": {
"type": "object",
"properties": {
"anno": {
"type": "string"
},
"titolo": {
"type": "string"
},
"istituto": {
"type": "string"
}
}
}
},
"anni_esperienza": {
"type": "number"
}
}
},
"strict": true
}
}
Community
No comments yet. Share your feedback, it will help the next person.