Schema.NET icon indicating copy to clipboard operation
Schema.NET copied to clipboard

Missing jobTitle on Person

Open aKzenT opened this issue 3 years ago • 4 comments

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 avatar Mar 31 '22 12:03 aKzenT

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).

RehanSaeed avatar Mar 31 '22 13:03 RehanSaeed

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?

aKzenT avatar Apr 01 '22 09:04 aKzenT

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.

RehanSaeed avatar Apr 01 '22 10:04 RehanSaeed

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...

Turnerj avatar Apr 01 '22 11:04 Turnerj

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

https://github.com/schemaorg/schemaorg/issues/2192

FreshRob avatar Oct 25 '22 09:10 FreshRob

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.

kahlan88 avatar Jan 11 '24 14:01 kahlan88

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.

Turnerj avatar Jan 13 '24 06:01 Turnerj