// This file is auto-generated from JSON Schema.
// Do not edit this file by hand. Regenerate via the CLI.

#![allow(clippy::all)]
#![allow(dead_code)]

use serde::{Deserialize, Serialize};


#[derive(Debug, Clone, Serialize, Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct Facilityref {
    #[serde(rename = "facilityVerifiableId")]
    pub facility_verifiable_id: String,
}

#[derive(Debug, Clone, Serialize, Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct Regulatoragencyref {
    #[serde(rename = "agencyVerifiableId")]
    pub agency_verifiable_id: Option<String>,
}

#[derive(Debug, Clone, Serialize, Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct InspectionRecord {

    #[serde(rename = "entityTypeUri")]
    pub entity_type_uri: String,

    #[serde(rename = "inspectionDate")]
    pub inspection_date: String,

    #[serde(rename = "inspectionType")]
    pub inspection_type: Option<String>,

    #[serde(rename = "jurisdictionUri")]
    pub jurisdiction_uri: Option<String>,

    #[serde(rename = "facilityRef")]
    pub facility_ref: Facilityref,

    #[serde(rename = "regulatorAgencyRef")]
    pub regulator_agency_ref: Option<Regulatoragencyref>,
}
