org.yaml 717 字节
version: v1
kind: Schema
metadata:
  name: org
  description: 组织 organization
  attributes:
    - ref: orgId
      required: true
    - ref: companyId
      required: true
    - ref: createdAt
      required: true
    - ref: updatedAt
      required: true
    - ref: deletedAt
      required: true
    - ref: orgCode
      required: true
    - ref: orgName
      required: true
    - name: ext
      description: 扩展数据
      type:
        schema: ext
    - ref: isOrg
      required: true
    - ref: parentId
      required: true
    - ref: orgStatus
      required: true  
    - name: parentPath
      description: 父级节点路径("0,11,12,")
      type:
        primitive: string
      required: false