{
  "schema_version": "2026-11-01",
  "request_id": "req_demo",
  "document": {
    "source_format": "pdf",
    "page_count": 1,
    "text_layer": "present",
    "ocr_applied": false,
    "layout": {
      "columns": 1,
      "sidebar_detected": false,
      "reading_order_corrected": false
    },
    "languages": [
      {
        "code": "pt",
        "share": 0.6
      },
      {
        "code": "en",
        "share": 0.35
      },
      {
        "code": "es",
        "share": 0.05
      }
    ],
    "multiple_documents_detected": false,
    "extraction_quality": 1.0
  },
  "candidate": {
    "full_name": "Rafael Couto Monteiro",
    "headline": "Backend Engineer",
    "contact": {
      "emails": [
        "rafael.monteiro@example.pt"
      ],
      "phones": [
        {
          "raw": "+351 910 000 552",
          "e164": "+351910000552"
        }
      ],
      "links": [
        {
          "type": "github",
          "url": "https://github.com/example-rcm"
        }
      ]
    },
    "location": {
      "raw": "Porto, Portugal",
      "city": "Porto",
      "region": null,
      "country_code": "PT"
    }
  },
  "preferences": {
    "timezone": {
      "value": "Europe/Lisbon",
      "source": "inferred",
      "confidence": 0.6,
      "evidence": "Porto, Portugal"
    },
    "working_hours": {
      "value": null,
      "source": "absent",
      "confidence": null,
      "evidence": null
    },
    "work_arrangement": {
      "value": [
        "remote"
      ],
      "source": "stated",
      "confidence": 0.9,
      "evidence": "Remote only; contract or permanent."
    },
    "engagement_type": {
      "value": [
        "contract",
        "full_time"
      ],
      "source": "stated",
      "confidence": 0.9,
      "evidence": "Procuro trabalho remoto, em regime de contrato ou a tempo inteiro."
    },
    "availability": {
      "value": null,
      "source": "absent",
      "confidence": null,
      "evidence": null
    },
    "compensation": {
      "value": null,
      "source": "absent",
      "confidence": null,
      "evidence": null
    },
    "relocation": {
      "value": null,
      "source": "absent",
      "confidence": null,
      "evidence": null
    },
    "work_authorization": {
      "value": null,
      "source": "absent",
      "confidence": null,
      "evidence": null
    }
  },
  "experience": [
    {
      "id": "exp_1",
      "employer": "Pagamentos Atlântico SA (fictional)",
      "title": "Engenheiro de Software Sénior",
      "title_normalized": "Senior Software Engineer",
      "engagement_type": null,
      "work_arrangement": null,
      "location": {
        "raw": "Lisboa",
        "city": "Lisbon",
        "region": null,
        "country_code": "PT"
      },
      "start": {
        "raw": "fev. 2022",
        "value": "2022-02",
        "precision": "month"
      },
      "end": {
        "raw": "Presente",
        "value": null,
        "precision": null,
        "is_current": true
      },
      "highlights": [
        "Redesenhou o serviço de reconciliação: 2M transações/dia, latência p95 de 840ms para 190ms.",
        "Led the migration from a Django monolith to Go services."
      ],
      "skills": [
        "Go",
        "Django"
      ]
    },
    {
      "id": "exp_2",
      "employer": "Douro Cloud Lda (fictional)",
      "title": "Software Engineer",
      "title_normalized": null,
      "engagement_type": null,
      "work_arrangement": null,
      "location": {
        "raw": "Porto",
        "city": "Porto",
        "region": null,
        "country_code": "PT"
      },
      "start": {
        "raw": "set. 2018",
        "value": "2018-09",
        "precision": "month"
      },
      "end": {
        "raw": "jan. 2022",
        "value": "2022-01",
        "precision": "month",
        "is_current": false
      },
      "highlights": [
        "Multi-tenant billing API in Python and PostgreSQL.",
        "On-call lead for the billing platform."
      ],
      "skills": [
        "Python",
        "PostgreSQL"
      ]
    },
    {
      "id": "exp_3",
      "employer": "Exemplo Sistemas (fictional)",
      "title": "Estagiário",
      "title_normalized": "Intern",
      "engagement_type": "internship",
      "work_arrangement": null,
      "location": {
        "raw": "Braga",
        "city": "Braga",
        "region": null,
        "country_code": "PT"
      },
      "start": null,
      "end": null,
      "highlights": [
        "Estágio curricular de 6 meses."
      ],
      "skills": []
    }
  ],
  "education": [
    {
      "institution": "Universidade do Exemplo",
      "qualification": "Mestrado em Engenharia Informática",
      "end": {
        "raw": "2018",
        "value": "2018",
        "precision": "year",
        "is_current": false
      }
    }
  ],
  "skills": [
    {
      "name": "Go",
      "canonical": "go",
      "category": "programming_language",
      "evidence": [
        "exp_1"
      ],
      "self_rating": null
    },
    {
      "name": "Python",
      "canonical": "python",
      "category": "programming_language",
      "evidence": [
        "exp_2"
      ],
      "self_rating": null
    },
    {
      "name": "PostgreSQL",
      "canonical": "postgresql",
      "category": "database",
      "evidence": [
        "exp_2"
      ],
      "self_rating": null
    },
    {
      "name": "Kafka",
      "canonical": "kafka",
      "category": "tool",
      "evidence": [],
      "self_rating": null
    },
    {
      "name": "gRPC",
      "canonical": "grpc",
      "category": "tool",
      "evidence": [],
      "self_rating": null
    },
    {
      "name": "Kubernetes",
      "canonical": "kubernetes",
      "category": "infrastructure",
      "evidence": [],
      "self_rating": null
    },
    {
      "name": "AWS",
      "canonical": "aws",
      "category": "cloud",
      "evidence": [],
      "self_rating": null
    },
    {
      "name": "Django",
      "canonical": "django",
      "category": "framework",
      "evidence": [
        "exp_1"
      ],
      "self_rating": null
    }
  ],
  "certifications": [],
  "spoken_languages": [
    {
      "language": "pt",
      "proficiency": "nativo"
    },
    {
      "language": "en",
      "proficiency": "C1"
    },
    {
      "language": "es",
      "proficiency": "B1"
    }
  ],
  "derived": {
    "total_experience_months": {
      "value": 99,
      "method": "sum of non-overlapping ranges; year-only dates counted from January"
    },
    "seniority": {
      "value": "senior",
      "method": "title keywords + experience length"
    }
  },
  "agent_guidance": {
    "candidate_stated": [
      "Remote only; contract or permanent.",
      "Procuro trabalho remoto, em regime de contrato ou a tempo inteiro."
    ],
    "confirm_before_acting": [
      "preferences.timezone"
    ]
  },
  "safety": {
    "prompt_injection": {
      "detected": false,
      "findings": []
    },
    "excluded_fields_present": []
  },
  "warnings": [
    {
      "code": "DATE_YEAR_ONLY",
      "path": "education[0].end",
      "message": "Date has year precision only; derived calculations assume January."
    },
    {
      "code": "TIMEZONE_INFERRED",
      "path": "preferences.timezone",
      "message": "No timezone stated; inferred from location."
    }
  ]
}
