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

Missing jobTitle on Person #423

Closed
aKzenT opened this issue Mar 31, 2022 · 7 comments
Closed

Missing jobTitle on Person #423

aKzenT opened this issue Mar 31, 2022 · 7 comments
Labels
bug Issues describing a bug or pull requests fixing a bug.

Comments

@aKzenT
Copy link

aKzenT commented Mar 31, 2022

Describe the bug

JobTitle property is missing on Person ( https://schema.org/jobTitle ). It was present in version 8, but disappeared in verison 9. I did not find any reason why it's missing now.

Steps to reproduce

Look for Person.JobTitle

Expected behaviour

JobTitle exists on class Person

Schema objects

https://schema.org/Person
https://schema.org/jobTitle

@aKzenT aKzenT added the bug Issues describing a bug or pull requests fixing a bug. label Mar 31, 2022
@RehanSaeed
Copy link
Owner

If it exists in Schema.NET.Pending then it is a pending property and not part of schema.org proper yet (Or if it is released now, it should appear in the next update).

@aKzenT
Copy link
Author

aKzenT commented Apr 1, 2022

Got it. The confusing thing for me is that it was present in previous versions of the library and now disappeared which breaks our code using the property. So was there a change in how pending properties are handled in Schema.NET?

@RehanSaeed
Copy link
Owner

Not that I'm aware of. The change can also come from schema.org itself sometimes as they are constantly changing schemas.

You can always use the Pending package to workaround the issue temporarily.

@Turnerj
Copy link
Collaborator

Turnerj commented Apr 1, 2022

There may have been an issue where pending properties (in some cases) were included but not pending types (or properties that depended on those types). That would have been a little while back though...

@FreshRob
Copy link

Hello,

Would be good to understand a little bit more on pending properties as I know the page says pending but the pr it links to says it was released in 3.7

image

schemaorg/schemaorg#2192

@kahlan88
Copy link

Are there any updates on this please? It's been in schema.org for over a year now, it seems and it would be great to have this available.

@Turnerj
Copy link
Collaborator

Turnerj commented Jan 13, 2024

So the main thing with this issue as far as I could tell was that the schema.org JSON-LD file we parse to generate the library didn't have jobTitle correctly in that specific version - either some other flag on the data or missing it etc that prevented generation.

Regarding pending properties - anything marked in blue on the schema.org site (like how jobTitle still is at the time of writing) is a pending property. Pending properties may have pending types (also in blue). We only ship pending properties and types in the Schema.NET.Pending library with everything else shipped in Schema.NET directly.

In the latest release of Schema.NET.Pending (v13.0.0), I do see the jobTitle property there with the pending type DefinedTerm also in it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issues describing a bug or pull requests fixing a bug.
Projects
None yet
Development

No branches or pull requests

5 participants