1// @generated by jacquard-lexicon. DO NOT EDIT.
2//
3// Lexicon: blue.2048.verification.defs
4//
5// This file was automatically generated from Lexicon schemas.
6// Any manual changes will be overwritten on the next regeneration.
7
8pub mod game;
9pub mod stats;
10
11///Holds the signature for another record showing it has verified it to the best of it's ability and it should be trusted if the signatures match.
12#[jacquard_derive::lexicon]
13#[derive(
14 serde::Serialize,
15 serde::Deserialize,
16 Debug,
17 Clone,
18 PartialEq,
19 Eq,
20 jacquard_derive::IntoStatic
21)]
22#[serde(rename_all = "camelCase")]
23pub struct VerificationRef<'a> {
24 pub created_at: jacquard_common::types::string::Datetime,
25 ///The at://uri for the public did:key to verify the remote record. This also counts as the authority of the verification (example @2048.blue). As well as the type of verification by the collection name (blue.2048.key.game).
26 #[serde(borrow)]
27 pub key_ref: jacquard_common::types::string::AtUri<'a>,
28 ///The at://uri for the record that is being verified.
29 #[serde(borrow)]
30 pub record_ref: jacquard_common::types::string::AtUri<'a>,
31 ///The public verifiable signature of the record. Serialization of the records valued
32 #[serde(borrow)]
33 pub signature: jacquard_common::CowStr<'a>,
34 ///DID of the subject the verification applies to.
35 #[serde(borrow)]
36 pub subject: jacquard_common::types::string::Did<'a>,
37}