docs: function findDefinition(schema, ref) {
    var propertyPath = ref.split('/').slice(1); // Ignore the #/uri at the beginning.
    var currentProperty = propertyPath.splice(0, 1)[0];
  
    var currentValue = schema;
  
    while (currentProperty) {
      currentValue = currentValue[currentProperty];
      currentProperty = propertyPath.splice(0, 1)[0];
    }
  
    return currentValue;
  }