Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
caosdb-proto
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
caosdb
Software
caosdb-proto
Commits
dd9abe34
Verified
Commit
dd9abe34
authored
3 years ago
by
Timm Fitschen
Browse files
Options
Downloads
Patches
Plain Diff
WIP: basic entity properties
parent
b5ba134a
No related branches found
No related tags found
No related merge requests found
Pipeline
#9946
passed with warnings
3 years ago
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
proto/caosdb/entity/v1alpha1/main.proto
+39
-1
39 additions, 1 deletion
proto/caosdb/entity/v1alpha1/main.proto
with
39 additions
and
1 deletion
proto/caosdb/entity/v1alpha1/main.proto
+
39
−
1
View file @
dd9abe34
...
...
@@ -24,7 +24,32 @@ option java_multiple_files = true;
option
java_package
=
"org.caosdb.api.entity.v1alpha1"
;
package
caosdb
.
entity.v1alpha1
;
// Entity message
// Entity version
message
Version
{
// Version id
string
id
=
1
;
}
// Unit of a value or default unit of a Property
message
Unit
{
// The string representation of the unit
string
str
=
1
;
}
// Basic datatype. To be used as the datatype of a value or as the default datatype of a Property
message
BasicDatatype
{
// Name of the basic datatype (e.g. integer, double, boolean)
string
name
=
1
;
}
// Reference datatype. To be used as the datatype of a value or as the default datatype of a Property
message
ReferenceDatatype
{
// The referenced record type
string
reference
=
1
;
}
// Entity
message
Entity
{
// Entity ID
string
eid
=
1
;
...
...
@@ -32,6 +57,19 @@ message Entity {
string
name
=
2
;
// Entity Description
string
description
=
3
;
// Entity Version
Version
version
=
4
;
// Entity Role
string
role
=
5
;
// Default unit (only used by Properties)
Unit
unit
=
6
;
// Default datatype (only used by Properties)
oneof
datatype
{
// Basic datatype (e.g. integer, double)
BasicDatatype
basic
=
7
;
// Reference datatype
ReferenceDatatype
reference
=
8
;
};
}
// RetrieveRequest message
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment