diff --git a/openapi.json b/openapi.json index 771c534..2f41ff9 100644 --- a/openapi.json +++ b/openapi.json @@ -1699,6 +1699,17 @@ ], "title": "Q" }, + "reason": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "title": "Reason" + }, "reference_probability": { "title": "Reference Probability", "type": "number" diff --git a/src/app/api/models/relation.ts b/src/app/api/models/relation.ts index a1b7505..0e7e36f 100644 --- a/src/app/api/models/relation.ts +++ b/src/app/api/models/relation.ts @@ -19,6 +19,7 @@ export interface Relation { outcome_code: string; probability: number; q: (number | null); + reason?: (string | null); reference_probability: number; z: number; zone: string;