{
  "$schema" : "https://json-schema.org/draft/2019-09/schema",
  "type" : "object",
  "properties" : {
    "enableUdp" : {
      "type" : "boolean",
      "description" : "Is udp enabled? If not, the server will only use TCP"
    },
    "physics" : {
      "type" : "object",
      "properties" : {
        "iterations" : {
          "type" : "integer",
          "format" : "int32",
          "description" : "Sets number of iterations per sub-steps used by Krunch"
        },
        "lodDetail" : {
          "type" : "integer",
          "format" : "int32",
          "description" : "The detail of the collision LOD of ships, higher values are more detailed but heavier to compute"
        },
        "maxDePenetrationSpeed" : {
          "type" : "number",
          "format" : "double",
          "description" : "Limit the max collision de-penetration speed so that rigid bodies don't go flying apart when they overlap"
        },
        "solver" : {
          "type" : "string",
          "enum" : [ "GAUSS_SEIDEL", "JACOBI" ],
          "description" : "Sets the constraint solver used by Krunch"
        },
        "subSteps" : {
          "type" : "integer",
          "format" : "int32",
          "description" : "Sets number of sub-steps used by Krunch"
        }
      },
      "additionalProperties" : false,
      "description" : "All related settings to the physics engine"
    },
    "pt" : {
      "type" : "object",
      "properties" : {
        "physicsTicksPerGameTick" : {
          "type" : "integer",
          "format" : "int32"
        },
        "synchronizePhysics" : {
          "type" : "boolean",
          "description" : "Synchronize the physics thread and the game thread"
        }
      },
      "additionalProperties" : false,
      "title" : "Physics Thread Settings"
    },
    "shipLoadDistance" : {
      "type" : "number",
      "format" : "double",
      "description" : "Ship load distance in blocks"
    },
    "shipUnloadDistance" : {
      "type" : "number",
      "format" : "double",
      "description" : "Ship unload distance in blocks"
    },
    "udpPort" : {
      "type" : "integer",
      "format" : "int32",
      "description" : "Port to attempt to establish UDP connections on"
    },
    "$schema" : {
      "type" : "string"
    }
  },
  "additionalProperties" : false
}