Skip to content

Commit

Permalink
feat: update Assurance with boolean flag and standard_name
Browse files Browse the repository at this point in the history
  • Loading branch information
raimundo-henriques committed Dec 12, 2023
1 parent c835932 commit 1484161
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion endpoint/src/datamodel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,8 @@ pub struct DataQualityIndicators {
#[serde(crate = "rocket::serde", rename_all = "camelCase")]
/// Data Type "Assurance" of Spec Version 2
pub struct Assurance {
pub assurance: bool,

#[serde(skip_serializing_if = "Option::is_none")]
pub coverage: Option<AssuranceCoverage>,

Expand All @@ -374,7 +376,7 @@ pub struct Assurance {

pub provider_name: String,
pub completed_at: DateTime<Utc>,
pub standard: String,
pub standard_name: String,

#[serde(skip_serializing_if = "Option::is_none")]
pub comments: Option<String>,
Expand Down

0 comments on commit 1484161

Please sign in to comment.