code: function findParts (reference) {
    const parts = reference.split(':')
  
    if (
      (parts.length >= 3) &&
      (parts[2].startsWith('$.'))
    ) { // JSON path selector on the ref
      return [
        parts[0],
        parts[1],
        parts.slice(2).join('')
      ]
    }
  
    return parts
  }
docs: canResolve