Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Best way to infer the class hierarchy? #685

Open
kirk-marple opened this issue Jun 1, 2024 · 0 comments
Open

Best way to infer the class hierarchy? #685

kirk-marple opened this issue Jun 1, 2024 · 0 comments
Labels
enhancement Issues describing an enhancement or pull requests adding an enhancement.

Comments

@kirk-marple
Copy link
Contributor

Describe the feature

I was curious if there's already something in Schema.NET which could look at a "@type" value, and return the class hierarchy?

Like, for AutomotiveBusiness, it would return LocalBusiness, Organization, etc.

We could brute-force this with a lookup table of some sort, but I wanted to first check if this already existed in the library somewhere.

Schema objects

No response

@kirk-marple kirk-marple added the enhancement Issues describing an enhancement or pull requests adding an enhancement. label Jun 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Issues describing an enhancement or pull requests adding an enhancement.
Projects
None yet
Development

No branches or pull requests

1 participant