Skip to content

Commit 7b354ea

Browse files
committed
updated incident-contracts in all references
1 parent 3825322 commit 7b354ea

4 files changed

Lines changed: 11 additions & 11 deletions

File tree

contracts/path/extraction.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -129,9 +129,9 @@ extract_by_id:
129129
input_id: "550e8400-e29b-41d4-a716-446655440001"
130130
status: "completed"
131131
completed_at: "2024-07-15T14:31:05Z"
132-
canonical_incident:
132+
incident_contract:
133133
schema_version: "1.1.0"
134-
schema_name: "fireform_canonical_incident"
134+
schema_name: "fireform_incident_contract"
135135
extraction_metadata:
136136
extract_id: "550e8400-e29b-41d4-a716-446655440020"
137137
confidence_score: 0.91
@@ -179,7 +179,7 @@ extract_by_id:
179179
content:
180180
application/merge-patch+json:
181181
schema:
182-
$ref: "../schemas/canonical-incident.yaml#/CanonicalIncident"
182+
$ref: "../schemas/incident-contract.yaml#/IncidentContract"
183183
example:
184184
fire:
185185
estimated_damage_usd: 250000

contracts/schemas/extraction-record.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ ExtractionCompleted:
2727
- extract_id
2828
- input_id
2929
- status
30-
- canonical_incident
30+
- incident_contract
3131
properties:
3232
extract_id:
3333
type: string
@@ -47,8 +47,8 @@ ExtractionCompleted:
4747
description: LLM model that performed the extraction
4848
processing_time_seconds:
4949
type: number
50-
canonical_incident:
51-
$ref: "canonical-incident.yaml#/CanonicalIncident"
50+
incident_contract:
51+
$ref: "incident-contract.yaml#/IncidentContract"
5252
corrections:
5353
type: array
5454
description: Audit trail of manual corrections applied via PATCH
@@ -97,7 +97,7 @@ ExtractionProcessing:
9797
type: string
9898
nullable: true
9999
partial_result:
100-
$ref: "canonical-incident.yaml#/CanonicalIncident"
100+
$ref: "incident-contract.yaml#/IncidentContract"
101101

102102
ValidationResult:
103103
type: object

contracts/schemas/incident-contract.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Canonical FireForm Incident Schema
22
# This is the master superset schema single source of truth for all downstream forms
33

4-
CanonicalIncident:
4+
IncidentContract:
55
type: object
66
description: |
77
The canonical FireForm incident data model. This is the superset schema containing
@@ -16,7 +16,7 @@ CanonicalIncident:
1616
type: string
1717
description: Schema name identifier
1818
enum:
19-
- fireform_canonical_incident
19+
- fireform_incident_contract
2020

2121
extraction_metadata:
2222
$ref: "#/ExtractionMetadata"

contracts/schemas/incident-record.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@ IncidentRecordFull:
9494
- $ref: "#/IncidentRecord"
9595
- type: object
9696
properties:
97-
canonical_incident:
98-
$ref: "canonical-incident.yaml#/CanonicalIncident"
97+
incident_contract:
98+
$ref: "incident-contract.yaml#/IncidentContract"
9999
forms:
100100
type: array
101101
items:

0 commit comments

Comments
 (0)