You had a book published.
I get confused to figure out whether the sentence is in a causative structure(have something done) or a relative clause structure where relative pronon was omitted, because the structure seems to be the same as both structures.
This sentence seems to have the same structure as:
1-the short form of a sentence with a relative clause, eg. "You had a book which was published." (we can remove "which was", and the sentence becomes exactly "You had a book published." This is true for sentences where relative pronoun is omitted. For instance "You had a house (which was) painted in blue.= You had a house painted in blue."
2-or the sentence might simply be in a causative structure (have something done.). For instance "I had my hair cut".
So, how should I interpret this sentence? A sentence in causative structure? or a sentence in relative clause where relative pronoun was omitted.?