{
  "$id": "https://example.com/schema.json",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "Test",
  "type": "object",
  "properties": {
    "aProperty": {
      "$ref": "#/definitions/aProperty",
      "default": "Default from property",
      "enum": [
        "value1",
        "value2"
      ]
    },
    "aDictPropertyARequired": {
      "$ref": "#/definitions/aDictProperty",
      "required": [
        "a"
      ]
    }
  },
  "definitions": {
    "aProperty": {
      "default": "Default from definition",
      "type": "string",
      "enum": [
        "value1",
        "value2",
        "value3"
      ],
      "description": "This is the description from the definition"
    },
    "aDictProperty": {
      "default": {
        "a": "a",
        "b": "b"
      },
      "required": [
        "a",
        "b"
      ],
      "properties": {
        "a": {
          "type": "string"
        },
        "b": {
          "type": "string"
        }
      }
    }
  }
}