Skip to content

Commit

Permalink
schema: add ParallelDomainFrameMetadata for Parallel Domain datasets. (
Browse files Browse the repository at this point in the history
…#87)

* schema: add ParallelDomainSampleMetadata for Parallel Domain datasets

- add protobuf schema for ParallelDomainSampleMetadata
- modify dgp.contribs.pd.metadata to hold sample-level message

* Merge branch 'master' into feat/nehal/add-generic-metadata
  • Loading branch information
nehalmamgain authored Apr 27, 2022
1 parent 5f1447a commit 45e5034
Show file tree
Hide file tree
Showing 2 changed files with 190 additions and 49 deletions.
13 changes: 11 additions & 2 deletions dgp/contribs/pd/metadata.proto
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// Copyright 2020 Parallel Domain. All rights reserved.
// Definitions for Parallel Domain Scene-level Metadata
// Definitions for Parallel Domain Scene-level and Sample-level Metadata

syntax = "proto3";

Expand All @@ -24,6 +24,12 @@ enum RegionType
MICHIGAN = 2;
}

// Sample-level metadata to encode attribute information in key-value pairs.
message ParallelDomainSampleMetadata {
map<string, string> attributes = 1;
}

// Scene-level metadata.
message ParallelDomainSceneMetadata {
// Location name in PD location library
// The location name string will be of the form xx_yy,
Expand Down Expand Up @@ -72,5 +78,8 @@ message ParallelDomainSceneMetadata {
// Batch ID and version for delivery tracking
uint32 batch_id = 7;
uint32 version = 8;

// Additional metadata
map<string, string> attributes = 14;
}
// Next ID: 14
// Next ID: 15
Loading

0 comments on commit 45e5034

Please sign in to comment.