diff --git a/validation/src/nats_types.rs b/validation/src/nats_types.rs index 15f0924..f84e4b6 100644 --- a/validation/src/nats_types.rs +++ b/validation/src/nats_types.rs @@ -4,6 +4,22 @@ // Requests are sent from maps-service to validator // Validation invokes the REST api to update the submissions +#[allow(nonstandard_style)] +#[derive(serde::Deserialize)] +pub struct CreateSubmissionRequest{ + // operation_id is passed back in the response message + pub OperationID:i64, + pub ModelID:u64, +} + +#[allow(nonstandard_style)] +#[derive(serde::Deserialize)] +pub struct CreateMapfixRequest{ + pub OperationID:i64, + pub ModelID:u64, + pub TargetAssetID:u64, +} + #[allow(nonstandard_style)] #[derive(serde::Deserialize)] pub struct ValidateSubmissionRequest{