diff --git a/schema.go b/schema.go index 33f5b0b..2eab862 100644 --- a/schema.go +++ b/schema.go @@ -37,10 +37,9 @@ type Setting struct { } type Volume struct { - Name string `yaml:"name"` - Path string `yaml:"path"` - Class string `yaml:"class"` - Size string `yaml:"size"` + Name string `yaml:"name"` + Path string `yaml:"path"` + Size string `yaml:"size"` } type Probes struct { diff --git a/schema/README.md b/schema/README.md index 9864d0b..954fbb3 100644 --- a/schema/README.md +++ b/schema/README.md @@ -4,4 +4,4 @@ A collection of configuration and settings for games available in the registry. ## Specification -The [example specification](./example_specification.yml) can be followed to add your own games to the registry. +The [example definition](./example_definition.yml) can be followed to add your own games to the registry. diff --git a/schema/example_specification.yml b/schema/example_definition.yml similarity index 100% rename from schema/example_specification.yml rename to schema/example_definition.yml diff --git a/schema/garrys_mod.yaml b/schema/garrys_mod.yaml index c0cab52..5632917 100644 --- a/schema/garrys_mod.yaml +++ b/schema/garrys_mod.yaml @@ -43,6 +43,5 @@ settings: volumes: - name: data path: "/gmod" - class: classic size: 10Gi probes: null \ No newline at end of file diff --git a/schema/minecraft_java.yaml b/schema/minecraft_java.yaml index d861c1d..afb18ff 100644 --- a/schema/minecraft_java.yaml +++ b/schema/minecraft_java.yaml @@ -44,7 +44,6 @@ settings: volumes: - name: data path: "/data" - class: classic size: 10Gi probes: command: diff --git a/schema/valheim.yaml b/schema/valheim.yaml index a67637e..9280381 100644 --- a/schema/valheim.yaml +++ b/schema/valheim.yaml @@ -44,6 +44,5 @@ settings: volumes: - name: data path: "/data" - class: classic size: 10Gi probes: null \ No newline at end of file diff --git a/schema_test.go b/schema_test.go index e111e08..911b567 100644 --- a/schema_test.go +++ b/schema_test.go @@ -76,10 +76,9 @@ var exampleSchema Schema = Schema{ }, Volumes: []Volume{ { - Name: "data", - Path: "/data", - Class: "classic", - Size: "10Gi", + Name: "data", + Path: "/data", + Size: "10Gi", }, }, Probes: Probes{