onsiderations</h2>
<div class="sectionbody">
<div class="sect2">
<h3 id="dont-validate-in-your-schema"><a class="anchor" href="#dont-validate-in-your-schema"></a>Don&#8217;t validate in your schema</h3>
<div class="paragraph">
<p>For most purposes, schemas should not be used for validation, since validation is very context dependent. For example, some field can be required by one service, but not by another. This unavoidably means that the requiredness cannot be enforced in the schema, and has to be impleme