jq '.spec '

cat data/s1.json cat data/s1.json | jq '.spec '
{
    "kind": "Deployment",
    "spec": {
        "replicas": 1
    }
}
    
{
  "replicas": 1
}