Added $Schema #17

This commit is contained in:
Daan Verstraten
2021-11-20 11:26:35 +01:00
parent 276a7c0407
commit b543ec56d6
33 changed files with 34 additions and 1 deletions

View File

@@ -1,4 +1,5 @@
{ {
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behavior.animation_controller", "$id": "blockception.minecraft.behavior.animation_controller",
"examples": [ "examples": [
{ {

View File

@@ -1,4 +1,5 @@
{ {
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behavior.animations", "$id": "blockception.minecraft.behavior.animations",
"examples": [{ "format_version": "1.17.0", "animations": { "animation.example": {} } }], "examples": [{ "format_version": "1.17.0", "animations": { "animation.example": {} } }],
"definitions": { "definitions": {

View File

@@ -1,4 +1,5 @@
{ {
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "minecraft.behavior.biomes", "$id": "minecraft.behavior.biomes",
"type": "object", "type": "object",
"examples": [{ "plains": { "format_version": "1.17.0" } }], "examples": [{ "plains": { "format_version": "1.17.0" } }],

View File

@@ -1,4 +1,5 @@
{ {
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behavior.blocks", "$id": "blockception.minecraft.behavior.blocks",
"examples": [ "examples": [
{ {

View File

@@ -1,4 +1,5 @@
{ {
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behavior.dialogue", "$id": "blockception.minecraft.behavior.dialogue",
"examples": [ "examples": [
{ {

View File

@@ -1,4 +1,5 @@
{ {
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behavior.entities", "$id": "blockception.minecraft.behavior.entities",
"examples": [ "examples": [
{ {

View File

@@ -1,4 +1,5 @@
{ {
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behavior.feature_rules", "$id": "blockception.minecraft.behavior.feature_rules",
"examples": [ "examples": [
{ {

View File

@@ -1,4 +1,5 @@
{ {
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behavior.features", "$id": "blockception.minecraft.behavior.features",
"examples": [ "examples": [
{ {

View File

@@ -1,4 +1,5 @@
{ {
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behavior.items", "$id": "blockception.minecraft.behavior.items",
"examples": [{ "format_version": "1.16.200", "minecraft:item": { "description": { "identifier": "namespace:item" }, "components": {} } }], "examples": [{ "format_version": "1.16.200", "minecraft:item": { "description": { "identifier": "namespace:item" }, "components": {} } }],
"allOf": [ "allOf": [

View File

@@ -1,4 +1,5 @@
{ {
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behavior.loot_tables", "$id": "blockception.minecraft.behavior.loot_tables",
"additionalProperties": false, "additionalProperties": false,
"description": "A minecraft loot table", "description": "A minecraft loot table",

View File

@@ -1,4 +1,5 @@
{ {
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behavior.recipes", "$id": "blockception.minecraft.behavior.recipes",
"examples": [ "examples": [
{ {

View File

@@ -1,4 +1,5 @@
{ {
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.behavior.spawn_rules", "$id": "blockception.behavior.spawn_rules",
"examples": [ "examples": [
{ {

View File

@@ -1,4 +1,5 @@
{ {
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behavior.trading", "$id": "blockception.minecraft.behavior.trading",
"type": "object", "type": "object",
"additionalProperties": false, "additionalProperties": false,

View File

@@ -1,4 +1,5 @@
{ {
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.behavior.volumes", "$id": "blockception.minecraft.behavior.volumes",
"examples": [ "examples": [
{ {

View File

@@ -1,4 +1,5 @@
{ {
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.manifest", "$id": "blockception.minecraft.manifest",
"type": "object", "type": "object",
"title": "Manifest Schema", "title": "Manifest Schema",

View File

@@ -1,4 +1,5 @@
{ {
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.languages", "$id": "blockception.minecraft.languages",
"additionalProperties": false, "additionalProperties": false,
"examples": [ "examples": [

View File

@@ -1,4 +1,5 @@
{ {
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.resource.animation_controller", "$id": "blockception.minecraft.resource.animation_controller",
"examples": [ "examples": [
{ {

View File

@@ -1,4 +1,5 @@
{ {
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.resource.actor_animation", "$id": "blockception.minecraft.resource.actor_animation",
"examples": [{ "format_version": "1.17.0", "animations": { "animation.annie.idle": { "loop": true, "animation_length": 2.12, "bones": {} } } }], "examples": [{ "format_version": "1.17.0", "animations": { "animation.annie.idle": { "loop": true, "animation_length": 2.12, "bones": {} } } }],
"additionalProperties": false, "additionalProperties": false,

View File

@@ -1,4 +1,5 @@
{ {
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.resource.attachables", "$id": "blockception.minecraft.resource.attachables",
"examples": [ "examples": [
{ {

View File

@@ -1,4 +1,5 @@
{ {
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.resource.entity", "$id": "blockception.minecraft.resource.entity",
"examples": [ "examples": [
{ {

View File

@@ -1,4 +1,5 @@
{ {
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.resource.fog", "$id": "blockception.minecraft.resource.fog",
"examples": [], "examples": [],
"type": "object", "type": "object",

View File

@@ -1,4 +1,5 @@
{ {
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.resource.items", "$id": "blockception.minecraft.resource.items",
"examples": [ "examples": [
{ {

View File

@@ -1,4 +1,5 @@
{ {
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.materials", "$id": "blockception.minecraft.materials",
"type": "object", "type": "object",
"title": "Material", "title": "Material",

View File

@@ -1,4 +1,5 @@
{ {
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.resource.model", "$id": "blockception.minecraft.resource.model",
"examples": [ "examples": [
{ {

View File

@@ -1,4 +1,5 @@
{ {
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.resource.particle", "$id": "blockception.minecraft.resource.particle",
"examples": [ "examples": [
{ {

View File

@@ -1,4 +1,5 @@
{ {
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.render_controllers", "$id": "blockception.minecraft.render_controllers",
"examples": [ "examples": [
{ {

View File

@@ -1,8 +1,9 @@
{ {
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.music_definitions.json", "$id": "blockception.minecraft.music_definitions.json",
"examples": [{ "example": { "event_name": "music.example", "min_delay": 600, "max_delay": 1200 } }], "examples": [{ "example": { "event_name": "music.example", "min_delay": 600, "max_delay": 1200 } }],
"type": "object", "type": "object",
"title": "Music File", "title": "Music File",
"description": "The definition file of music of the resourcepack", "description": "The definition file of music of the resourcepack",
"definitions": { "music": {} }, "definitions": { "music": {} },
"propertyNames": { "examples": ["creative", "credits", "end", "endboss", "game", "hell", "menu", "nether", "soulsand_valley", "water"] }, "propertyNames": { "examples": ["creative", "credits", "end", "endboss", "game", "hell", "menu", "nether", "soulsand_valley", "water"] },

View File

@@ -1,4 +1,5 @@
{ {
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.sound_definition", "$id": "blockception.minecraft.sound_definition",
"type": "object", "type": "object",
"additionalProperties": false, "additionalProperties": false,

View File

@@ -1,4 +1,5 @@
{ {
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.resource.texture.flipbook", "$id": "blockception.minecraft.resource.texture.flipbook",
"additionalProperties": false, "additionalProperties": false,
"description": "The file that specifies animated textures", "description": "The file that specifies animated textures",

View File

@@ -1,4 +1,5 @@
{ {
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.resource.texture.item_texture", "$id": "blockception.minecraft.resource.texture.item_texture",
"additionalProperties": false, "additionalProperties": false,
"type": "object", "type": "object",

View File

@@ -1,4 +1,5 @@
{ {
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "blockception.minecraft.resource.texture.terrain_texture", "$id": "blockception.minecraft.resource.texture.terrain_texture",
"additionalProperties": false, "additionalProperties": false,
"type": "object", "type": "object",

View File

@@ -1,4 +1,5 @@
{ {
"$schema": "http://json-schema.org/draft-07/schema",
"title": "Texture List", "title": "Texture List",
"description": "A list of texture to load in", "description": "A list of texture to load in",
"type": "array", "type": "array",

View File

@@ -1,4 +1,5 @@
{ {
"$schema": "http://json-schema.org/draft-07/schema",
"title": "Skip Pack", "title": "Skip Pack",
"description": "Skin pack definition", "description": "Skin pack definition",
"type": "object", "type": "object",