{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://schemas.edu-industry.cn/school-employment/2.2.0/schema.json", "title": "SCHOOL-EMPLOYMENT V2.2 校内就业事实", "description": "职业院校毕业生就业事实统一契约,采用租户隔离和身份最小化设计。", "type": "object", "additionalProperties": false, "required": [ "tenant_id", "record_id", "student_token", "cohort", "college_code", "program_code", "employment_status", "destination_type", "confirmed_at", "confirmation_role", "source_system", "source_record_id", "created_at", "updated_at", "data_version", "content_hash" ], "properties": { "tenant_id": { "type": "string", "pattern": "^TENANT-[A-Z0-9-]{4,64}$", "description": "学校租户标识,所有存储、任务和查询必须同时校验。" }, "record_id": { "type": "string", "format": "uuid", "description": "平台全局唯一记录标识。" }, "student_token": { "type": "string", "pattern": "^STU_[A-Za-z0-9_-]{32,128}$", "description": "学校侧生成的学生不可逆令牌,禁止传输姓名、身份证和明文学号。" }, "cohort": { "type": "integer", "minimum": 2000, "maximum": 2100, "description": "毕业届次。" }, "college_code": { "type": "string", "minLength": 1, "maxLength": 64, "description": "学校内部学院代码。" }, "program_code": { "type": "string", "pattern": "^[0-9A-Z]{4,12}$", "description": "教育部职业教育专业目录代码。" }, "class_code": { "type": ["string", "null"], "maxLength": 64, "description": "学校内部教学班代码。" }, "employment_status": { "type": "string", "enum": [ "employed", "self_employed", "further_study", "military", "flexible", "unemployed", "pending_confirmation" ], "description": "统一就业状态。" }, "destination_type": { "type": "string", "enum": [ "enterprise", "public_institution", "government", "further_study", "entrepreneurship", "military", "other" ], "description": "毕业去向类型。" }, "job_title": { "type": ["string", "null"], "maxLength": 200, "description": "就业岗位业务原文。" }, "job_code": { "type": ["string", "null"], "maxLength": 32, "description": "映射到统一岗位词典后的岗位代码。" }, "enterprise_token": { "type": ["string", "null"], "pattern": "^ENT_[A-Za-z0-9_-]{24,128}$", "description": "企业统一标识令牌。" }, "enterprise_name": { "type": ["string", "null"], "maxLength": 300, "description": "用于业务核验的企业名称;导出时按数据范围策略处理。" }, "enterprise_industry_code": { "type": ["string", "null"], "maxLength": 32, "description": "企业行业代码。" }, "region_code": { "type": ["string", "null"], "pattern": "^[0-9]{6}$", "description": "就业地区 GB/T 2260 六位代码。" }, "salary_monthly": { "type": ["number", "null"], "minimum": 0, "maximum": 10000000, "description": "确认后的税前月薪,单位元。" }, "salary_confirmed": { "type": ["boolean", "null"], "description": "薪资是否经过业务确认。" }, "job_relevance": { "type": ["string", "null"], "enum": ["high", "medium", "low", "unconfirmed", null], "description": "就业岗位与专业培养方向相关度。" }, "employment_start_date": { "type": ["string", "null"], "format": "date", "description": "就业开始日期。" }, "contract_signed": { "type": ["boolean", "null"], "description": "是否签署就业协议或劳动合同。" }, "evidence_type": { "type": ["string", "null"], "enum": ["contract", "offer", "registration", "enterprise_confirmation", "student_confirmation", "other", null], "description": "就业确认材料类型,不在平台保存原始敏感附件。" }, "evidence_reference": { "type": ["string", "null"], "maxLength": 256, "description": "学校系统内的材料引用编号。" }, "confirmed_at": { "type": "string", "format": "date-time", "description": "业务确认时间。" }, "confirmation_role": { "type": "string", "enum": ["employment_office", "college", "student", "enterprise", "system"], "description": "执行确认的业务角色。" }, "source_system": { "type": "string", "maxLength": 128, "description": "学校来源系统代码。" }, "source_record_id": { "type": "string", "minLength": 1, "maxLength": 256, "description": "校内来源系统记录标识。" }, "source_updated_at": { "type": ["string", "null"], "format": "date-time", "description": "校内来源系统业务更新时间,建议作为增量水位。" }, "created_at": { "type": "string", "format": "date-time", "description": "平台记录创建时间。" }, "updated_at": { "type": "string", "format": "date-time", "description": "平台记录更新时间。" }, "data_version": { "type": "string", "pattern": "^SCH-EMP-[0-9]{8}(?:-[0-9]{2})?$", "description": "校内就业数据版本。" }, "is_deleted": { "type": "boolean", "default": false, "description": "版本化软删除标识。" }, "content_hash": { "type": "string", "pattern": "^[a-f0-9]{64}$", "description": "去除非业务差异后的记录内容 SHA-256。" } }, "allOf": [ { "if": { "properties": { "destination_type": { "const": "enterprise" } }, "required": ["destination_type"] }, "then": { "anyOf": [ { "required": ["enterprise_token"] }, { "required": ["enterprise_name"] } ] } } ] }