跳转至

数据结构示例

凭证数据结构

以下是一个完整的 AIY 凭证数据结构示例:

Verifiable Credential(凭证主体)

{
  "@context": [
    "https://www.w3.org/2018/credentials/v1",
    "https://purl.imsglobal.org/spec/ob/v3p0/context.json"
  ],
  "id": "urn:uuid:12345678-1234-1234-1234-123456789abc",
  "type": ["VerifiableCredential", "OpenBadgeCredential"],
  "name": "AIY 2026 深圳站 · 优秀认证",
  "description": "在 AIY 2026 深圳站黑客松中表现优秀,获得优秀认证",
  "issuer": {
    "id": "https://xtalents.ai/issuer",
    "type": "Profile",
    "name": "X-Talent",
    "url": "https://xtalents.ai"
  },
  "issuanceDate": "2026-07-22T00:00:00Z",
  "expirationDate": "2029-07-22T00:00:00Z",
  "credentialSubject": {
    "id": "urn:uuid:87654321-4321-4321-4321-cba987654321",
    "type": ["Achievement"],
    "name": "AIY 优秀认证——AI 工具应用",
    "description": "在 AI 工具应用维度表现优秀",
    "criteria": {
      "narrative": "在 AIY 2026 深圳站黑客松中,AI 工具应用维度评分 ≥ 4.0"
    },
    "result": {
      "score": 4.5,
      "scoreScaled": 0.9,
      "resultDescription": "AI 工具应用维度优秀",
      "status": "Passed"
    },
    "extension": {
      "schoolName": "南方科技大学",
      "major": "计算机科学",
      "grade": "大三",
      "teamId": "Team-017",
      "hackathonTrack": "AI 应用创新(字节跳动·扣子平台)",
      "rsdScores": {
        "aiToolProficiency": 4.5,
        "problemStructuring": 4.0,
        "interdisciplinaryIntegration": 4.0,
        "communicationPersuasion": 3.5,
        "collaborationIteration": 4.5
      },
      "rsdComments": [
        "AI 工具应用:选型精准,Prompt 设计有创意",
        "问题结构化:拆解清晰,优先级判断准确",
        "跨学科整合:商业逻辑完整,技术实现可行",
        "表达与说服:路演逻辑清晰,数据支撑充分",
        "协作与迭代:分工动态调整,代码协作规范"
      ],
      "enterpriseMark": "Interested"
    }
  },
  "evidence": [
    {
      "id": "https://xtalents.ai/evidence/123",
      "type": ["Evidence"],
      "name": "项目方案文档",
      "description": "AI 工作流引导器项目方案",
      "url": "https://github.com/team017/project-plan"
    },
    {
      "id": "https://xtalents.ai/evidence/456",
      "type": ["Evidence"],
      "name": "GitHub 代码仓库",
      "description": "AI 工作流引导器代码实现",
      "url": "https://github.com/team017/ai-workflow-guide"
    },
    {
      "id": "https://xtalents.ai/evidence/789",
      "type": ["Evidence"],
      "name": "路演视频",
      "description": "5 分钟路演视频",
      "url": "https://xtalents.ai/video/team017-roadshow.mp4"
    }
  ],
  "proof": {
    "type": "Ed25519Signature2020",
    "created": "2026-07-22T00:00:00Z",
    "verificationMethod": "https://xtalents.ai/issuer#key-1",
    "jws": "eyJhbGciOiJFZERTQSIsImI2NCI6ZmFsc2UsImtpZCI6IiJ9...",
    "challenge": "abc123",
    "domain": "xtalents.ai",
    "proofPurpose": "assertionMethod"
  }
}

RSD 数据结构

Rich Skill Descriptor(技能描述符)

{
  "id": "https://xtalents.ai/rsd/ai-tool-proficiency",
  "name": "AI 工具应用",
  "description": "评估学生使用 AI 工具的能力,包括工具选型、Prompt 工程、输出质量等",
  "type": "Competency",
  "version": "1.0.0",
  "status": "Active",
  "frameworkId": "https://xtalents.ai/framework/aiy",
  "frameworkName": "AIY 青年 AI 能力框架",
  "category": "AI 实操",
  "keywords": ["AI", "工具", "Prompt", "效率"],
  "createdAt": "2026-06-01T00:00:00Z",
  "updatedAt": "2026-06-01T00:00:00Z",
  "createdBy": "https://xtalents.ai/issuer",
  "scope": "National",
  "validityPeriod": 0,
  "assessmentMethod": "黑客松现场实操+评审",
  "evidenceRequired": true,
  "verificationMethod": "Open Badges 3.0 链接验证"
}

Competency Statement(能力陈述)

[
  {
    "id": "https://xtalents.ai/cs/tool-selection",
    "title": "工具选型合理性",
    "description": "是否根据任务特点选择了合适的 AI 工具(而非只用最熟悉的)",
    "skillDescriptorId": "https://xtalents.ai/rsd/ai-tool-proficiency",
    "level": "Advanced",
    "scoreRange": "1-5",
    "weight": 0.2,
    "observableBehavior": "评审员观察学生是否根据任务特点选择了合适的 AI 工具",
    "status": "Active",
    "createdAt": "2026-06-01T00:00:00Z",
    "updatedAt": "2026-06-01T00:00:00Z"
  },
  {
    "id": "https://xtalents.ai/cs/prompt-engineering",
    "title": "Prompt 工程质量",
    "description": "Prompt 是否结构化、是否有迭代优化、输出质量",
    "skillDescriptorId": "https://xtalents.ai/rsd/ai-tool-proficiency",
    "level": "Advanced",
    "scoreRange": "1-5",
    "weight": 0.2,
    "observableBehavior": "评审员观察 Prompt 是否结构化、是否有迭代优化、输出质量",
    "status": "Active",
    "createdAt": "2026-06-01T00:00:00Z",
    "updatedAt": "2026-06-01T00:00:00Z"
  }
]

Skill Assertion(技能断言)

{
  "id": "https://xtalents.ai/assertion/123456",
  "skillDescriptorId": "https://xtalents.ai/rsd/ai-tool-proficiency",
  "recipientId": "urn:uuid:87654321-4321-4321-4321-cba987654321",
  "recipientName": "张三",
  "recipientEmail": "zhangsan@example.com",
  "recipientSchool": "南方科技大学",
  "recipientGrade": "大三",
  "recipientMajor": "计算机科学",
  "score": 4.5,
  "level": "Advanced",
  "assessorId": "https://xtalents.ai/assessor/789",
  "assessorName": "李明",
  "assessorRole": "企业导师",
  "assessmentDate": "2026-07-18T14:00:00Z",
  "contextId": "https://xtalents.ai/context/aiy-2026-sz",
  "contextName": "AIY 2026 深圳站",
  "evidenceIds": [
    "https://xtalents.ai/evidence/123",
    "https://xtalents.ai/evidence/456"
  ],
  "assessorComment": "选型精准,Prompt 设计有创意",
  "status": "Confirmed",
  "issuedAt": "2026-07-22T00:00:00Z",
  "expiresAt": "2029-07-22T00:00:00Z",
  "createdAt": "2026-07-18T14:00:00Z"
}

Evidence(证据材料)

[
  {
    "id": "https://xtalents.ai/evidence/123",
    "assertionId": "https://xtalents.ai/assertion/123456",
    "type": "Code",
    "name": "GitHub 代码仓库",
    "description": "AI 工作流引导器代码实现",
    "url": "https://github.com/team017/ai-workflow-guide",
    "hash": "sha256:abc123def456...",
    "createdAt": "2026-07-18T16:00:00Z"
  },
  {
    "id": "https://xtalents.ai/evidence/456",
    "assertionId": "https://xtalents.ai/assertion/123456",
    "type": "Document",
    "name": "项目方案文档",
    "description": "AI 工作流引导器项目方案",
    "url": "https://docs.google.com/document/d/xxx",
    "hash": "sha256:789abc012def...",
    "createdAt": "2026-07-18T15:00:00Z"
  }
]

数据结构关系图

graph TB
    subgraph "Open Badges 3.0"
        VC[Verifiable Credential]
        P[Profile / Issuer]
        CS[Credential Subject / Achievement]
        E[Evidence]
        PR[Proof]
    end

    subgraph "RSD"
        RSD[Rich Skill Descriptor]
        CS2[Competency Statement]
        SA[Skill Assertion]
        E2[Evidence]
        AL[Alignment]
    end

    VC --> P
    VC --> CS
    VC --> E
    VC --> PR

    RSD --> CS2
    CS2 --> SA
    SA --> E2
    RSD --> AL

    CS --> SA
    E --> E2

    style VC fill:#9c27b0,color:#fff
    style P fill:#ff9800,color:#fff
    style CS fill:#4caf50,color:#fff
    style E fill:#2196f3,color:#fff
    style PR fill:#00bcd4,color:#fff
    style RSD fill:#9c27b0,color:#fff
    style CS2 fill:#ff9800,color:#fff
    style SA fill:#4caf50,color:#fff
    style E2 fill:#2196f3,color:#fff
    style AL fill:#00bcd4,color:#fff

给 HR 的参考

如何理解数据结构

HR 可以通过以下方式理解凭证的数据结构:

  1. 查看 JSON-LD 原始数据——在验证页面点击"查看 JSON-LD 原始数据"
  2. 关注核心字段——credentialSubject(持有者信息)、result(评估结果)、evidence(证据材料)
  3. 验证数据真实性——通过 proof(数字签名)验证
  4. 了解数据来源——每个字段都有明确的数据来源说明