// 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};


/// Context Tags (CTags) capture interpretive, analytic, or contextual facts about a record, without changing its canonical identity or payload. They are optional, append-only, and vocabulary-driven.

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

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

    #[serde(rename = "tagTypeUri")]
    pub tag_type_uri: String,

    pub code: Option<String>,

    pub value: Option<serde_json::Value>,

    #[serde(rename = "appliedBy")]
    pub applied_by: String,

    #[serde(rename = "appliedAt")]
    pub applied_at: String,

    pub scope: Option<String>,

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

    pub confidence: Option<f64>,

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

    pub note: Option<String>,

    #[serde(rename = "provActivityUri")]
    pub prov_activity_uri: Option<String>,
}
