systemprompt-models 0.21.1

Foundation data models for systemprompt.io AI governance infrastructure. Shared DTOs, config, and domain types consumed by every layer of the MCP governance pipeline.
Documentation
//! Compact artifact summary rows for listings.
//!
//! Copyright (c) systemprompt.io — Business Source License 1.1.
//! See <https://systemprompt.io> for licensing details.

use chrono::{DateTime, Utc};
use schemars::JsonSchema;
use serde::{Deserialize, Serialize};
use systemprompt_identifiers::{ArtifactId, TaskId};

#[derive(Debug, Clone, Serialize, Deserialize, JsonSchema)]
pub struct ArtifactSummary {
    pub artifact_id: ArtifactId,
    pub name: Option<String>,
    pub artifact_type: String,
    pub tool_name: Option<String>,
    pub task_id: TaskId,
    pub created_at: DateTime<Utc>,
}