csaf-rs 0.5.1

A parser for the CSAF standard written in Rust
/*!
 * This file is automatically generated by type-generator.
 * Do not edit manually!
 * Re-generate with: cargo run --locked -p type-generator
 */
use serde_json::Value;
use std::sync::LazyLock;
pub(crate) static CSAF_2_0_SCHEMA: LazyLock<Value> = LazyLock::new(|| {
    serde_json::from_str(include_str!("../../../../assets/csaf_2.0_json_schema.json"))
        .expect(
            "The embedded JSON schema assets/csaf_2.0_json_schema.json should be valid JSON. This is validated during type generation. Please re-run type generation. (This looks like a dev error)",
        )
});
pub(crate) static CSAF_2_1_SCHEMA: LazyLock<Value> = LazyLock::new(|| {
    serde_json::from_str(include_str!("../../../../assets/csaf_2.1_json_schema.json"))
        .expect(
            "The embedded JSON schema assets/csaf_2.1_json_schema.json should be valid JSON. This is validated during type generation. Please re-run type generation. (This looks like a dev error)",
        )
});
pub(crate) static CVSS_V2_SCHEMA: LazyLock<Value> = LazyLock::new(|| {
    serde_json::from_str(include_str!("../../../../assets/cvss-v2.0.json"))
        .expect(
            "The embedded JSON schema assets/cvss-v2.0.json should be valid JSON. This is validated during type generation. Please re-run type generation. (This looks like a dev error)",
        )
});
pub(crate) static CVSS_V3_0_SCHEMA: LazyLock<Value> = LazyLock::new(|| {
    serde_json::from_str(include_str!("../../../../assets/cvss-v3.0.json"))
        .expect(
            "The embedded JSON schema assets/cvss-v3.0.json should be valid JSON. This is validated during type generation. Please re-run type generation. (This looks like a dev error)",
        )
});
pub(crate) static CVSS_V3_1_SCHEMA: LazyLock<Value> = LazyLock::new(|| {
    serde_json::from_str(include_str!("../../../../assets/cvss-v3.1.json"))
        .expect(
            "The embedded JSON schema assets/cvss-v3.1.json should be valid JSON. This is validated during type generation. Please re-run type generation. (This looks like a dev error)",
        )
});
pub(crate) static CVSS_V4_0_2_SCHEMA: LazyLock<Value> = LazyLock::new(|| {
    serde_json::from_str(include_str!("../../../../assets/cvss-v4.0.2.json"))
        .expect(
            "The embedded JSON schema assets/cvss-v4.0.2.json should be valid JSON. This is validated during type generation. Please re-run type generation. (This looks like a dev error)",
        )
});
pub(crate) static EXTENSION_METASCHEMA: LazyLock<Value> = LazyLock::new(|| {
    serde_json::from_str(include_str!("../../../../assets/extension-metaschema.json"))
        .expect(
            "The embedded JSON schema assets/extension-metaschema.json should be valid JSON. This is validated during type generation. Please re-run type generation. (This looks like a dev error)",
        )
});
pub(crate) static EXTENSION_SCHEMA: LazyLock<Value> = LazyLock::new(|| {
    serde_json::from_str(include_str!("../../../../assets/extension-content.json"))
        .expect(
            "The embedded JSON schema assets/extension-content.json should be valid JSON. This is validated during type generation. Please re-run type generation. (This looks like a dev error)",
        )
});