Skip to content

Instantly share code, notes, and snippets.

@jadenlemmon
Created April 25, 2023 19:21
Show Gist options
  • Save jadenlemmon/ffb85757b3d62c16a77cdca95ffd0aff to your computer and use it in GitHub Desktop.
Save jadenlemmon/ffb85757b3d62c16a77cdca95ffd0aff to your computer and use it in GitHub Desktop.
wolf config schema
{
"$schema": "http://json-schema.org/draft-06/schema#",
"$ref": "#/definitions/Welcome6",
"definitions": {
"Welcome6": {
"type": "object",
"additionalProperties": false,
"properties": {
"k8s": {
"$ref": "#/definitions/K8S"
},
"services": {
"$ref": "#/definitions/Services"
}
},
"required": [
"k8s",
"services"
],
"title": "Welcome6"
},
"K8S": {
"type": "object",
"additionalProperties": false,
"properties": {
"context": {
"type": "string"
}
},
"required": [
"context"
],
"title": "K8S"
},
"Services": {
"type": "object",
"additionalProperties": false,
"properties": {
"app": {
"$ref": "#/definitions/App"
},
"scheduler": {
"$ref": "#/definitions/Arena"
},
"playground": {
"$ref": "#/definitions/Arena"
},
"runner": {
"$ref": "#/definitions/Arena"
},
"multiplayer": {
"$ref": "#/definitions/Arena"
},
"arena": {
"$ref": "#/definitions/Arena"
},
"runDirector": {
"$ref": "#/definitions/RunDirector"
}
},
"required": [
"app",
"arena",
"multiplayer",
"playground",
"runDirector",
"runner",
"scheduler"
],
"title": "Services"
},
"App": {
"type": "object",
"additionalProperties": false,
"properties": {
"enabled": {
"type": "boolean"
},
"hot": {
"type": "boolean"
}
},
"required": [
"enabled",
"hot"
],
"title": "App"
},
"Arena": {
"type": "object",
"additionalProperties": false,
"properties": {
"enabled": {
"type": "boolean"
},
"k8s": {
"type": "boolean"
}
},
"required": [
"enabled",
"k8s"
],
"title": "Arena"
},
"RunDirector": {
"type": "object",
"additionalProperties": false,
"properties": {
"enabled": {
"type": "boolean"
},
"realm": {
"type": "string"
},
"k8s": {
"type": "boolean"
}
},
"required": [
"enabled",
"k8s",
"realm"
],
"title": "RunDirector"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment