{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/custom-machinery-machine/latest.json",
  "x-lintel": {
    "source": "https://alec016.github.io/Custom-Machinery/Json%20Schema/src/main/resources/schemas/custom_machinery_machine.json",
    "sourceSha256": "92197c95196ec716c3f2412cde32af4a09c719744318c7993f8f1f1748dccc23",
    "fileMatch": [
      "**/data/*/machines/*.json",
      "**/data/*/machine/*.json"
    ],
    "parsers": [
      "json"
    ]
  },
  "allOf": [
    {
      "if": {
        "required": [
          "name"
        ]
      },
      "then": {
        "$ref": "https://catalog.lintel.tools/schemas/schemastore/custom-machinery-machine/_shared/latest--machine.json"
      }
    },
    {
      "if": {
        "required": [
          "parent"
        ]
      },
      "then": {
        "$ref": "https://catalog.lintel.tools/schemas/schemastore/custom-machinery-machine/_shared/latest--upgraded_machine.json"
      }
    }
  ]
}
