# Interface LegislativeProcedure

Legislative procedure tracking result

interface LegislativeProcedure {
amendments: AmendmentStats;
committees: CommitteeAssignment[];
confidenceLevel: "HIGH" | "MEDIUM" | "LOW";
currentStage: string;
documents: DocumentReference[];
methodology: string;
procedureId: string;
status: string;
timeline: TimelineEvent[];
title: string;
type: string;
voting: VotingRecord[];
dataQualityWarnings?: string[];
enrichmentFailures?: string[];
nextSteps?: string[];
}

- Defined in tools/trackLegislation/types.ts:10

##### Index

### Properties

amendments
committees
confidenceLevel
currentStage
documents
methodology
procedureId
status
timeline
title
type
voting
dataQualityWarnings?
enrichmentFailures?
nextSteps?

## Properties

### amendments

amendments: AmendmentStats

Amendment statistics

- Defined in tools/trackLegislation/types.ts:26

### committees

committees: CommitteeAssignment[]

Committee assignments

- Defined in tools/trackLegislation/types.ts:24

### confidenceLevel

confidenceLevel: "HIGH" | "MEDIUM" | "LOW"

Data quality indicator

- Defined in tools/trackLegislation/types.ts:34

### currentStage

currentStage: string

Current stage description

- Defined in tools/trackLegislation/types.ts:20

### documents

documents: DocumentReference[]

Associated documents

- Defined in tools/trackLegislation/types.ts:30

### methodology

methodology: string

Methodology and data source description

- Defined in tools/trackLegislation/types.ts:36

### procedureId

procedureId: string

Procedure identifier from EP API

- Defined in tools/trackLegislation/types.ts:12

### status

status: string

Current status

- Defined in tools/trackLegislation/types.ts:18

### timeline

timeline: TimelineEvent[]

Timeline of key events

- Defined in tools/trackLegislation/types.ts:22

### title

title: string

Procedure title from EP API

- Defined in tools/trackLegislation/types.ts:14

### type

type: string

Procedure type (e.g., COD, NLE)

- Defined in tools/trackLegislation/types.ts:16

### voting

voting: VotingRecord[]

Voting records

- Defined in tools/trackLegislation/types.ts:28

### `Optional` dataQualityWarnings

dataQualityWarnings?: string[]

Warnings about partially available or missing data

- Defined in tools/trackLegislation/types.ts:38

### `Optional` enrichmentFailures

enrichmentFailures?: string[]

Named enrichment sub-steps that could not be resolved. Consumers can use this to identify which data dimensions are incomplete and weight per-field confidence accordingly.

Known step names:

- `"basicMetadata"` — neither procedure dates nor dated events produced a timeline entry
- `"committeeResolve"` — responsible committee not found in API response
- `"rapporteurResolve"` — rapporteur not found in API response
- `"documentResolve"` — no document references in API response
- `"events-lookup"` — `/procedures/{process-id}/events` API call failed

- Defined in tools/trackLegislation/types.ts:51

### `Optional` nextSteps

nextSteps?: string[]

Predicted next steps

- Defined in tools/trackLegislation/types.ts:32