- From: Kevin Brown <kevinbrown2354@gmail.com>
- Date: Fri, 29 Jun 2018 17:40:10 +0300
- To: "schema.org" <public-schemaorg@w3.org>
- Message-ID: <CAOzUUuyWmnjNXawMzRc87i9HUP7CDk6aToN9R9uQ3mYNP0y8=g@mail.gmail.com>
I've read these resources about external enumerations: http://blog.schema.org/2012/05/schemaorg-markup-for-external-lists.html https://www.w3.org/wiki/WebSchemas/ExternalEnumerations The examples in those resources show how to use external lists with an example of the "Country" field (which is an object type) for "Movie" types. I want to do something similar for the "employmentType" property of "jobPosting"; however, "employmentType" is a primitive rather than an object ("Values expected to be one of these types: Text"). What I'd like to do I think is define an externally-hosted schema for "employmentType" and override that existing property on "jobPosting". I could create a new property like "employmentTypeObject" or something that uses "rdfs:subClassOf" the original "employmentType", but that seems really convoluted. My reason is that I want to use an "Enumeration" as the expected value for "employmentType", rather than a primitive (text string). What's the best way to handle this? Is there a clean way to override an existing property in an existing class?
Received on Friday, 29 June 2018 14:40:35 UTC