{
  "$id": "https://example.com/person.schema.json",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "Person",
  "type": "object",
  "properties": {
    "relationships": {
      "$ref": "#/definitions/person/properties/relationships"
    }
  },
  "definitions": {
    "person": {
      "type": "object",
      "description": "A human being",
      "properties": {
        "relationships": {
          "type": "object",
          "description": "Relationships between this person and others",
          "properties": {
            "mother": {
              "$ref": "#/definitions/person"
            }
          }
        }
      }
    }
  }
}