Thanks so much for the response. I figured out what I needed to do. I wanted a computed property to store a reusable json path.
var firstDoc: Doc? { return dataStore.result?.response.docs.first }
What I was getting hung up on is the variable type. Originally, I was defining this variable as a NYTSearchResponse type, which is the struct that I use to store the entire json response. But the type needs to match the object found at the end of the path, in this case a Doc.
Thanks again for your response and willingness to help with my beginner problem.