@@ -80,21 +80,21 @@ type IdentifierType struct {
8080
8181// SchemaSplit is the schema-file YAML-marshalable representation of a split's state
8282type SchemaSplit struct {
83- Name string `yaml:"name"`
84- Weights map [string ]int `yaml:"weights"`
85- Decided bool `yaml:"decided,omitempty"`
86- Owner string `yaml:"owner,omitempty"`
83+ Name string `yaml:"name" json:"name" `
84+ Weights map [string ]int `yaml:"weights" json:"weights" `
85+ Decided bool `yaml:"decided,omitempty" json:"decided,omitempty" `
86+ Owner string `yaml:"owner,omitempty" json:"owner,omitempty" `
8787}
8888
8989// Schema is the YAML-marshalable representation of the TestTrack schema for
9090// migration validation and bootstrapping of new ecosystems
9191type Schema struct {
92- SerializerVersion int `yaml:"serializer_version"`
93- SchemaVersion string `yaml:"schema_version"`
94- Splits []SchemaSplit `yaml:"splits,omitempty"`
95- IdentifierTypes []IdentifierType `yaml:"identifier_types,omitempty"`
96- RemoteKills []RemoteKill `yaml:"remote_kills,omitempty"`
97- FeatureCompletions []FeatureCompletion `yaml:"feature_completions,omitempty"`
92+ SerializerVersion int `yaml:"serializer_version" json:"serializer_version" `
93+ SchemaVersion string `yaml:"schema_version" json:"schema_version" `
94+ Splits []SchemaSplit `yaml:"splits,omitempty" json:"splits,omitempty" `
95+ IdentifierTypes []IdentifierType `yaml:"identifier_types,omitempty" json:"identifier_types,omitempty" `
96+ RemoteKills []RemoteKill `yaml:"remote_kills,omitempty" json:"remote_kills,omitempty" `
97+ FeatureCompletions []FeatureCompletion `yaml:"feature_completions,omitempty" json:"feature_completions,omitempty" `
9898}
9999
100100// LegacySchema represents the Rails migration-piggybacked testtrack schema files of old
0 commit comments