All Downloads are FREE. Search and download functionalities are using the official Maven repository.

sdk.models.evidence.proto Maven / Gradle / Ivy

There is a newer version: 0.1.5
Show newest version
syntax = "proto3";
import "scalapb/scalapb.proto";
import "scalapb/validate.proto";



package org.plasmalabs.sdk.models;

import 'validate/validate.proto';

import 'quivr/models/shared.proto';

 // Evidence should be a succinct, unique set of bytes used to distinguish between any two data objects.
 // Evidence is also meant to have a minimal amount of structure such that other domains may provide
 // their own similarly unique & succinct values. Quivr can cast such external domain "evidence" into Topl evidence
 // through the use of ContainsSignable[Evidence[_]]
message Evidence {
    quivr.models.Digest digest = 1 [(validate.rules).message.required = true];
}

option (scalapb.options) = {
  [scalapb.validate.file] {
    validate_at_construction: true
  }
  field_transformations: [
    {
      when: {options: {[validate.rules] {message: {required: true}}}}
      set: {
        [scalapb.field] {
          required: true
        }
      }
    }
  ]
};




© 2015 - 2025 Weber Informatics LLC | Privacy Policy