I am given the following exercise:
Find the parametrization of the surface $C: x^2 = 1 - z$ and $y^2 = z$
I got to the following answer:
\begin{cases} x &= \sin (t)\\ y &= \cos (t)\\ z &= \cos^2 (t) \end{cases}
Unfortunately, there's no way to evaluate if my answer is correct on the textbook. Could someone please verify if that's the case?
Thank you.

Let check directly
and note that it is a curve defined by the intersection of two surfaces.