CIPs icon indicating copy to clipboard operation
CIPs copied to clipboard

Work History

Open michaelsena opened this issue 4 years ago • 1 comments

cip: 
title: Work History
author: Michael Sena (@michaelsena), Joel Thorstensson (@oed)
discussions-to:
status: Idea
category: Standards
type: RFC
created: 2020-06-15
requires: Tile Doctype (CIP-8)
replaces: 

🚨 This is a placeholder for an idea, and we will work to draft the CIP at a later time.

Simple Summary

Work History contains the employment history for a DID.

Abstract

Add description.

Work History is usually linked from a Work Profile document.

Motivation

Specification

The Work History specification consists of a doctype, schema, and tags.

Doctype

Work History is a Tile Doctype (CIP-8).

Schema

A Work History document stores an array of objects that represent jobs or employment. Each object consists of the optional properties below.

Work History borrows many attribute names from the schema.org person schema.

worksFor: An employer; a string. (Or should this be a DID?)

jobTitle: A job title (for example, Financial Manager); a string.

jobDescription: A description of the job; a string.

startDate: Start date; ISO (Add ISO number and link)

endDate: End data; ISO (Add ISO number and link)

proofs: An array of proofs that prove this employment claim to be true.

{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "array",
  "title": "WorkHistory",
  "items": {
    "$ref": "#/definitions/Work"
  },
  "definitions": {
    "Work": {
      "type": "object",
      "properties": {
        "worksFor": {
          "type": "string",
          "title": "worksFor"
        },
        "jobTitle": {
          "type": "string",
          "title": "jobTitle"
        },
        "jobDescription": {
          "type": "string",
          "title": "jobDescription"
        },
        "startDate": {
          "type": "string",
          "format": "date",
          "title": "startDate"
        },
        "endDate": {
          "type": "string",
          "format": "date",
          "title": "endDate"
        },
        "proofs": {
          "type": "array",
          "title": "proofs",
          "items": {
            "type": "string"
          }
        }
      }
    }
  }
}

Tags

When creating a Work History document, add WorkHistory to the tags field.

Example

Implementations

Copyright

Copyright and related rights waived via CC0.

michaelsena avatar Jun 15 '20 20:06 michaelsena

@oed @michaelsena updated the schema

simonovic86 avatar Jul 28 '20 12:07 simonovic86