pub fn detect_type(data: &Value) -> YamlTypeExpand description
Detect YAML type from parsed content.
This function uses a schema-first approach:
- Check for explicit
$schemafield - Check for Kubernetes
apiVersion+kind - Check for CI/CD patterns
- Fallback to Generic