259 lines
8.9 KiB
YAML
259 lines
8.9 KiB
YAML
schemas:
|
|
EvidenceKind:
|
|
type: string
|
|
description: |-
|
|
Whether a fact is a statement or an observation.
|
|
|
|
- claim: something the candidate stated that nothing confirmed separately. Its trust is 0.
|
|
- measurement: a result that a system observed, such as a confirmed assessment. Its trust is 1 to 3.
|
|
|
|
Assessments produce measurements only. A claim never becomes a measurement by repetition, and the two kinds are stored apart.
|
|
enum:
|
|
- claim
|
|
- measurement
|
|
EvidenceSourceType:
|
|
type: string
|
|
description: |-
|
|
Where the fact comes from.
|
|
|
|
- assessment_result: a real (root or corrective) assessment result of this platform that confirmed a grade. An express training run (`demo_express`), a failed attempt, and a result without a reviewed category source are never a source.
|
|
|
|
Adding a value is a contract change.
|
|
enum:
|
|
- assessment_result
|
|
EvidenceAttribution:
|
|
type: string
|
|
description: |-
|
|
Whose contribution the fact is.
|
|
|
|
- personal: the candidate's own result. Every assessment fact is personal.
|
|
- team_role: a team result with a confirmed role of the candidate.
|
|
- team_unattributed: a team result without a confirmed role; it is not a personal skill.
|
|
|
|
Only `personal` is produced today.
|
|
enum:
|
|
- personal
|
|
- team_role
|
|
- team_unattributed
|
|
EvidenceTrustLevel:
|
|
type: integer
|
|
format: int32
|
|
minimum: 0
|
|
maximum: 3
|
|
description: |-
|
|
Strength of the confirmation.
|
|
|
|
- 0: stated by the person, not confirmed separately.
|
|
- 1: an observable online result without a reliable confirmation of the identity or the authorship. Every assessment fact has this level today, because the assessment is unproctored and the identity is not confirmed.
|
|
- 2: a result tied to a confirmed identity or confirmed by an independent party.
|
|
- 3: an in-person check with a matching confirmation.
|
|
|
|
A repeated statement, a sign-in, or a repeated tag of the same event never raises the level.
|
|
examples:
|
|
- 1
|
|
EvidenceVisibility:
|
|
type: string
|
|
description: |-
|
|
Whether the fact may take part in what an organization reads.
|
|
|
|
- visible: the fact is eligible for the organization projection. It does not publish the fact: the projection also needs the published card with the `categories` field and an active C2.
|
|
- hidden: the candidate hid the fact. No organization reads it. Hiding never edits or deletes the confirmed result.
|
|
enum:
|
|
- visible
|
|
- hidden
|
|
EvidenceSkillCode:
|
|
type: string
|
|
description: A skill tag from a closed set - the specialization codes of the catalog and the technology codes of the anonymous card. An assessment tags its fact with the specialization of the category.
|
|
enum:
|
|
- backend
|
|
- frontend
|
|
- mobile
|
|
- network_engineer
|
|
- devops_sre
|
|
- data_analyst
|
|
- ds_ml
|
|
- information_security
|
|
- qa
|
|
- go
|
|
- postgresql
|
|
- kafka
|
|
- docker
|
|
EvidenceBasis:
|
|
type: string
|
|
description: |-
|
|
What the measurement rests on.
|
|
|
|
- synthetic_demo: a demonstration category from a synthetic reviewed bank. It shows the mechanics and is not a validated measurement.
|
|
enum:
|
|
- synthetic_demo
|
|
EvidenceCalibrationStatus:
|
|
type: string
|
|
description: |-
|
|
Calibration of the method behind the result.
|
|
|
|
- uncalibrated: the thresholds are initial values that no measurement has validated.
|
|
enum:
|
|
- uncalibrated
|
|
EvidenceResult:
|
|
type: object
|
|
description: >-
|
|
What the fact says: the grade that was passed and how reliable the method
|
|
is. It carries no score, answer, item, failure, or anti-cheat data.
|
|
additionalProperties: false
|
|
required:
|
|
- grade
|
|
- basis
|
|
- calibration_status
|
|
properties:
|
|
grade:
|
|
$ref: "./catalog_schemas.yml#/schemas/GradeCode"
|
|
basis:
|
|
$ref: "#/schemas/EvidenceBasis"
|
|
calibration_status:
|
|
$ref: "#/schemas/EvidenceCalibrationStatus"
|
|
EvidenceSource:
|
|
type: object
|
|
description: >-
|
|
Where the fact comes from. For an assessment the event is the attempt
|
|
and the result is the immutable result of that attempt, which the
|
|
candidate reads at `GetMyAssessmentResult`; the two identifiers are
|
|
equal because a result is keyed by its attempt.
|
|
additionalProperties: false
|
|
required:
|
|
- type
|
|
- event_id
|
|
- result_id
|
|
properties:
|
|
type:
|
|
$ref: "#/schemas/EvidenceSourceType"
|
|
event_id:
|
|
type: string
|
|
format: uuid
|
|
description: Identifier of the source event. One event is one fact, however many skills it is tagged with.
|
|
result_id:
|
|
type: string
|
|
format: uuid
|
|
description: Identifier of the immutable result that produced the fact.
|
|
EvidenceFact:
|
|
type: object
|
|
description: >-
|
|
One independent fact of the current candidate. `occurred_at` is when
|
|
the source event ended; for an assessment it is the time of the
|
|
decision. A fact is one source event; the skills of that event are tags of the fact, so a second tag
|
|
never makes a second fact. Hidden facts are listed here with their
|
|
visibility, because the candidate owns them.
|
|
additionalProperties: false
|
|
required:
|
|
- id
|
|
- kind
|
|
- source
|
|
- skills
|
|
- result
|
|
- attribution
|
|
- trust
|
|
- occurred_at
|
|
- visibility
|
|
properties:
|
|
id:
|
|
type: string
|
|
format: uuid
|
|
description: Identifier of the fact.
|
|
kind:
|
|
$ref: "#/schemas/EvidenceKind"
|
|
source:
|
|
$ref: "#/schemas/EvidenceSource"
|
|
skills:
|
|
type: array
|
|
minItems: 1
|
|
maxItems: 13
|
|
uniqueItems: true
|
|
description: Skill tags of the event in ascending order.
|
|
items:
|
|
$ref: "#/schemas/EvidenceSkillCode"
|
|
result:
|
|
$ref: "#/schemas/EvidenceResult"
|
|
attribution:
|
|
$ref: "#/schemas/EvidenceAttribution"
|
|
trust:
|
|
$ref: "#/schemas/EvidenceTrustLevel"
|
|
occurred_at:
|
|
$ref: "./common_schemas.yml#/schemas/Timestamp"
|
|
visibility:
|
|
$ref: "#/schemas/EvidenceVisibility"
|
|
EvidenceFactList:
|
|
type: object
|
|
description: One page of the facts of the current candidate, newest event first.
|
|
additionalProperties: false
|
|
required:
|
|
- items
|
|
- page
|
|
properties:
|
|
items:
|
|
type: array
|
|
maxItems: 100
|
|
description: Facts of the page.
|
|
items:
|
|
$ref: "#/schemas/EvidenceFact"
|
|
page:
|
|
$ref: "./common_schemas.yml#/schemas/PageInfo"
|
|
OrganizationEvidenceFact:
|
|
type: object
|
|
description: >-
|
|
The one assessment fact that supports a category of the card as an
|
|
organization reads it: the earliest visible measurement that passed
|
|
exactly the confirmed grade of that category. A lower grade, a retake,
|
|
the other tags of the event, the source, the basis, the exact time, and
|
|
every identifier stay with the candidate. The fact carries no
|
|
identifier of the fact, the event, the result, or the candidate, so it
|
|
cannot be joined to a person by a key. It is not unlinkable: the skill,
|
|
the grade, the trust level, and the year, together with the other
|
|
values of the card, can narrow a small pool of candidates, and the
|
|
minimum cohort of the card does not cover the year. `basis` and
|
|
`calibration_status` are the same for every candidate: they say that
|
|
the fact comes from a synthetic demonstration and is not calibrated,
|
|
so a demonstration is never read as a validated measurement. The fact
|
|
never carries an answer, score, item, failure, signal, or review band.
|
|
additionalProperties: false
|
|
required:
|
|
- skill
|
|
- grade
|
|
- trust
|
|
- basis
|
|
- calibration_status
|
|
- observed_year
|
|
properties:
|
|
skill:
|
|
$ref: "#/schemas/EvidenceSkillCode"
|
|
grade:
|
|
$ref: "./catalog_schemas.yml#/schemas/GradeCode"
|
|
trust:
|
|
$ref: "#/schemas/EvidenceTrustLevel"
|
|
basis:
|
|
$ref: "#/schemas/EvidenceBasis"
|
|
calibration_status:
|
|
$ref: "#/schemas/EvidenceCalibrationStatus"
|
|
observed_year:
|
|
type: integer
|
|
format: int32
|
|
minimum: 2000
|
|
maximum: 9999
|
|
description: Year (UTC) when the assessment ended. The month, day, and time stay with the candidate.
|
|
examples:
|
|
- 2026
|
|
OrganizationEvidence:
|
|
type: object
|
|
description: >-
|
|
The permitted evidence of one candidate card, ordered by skill: at most
|
|
one fact for each category of the card (at most nine). The list is empty
|
|
when no visible fact supports a category of the card.
|
|
additionalProperties: false
|
|
required:
|
|
- items
|
|
properties:
|
|
items:
|
|
type: array
|
|
maxItems: 9
|
|
description: Permitted facts, one for each supported category.
|
|
items:
|
|
$ref: "#/schemas/OrganizationEvidenceFact"
|