Skip to content

Instantly share code, notes, and snippets.

@DeityLamb
Created June 16, 2025 13:50
Show Gist options
  • Select an option

  • Save DeityLamb/b30051a49e142bbddf298d404a98df33 to your computer and use it in GitHub Desktop.

Select an option

Save DeityLamb/b30051a49e142bbddf298d404a98df33 to your computer and use it in GitHub Desktop.
{
"$schema": "http://json-schema.org/draft-06/schema#",
"$ref": "#/definitions/Schema",
"definitions": {
"Schema": {
"type": "object",
"additionalProperties": false,
"properties": {
"assetIndex": {
"$ref": "#/definitions/AssetIndex"
},
"assets": {
"$ref": "#/definitions/IDUnion"
},
"complianceLevel": {
"type": "integer"
},
"downloads": {
"$ref": "#/definitions/SchemaDownloadsClass"
},
"id": {
"type": "string"
},
"javaVersion": {
"$ref": "#/definitions/JavaVersionClass"
},
"libraries": {
"type": "array",
"items": {
"$ref": "#/definitions/LibraryElement"
}
},
"mainClass": {
"$ref": "#/definitions/MainClass"
},
"minecraftArguments": {
"type": "string"
},
"minimumLauncherVersion": {
"type": "integer"
},
"releaseTime": {
"type": "string",
"format": "date-time"
},
"time": {
"type": "string",
"format": "date-time"
},
"type": {
"$ref": "#/definitions/SchemaType"
},
"logging": {
"$ref": "#/definitions/LoggingClass"
},
"arguments": {
"$ref": "#/definitions/Arguments"
},
"$schema": {
"type": "string",
"format": "uri",
"qt-uri-protocols": [
"http"
]
},
"$ref": {
"type": "string"
},
"definitions": {
"$ref": "#/definitions/Definitions"
}
},
"required": [],
"title": "Schema"
},
"Arguments": {
"type": "object",
"additionalProperties": false,
"properties": {
"game": {
"type": "array",
"items": {
"$ref": "#/definitions/GameUnion"
}
},
"jvm": {
"type": "array",
"items": {
"$ref": "#/definitions/JVMUnion"
}
}
},
"required": [
"game",
"jvm"
],
"title": "Arguments"
},
"GameGameClass": {
"type": "object",
"additionalProperties": false,
"properties": {
"rules": {
"type": "array",
"items": {
"$ref": "#/definitions/GameRule"
}
},
"value": {
"$ref": "#/definitions/GameValueUnion"
}
},
"required": [
"rules",
"value"
],
"title": "GameGameClass"
},
"GameRule": {
"type": "object",
"additionalProperties": false,
"properties": {
"action": {
"$ref": "#/definitions/ActionEnum"
},
"features": {
"$ref": "#/definitions/Features"
}
},
"required": [
"action",
"features"
],
"title": "GameRule"
},
"Features": {
"type": "object",
"additionalProperties": false,
"properties": {
"is_demo_user": {
"type": "boolean"
},
"has_custom_resolution": {
"type": "boolean"
},
"has_quick_plays_support": {
"type": "boolean"
},
"is_quick_play_singleplayer": {
"type": "boolean"
},
"is_quick_play_multiplayer": {
"type": "boolean"
},
"is_quick_play_realms": {
"type": "boolean"
}
},
"required": [],
"title": "Features"
},
"JVMClass": {
"type": "object",
"additionalProperties": false,
"properties": {
"rules": {
"type": "array",
"items": {
"$ref": "#/definitions/JVMRule"
}
},
"value": {
"$ref": "#/definitions/JVMValueUnion"
}
},
"required": [
"rules",
"value"
],
"title": "JVMClass"
},
"JVMRule": {
"type": "object",
"additionalProperties": false,
"properties": {
"action": {
"$ref": "#/definitions/ActionEnum"
},
"os": {
"$ref": "#/definitions/PurpleOS"
}
},
"required": [
"action",
"os"
],
"title": "JVMRule"
},
"PurpleOS": {
"type": "object",
"additionalProperties": false,
"properties": {
"name": {
"$ref": "#/definitions/Name"
},
"version": {
"$ref": "#/definitions/PurpleVersion"
},
"arch": {
"$ref": "#/definitions/Arch"
}
},
"required": [],
"title": "PurpleOS"
},
"AssetIndex": {
"type": "object",
"additionalProperties": false,
"properties": {
"id": {
"$ref": "#/definitions/IDUnion"
},
"sha1": {
"type": "string"
},
"size": {
"type": "integer"
},
"totalSize": {
"type": "integer"
},
"url": {
"type": "string",
"format": "uri",
"qt-uri-protocols": [
"https"
],
"qt-uri-extensions": [
".json",
".xml"
]
}
},
"required": [
"id",
"sha1",
"size",
"url"
],
"title": "AssetIndex"
},
"Definitions": {
"type": "object",
"additionalProperties": false,
"properties": {
"Schema": {
"$ref": "#/definitions/SchemaClass"
},
"Arguments": {
"$ref": "#/definitions/ArgumentsClass"
},
"GameClass": {
"$ref": "#/definitions/Class"
},
"GameRule": {
"$ref": "#/definitions/GameRuleClass"
},
"Features": {
"$ref": "#/definitions/FeaturesClass"
},
"JVMClass": {
"$ref": "#/definitions/Class"
},
"JVMRule": {
"$ref": "#/definitions/Rule"
},
"PurpleOS": {
"$ref": "#/definitions/PurpleOSClass"
},
"AssetIndex": {
"$ref": "#/definitions/AssetIndexClass"
},
"SchemaDownloads": {
"$ref": "#/definitions/SchemaDownloads"
},
"ClientMappingsClass": {
"$ref": "#/definitions/ClientMappingsClass"
},
"JavaVersion": {
"$ref": "#/definitions/JavaVersion"
},
"Library": {
"$ref": "#/definitions/Library"
},
"LibraryDownloads": {
"$ref": "#/definitions/LibraryDownloads"
},
"Classifiers": {
"$ref": "#/definitions/Classifiers"
},
"Extract": {
"$ref": "#/definitions/Extract"
},
"Natives": {
"$ref": "#/definitions/Natives"
},
"LibraryRule": {
"$ref": "#/definitions/Rule"
},
"FluffyOS": {
"$ref": "#/definitions/FluffyOSClass"
},
"Logging": {
"$ref": "#/definitions/Logging"
},
"LoggingClient": {
"$ref": "#/definitions/LoggingClient"
},
"GameElement": {
"$ref": "#/definitions/Element"
},
"GameValue": {
"$ref": "#/definitions/GameValue"
},
"JVMElement": {
"$ref": "#/definitions/Element"
},
"JVMValue": {
"$ref": "#/definitions/JVMValue"
},
"AssetsUnion": {
"$ref": "#/definitions/AssetsUnion"
},
"GameEnum": {
"$ref": "#/definitions/ActionClass"
},
"Action": {
"$ref": "#/definitions/ActionClass"
},
"PurpleValue": {
"$ref": "#/definitions/ActionClass"
},
"FluffyValue": {
"$ref": "#/definitions/ActionClass"
},
"JVMEnum": {
"$ref": "#/definitions/ActionClass"
},
"Arch": {
"$ref": "#/definitions/ActionClass"
},
"Name": {
"$ref": "#/definitions/ActionClass"
},
"PurpleVersion": {
"$ref": "#/definitions/ActionClass"
},
"TentacledValue": {
"$ref": "#/definitions/ActionClass"
},
"AssetsEnum": {
"$ref": "#/definitions/ActionClass"
},
"Component": {
"$ref": "#/definitions/ActionClass"
},
"Exclude": {
"$ref": "#/definitions/ActionClass"
},
"Linux": {
"$ref": "#/definitions/ActionClass"
},
"Osx": {
"$ref": "#/definitions/ActionClass"
},
"Windows": {
"$ref": "#/definitions/ActionClass"
},
"FluffyVersion": {
"$ref": "#/definitions/ActionClass"
},
"Argument": {
"$ref": "#/definitions/ActionClass"
},
"ClientType": {
"$ref": "#/definitions/ActionClass"
},
"MainClass": {
"$ref": "#/definitions/ActionClass"
},
"SchemaType": {
"$ref": "#/definitions/ActionClass"
}
},
"required": [
"Action",
"Arch",
"Argument",
"Arguments",
"AssetIndex",
"AssetsEnum",
"AssetsUnion",
"Classifiers",
"ClientMappingsClass",
"ClientType",
"Component",
"Exclude",
"Extract",
"Features",
"FluffyOS",
"FluffyValue",
"FluffyVersion",
"GameClass",
"GameElement",
"GameEnum",
"GameRule",
"GameValue",
"JVMClass",
"JVMElement",
"JVMEnum",
"JVMRule",
"JVMValue",
"JavaVersion",
"Library",
"LibraryDownloads",
"LibraryRule",
"Linux",
"Logging",
"LoggingClient",
"MainClass",
"Name",
"Natives",
"Osx",
"PurpleOS",
"PurpleValue",
"PurpleVersion",
"Schema",
"SchemaDownloads",
"SchemaType",
"TentacledValue",
"Windows"
],
"title": "Definitions"
},
"ActionClass": {
"type": "object",
"additionalProperties": false,
"properties": {
"type": {
"$ref": "#/definitions/FormatEnum"
},
"enum": {
"type": "array",
"items": {
"type": "string"
}
},
"title": {
"type": "string"
}
},
"required": [
"enum",
"title",
"type"
],
"title": "ActionClass"
},
"ArgumentsClass": {
"type": "object",
"additionalProperties": false,
"properties": {
"type": {
"type": "string"
},
"additionalProperties": {
"type": "boolean"
},
"properties": {
"$ref": "#/definitions/ArgumentsProperties"
},
"required": {
"type": "array",
"items": {
"type": "string"
}
},
"title": {
"type": "string"
}
},
"required": [
"additionalProperties",
"properties",
"required",
"title",
"type"
],
"title": "ArgumentsClass"
},
"ArgumentsProperties": {
"type": "object",
"additionalProperties": false,
"properties": {
"game": {
"$ref": "#/definitions/JVMElement"
},
"jvm": {
"$ref": "#/definitions/JVMElement"
}
},
"required": [
"game",
"jvm"
],
"title": "ArgumentsProperties"
},
"AssetIndexClass": {
"type": "object",
"additionalProperties": false,
"properties": {
"type": {
"type": "string"
},
"additionalProperties": {
"type": "boolean"
},
"properties": {
"$ref": "#/definitions/AssetIndexProperties"
},
"required": {
"type": "array",
"items": {
"type": "string"
}
},
"title": {
"type": "string"
}
},
"required": [
"additionalProperties",
"properties",
"required",
"title",
"type"
],
"title": "AssetIndexClass"
},
"AssetIndexProperties": {
"type": "object",
"additionalProperties": false,
"properties": {
"id": {
"$ref": "#/definitions/ID"
},
"sha1": {
"$ref": "#/definitions/Sha1"
},
"size": {
"$ref": "#/definitions/Sha1"
},
"totalSize": {
"$ref": "#/definitions/Sha1"
},
"url": {
"$ref": "#/definitions/URL"
}
},
"required": [
"id",
"sha1",
"size",
"totalSize",
"url"
],
"title": "AssetIndexProperties"
},
"Sha1": {
"type": "object",
"additionalProperties": false,
"properties": {
"type": {
"$ref": "#/definitions/FormatEnum"
}
},
"required": [
"type"
],
"title": "Sha1"
},
"URL": {
"type": "object",
"additionalProperties": false,
"properties": {
"type": {
"$ref": "#/definitions/FormatEnum"
},
"format": {
"type": "string"
},
"qt-uri-protocols": {
"type": "array",
"items": {
"type": "string"
}
},
"qt-uri-extensions": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"format",
"qt-uri-extensions",
"qt-uri-protocols",
"type"
],
"title": "URL"
},
"AssetsUnion": {
"type": "object",
"additionalProperties": false,
"properties": {
"anyOf": {
"type": "array",
"items": {
"$ref": "#/definitions/AssetsUnionAnyOf"
}
},
"title": {
"type": "string"
}
},
"required": [
"anyOf",
"title"
],
"title": "AssetsUnion"
},
"AssetsUnionAnyOf": {
"type": "object",
"additionalProperties": false,
"properties": {
"$ref": {
"type": "string"
},
"type": {
"$ref": "#/definitions/FormatEnum"
},
"format": {
"$ref": "#/definitions/FormatEnum"
}
},
"required": [],
"title": "AssetsUnionAnyOf"
},
"Classifiers": {
"type": "object",
"additionalProperties": false,
"properties": {
"type": {
"type": "string"
},
"additionalProperties": {
"type": "boolean"
},
"properties": {
"$ref": "#/definitions/ClassifiersProperties"
},
"required": {
"type": "array",
"items": {}
},
"title": {
"type": "string"
}
},
"required": [
"additionalProperties",
"properties",
"required",
"title",
"type"
],
"title": "Classifiers"
},
"ClassifiersProperties": {
"type": "object",
"additionalProperties": false,
"properties": {
"natives-linux": {
"$ref": "#/definitions/ID"
},
"natives-osx": {
"$ref": "#/definitions/ID"
},
"natives-windows": {
"$ref": "#/definitions/ID"
},
"natives-macos": {
"$ref": "#/definitions/ID"
},
"natives-windows-32": {
"$ref": "#/definitions/ID"
},
"natives-windows-64": {
"$ref": "#/definitions/ID"
},
"linux-x86_64": {
"$ref": "#/definitions/ID"
}
},
"required": [
"linux-x86_64",
"natives-linux",
"natives-macos",
"natives-osx",
"natives-windows",
"natives-windows-32",
"natives-windows-64"
],
"title": "ClassifiersProperties"
},
"ClientMappingsClass": {
"type": "object",
"additionalProperties": false,
"properties": {
"type": {
"type": "string"
},
"additionalProperties": {
"type": "boolean"
},
"properties": {
"$ref": "#/definitions/ClientMappingsClassProperties"
},
"required": {
"type": "array",
"items": {
"type": "string"
}
},
"title": {
"type": "string"
}
},
"required": [
"additionalProperties",
"properties",
"required",
"title",
"type"
],
"title": "ClientMappingsClass"
},
"ClientMappingsClassProperties": {
"type": "object",
"additionalProperties": false,
"properties": {
"sha1": {
"$ref": "#/definitions/Sha1"
},
"size": {
"$ref": "#/definitions/Sha1"
},
"url": {
"$ref": "#/definitions/URL"
},
"path": {
"$ref": "#/definitions/Sha1"
}
},
"required": [
"path",
"sha1",
"size",
"url"
],
"title": "ClientMappingsClassProperties"
},
"Extract": {
"type": "object",
"additionalProperties": false,
"properties": {
"type": {
"type": "string"
},
"additionalProperties": {
"type": "boolean"
},
"properties": {
"$ref": "#/definitions/ExtractProperties"
},
"required": {
"type": "array",
"items": {
"type": "string"
}
},
"title": {
"type": "string"
}
},
"required": [
"additionalProperties",
"properties",
"required",
"title",
"type"
],
"title": "Extract"
},
"ExtractProperties": {
"type": "object",
"additionalProperties": false,
"properties": {
"exclude": {
"$ref": "#/definitions/JVMElement"
}
},
"required": [
"exclude"
],
"title": "ExtractProperties"
},
"FeaturesClass": {
"type": "object",
"additionalProperties": false,
"properties": {
"type": {
"type": "string"
},
"additionalProperties": {
"type": "boolean"
},
"properties": {
"$ref": "#/definitions/FeaturesProperties"
},
"required": {
"type": "array",
"items": {}
},
"title": {
"type": "string"
}
},
"required": [
"additionalProperties",
"properties",
"required",
"title",
"type"
],
"title": "FeaturesClass"
},
"FeaturesProperties": {
"type": "object",
"additionalProperties": false,
"properties": {
"is_demo_user": {
"$ref": "#/definitions/Sha1"
},
"has_custom_resolution": {
"$ref": "#/definitions/Sha1"
},
"has_quick_plays_support": {
"$ref": "#/definitions/Sha1"
},
"is_quick_play_singleplayer": {
"$ref": "#/definitions/Sha1"
},
"is_quick_play_multiplayer": {
"$ref": "#/definitions/Sha1"
},
"is_quick_play_realms": {
"$ref": "#/definitions/Sha1"
}
},
"required": [
"has_custom_resolution",
"has_quick_plays_support",
"is_demo_user",
"is_quick_play_multiplayer",
"is_quick_play_realms",
"is_quick_play_singleplayer"
],
"title": "FeaturesProperties"
},
"FluffyOSClass": {
"type": "object",
"additionalProperties": false,
"properties": {
"type": {
"type": "string"
},
"additionalProperties": {
"type": "boolean"
},
"properties": {
"$ref": "#/definitions/FluffyOSProperties"
},
"required": {
"type": "array",
"items": {
"type": "string"
}
},
"title": {
"type": "string"
}
},
"required": [
"additionalProperties",
"properties",
"required",
"title",
"type"
],
"title": "FluffyOSClass"
},
"FluffyOSProperties": {
"type": "object",
"additionalProperties": false,
"properties": {
"name": {
"$ref": "#/definitions/ID"
},
"version": {
"$ref": "#/definitions/ID"
}
},
"required": [
"name",
"version"
],
"title": "FluffyOSProperties"
},
"Class": {
"type": "object",
"additionalProperties": false,
"properties": {
"type": {
"type": "string"
},
"additionalProperties": {
"type": "boolean"
},
"properties": {
"$ref": "#/definitions/GameClassProperties"
},
"required": {
"type": "array",
"items": {
"type": "string"
}
},
"title": {
"type": "string"
}
},
"required": [
"additionalProperties",
"properties",
"required",
"title",
"type"
],
"title": "Class"
},
"GameClassProperties": {
"type": "object",
"additionalProperties": false,
"properties": {
"rules": {
"$ref": "#/definitions/JVMElement"
},
"value": {
"$ref": "#/definitions/ID"
}
},
"required": [
"rules",
"value"
],
"title": "GameClassProperties"
},
"Element": {
"type": "object",
"additionalProperties": false,
"properties": {
"anyOf": {
"type": "array",
"items": {
"$ref": "#/definitions/ID"
}
},
"title": {
"type": "string"
}
},
"required": [
"anyOf",
"title"
],
"title": "Element"
},
"ID": {
"type": "object",
"additionalProperties": false,
"properties": {
"$ref": {
"type": "string"
}
},
"required": [
"$ref"
],
"title": "ID"
},
"GameRuleClass": {
"type": "object",
"additionalProperties": false,
"properties": {
"type": {
"type": "string"
},
"additionalProperties": {
"type": "boolean"
},
"properties": {
"$ref": "#/definitions/GameRuleProperties"
},
"required": {
"type": "array",
"items": {
"type": "string"
}
},
"title": {
"type": "string"
}
},
"required": [
"additionalProperties",
"properties",
"required",
"title",
"type"
],
"title": "GameRuleClass"
},
"GameRuleProperties": {
"type": "object",
"additionalProperties": false,
"properties": {
"action": {
"$ref": "#/definitions/ID"
},
"features": {
"$ref": "#/definitions/ID"
}
},
"required": [
"action",
"features"
],
"title": "GameRuleProperties"
},
"GameValue": {
"type": "object",
"additionalProperties": false,
"properties": {
"anyOf": {
"type": "array",
"items": {
"$ref": "#/definitions/GameValueAnyOf"
}
},
"title": {
"type": "string"
}
},
"required": [
"anyOf",
"title"
],
"title": "GameValue"
},
"GameValueAnyOf": {
"type": "object",
"additionalProperties": false,
"properties": {
"type": {
"type": "string"
},
"items": {
"$ref": "#/definitions/ID"
},
"$ref": {
"type": "string"
}
},
"required": [],
"title": "GameValueAnyOf"
},
"Rule": {
"type": "object",
"additionalProperties": false,
"properties": {
"type": {
"type": "string"
},
"additionalProperties": {
"type": "boolean"
},
"properties": {
"$ref": "#/definitions/JVMRuleProperties"
},
"required": {
"type": "array",
"items": {
"type": "string"
}
},
"title": {
"type": "string"
}
},
"required": [
"additionalProperties",
"properties",
"required",
"title",
"type"
],
"title": "Rule"
},
"JVMRuleProperties": {
"type": "object",
"additionalProperties": false,
"properties": {
"action": {
"$ref": "#/definitions/ID"
},
"os": {
"$ref": "#/definitions/ID"
}
},
"required": [
"action",
"os"
],
"title": "JVMRuleProperties"
},
"JVMValue": {
"type": "object",
"additionalProperties": false,
"properties": {
"anyOf": {
"type": "array",
"items": {
"$ref": "#/definitions/JVMElement"
}
},
"title": {
"type": "string"
}
},
"required": [
"anyOf",
"title"
],
"title": "JVMValue"
},
"JVMElement": {
"type": "object",
"additionalProperties": false,
"properties": {
"type": {
"type": "string"
},
"items": {
"$ref": "#/definitions/ID"
}
},
"required": [
"type"
],
"title": "JVMElement"
},
"JavaVersion": {
"type": "object",
"additionalProperties": false,
"properties": {
"type": {
"type": "string"
},
"additionalProperties": {
"type": "boolean"
},
"properties": {
"$ref": "#/definitions/JavaVersionProperties"
},
"required": {
"type": "array",
"items": {
"type": "string"
}
},
"title": {
"type": "string"
}
},
"required": [
"additionalProperties",
"properties",
"required",
"title",
"type"
],
"title": "JavaVersion"
},
"JavaVersionProperties": {
"type": "object",
"additionalProperties": false,
"properties": {
"component": {
"$ref": "#/definitions/ID"
},
"majorVersion": {
"$ref": "#/definitions/Sha1"
}
},
"required": [
"component",
"majorVersion"
],
"title": "JavaVersionProperties"
},
"Library": {
"type": "object",
"additionalProperties": false,
"properties": {
"type": {
"type": "string"
},
"additionalProperties": {
"type": "boolean"
},
"properties": {
"$ref": "#/definitions/LibraryProperties"
},
"required": {
"type": "array",
"items": {
"type": "string"
}
},
"title": {
"type": "string"
}
},
"required": [
"additionalProperties",
"properties",
"required",
"title",
"type"
],
"title": "Library"
},
"LibraryProperties": {
"type": "object",
"additionalProperties": false,
"properties": {
"downloads": {
"$ref": "#/definitions/ID"
},
"name": {
"$ref": "#/definitions/Sha1"
},
"rules": {
"$ref": "#/definitions/JVMElement"
},
"extract": {
"$ref": "#/definitions/ID"
},
"natives": {
"$ref": "#/definitions/ID"
}
},
"required": [
"downloads",
"extract",
"name",
"natives",
"rules"
],
"title": "LibraryProperties"
},
"LibraryDownloads": {
"type": "object",
"additionalProperties": false,
"properties": {
"type": {
"type": "string"
},
"additionalProperties": {
"type": "boolean"
},
"properties": {
"$ref": "#/definitions/LibraryDownloadsProperties"
},
"required": {
"type": "array",
"items": {}
},
"title": {
"type": "string"
}
},
"required": [
"additionalProperties",
"properties",
"required",
"title",
"type"
],
"title": "LibraryDownloads"
},
"LibraryDownloadsProperties": {
"type": "object",
"additionalProperties": false,
"properties": {
"artifact": {
"$ref": "#/definitions/ID"
},
"classifiers": {
"$ref": "#/definitions/ID"
}
},
"required": [
"artifact",
"classifiers"
],
"title": "LibraryDownloadsProperties"
},
"Logging": {
"type": "object",
"additionalProperties": false,
"properties": {
"type": {
"type": "string"
},
"additionalProperties": {
"type": "boolean"
},
"properties": {
"$ref": "#/definitions/LoggingProperties"
},
"required": {
"type": "array",
"items": {
"type": "string"
}
},
"title": {
"type": "string"
}
},
"required": [
"additionalProperties",
"properties",
"required",
"title",
"type"
],
"title": "Logging"
},
"LoggingProperties": {
"type": "object",
"additionalProperties": false,
"properties": {
"client": {
"$ref": "#/definitions/ID"
}
},
"required": [
"client"
],
"title": "LoggingProperties"
},
"LoggingClient": {
"type": "object",
"additionalProperties": false,
"properties": {
"type": {
"type": "string"
},
"additionalProperties": {
"type": "boolean"
},
"properties": {
"$ref": "#/definitions/LoggingClientProperties"
},
"required": {
"type": "array",
"items": {
"type": "string"
}
},
"title": {
"type": "string"
}
},
"required": [
"additionalProperties",
"properties",
"required",
"title",
"type"
],
"title": "LoggingClient"
},
"LoggingClientProperties": {
"type": "object",
"additionalProperties": false,
"properties": {
"argument": {
"$ref": "#/definitions/ID"
},
"file": {
"$ref": "#/definitions/ID"
},
"type": {
"$ref": "#/definitions/ID"
}
},
"required": [
"argument",
"file",
"type"
],
"title": "LoggingClientProperties"
},
"Natives": {
"type": "object",
"additionalProperties": false,
"properties": {
"type": {
"type": "string"
},
"additionalProperties": {
"type": "boolean"
},
"properties": {
"$ref": "#/definitions/NativesProperties"
},
"required": {
"type": "array",
"items": {}
},
"title": {
"type": "string"
}
},
"required": [
"additionalProperties",
"properties",
"required",
"title",
"type"
],
"title": "Natives"
},
"NativesProperties": {
"type": "object",
"additionalProperties": false,
"properties": {
"linux": {
"$ref": "#/definitions/ID"
},
"osx": {
"$ref": "#/definitions/ID"
},
"windows": {
"$ref": "#/definitions/ID"
}
},
"required": [
"linux",
"osx",
"windows"
],
"title": "NativesProperties"
},
"PurpleOSClass": {
"type": "object",
"additionalProperties": false,
"properties": {
"type": {
"type": "string"
},
"additionalProperties": {
"type": "boolean"
},
"properties": {
"$ref": "#/definitions/PurpleOSProperties"
},
"required": {
"type": "array",
"items": {}
},
"title": {
"type": "string"
}
},
"required": [
"additionalProperties",
"properties",
"required",
"title",
"type"
],
"title": "PurpleOSClass"
},
"PurpleOSProperties": {
"type": "object",
"additionalProperties": false,
"properties": {
"name": {
"$ref": "#/definitions/ID"
},
"version": {
"$ref": "#/definitions/ID"
},
"arch": {
"$ref": "#/definitions/ID"
}
},
"required": [
"arch",
"name",
"version"
],
"title": "PurpleOSProperties"
},
"SchemaClass": {
"type": "object",
"additionalProperties": false,
"properties": {
"type": {
"type": "string"
},
"additionalProperties": {
"type": "boolean"
},
"properties": {
"$ref": "#/definitions/SchemaProperties"
},
"required": {
"type": "array",
"items": {
"type": "string"
}
},
"title": {
"type": "string"
}
},
"required": [
"additionalProperties",
"properties",
"required",
"title",
"type"
],
"title": "SchemaClass"
},
"SchemaProperties": {
"type": "object",
"additionalProperties": false,
"properties": {
"assetIndex": {
"$ref": "#/definitions/ID"
},
"assets": {
"$ref": "#/definitions/ID"
},
"complianceLevel": {
"$ref": "#/definitions/Sha1"
},
"downloads": {
"$ref": "#/definitions/ID"
},
"id": {
"$ref": "#/definitions/Sha1"
},
"javaVersion": {
"$ref": "#/definitions/ID"
},
"libraries": {
"$ref": "#/definitions/JVMElement"
},
"mainClass": {
"$ref": "#/definitions/ID"
},
"minecraftArguments": {
"$ref": "#/definitions/Sha1"
},
"minimumLauncherVersion": {
"$ref": "#/definitions/Sha1"
},
"releaseTime": {
"$ref": "#/definitions/Time"
},
"time": {
"$ref": "#/definitions/Time"
},
"type": {
"$ref": "#/definitions/ID"
},
"logging": {
"$ref": "#/definitions/ID"
},
"arguments": {
"$ref": "#/definitions/ID"
}
},
"required": [
"arguments",
"assetIndex",
"assets",
"complianceLevel",
"downloads",
"id",
"javaVersion",
"libraries",
"logging",
"mainClass",
"minecraftArguments",
"minimumLauncherVersion",
"releaseTime",
"time",
"type"
],
"title": "SchemaProperties"
},
"Time": {
"type": "object",
"additionalProperties": false,
"properties": {
"type": {
"$ref": "#/definitions/FormatEnum"
},
"format": {
"type": "string"
}
},
"required": [
"format",
"type"
],
"title": "Time"
},
"SchemaDownloads": {
"type": "object",
"additionalProperties": false,
"properties": {
"type": {
"type": "string"
},
"additionalProperties": {
"type": "boolean"
},
"properties": {
"$ref": "#/definitions/SchemaDownloadsProperties"
},
"required": {
"type": "array",
"items": {
"type": "string"
}
},
"title": {
"type": "string"
}
},
"required": [
"additionalProperties",
"properties",
"required",
"title",
"type"
],
"title": "SchemaDownloads"
},
"SchemaDownloadsProperties": {
"type": "object",
"additionalProperties": false,
"properties": {
"client": {
"$ref": "#/definitions/ID"
},
"server": {
"$ref": "#/definitions/ID"
},
"client_mappings": {
"$ref": "#/definitions/ID"
},
"server_mappings": {
"$ref": "#/definitions/ID"
},
"windows_server": {
"$ref": "#/definitions/ID"
}
},
"required": [
"client",
"client_mappings",
"server",
"server_mappings",
"windows_server"
],
"title": "SchemaDownloadsProperties"
},
"SchemaDownloadsClass": {
"type": "object",
"additionalProperties": false,
"properties": {
"client": {
"$ref": "#/definitions/ServerClass"
},
"server": {
"$ref": "#/definitions/ServerClass"
},
"client_mappings": {
"$ref": "#/definitions/ServerClass"
},
"server_mappings": {
"$ref": "#/definitions/ServerClass"
},
"windows_server": {
"$ref": "#/definitions/ServerClass"
}
},
"required": [
"client"
],
"title": "SchemaDownloadsClass"
},
"ServerClass": {
"type": "object",
"additionalProperties": false,
"properties": {
"sha1": {
"type": "string"
},
"size": {
"type": "integer"
},
"url": {
"type": "string",
"format": "uri",
"qt-uri-protocols": [
"https"
],
"qt-uri-extensions": [
".exe",
".jar",
".txt"
]
},
"path": {
"type": "string"
}
},
"required": [
"sha1",
"size",
"url"
],
"title": "ServerClass"
},
"JavaVersionClass": {
"type": "object",
"additionalProperties": false,
"properties": {
"component": {
"$ref": "#/definitions/Component"
},
"majorVersion": {
"type": "integer"
}
},
"required": [
"component",
"majorVersion"
],
"title": "JavaVersionClass"
},
"LibraryElement": {
"type": "object",
"additionalProperties": false,
"properties": {
"downloads": {
"$ref": "#/definitions/LibraryDownloadsClass"
},
"name": {
"type": "string"
},
"rules": {
"type": "array",
"items": {
"$ref": "#/definitions/LibraryRule"
}
},
"extract": {
"$ref": "#/definitions/ExtractClass"
},
"natives": {
"$ref": "#/definitions/NativesClass"
}
},
"required": [
"downloads",
"name"
],
"title": "LibraryElement"
},
"LibraryDownloadsClass": {
"type": "object",
"additionalProperties": false,
"properties": {
"artifact": {
"$ref": "#/definitions/ServerClass"
},
"classifiers": {
"$ref": "#/definitions/ClassifiersClass"
}
},
"required": [],
"title": "LibraryDownloadsClass"
},
"ClassifiersClass": {
"type": "object",
"additionalProperties": false,
"properties": {
"natives-linux": {
"$ref": "#/definitions/ServerClass"
},
"natives-osx": {
"$ref": "#/definitions/ServerClass"
},
"natives-windows": {
"$ref": "#/definitions/ServerClass"
},
"natives-macos": {
"$ref": "#/definitions/ServerClass"
},
"natives-windows-32": {
"$ref": "#/definitions/ServerClass"
},
"natives-windows-64": {
"$ref": "#/definitions/ServerClass"
},
"linux-x86_64": {
"$ref": "#/definitions/ServerClass"
}
},
"required": [],
"title": "ClassifiersClass"
},
"ExtractClass": {
"type": "object",
"additionalProperties": false,
"properties": {
"exclude": {
"type": "array",
"items": {
"$ref": "#/definitions/Exclude"
}
}
},
"required": [
"exclude"
],
"title": "ExtractClass"
},
"NativesClass": {
"type": "object",
"additionalProperties": false,
"properties": {
"linux": {
"$ref": "#/definitions/Linux"
},
"osx": {
"$ref": "#/definitions/Osx"
},
"windows": {
"$ref": "#/definitions/Windows"
}
},
"required": [],
"title": "NativesClass"
},
"LibraryRule": {
"type": "object",
"additionalProperties": false,
"properties": {
"action": {
"$ref": "#/definitions/ActionEnum"
},
"os": {
"$ref": "#/definitions/FluffyOS"
}
},
"required": [
"action"
],
"title": "LibraryRule"
},
"FluffyOS": {
"type": "object",
"additionalProperties": false,
"properties": {
"name": {
"$ref": "#/definitions/Name"
},
"version": {
"$ref": "#/definitions/FluffyVersion"
}
},
"required": [
"name"
],
"title": "FluffyOS"
},
"LoggingClass": {
"type": "object",
"additionalProperties": false,
"properties": {
"client": {
"$ref": "#/definitions/LoggingClientClass"
}
},
"required": [
"client"
],
"title": "LoggingClass"
},
"LoggingClientClass": {
"type": "object",
"additionalProperties": false,
"properties": {
"argument": {
"$ref": "#/definitions/Argument"
},
"file": {
"$ref": "#/definitions/AssetIndex"
},
"type": {
"$ref": "#/definitions/ClientType"
}
},
"required": [
"argument",
"file",
"type"
],
"title": "LoggingClientClass"
},
"GameUnion": {
"anyOf": [
{
"$ref": "#/definitions/GameGameClass"
},
{
"$ref": "#/definitions/GameEnum"
}
],
"title": "GameUnion"
},
"GameValueUnion": {
"anyOf": [
{
"type": "array",
"items": {
"$ref": "#/definitions/PurpleValue"
}
},
{
"$ref": "#/definitions/FluffyValue"
}
],
"title": "GameValueUnion"
},
"JVMUnion": {
"anyOf": [
{
"$ref": "#/definitions/JVMClass"
},
{
"$ref": "#/definitions/JVMEnum"
}
],
"title": "JVMUnion"
},
"JVMValueUnion": {
"anyOf": [
{
"type": "array",
"items": {
"$ref": "#/definitions/TentacledValue"
}
},
{
"type": "string"
}
],
"title": "JVMValueUnion"
},
"IDUnion": {
"anyOf": [
{
"$ref": "#/definitions/AssetsEnum"
},
{
"type": "string",
"format": "integer"
}
],
"title": "IDUnion"
},
"GameEnum": {
"type": "string",
"enum": [
"--username",
"${auth_player_name}",
"--version",
"${version_name}",
"--gameDir",
"${game_directory}",
"--assetsDir",
"${assets_root}",
"--assetIndex",
"${assets_index_name}",
"--uuid",
"${auth_uuid}",
"--accessToken",
"${auth_access_token}",
"--userType",
"${user_type}",
"--versionType",
"${version_type}",
"--clientId",
"${clientid}",
"--xuid",
"${auth_xuid}"
],
"title": "GameEnum"
},
"ActionEnum": {
"type": "string",
"enum": [
"allow",
"disallow"
],
"title": "ActionEnum"
},
"PurpleValue": {
"type": "string",
"enum": [
"--width",
"${resolution_width}",
"--height",
"${resolution_height}",
"--quickPlayPath",
"${quickPlayPath}",
"--quickPlaySingleplayer",
"${quickPlaySingleplayer}",
"--quickPlayMultiplayer",
"${quickPlayMultiplayer}",
"--quickPlayRealms",
"${quickPlayRealms}"
],
"title": "PurpleValue"
},
"FluffyValue": {
"type": "string",
"enum": [
"--demo"
],
"title": "FluffyValue"
},
"JVMEnum": {
"type": "string",
"enum": [
"-Djava.library.path=${natives_directory}",
"-Dminecraft.launcher.brand=${launcher_name}",
"-Dminecraft.launcher.version=${launcher_version}",
"-cp",
"${classpath}",
"-Djna.tmpdir=${natives_directory}",
"-Dorg.lwjgl.system.SharedLibraryExtractPath=${natives_directory}",
"-Dio.netty.native.workdir=${natives_directory}"
],
"title": "JVMEnum"
},
"Arch": {
"type": "string",
"enum": [
"x86"
],
"title": "Arch"
},
"Name": {
"type": "string",
"enum": [
"osx",
"windows",
"linux"
],
"title": "Name"
},
"PurpleVersion": {
"type": "string",
"enum": [
"^10\\."
],
"title": "PurpleVersion"
},
"TentacledValue": {
"type": "string",
"enum": [
"-XstartOnFirstThread",
"-Dos.name=Windows 10",
"-Dos.version=10.0"
],
"title": "TentacledValue"
},
"AssetsEnum": {
"type": "string",
"enum": [
"pre-1.6",
"1.9",
"1.10",
"1.11",
"1.12",
"1.13",
"1.13.1",
"1.14",
"1.15",
"1.16",
"1.17",
"1.18",
"1.19",
"legacy",
"1.7.4",
"1.7.10",
"1.7.3",
"14w31a",
"1.8",
"1.9-aprilfools",
"14w25a",
"1.14-af",
"client-1.7.xml",
"client-1.12.xml",
"client-1.21.2.xml"
],
"title": "AssetsEnum"
},
"FormatEnum": {
"type": "string",
"enum": [
"string",
"integer",
"boolean"
],
"title": "FormatEnum"
},
"Component": {
"type": "string",
"enum": [
"jre-legacy",
"java-runtime-alpha",
"java-runtime-beta",
"java-runtime-gamma",
"java-runtime-gamma-snapshot",
"java-runtime-delta"
],
"title": "Component"
},
"Exclude": {
"type": "string",
"enum": [
"META-INF/"
],
"title": "Exclude"
},
"Linux": {
"type": "string",
"enum": [
"natives-linux",
"linux-x86_64"
],
"title": "Linux"
},
"Osx": {
"type": "string",
"enum": [
"natives-osx",
"natives-macos"
],
"title": "Osx"
},
"Windows": {
"type": "string",
"enum": [
"natives-windows",
"natives-windows-${arch}"
],
"title": "Windows"
},
"FluffyVersion": {
"type": "string",
"enum": [
"^10\\.5\\.\\d$"
],
"title": "FluffyVersion"
},
"Argument": {
"type": "string",
"enum": [
"-Dlog4j.configurationFile=${path}"
],
"title": "Argument"
},
"ClientType": {
"type": "string",
"enum": [
"log4j2-xml"
],
"title": "ClientType"
},
"MainClass": {
"type": "string",
"enum": [
"net.minecraft.launchwrapper.Launch",
"net.minecraft.client.main.Main",
"com.mojang.rubydung.RubyDung",
"com.mojang.minecraft.RubyDung"
],
"title": "MainClass"
},
"SchemaType": {
"type": "string",
"enum": [
"release",
"snapshot",
"old_alpha",
"old_beta"
],
"title": "SchemaType"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment