shex_testsuite 0.2.10

RDF data shapes implementation in Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use clap::ValueEnum;
use serde::{Deserialize, Serialize};

#[derive(Serialize, Deserialize, Copy, Clone, PartialEq, Eq, PartialOrd, Ord, ValueEnum, Debug)]
pub enum ManifestMode {
    Schemas,
    Validation,
    NegativeSyntax,
    NegativeStructure,
}

/// The syntax mode to use when parsing the manifest. This is only relevant for the Validation tests
#[derive(Serialize, Deserialize, Copy, Clone, PartialEq, Eq, PartialOrd, Ord, ValueEnum, Debug)]
#[value(rename_all = "lowercase")]
pub enum ManifestShExSyntaxMode {
    ShExJ,
    ShExC,
}