{
  "$schema": "https://yaschva.com/schema.json",
  "$types": {
    "$addressType": {
      "name": "string",
      "street": "string",
      "city": "string",
      "country": "string"
    }
  },
  "myAddress": "$addressType",
  "myString": "string",
  "myOptionalString": ["?", "string"],
  "myObject": {
    "myNumberInsideAnObject": "number",
    "myDetailedNumberInsideAnObject": { "$number": { "min": 0, "max": 18 } }
  },
  "myArrayOfNumbers": { "$array": "number" },
  "myEnum": { "$enum": ["enum1", "enum2"] },
  "myKeyValuePairs": { "$map": "string" },
  "myMultiType": ["string", "number"],
  "myNumberRange": { "$number": { "min": 4, "max": 9 } },
  "myNull": "null",
  "myRegex": { "$string": { "regex": "\\b(\\w*work\\w*)\\b" } }
}
