// 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 PermitRecord {

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

    #[serde(rename = "permitIdentifier")]
    pub permit_identifier: String,

    #[serde(rename = "permitTypeUri")]
    pub permit_type_uri: String,

    #[serde(rename = "issueDate")]
    pub issue_date: String,

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

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

    #[serde(rename = "facilityRef")]
    pub facility_ref: Option<Facilityref>,
}
