device.yaml 672 字节
version: v1
kind: Schema
metadata:
  name: device
  description: 设备
  attributes:
  - ref: deviceId
    required: true
  - ref: companyId
    required: true
  - ref: orgId
    required: true  
  - ref: deviceCode
    required: true  
  - ref: deviceName
    required: true
  - ref: deviceModel
    required: true
  - ref: deviceType
    required: true
  - ref: brand
    required: true
  - ref: deviceStatus
    required: true
  - ref: riskLevel
    required: true
  - ref: createdAt
    required: true
  - ref: updatedAt
    required: true
  - ref: deletedAt
    required: true
  - name: workStation
    description: 所属位置
    type: 
      schema: workStation