-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix!: revise schema for data & config store records [1/6] (#72)
* fix!: update protobuf and JSONSchema definitions * fix: Add old JSONSchema definitions (Mapeo <=v5) * delete "old" protobuf & jsonSchema defs * Updates to proto & JSONSchema defs
- Loading branch information
1 parent
ddbd70d
commit 71ce3f6
Showing
30 changed files
with
620 additions
and
474 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
syntax = "proto3"; | ||
package mapeo; | ||
|
||
import "google/protobuf/any.proto"; | ||
import "google/protobuf/timestamp.proto"; | ||
import "tags/v1.proto"; | ||
import "common/v1.proto"; | ||
import "options.proto"; | ||
|
||
message Field_2 { | ||
// **DO NOT CHANGE dataTypeId** generated with `openssl rand -hex 6` | ||
option (dataTypeId) = "9c5abfbee243"; | ||
option (schemaName) = "field"; | ||
|
||
Common_1 common = 1; | ||
|
||
optional string tagKey = 5 [(required) = true]; | ||
enum Type { | ||
text = 0; | ||
number = 1; | ||
selectOne = 2; | ||
selectMultiple = 3; | ||
} | ||
Type type = 6 [(required) = true]; | ||
optional string label = 7 [(required) = true]; | ||
enum Appearance { | ||
multiline = 0; | ||
singleline = 1; | ||
} | ||
Appearance appearance = 8; | ||
bool snakeCase = 9; | ||
message Option { | ||
string label = 1; | ||
TagValue_1.PrimitiveValue value = 2; | ||
} | ||
repeated Option options = 10; | ||
bool universal = 11; | ||
optional string placeholder = 12; | ||
optional string helperText = 13; | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.