I have a partial order $\prec$ over a (finite) set $S$ satisfying the following property:
There exists a function $f:S\rightarrow \mathbb N$ such that $x\prec y \Leftrightarrow 0<f(x)< f(y)$.
That is, each element is given a layer, and two elements are comparable iff they are in different layers, except for elements in layer 0 which are not comparable with any other.
Is there a name for such an order? What if I lift the constraint about layer 0?
Here are equivalent interpretations, in case it rings a bell:
The order can be seen as a ranking in a competition with ties (there can be several people at each position), where only a subset of the participants is ranked
Writting $S_i=\{x\mid f(x)=i\}$, the order can be "described" by $S_1 \prec S_2 \prec ....\prec S_k$.

I don't know a name for the exact conditions on your $(S,\prec)$. At first I thought it was just well-foundedness, but, I overlooked your requirement "except for elements in layer 0 which are not comparible [sic] with any other" (despite your boldface). As Brian Scott points out in his comment, your conditions are stronger than well-foundedness.
There are a few ways to characterize well-founded partial orders $(P,<)$, all equivalent in ZFC:
If $(P,<)$ is well-founded then a stronger statement than 3. can be made: $(P,<)$ has a rank function, a function $\rho\colon (P,<)\to \mathsf{Ord}$ into the ordinals whose range has no "gaps" — that is, its range is an ordinal $\beta$, and for every $\alpha < \beta$, $\rho^{-1}(\alpha)$ is nonempty. The elements of $\rho^{-1}(\alpha)$ have rank, or "height", $\alpha$. The rank function is defined by well-founded recursion along $<$: $$ \rho(y) = sup_{x < y} (\rho(x) + 1). $$ Elements of rank $0$ are precisely the $<$-minimal elements.
Your $f$ isn't exactly a rank function, even if its range has no gaps: if $x\in S$ is a minimal element that's incomparable with everything in $S$, then $f(x) = 0$, but if $x\in S$ is a minimal element that has a successor, then $f(x) > 0$.
However, that's not the only extra requirement you impose. You also require that for $x,y\in S$, if $f(x) = i < j = f(y)$ then $x\prec y$. This rules out many typical examples of well-founded partial orders, e.g. most trees.