Skip to content

Add a salary range properties  #698

@siuc-nate

Description

@siuc-nate

Per #696, we need to be able to describe this.

Add:

URI: schema:baseSalary
Label: Base Salary
Definition: The base salary for the resource.
Domain: ceterms:Credential (and subclasses), ceterms:LearningOpportunityProfile
Range: TBD

We need a range for schema:baseSalary.


Option 1 - Use CostProfile
Pros:

  • It already exists
  • It is a proven structure for defining an amount, a currency, a frequency, and an applicable audience/residency
  • It would allow recycling existing code/implementations

Cons:

  • It's called "cost" profile
  • The definition is a limiting factor

Option 2 - Use schema:QuantitativeValue
Pros:

  • It's already in use in CTDL and QData
  • It can already define currency (via unitText)

Cons:

  • It's not an exact match to what schema.org wants (MonetaryAmount)
  • We would probably need to add properties for applicable audience/residency ala CostProfile, which may dilute the meaning/use of this class over time
  • We would need to add the existing ceterms:paymentPattern to it to define frequency, which is too specific to money payments to be used for other kinds of frequency, and would definitely dilute the meaning/use of this class

Option 3 - Use schema:MonetaryAmount
Pros:

  • It matches the schema.org spec
  • It matches our current proposal/plans for ProPath
  • Adding the existing ceterms:paymentPattern property to it would not dilute the meaning of the class
  • Adding the audience/residency-related properties would probably not be a problem (maybe we don't add them until it's called for?)

Cons:

  • It would require adding a new class that would only be used by the schema:baseSalary property
  • We would have to choose whether to add schema:currency or use the existing ceterms:currency instead
  • We would have to choose whether to add schema:validFrom and schema:validThrough or use the existing ceterms:startDate and ceterms:endDate
  • We risk basically reinventing CostProfile over time, at which point it might make more sense to dump CostProfile and use the fully-equipped schema:MonetaryAmount instead

Option 4 - Create a new class
Pros:

  • Flexibility in what we add
  • Can tailor it to the notion of a salary if it makes sense to do so

Cons:

  • It would not match the schema.org spec
  • It would probably end up just being CostProfile with a different definition

No clear winner in these options.

Metadata

Metadata

Labels

CTDLFor the ceterms: namespace.ETPL

Projects

Status

Completed

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions