<p>When I'm creating resources for OpenShift/K8s, I might be out of coverage area. I'd like to get schema definition being offline.</p>

<p>How I can get from command line a schema for a kind. For example I would like to get a generic schema for Deployment, DeploymentConfig, Pod  or a Secret.
Is there a way to get schema without using google? Ideally if I could get some documentation description for it.</p>

Al K
<p>Posting @Graham Dumpleton comment as a community wiki answer basing on the response from OP saying that it solved his/her problem:</p>

<blockquote>
  <p>Have you tried running <code>oc explain --recursive Deployment</code>? You still
  need to be connected when you generate it, so you would need to save
  it to a file for later reference. Maybe also get down and read the
  free eBook at openshift.com/deploying-to-openshift which mentions this
  command and lots of other stuff as well. – Graham Dumpleton</p>
</blockquote>
