DECRET 292 10/08/1959 - Portal Legislativ

Document Information
Document ID: 129
Source URL: https://legislatie.just.ro/Public/DetaliiDocumentA...
Scraped At: 2026-06-29 00:24:33
Last Updated: 2026-09-11 23:36:40
Valid From: 10.08.1959
Latest Version: Yes
Metadata
Meta tags:
  • Title: DECRET 292 10/08/1959 - Portal Legislativ
  • Keywords: DECRET 292 10/08/1959 - Portal Legislativ
  • Viewport: width=device-width, user-scalable=no
  • Description: DECRET 292 10/08/1959 - Portal Legislativ
Detail metadata:
  • Article count: 65
  • Section count: 10
  • Status indicator: în vigoare
  • Publication detail: Publicat în  BULETINUL OFICIAL NR. 20 din 10 august 1959

Duplicate Information
This document has no duplicates.

Content
Version Information
Version Date: N/A
Original Publication Date: 10.08.1959
This Version Valid From: 10.08.1959
This Version Valid To: Not specified
Is Latest Version: Yes
Document Type: DECRET
Emitent: N/A
Publicat în: Publicat în  BULETINUL OFICIAL NR. 20 din 10 august 1959

No related versions found.

Other Versions of this Document

Source Document ID: 129

Search for all versions

AI-Generated Questions

These questions were automatically generated to help users find relevant information in this document.

Provider
OpenRouter
Model
qwen/qwen3-235b-a22b-2507
Generated
2026-07-17 18:56
Cost
$0.0026

Section: Section 13-19
Elements: 13 - 19

Section: Section 15-19
Elements: 15 - 19

Section: Section 19-23
Elements: 19 - 23

Section: Section 28-31
Elements: 28 - 31

Section: Section 30-38
Elements: 30 - 38

Section: Section 39-40
Elements: 39 - 40

Section: Section 43-47
Elements: 43 - 47

Section: Section 44-58
Elements: 44 - 58

Section: Section 61-75
Elements: 61 - 75

Section: Section 102-103
Elements: 102 - 103

Section: Section 101-104
Elements: 101 - 104

Section: Section 104-105
Elements: 104 - 105

Section: Section 108-109
Elements: 108 - 109

Section: Section 109-110
Elements: 109 - 110

Section: Section 108-110
Elements: 108 - 110

Section: Section 112-113
Elements: 112 - 113

Section: Section 115-117
Elements: 115 - 117

Section: Section 121-122
Elements: 121 - 122

Section: Section 125-128
Elements: 125 - 128

Section: Section 126-128
Elements: 126 - 128

Section: Section 130-131
Elements: 130 - 131

Section: Section 133-135
Elements: 133 - 135

Section: Section 135-137
Elements: 135 - 137

Section: Section 142-143
Elements: 142 - 143

Section: Section 145-147
Elements: 145 - 147

Section: Section 145-146
Elements: 145 - 146

Section: Section 147
Elements: 147 - 147

Section: Section 148-150
Elements: 148 - 150

Section: Section 150-152
Elements: 150 - 152

Section: Section 165-167
Elements: 165 - 167
Provider
Google AI
Model
gemini-2.5-pro
Generated
2026-06-29 01:02
Cost
$0.0617

Section: Section 12-13
Elements: 12 - 13

Section: Section 12-13
Elements: 12 - 13

Section: Section 12-13
Elements: 12 - 13

Section: Section 14-15
Elements: 14 - 15

Section: Section 14-15
Elements: 14 - 15

Section: Section 16-17
Elements: 16 - 17

Section: Section 18-19
Elements: 18 - 19

Section: Section 20-21
Elements: 20 - 21

Section: Section 22-23
Elements: 22 - 23

Section: Section 22-23
Elements: 22 - 23

Section: Section 24-25
Elements: 24 - 25

Section: Section 27-28
Elements: 27 - 28

Section: Section 27-28
Elements: 27 - 28

Section: Section 27-28
Elements: 27 - 28

Section: Section 29-31
Elements: 29 - 31

Section: Section 29-31
Elements: 29 - 31

Section: Section 29-31
Elements: 29 - 31

Section: Section 32-38
Elements: 32 - 38

Section: Section 32-38
Elements: 32 - 38

Section: Section 32-38
Elements: 32 - 38

Section: Section 39
Elements: 39 - 39

Section: Section 39
Elements: 39 - 39

Section: Section 41
Elements: 41 - 41

Section: Section 41
Elements: 41 - 41

Section: Section 41
Elements: 41 - 41

Section: Section 42-43
Elements: 42 - 43

Section: Section 44-58
Elements: 44 - 58

Section: Section 44-58
Elements: 44 - 58

Section: Section 44-58
Elements: 44 - 58

Section: Section 59
Elements: 59 - 59

Section: Section 59
Elements: 59 - 59

Section: Section 60-75
Elements: 60 - 75

Section: Section 60-75
Elements: 60 - 75

Section: Section 76-83
Elements: 76 - 83

Section: Section 76-83
Elements: 76 - 83

Section: Section 84-87
Elements: 84 - 87

Section: Section 88-94
Elements: 88 - 94

Section: Section 88-94
Elements: 88 - 94

Section: Section 95-96
Elements: 95 - 96

Section: Section 97
Elements: 97 - 97

Section: Section 98
Elements: 98 - 98

Section: Section 98
Elements: 98 - 98

Section: Section 99
Elements: 99 - 99

Section: Section 101-103
Elements: 101 - 103

Section: Section 101-103
Elements: 101 - 103

Section: Section 104-105
Elements: 104 - 105

Section: Section 107-108
Elements: 107 - 108

Section: Section 107-108
Elements: 107 - 108

Section: Section 109-110
Elements: 109 - 110

Section: Section 112
Elements: 112 - 112

Section: Section 112
Elements: 112 - 112

Section: Section 113
Elements: 113 - 113

Section: Section 113
Elements: 113 - 113

Section: Section 114-115
Elements: 114 - 115

Section: Section 114-115
Elements: 114 - 115

Section: Section 116-117
Elements: 116 - 117

Section: Section 118-119
Elements: 118 - 119

Section: Section 120-121
Elements: 120 - 121

Section: Section 122
Elements: 122 - 122

Section: Section 123
Elements: 123 - 123

Section: Section 123
Elements: 123 - 123

Section: Section 125-128
Elements: 125 - 128

Section: Section 125-128
Elements: 125 - 128

Section: Section 129
Elements: 129 - 129

Section: Section 130-131
Elements: 130 - 131

Section: Section 133
Elements: 133 - 133

Section: Section 133
Elements: 133 - 133

Section: Section 134-135
Elements: 134 - 135

Section: Section 136-137
Elements: 136 - 137

Section: Section 138
Elements: 138 - 138

Section: Section 138
Elements: 138 - 138

Section: Section 139-140
Elements: 139 - 140

Section: Section 141-142
Elements: 141 - 142

Section: Section 143
Elements: 143 - 143

Section: Section 145
Elements: 145 - 145

Section: Section 145
Elements: 145 - 145

Section: Section 146-147
Elements: 146 - 147

Section: Section 149
Elements: 149 - 149

Section: Section 149
Elements: 149 - 149

Section: Section 150
Elements: 150 - 150

Section: Section 151
Elements: 151 - 151

Section: Section 152
Elements: 152 - 152

Section: Section 153
Elements: 153 - 153

Section: Section 154
Elements: 154 - 154

Section: Section 155-156
Elements: 155 - 156

Section: Section 157
Elements: 157 - 157

Section: Section 158-159
Elements: 158 - 159

Section: Section 164-165
Elements: 164 - 165

Section: Section 166-168
Elements: 166 - 168

Section: Section 169-170
Elements: 169 - 170

Section: Section 171-172
Elements: 171 - 172

Section: Section 173-174
Elements: 173 - 174

Section: Section 175-183
Elements: 175 - 183

Section: Section 184-186
Elements: 184 - 186
Generation Comparison
Provider Model Questions Prompt Tokens Cached Tokens Cache % Completion Tokens Total Cost Cost/Question Time (ms)
OpenRouter qwen/qwen3-235b-a22b-2507 30 17,700 0 0.0% 1,766 $0.0026 $0.000087 2,076,000
Google AI gemini-2.5-pro 94 18,856 0 0.0% 3,811 $0.0617 $0.000656 773,000

Question Generation Processing Logs

Total Logs

10

Processing Attempts

2

Errors

0

Warnings

0

Providers Used: OPENROUTER OPENROUTER GOOGLE AI GOOGLE
First Processing: 2026-06-29 01:02:11 | Last Processing: 2026-07-17 19:30:36
Timestamp Type Message Provider Actions
2026-07-17 19:30:36 Processing Completed Batch question generation completed with 30 total questions from 0 chapters OPENROUTER
Metadata:
{
    "total_questions": 30,
    "chapters_count": 0,
    "batch_mode": true
}
2026-07-17 19:30:31 Response Received Received batch response with 30 questions from 30 chapters OPENROUTER
Response
Metadata:
{
    "questions_generated": 30,
    "chapters_count": 30,
    "all_chapters_covered": true,
    "token_usage": {
        "promptTokens": 17700,
        "cachedTokens": 0,
        "completionTokens": 1766,
        "totalTokens": 19466,
        "reasoningTokens": 0,
        "thoughtsTokens": 0,
        "cacheWriteTokens": 0
    },
    "batch_mode": true
}
Response Preview:
DOCUMENT_CATEGORY: daily_relevant_law  
CATEGORY_REASON: Lege care reglementează dreptul la pensii și ajutoare sociale în cadrul sistemului de asigurări sociale de stat, cu impact direct asupra populației

| **Capitolul 1 - Dispoziţii generale** |   |   |
| start | end | întrebare |
|-------|-----|-----------|
| 13 | 19 | Cine are drept la pensie conform prevederilor generale ale sistemului de asigurări sociale de stat? |
| 15 | 19 | Care sunt categoriile de pensii prevăzute în legislația privind asigurările sociale de stat? |
| 19 | 23 | Cine beneficiază de ajutor social dacă nu îndeplinește condițiile pentru obținerea unei pensii? |

| **Capitolul 2 - Pensia de batrinete** |   |   |
| start | end | întrebare |
| 28 | 31 | Care sunt condițiile de vârstă și vechime pentru acordarea pensiei de bătrânețe pentru femei și bărbați? |
| 30 | 38 | Cum se calculează pensia de bătrânețe pentru persoanele care au lucrat în munci foarte grele sau vătămătoare? |
| 39 | 40 | Ce pensie de bătrânețe primește un angajat care împlineste vârsta de 60 de ani pentru bărbați sau 55 de ani pentru femei, dar are o vechime între 10 și 25 de ani? |

| **Capitolul 3 - Pensia de invaliditate** |   |   |
| start | end | întrebare |
| 43 | 47 | Care sunt gradele de invaliditate care dau drept la pensie și cum se definesc acestea? |
| 44 | 58 | Ce condiții de vechime în muncă trebuie îndeplinite pentru a obține pensie de invaliditate cauzată de un accident în afara muncii? |
| 61 | 75 | Care este cuantumul pensiei de invaliditate pentru angajații care au lucrat în munci obișnuite și au suferit un accident în afara muncii? |

| **Capitolul 4 - Pensia de serviciu** |   |   |
| start | end | întrebare |
| 102 | 103 | Care sunt condițiile de vechime și vârstă pentru acordarea pensiei de serviciu personalului navigant profesionist din aviația civilă? |
| 101 | 104 | Cum se calculează pensia de serviciu pentru personalul artistic din instituțiile de artă? |
| 104 | 105 | Poate fi acordată pensie de serviciu și altor categorii de angajați cu vechime mare, indiferent de vârstă? |

| **Capitolul 5 - Pensia pentru merite deosebite** |   |   |
| start | end | întrebare |
| 108 | 109 | Cine poate beneficia de pensie pentru merite deosebite în activitatea profesională sau socială? |
| 109 | 110 | Prin ce act administrativ se acordă pensia pentru merite deosebite și pensia pentru urmașii acestora? |
| 108 | 110 | Ce tip de contribuții excepționale în domeniul economic, științific sau cultural pot genera drept la pensie pentru merite deosebite? |

| **Capitolul 6 - Pensia de urmaş** |   |   |
| start | end | întrebare |
| 112 | 113 | În ce condiții membrii de familie ai unei persoane decedate au drept la pensie de urmaș? |
| 115 | 117 | Până la ce vârstă pot primi copiii pensie de urmaș dacă urmează o școală sau sunt invalizi? |
| 121 | 122 | Ce condiții trebuie îndeplinite de soțul supraviețuitor sau un părinte pentru a primi pensie de urmaș în cazul în care îngrijește copiii decedatului sub 8 ani? |

| **Capitolul 7 - Ajutorul social** |   |   |
| start | end | întrebare |
| 125 | 128 | Cine are drept la ajutor social dacă a încetat activitatea dar nu îndeplinește condițiile pentru pensie de bătrânețe? |
| 126 | 128 | Care este cuantumul lunar al ajutorului social pentru invalizii de gradul II și III? |
| 130 | 131 | Care sunt autoritățile responsabile cu acordarea ajutorului social conform regulamentului de aplicare a decretului? |

| **Capitolul 8 - Calcularea şi recalcularea pensiilor** |   |   |
| start | end | întrebare |
| 133 | 135 | Pe ce bază se calculează pensia, și ce perioadă de salarii este luată în considerare? |
| 135 | 137 | Care este cuantumul maxim lunar al tuturor categoriilor de pensii, cu excepția celei pentru merite deosebite? |
| 142 | 143 | Ce se întâmplă cu pensionarii care au primit pensii stabilite pe baza unor decrete anterioare și cum se face recalcularea acestora? |

| **Capitolul 9 - Unificarea caselor de asigurări şi de pensii** |   |   |
| start | end | întrebare |
| 145 | 147 | Cum se organizează casele de asigurări și pensii în cadrul unei administrații unice? |
| 145 | 146 | Cum se recunoaște vechimea în muncă pentru stabilirea pensiei în cadrul sectoarelor din administrația unică de pensii? |
| 147 | 147 | Cine stabilește normele privind organizarea și funcționarea administrației unice de pensii? |

| **Capitolul 10 - Dispoziţii finale** |   |   |
| start | end | întrebare |
| 148 | 150 | În ce condiții poate fi desfăcut contractul de muncă al unui angajat care este pensionat la cererea unității? |
| 150 | 152 | Ce prevede legea cu privire la primirea simultană a mai multor pensii de către o aceeași persoană? |
| 165 | 167 | Ce persoane pierd dreptul la pensie și ajutor social din cauza unor activități antidemocratice anterioare anului 1944? |

ALL_CHAPTERS_COVERED: true

Tokens: 19,466

Cost: $0.002617

Processing Time: 2069000 ms

2026-07-17 19:16:35 Batch Created Added to batch 6/12 OPENROUTER
Metadata:
{
    "batch_id": "e5f3f269-58e7-4e89-8f5d-06266ea4ff93",
    "provider_batch_id": "openrouter-local-bb6447e650c9454d",
    "batch_number": 6,
    "total_batches": 12
}
2026-07-17 18:56:00 Processing Started Starting batch question generation with OpenRouter (qwen/qwen3-235b-a22b-2507) OPENROUTER
Metadata:
{
    "generation_id": "a36e081c-6d86-496d-86cd-2ab694220d6d",
    "document_title": "DECRET 292 10\/08\/1959 - Portal Legislativ",
    "processing_count": 1,
    "batch_mode": true
}
2026-07-17 18:56:00 Prompt Sent Sending batch prompt part 1/1 (elements 1-186) for iteration 1 OPENROUTER
Metadata:
{
    "iteration": 1,
    "part_index": 1,
    "total_parts": 1,
    "part_body_start": 1,
    "part_body_end": 186,
    "character_count": 46496,
    "batch_mode": true,
    "json_schema": {
        "type": "object",
        "properties": {
            "documentCategory": {
                "type": "string",
                "description": "Document category classification",
                "enum": [
                    "daily_relevant_law",
                    "daily_relevant_regulation",
                    "daily_relevant_procedure",
                    "decision_salary",
                    "decision_approval",
                    "decision_modification",
                    "decision_other",
                    "uncategorized"
                ]
            },
            "categoryReason": {
                "type": "string",
                "description": "Explanation for the categorization (max 50 words)"
            },
            "chapters": {
                "type": "array",
                "items": {
                    "type": "object",
                    "properties": {
                        "chapter": {
                            "type": "string",
                            "description": "Chapter or article name with short description"
                        },
                        "questions": {
                            "type": "array",
                            "items": {
                                "type": "object",
                                "properties": {
                                    "q": {
                                        "type": "string",
                                        "description": "The question text in Romanian"
                                    },
                                    "s": {
                                        "type": "integer",
                                        "description": "Start element number"
                                    },
                                    "e": {
                                        "type": "integer",
                                        "description": "End element number"
                                    }
                                },
                                "required": [
                                    "q",
                                    "s",
                                    "e"
                                ]
                            }
                        }
                    },
                    "required": [
                        "chapter",
                        "questions"
                    ]
                },
                "maxItems": 500
            },
            "allChaptersCovered": {
                "type": "boolean",
                "description": "Whether all chapters in the document have been covered"
            }
        },
        "required": [
            "documentCategory",
            "categoryReason",
            "chapters",
            "allChaptersCovered"
        ]
    }
}
JSON Schema Available View full prompt to see the response format schema
2026-06-29 01:15:04 Response Received Received batch response with 94 questions from 63 chapters GOOGLE AI
Response
Metadata:
{
    "questions_generated": 94,
    "chapters_count": 63,
    "all_chapters_covered": true,
    "token_usage": {
        "promptTokens": 18856,
        "cachedTokens": 0,
        "completionTokens": 3811,
        "totalTokens": 25600,
        "reasoningTokens": 0,
        "thoughtsTokens": 0,
        "cacheWriteTokens": 0
    },
    "batch_mode": true
}
Response Preview:
DOCUMENT_CATEGORY: daily_relevant_law
CATEGORY_REASON: Decretul stabilește cadrul legal fundamental și regulile generale pentru cetățeni privind dreptul la pensie în cadrul Asigurărilor Sociale de Stat, acoperind toate categoriile principale de pensii.

| **Capitolul 1 - Dispoziții generale** | | |
| start | end | întrebare |
|-------|-----|-----------|
| 12 | 13 | Ce categorii de persoane au dreptul la pensie în cadrul sistemului de asigurări sociale de stat? |
| 12 | 13 | Urmașii angajaților sau militarilor au drept la pensie conform legislației asigurărilor sociale? |
| 12 | 13 | Cine poate beneficia de pensie pentru servicii excepționale aduse țării? |
| 14 | 15 | Care sunt tipurile de pensii acordate în sistemul de asigurări sociale de stat? |
| 14 | 15 | Ce categorii de pensii sunt prevăzute de legislația privind asigurările sociale? |
| 16 | 17 | Ce se întâmplă cu persoanele care nu îndeplinesc condițiile pentru a obține o pensie? |
| 18 | 19 | Ce alte drepturi, în afara pensiei, au pensionarii și membrii lor de familie? |
| 20 | 21 | Se poate stabili dreptul la pensie dacă limita de vârstă este împlinită după încetarea activității profesionale? |
| 22 | 23 | Din ce surse sunt finanțate pensiile și ajutoarele sociale în sistemul de stat? |
| 22 | 23 | Angajații contribuie direct din salariu la fondul de pensii? |
| 24 | 25 | Sunt pensiile și ajutoarele sociale supuse impozitării? |

| **Capitolul 2 - Pensia de bătrânețe** | | |
| start | end | întrebare |
|-------|-----|-----------|
| 27 | 28 | Care sunt condițiile de vârstă și vechime în muncă pentru obținerea pensiei de bătrânețe pentru bărbați și femei? |
| 27 | 28 | La ce vârstă se pot pensiona bărbații și ce vechime în muncă le este necesară? |
| 27 | 28 | Care este vârsta standard de pensionare pentru femei și vechimea minimă în muncă necesară? |
| 29 | 31 | Există posibilitatea pensionării cu reducerea vârstei standard pentru cei care au lucrat în condiții foarte grele sau vătămătoare? |
| 29 | 31 | Care sunt condițiile speciale de pensionare pentru persoanele nevăzătoare? |
| 29 | 31 | Ce vechime în muncă este necesară pentru bărbații care au lucrat în condiții grele pentru a se pensiona la 55 de ani? |
| 32 | 38 | Cum se calculează pensia integrală de bătrânețe și care sunt limitele minime și maxime ale acesteia? |
| 32 | 38 | Ce sporuri se acordă la calculul pensiei pentru anii de muncă prestați peste vechimea minimă necesară? |
| 32 | 38 | Cum sunt clasificate muncile în grupe pentru stabilirea cuantumului pensiei de bătrânețe? |
| 39 | 39 | Pot beneficia de pensie de bătrânețe persoanele care nu au vechimea completă în muncă la atingerea vârstei standard de pensionare? |
| 39 | 39 | Care este vechimea minimă absolută în muncă pentru a putea solicita o pensie de bătrânețe, chiar dacă este neintegrală? |

| **Capitolul 3 - Pensia de invaliditate** | | |
| start | end | întrebare |
|-------|-----|-----------|
| 41 | 41 | Care sunt gradele de invaliditate care dau dreptul la pensie și cum sunt definite acestea? |
| 41 | 41 | Ce diferențiază invaliditatea de gradul I de cea de gradul II în legislația pensiilor? |
| 41 | 41 | Ce posibilități de muncă are o persoană încadrată în gradul III de invaliditate? |
| 42 | 43 | Care sunt cauzele invalidității recunoscute de lege pentru acordarea pensiei? |
| 44 | 58 | Cum se calculează pensia de invaliditate dacă aceasta este cauzată de un accident de muncă sau o boală profesională? |
| 44 | 58 | Este necesară o vechime minimă în muncă pentru a primi pensie în cazul unui accident de muncă? |
| 44 | 58 | Ce sporuri se acordă la calculul pensiei de invaliditate cauzată de accident de muncă, în funcție de vechime? |
| 59 | 59 | Ce condiții de vechime în muncă trebuie îndeplinite pentru a primi pensie de invaliditate cauzată de o boală obișnuită? |
| 59 | 59 | Cum variază vechimea minimă necesară pentru pensia de invaliditate în funcție de vârsta persoanei la data solicitării? |
| 60 | 75 | Cum se stabilește cuantumul pensiei de invaliditate cauzată de o boală obișnuită sau un accident în afara muncii? |
| 60 | 75 | Ce procente din salariul mediu tarifar se aplică pentru calculul pensiei de invaliditate de gradul II cauzată de o boală obișnuită? |
| 76 | 83 | Care sunt cuantumurile minime lunare ale pensiei de invaliditate, în funcție de grad și cauză? |
| 76 | 83 | Care este pensia minimă pentru invaliditate de gradul I cauzată de un accident de muncă? |
| 84 | 87 | Se poate acorda pensie de invaliditate persoanelor care nu îndeplinesc integral condițiile de vechime? |
| 88 | 94 | În ce condiții se acordă pensie de invaliditate persoanelor care au devenit invalide în timpul serviciului militar sau al practicii studențești? |
| 88 | 94 | Ce cuantum are pensia de invaliditate pentru o persoană care nu a fost angajată, dar a suferit un accident în timpul îndeplinirii unei sarcini de stat? |
| 95 | 96 | Ce indemnizație suplimentară se acordă pensionarilor cu invaliditate de gradul I pentru îngrijire? |
| 97 | ... (truncated)

Tokens: 25,600

Cost: $0.061680

Processing Time: 773000 ms

2026-06-29 01:15:04 Processing Completed Batch question generation completed with 94 total questions from 0 chapters GOOGLE AI
Metadata:
{
    "total_questions": 94,
    "chapters_count": 0,
    "batch_mode": true
}
2026-06-29 01:02:15 Batch Created Added to batch 1/1 GOOGLE
Metadata:
{
    "batch_id": "d61275a2-246f-4880-86eb-f68601b0be26",
    "provider_batch_id": "batches\/sbpp76watr9ybrdanoim9ep0k7u33pmy6l0g",
    "batch_number": 1,
    "total_batches": 1
}
2026-06-29 01:02:11 Processing Started Starting batch question generation with Google AI (gemini-2.5-pro) GOOGLE AI
Metadata:
{
    "generation_id": "21970ae8-dc0a-45ba-8f0e-d59e7ed1402e",
    "document_title": "DECRET 292 10\/08\/1959 - Portal Legislativ",
    "processing_count": 1,
    "batch_mode": true
}
2026-06-29 01:02:11 Prompt Sent Sending batch prompt part 1/1 (elements 1-186) for iteration 1 GOOGLE AI
Metadata:
{
    "iteration": 1,
    "part_index": 1,
    "total_parts": 1,
    "part_body_start": 1,
    "part_body_end": 186,
    "character_count": 46496,
    "batch_mode": true,
    "json_schema": {
        "type": "object",
        "properties": {
            "documentCategory": {
                "type": "string",
                "description": "Document category classification",
                "enum": [
                    "daily_relevant_law",
                    "daily_relevant_regulation",
                    "daily_relevant_procedure",
                    "decision_salary",
                    "decision_approval",
                    "decision_modification",
                    "decision_other",
                    "uncategorized"
                ]
            },
            "categoryReason": {
                "type": "string",
                "description": "Explanation for the categorization (max 50 words)"
            },
            "chapters": {
                "type": "array",
                "items": {
                    "type": "object",
                    "properties": {
                        "chapter": {
                            "type": "string",
                            "description": "Chapter or article name with short description"
                        },
                        "questions": {
                            "type": "array",
                            "items": {
                                "type": "object",
                                "properties": {
                                    "q": {
                                        "type": "string",
                                        "description": "The question text in Romanian"
                                    },
                                    "s": {
                                        "type": "integer",
                                        "description": "Start element number"
                                    },
                                    "e": {
                                        "type": "integer",
                                        "description": "End element number"
                                    }
                                },
                                "required": [
                                    "q",
                                    "s",
                                    "e"
                                ]
                            }
                        }
                    },
                    "required": [
                        "chapter",
                        "questions"
                    ]
                },
                "maxItems": 500
            },
            "allChaptersCovered": {
                "type": "boolean",
                "description": "Whether all chapters in the document have been covered"
            }
        },
        "required": [
            "documentCategory",
            "categoryReason",
            "chapters",
            "allChaptersCovered"
        ]
    }
}
JSON Schema Available View full prompt to see the response format schema
Back to List View Original