context.modules = [
    { name = libpipewire-module-protocol-native }
    { name = libpipewire-module-metadata }
]

wireplumber.settings.schema = {
  test-setting-bool = {
    description = "test-setting-bool description"
    type = "bool"
    default = false
  }
  test-setting-int = {
    description = "test-setting-int description"
    type = "int"
    default = 0
    min = -100
    max = 100
  }
  test-setting-float = {
    description = "test-setting-float description"
    type = "float"
    default = 0.0
    min = -100.0
    max = 100.0
  }
  test-setting-string = {
    description = "test-setting-string description"
    type = "string"
    default = "default"
  }
  test-setting-string2 = {
    description = "test-setting-string2 description"
    type = "string"
    default = "default"
  }
  test-setting-array = {
    description = "test-setting-array description"
    type = "array"
    default = []
  }
  test-setting-array2 = {
    description = "test-setting-array2 description"
    type = "array"
    default = []
  }
  test-setting-object = {
    description = "test-setting-object description"
    type = "object"
    default = {}
  }
}

wireplumber.settings = {
  test-setting-bool = true
  test-setting-int = -20
  test-setting-float = 3.14
  test-setting-string = "blahblah"
  test-setting-string2 = "a string with \"quotes\""
  test-setting-array = [1, 2, 3]
  test-setting-array2 = ["test1", "test 2", "test three", "test-four"]
  test-setting-object = { key1: "value", key2: 2, key3: true }
}
