# zd_instances

createTime: 2020-11-19 09:56:40.102268+08:00
updateTime: 2020-11-19 09:56:40.102268+08:00
title: UUID
name: uuid.v1.yaml
desc: 通用唯一识别码。
path: /Users/aaron/rd/project/zentao/go/zd/yaml/uuid/v1.yaml
field: uuid
yaml:
title: UUID
desc: 通用唯一识别码。
author: wwccss
version: 1.0

field: uuid
instances:
  - instance: length16
    note: 16位长度
    mode: r
    fields:
     - field: part1
       from: uuid.prefix.yaml
       use: uuid_prefix_time
       postfix: "-"
     - field: part2
       from: uuid.prefix.yaml
       use: uuid_prefix_info1
       postfix: "-"
     - field: part3
       from: uuid.prefix.yaml
       use: uuid_prefix_info2

  - instance: length32
    note: 32位长度
    mode: r
    fields:
      - field: part1
        from: uuid.prefix.yaml
        use: uuid_prefix_time
        postfix: "-"
      - field: part2
        from: uuid.prefix.yaml
        use: uuid_prefix_info1
        postfix: "-"
      - field: part3
        from: uuid.prefix.yaml
        use: uuid_prefix_info2
        postfix: "-"

      - field: part4
        range: 0-9999999999999999
        format: "%016d"

  - instance: length32_no_separator
    note: 32位随机
    mode: r
    fields:
      - field: part1
        from: uuid.prefix.yaml
        use: uuid_prefix_time
      - field: part2
        from: uuid.prefix.yaml
        use: uuid_prefix_info1
      - field: part3
        from: uuid.prefix.yaml
        use: uuid_prefix_info2

      - field: part4
        range: 0-9999999999999999
        format: "%016d"

  - instance: length32_random
    note: 32位随机
    fields:
      - field: part1
        from: uuid.prefix.yaml
        use: uuid_prefix_time
        rand: true
        postfix: "-"
      - field: part2
        from: uuid.prefix.yaml
        use: uuid_prefix_info1
        rand: true
        postfix: "-"
      - field: part3
        from: uuid.prefix.yaml
        use: uuid_prefix_info2
        rand: true
        postfix: "-"
      - field: part4
        range: 0-9999999999999999:R
        format: "%016d"

  - instance: length32_random_no_separator
    note: 32位随机
    fields:
      - field: part1
        from: uuid.prefix.yaml
        use: uuid_prefix_time
        rand: true
      - field: part2
        from: uuid.prefix.yaml
        use: uuid_prefix_info1
        rand: true
      - field: part3
        from: uuid.prefix.yaml
        use: uuid_prefix_info2
        rand: true

      - field: part4
        range: 0-9999999999999999:R
        format: "%016d"


createTime: 2020-11-19 09:56:40.118017+08:00
updateTime: 2020-11-19 09:56:40.118017+08:00
title: UUID前缀
name: uuid.prefix.yaml
desc: 通用唯一识别码前缀。
path: /Users/aaron/rd/project/zentao/go/zd/yaml/uuid/prefix.yaml
field: ip
yaml:
title: UUID前缀
desc: 通用唯一识别码前缀。
author: wwccss
version: 1.0

field: ip
instances:
  - instance: uuid_prefix_time
    note: 模拟1-8位时间戳
    fields:
     - field: part1
       range: 1-99999999
       format: "%08d"

  - instance: uuid_prefix_info1
    note: 模拟9~12硬件信息
    fields:
      - field: part1
        range: 1-9999
        format: "%04d"

  - instance: uuid_prefix_info2
    note: 模拟13~16硬件信息
    fields:
      - field: part1
        range: 1-9999
        format: "%04d"


createTime: 2020-11-19 09:56:40.12305+08:00
updateTime: 2020-11-19 09:56:40.12305+08:00
title: 时间
name: time.time.v1.yaml
path: /Users/aaron/rd/project/zentao/go/zd/yaml/time/time.v1.yaml
field: time
yaml:
title: 时间
desc:
author: zentao
version: 1.0

field: time
instances:
  - instance: time
    note: 时间
    mode: r
    fields:
      - field: hour
        range: 0-12
        format: "%02d"
        postfix: ":"
      - field: minute
        range: 0-60
        format: "%02d"
        postfix: ":"
      - field: second
        range: 0-60
        format: "%02d"
        postfix: "\t"

  - instance: chinese
    note: 时间
    mode: r
    fields:
      - field: hour
        range: 0-12
        postfix: "点"
      - field: minute
        range: 0-60
        postfix: "分"
      - field: second
        range: 0-60
        postfix: "秒"


createTime: 2020-11-19 09:56:40.128625+08:00
updateTime: 2020-11-19 09:56:40.128625+08:00
title: 月日
name: time.monthday.v1.yaml
path: /Users/aaron/rd/project/zentao/go/zd/yaml/time/monthday.v1.yaml
field: monthdate
yaml:
title: 月日
desc:
author: zentao
version: 1.0

field: monthdate
instances:

  - instance: common
    note: 普通
    prefix:
    fields:
    - field: month
      range: 1{31},2{28},3{31},4{30},5{31},6{30},7{31},8{31},9{30},10{31},11{30},12{31}
      format: "%02d"
      postfix: ""
    - field: day
      range: 1-31,1-28,1-31, 1-30,1-31,1-30, 1-31,1-31,1-30, 1-31,1-30,1-31
      format: "%02d"

  - instance: with_line
    note: 下划线分隔
    prefix:
    fields:
      - field: month
        range: 1{31},2{28},3{31},4{30},5{31},6{30},7{31},8{31},9{30},10{31},11{30},12{31}
        format: "%02d"
        postfix: "-"
      - field: day
        range: 1-31,1-28,1-31, 1-30,1-31,1-30, 1-31,1-31,1-30, 1-31,1-30,1-31
        format: "%02d"

  - instance: chinese
    note: 中文日期
    prefix:
    fields:
      - field: month
        range: 1{31},2{28},3{31},4{30},5{31},6{30},7{31},8{31},9{30},10{31},11{30},12{31}
        format: "%02d"
        postfix: "月"
      - field: day
        range: 1-31,1-28,1-31, 1-30,1-31,1-30, 1-31,1-31,1-30, 1-31,1-30,1-31
        format: "%02d"
        postfix: "日"


createTime: 2020-11-19 09:56:40.13601+08:00
updateTime: 2020-11-19 09:56:40.13601+08:00
title: 日期
name: time.date.v1.yaml
path: /Users/aaron/rd/project/zentao/go/zd/yaml/time/date.v1.yaml
field: date
yaml:
title: 日期
desc:
author: zentao
version: 1.0

field: date
instances:
  - instance: date
    note: 普通
    prefix:
    fields:
      - field: year
        range: 2020
      - field: month_day
        from: time.monthday.v1.yaml
        use: common
        prefix: ""
        postfix: "\t"

  - instance: with_line
    note: 下划线
    prefix:
    fields:
      - field: year
        range: 2020
        postfix: "-"
      - field: month_day
        from: time.monthday.v1.yaml
        use: with_line
        prefix: ""
        postfix: "\t"

  - instance: chinese
    note: 中文
    prefix:
    fields:
      - field: year
        range: 2020
        postfix: "年"
      - field: month_day
        from: time.monthday.v1.yaml
        use: chinese
        prefix: ""
        postfix: "\t"


createTime: 2020-11-19 09:56:40.142902+08:00
updateTime: 2020-11-19 09:56:40.142902+08:00
title: 用户名
name: test.user.v1.yaml
path: /Users/aaron/rd/project/zentao/go/zd/yaml/test/user.v1.yaml
yaml:
title: 用户名
desc:
author: ly
version: 1.0

instances:
  - instance: user
    note: 默认用户列表
    fields:
      - field: user
        range: admin,dev1,dev2,dev3,test1,test2,test3
  - instance: userB
    note: 逗号拼接的用户名
    fields:
      - field: user1
        range: admin
        postfix: ","
      - field: user2
        range: dev1
        postfix: ","
      - field: user3
        range: dev2


createTime: 2020-11-19 09:56:40.148718+08:00
updateTime: 2020-11-19 09:56:40.148718+08:00
title: 数字账号
name: name.numbers.v1.yaml
path: /Users/aaron/rd/project/zentao/go/zd/yaml/name/numbers.v1.yaml
field: account_numbers
yaml:
title: 数字账号
desc:
author: zentao
version: 1.0

field: account_numbers
instances:
  - instance: 1_number
    note: 单个数字
    prefix:
    fields:
      - field: part1
        range: 0-9

  - instance: 2_numbers
    note: 两个数字
    prefix:
    fields:
      - field: part1
        range: 0-9
        loop: 2

  - instance: 3_numbers
    note: 三个数字
    prefix:
    fields:
      - field: part1
        range: 0-9
        loop: 3

  - instance: 4_numbers
    note: 四个数字
    prefix:
    fields:
      - field: part1
        range: 0-9
        loop: 4

  - instance: numbers
    note: 多个数字
    prefix:
    fields:
      - field: part1
        range: 0-9
        loop: 5-100
        rand: true


createTime: 2020-11-19 09:56:40.157142+08:00
updateTime: 2020-11-19 09:56:40.157142+08:00
title: 字母账号
name: name.letters.v1.yaml
path: /Users/aaron/rd/project/zentao/go/zd/yaml/name/letters.v1.yaml
field: account_letters
yaml:
title: 字母账号
desc:
author: zentao
version: 1.0

field: account_letters
instances:
  - instance: 1_letter
    note: 单个字母
    prefix:
    fields:
      - field: part1
        range: a-z

  - instance: 2_letters
    note: 两个字母
    prefix:
    fields:
      - field: part1
        range: a-z
        loop: 2

  - instance: 3_letters
    note: 三个字母
    prefix:
    fields:
      - field: part1
        range: a-z
        loop: 3

  - instance: 4_letters
    note: 四个字母
    prefix:
    fields:
      - field: part1
        range: a-z
        loop: 4

  - instance: letters
    note: 多个字母
    prefix:
    fields:
      - field: part1
        range: a-z
        loop: 5-100
        rand: true


createTime: 2020-11-19 09:56:40.165728+08:00
updateTime: 2020-11-19 09:56:40.165728+08:00
title: 英文人名
name: name.enreal.v1.yaml
path: /Users/aaron/rd/project/zentao/go/zd/yaml/name/enreal.v1.yaml
field: english_name
yaml:
title: 英文人名
desc:
author: zentao
version: 1.0

field: english_name
instances:
  - instance: common
    note: 所有人名
    fields:
      - field: part1
        from: name.en.given.v1
        select: name
        postfix: " "
      - field: part2
        from: name.en.family.v1
        select: name
  - instance: male_common
    note: 男性人名
    prefix:
    fields:
      - field: part1
        from: name.en.given.v1
        select: name
        where: "sex='male'"
        postfix: " "
      - field: part2
        from: name.en.family.v1
        select: name
  - instance: female_common
    note: 女性人名
    prefix:
    fields:
      - field: part1
        from: name.en.given.v1
        select: name
        where: "sex='female'"
        postfix: " "
      - field: part2
        from: name.en.family.v1
        select: name

  - instance: with_middle
    note: 带中间名人名
    prefix:
    fields:
      - field: part1
        from: name.en.given.v1
        select: name
        postfix: " "
      - field: part2
        from: name.en.given.v1
        select: name
        postfix: " "
      - field: part3
        from: name.en.family.v1
        select: name

  - instance: male_with_middle
    note: 带中间名男性名
    prefix:
    fields:
      - field: part1
        from: name.en.given.v1
        select: name
        where: "sex='male'"
        postfix: " "
      - field: part2
        from: name.en.given.v1
        select: name
        where: "sex='male'"
        postfix: " "
      - field: part3
        from: name.en.family.v1
        select: name
  - instance: female_with_middle
    note: 带中间名女性名
    prefix:
    fields:
      - field: part1
        from: name.en.given.v1
        select: name
        where: "sex='female'"
        postfix: " "
      - field: part2
        from: name.en.given.v1
        select: name
        where: "sex='female'"
        postfix: " "
      - field: part3
        from: name.en.family.v1
        select: name


createTime: 2020-11-19 09:56:40.183306+08:00
updateTime: 2020-11-19 09:56:40.183306+08:00
title: 英文账号
name: name.enaccount.v1.yaml
path: /Users/aaron/rd/project/zentao/go/zd/yaml/name/enaccount.v1.yaml
field: english_account
yaml:
title: 英文账号
desc:
author: zentao
version: 1.0

field: english_account
instances:
  - instance: common
    note: 英文账号
    fields:
      - field: part1
        from: name.en.given.v1
        select: name
      - field: part2
        from: name.en.family.v1
        select: name
  - instance: common_underline
    note: 划线分隔英文账号
    prefix:
    fields:
      - field: part1
        from: name.en.given.v1
        select: name
        postfix: "_"
      - field: part2
        from: name.en.family.v1
        select: name
  - instance: common_dot
    note: 点分隔英文账号
    prefix:
    fields:
      - field: part1
        from: name.en.given.v1
        select: name
        postfix: "."
      - field: part2
        from: name.en.family.v1
        select: name

  - instance: reverse
    note: 姓在前英文账号
    prefix:
    fields:
      - field: part1
        from: name.en.family.v1
        select: name
        postfix: ""
      - field: part2
        from: name.en.given.v1
        select: name


createTime: 2020-11-19 09:56:40.193079+08:00
updateTime: 2020-11-19 09:56:40.193079+08:00
title: 中文人名
name: name.cnreal.v1.yaml
path: /Users/aaron/rd/project/zentao/go/zd/yaml/name/cnreal.v1.yaml
field: chinese_name
yaml:
title: 中文人名
desc:
author: zentao
version: 1.0

field: chinese_name
instances:
  - instance: two
    note: 2字人名
    fields:
      - field: part1
        from: name.cn.family.v1
        select: name
        where: "double='false'"
        postfix:
        rand: true
      - field: part2
        from: name.cn.given.v1
        select: name
        where: "double='false'"
        rand: true
  - instance: male_two
    note: 男性2字人名
    prefix:
    fields:
      - field: part1
        from: name.cn.family.v1
        select: name
        where: "double='false'"
        postfix: ""
      - field: part2
        from: name.cn.given.v1
        select: name
        where: "sex='male' AND double='false'"
  - instance: female_two
    note: 女性2字人名
    prefix:
    fields:
      - field: part1
        from: name.cn.family.v1
        select: name
        where: "double='false'"
        postfix: ""
      - field: part2
        from: name.cn.given.v1
        select: name
        where: "sex='female' AND double='false'"

  - instance: three
    note: 3字人名
    fields:
      - field: part1
        from: name.cn.family.v1
        select: name
        where: "double='false'"
        postfix:
      - field: part2
        from: name.cn.given.v1
        where: "double='true'"
        select: name
  - instance: male_three
    note: 男性3字人名
    prefix:
    fields:
      - field: part1
        from: name.cn.family.v1
        select: name
        where: "double='false'"
        postfix: ""
      - field: part2
        from: name.cn.given.v1
        select: name
        where: "sex='male' AND double='true'"
  - instance: female_three
    note: 女性3字人名
    prefix:
    fields:
      - field: part1
        from: name.cn.family.v1
        select: name
        where: "double='false'"
        postfix: ""
      - field: part2
        from: name.cn.given.v1
        select: name
        where: "sex='female' AND double='true'"

  - instance: four
    note: 4字人名
    fields:
      - field: part1
        from: name.cn.family.v1
        select: name
        where: "double='true'"
        postfix:
      - field: part2
        from: name.cn.given.v1
        where: "double='true'"
        select: name
  - instance: male_four
    note: 男性4字人名
    prefix:
    fields:
      - field: part1
        from: name.cn.family.v1
        select: name
        where: "double='true'"
        postfix: ""
      - field: part2
        from: name.cn.given.v1
        select: name
        where: "sex='male' AND double='true'"
  - instance: female_four
    note: 女性4字人名
    prefix:
    fields:
      - field: part1
        from: name.cn.family.v1
        select: name
        where: "double='true'"
        postfix: ""
      - field: part2
        from: name.cn.given.v1
        select: name
        where: "sex='female' AND double='true'"


createTime: 2020-11-19 09:56:40.213553+08:00
updateTime: 2020-11-19 09:56:40.213553+08:00
title: 中文账号
name: name.cnaccount.v1.yaml
path: /Users/aaron/rd/project/zentao/go/zd/yaml/name/cnaccount.v1.yaml
field: chinese_account
yaml:
title: 中文账号
desc:
author: zentao
version: 1.0

field: chinese_account
instances:
  - instance: common
    note: 中文账号
    fields:
      - field: part1
        from: name.cn.family.v1
        select: pinyin
      - field: part2
        from: name.cn.given.v1
        select: pinyin
  - instance: common_underline
    note: 划线分隔中文账号
    prefix:
    fields:
      - field: part1
        from: name.cn.family.v1
        select: pinyin
        postfix: "_"
      - field: part2
        from: name.cn.given.v1
        select: pinyin
  - instance: common_dot
    note: 点分隔中文账号
    prefix:
    fields:
      - field: part1
        from: name.cn.family.v1
        select: pinyin
        postfix: "."
      - field: part2
        from: name.cn.given.v1
        select: pinyin

  - instance: reverse
    note: 姓在前中文账号
    prefix:
    fields:
      - field: part1
        from: name.cn.given.v1
        select: pinyin
        postfix: ""
      - field: part2
        from: name.cn.family.v1
        select: pinyin

  - instance: family
    note: 单姓
    prefix:
    fields:
      - field: part1
        from: name.cn.family.v1
        select: pinyin

  - instance: given
    note: 单名
    prefix:
    fields:
      - field: part1
        from: name.cn.given.v1
        select: pinyin


createTime: 2020-11-19 09:56:40.231196+08:00
updateTime: 2020-11-19 09:56:40.231196+08:00
title: 私有IP地址
name: ip.v1.yaml
path: /Users/aaron/rd/project/zentao/go/zd/yaml/ip/v1.yaml
field: ip
yaml:
title: 私有IP地址
desc:
author: wwccss
version: 1.0

field: ip
instances:
  - instance: privateC
    note: 私有C类IP地址
    prefix: 192.168.
    fields:
     - field: part3
       range: 0-254
       postfix: .
     - field: part4
       range: 1-254

  - instance: privateB
    note: 私有B类IP地址
    prefix: 172.
    fields:
      - field: part2
        range: 16-31
        postfix: .
      - field: part3
        range: 0-254
        postfix: .
      - field: part4
        range: 1-254

  - instance: privateA
    note: 私有A类IP地址
    prefix: 10.
    fields:
      - field: part2
        range: 0-254
        postfix: .
      - field: part3
        range: 0-254
        postfix: .
      - field: part4
        range: 1-254

  - instance: publicC
    note: 公有C类IP地址
    mode: r
    fields:
      - field: part1
        range: 192-223
        postfix: .
      - field: part2
        range: 0-254
        postfix: .
      - field: part3
        range: 0-254
        postfix: .
      - field: part4
        range: 1-254

  - instance: publicB
    note: 公有B类IP地址
    mode: r
    fields:
      - field: part1
        range: 128-191
        postfix: .
      - field: part2
        range: 0-254
        postfix: .
      - field: part3
        range: 0-254
        postfix: .
      - field: part4
        range: 1-254

  - instance: publicA
    note: 公有A类IP地址
    mode: r
    fields:
      - field: part1
        range: 1-126
        postfix: .
      - field: part2
        range: 0-254
        postfix: .
      - field: part3
        range: 0-254
        postfix: .
      - field: part4
        range: 1-254


createTime: 2020-11-19 09:56:40.250257+08:00
updateTime: 2020-11-19 09:56:40.250257+08:00
title: 邮件地址
name: email.v1.yaml
path: /Users/aaron/rd/project/zentao/go/zd/yaml/email/v1.yaml
field: email
yaml:
title: 邮件地址
desc:
author: zentao
version: 1.0

field: email
instances:
  - instance: number_with_esp
    note: 数字加服务商域名
    fields:
      - field: several_numbers
        from: name.numbers.v1.yaml
        use: numbers
        postfix: "@"
      - field: esp_domain
        from: domain.esp.v1.yaml
        use: esp
  - instance: number_with_self
    note: 数字加自定义域名
    fields:
      - field: several_numbers
        from: name.numbers.v1.yaml
        use: numbers
        postfix: "@"
      - field: custom_domain
        from: domain.domain.v1.yaml
        use: mixed_at_common

  - instance: letter_with_esp
    note: 英文字符加服务商域名
    fields:
      - field: letters
        from: name.letters.v1.yaml
        use: letters
        postfix: "@"
      - field: esp_domain
        from: domain.esp.v1.yaml
        use: esp
  - instance: letter_with_self
    note: 英文字符加自定义CN域名
    fields:
      - field: letters
        from: name.letters.v1.yaml
        use: letters
        postfix: "@"
      - field: custom_domain
        from: domain.domain.v1.yaml
        use: mixed_at_cn

  - instance: western_with_esp
    note: 英文账号加服务商域名
    fields:
      - field: english_account
        from: name.enaccount.v1.yaml
        use: common_underline
        postfix: "@"
      - field: esp_domain
        from: domain.esp.v1.yaml
        use: esp
  - instance: western_with_self
    note: 英文账号加自定义新域名
    fields:
      - field: english_account
        from: name.enaccount.v1.yaml
        use: common_dot
        postfix: "@"
      - field: custom_domain
        from: domain.domain.v1.yaml
        use: mixed_at_new

  - instance: pinyin_with_esp
    note: 拼音加服务商域名
    fields:
      - field: chinese_account
        from: name.cnaccount.v1.yaml
        use: common_underline
        postfix: "@"
      - field: esp_domain
        from: domain.esp.v1.yaml
        use: esp
  - instance: pinyin_with_self
    note: 拼音加自有域名
    fields:
      - field: chinese_account
        from: name.cnaccount.v1.yaml
        use: common_dot
        postfix: "@"
      - field: part2
        from: domain.domain.v1.yaml
        use: mixed_at_common


createTime: 2020-11-19 09:56:40.271186+08:00
updateTime: 2020-11-19 09:56:40.271186+08:00
title: 邮件服务商域名
name: domain.esp.v1.yaml
path: /Users/aaron/rd/project/zentao/go/zd/yaml/domain/esp.v1.yaml
field: esp
yaml:
title: 邮件服务商域名
desc:
author: zentao
version: 1.0

field: esp
instances:
  - instance: esp
    note: 邮件服务商域名
    fields:
      - field: domain
        range: [qq.com,163.com,263.net,aliyun.com,126.com,gmail.com,outlook.com,hotmail.com]


createTime: 2020-11-19 09:56:40.276001+08:00
updateTime: 2020-11-19 09:56:40.276001+08:00
title: 自定义域名
name: domain.domain.v1.yaml
path: /Users/aaron/rd/project/zentao/go/zd/yaml/domain/domain.v1.yaml
field: domain
yaml:
title: 自定义域名
desc:
author: zentao
version: 1.0

field: domain
instances:
  - instance: one_number_at_common
    note: 单数字域名
    fields:
      - field: one_number
        range: 1-9
        postfix: "."
      - field: domain_postfix
        from: domain.postfix.v1.yaml
        use: all
  - instance: one_number_at_cn
    note: 单数字CN域名
    fields:
      - field: one_number
        range: 1-9
        postfix: "."
      - field: domain_postfix
        from: domain.postfix.v1.yaml
        use: cn
  - instance: one_number_at_new
    note: 单数字新域名
    fields:
      - field: one_number
        range: 1-9
        postfix: "."
      - field: domain_postfix
        from: domain.postfix.v1.yaml
        use: new

  - instance: one_letter_at_common
    note: 单字母域名
    fields:
      - field: one_letter
        range: a-z
        postfix: "."
      - field: domain_postfix
        from: domain.postfix.v1.yaml
        use: all
  - instance: one_letter_at_cn
    note: 单字母CN域名
    fields:
      - field: one_letter
        range: a-z
        postfix: "."
      - field: domain_postfix
        from: domain.postfix.v1.yaml
        use: cn
  - instance: one_letter_at_new
    note: 单字母新域名
    fields:
      - field: one_letter
        range: a-z
        postfix: "."
      - field: domain_postfix
        from: domain.postfix.v1.yaml
        use: new

  - instance: numbers_at_common
    note: 纯数字域名
    fields:
      - field: several_numbers
        range: 0-9
        loop: 5-8
        postfix: "."
      - field: domain_postfix
        from: domain.postfix.v1.yaml
        use: all
  - instance: numbers_at_cn
    note: 纯数字CN域名
    fields:
      - field: several_numbers
        range: 0-9
        loop: 5-8
        postfix: "."
      - field: domain_postfix
        from: domain.postfix.v1.yaml
        use: cn
  - instance: numbers_at_new
    note: 纯数字新域名
    fields:
      - field: several_numbers
        range: a-z
        loop: 5-8
        postfix: "."
      - field: domain_postfix
        from: domain.postfix.v1.yaml
        use: new

  - instance: letters_at_common
    note: 使用英文字符的域名
    fields:
      - field: letters
        from: name.letters.v1.yaml
        use: letters
        postfix: "."
      - field: domain_postfix
        from: domain.postfix.v1.yaml
        use: all
  - instance: letters_at_cn
    note: 使用英文字符的CN域名
    fields:
      - field: letters
        from: name.letters.v1.yaml
        use: letters
        postfix: "."
      - field: domain_postfix
        from: domain.postfix.v1.yaml
        use: cn
  - instance: letters_at_new
    note: 使用英文字符的新域名
    fields:
      - field: letters
        from: name.letters.v1.yaml
        use: letters
        postfix: "."
      - field: domain_postfix
        from: domain.postfix.v1.yaml
        use: new

  - instance: mixed_at_common
    note: 字母和数字混合的域名
    fields:
      - field: numbers_and_letters
        range: "[a-z,0-9]:R"
        loop: 5-8
        postfix: "."
      - field: domain_postfix
        from: domain.postfix.v1.yaml
        use: all
  - instance: mixed_at_cn
    note: 字母和数字混合的CN域名
    fields:
      - field: numbers_and_letters
        range: "[a-z,0-9]:R"
        loop: 5-8
        postfix: "."
      - field: domain_postfix
        from: domain.postfix.v1.yaml
        use: cn
  - instance: mixed_at_new
    note: 字母和数字混合的新域名
    fields:
      - field: numbers_and_letters
        range: "[a-z,0-9]:R"
        loop: 5-8
        postfix: "."
      - field: domain_postfix
        from: domain.postfix.v1.yaml
        use: new

  - instance: enaccount_at_common
    note: 使用英文账号的CN域名
    fields:
      - field: english_account
        from: name.enaccount.v1.yaml
        use: common_underline
        postfix: "."
      - field: domain_postfix
        from: domain.postfix.v1.yaml
        use: cn
  - instance: cnaccount_at_cn
    note: 使用中文账号的新域名
    fields:
      - field: chinese_account
        from: name.cnaccount.v1.yaml
        use: common_dot
        postfix: "."
      - field: domain_postfix
        from: domain.postfix.v1.yaml
        use: new


createTime: 2020-11-19 09:56:40.328142+08:00
updateTime: 2020-11-19 09:56:40.328142+08:00
title: 国家数据
name: country.v1.yaml
path: /Users/aaron/rd/project/zentao/go/zd/yaml/country/v1.yaml
field: country
yaml:
title: 国家数据
desc:
author: zentao
version: 1.0

field: country
instances:
  - instance: cnfull
    note: 国家中文全名
    fields:
      - field: field1
        from: country.v1
        select: cnfull
        postfix: "\t"

  - instance: cnshort
    note: 国家中文名
    fields:
      - field: field1
        from: country.v1
        select: cnshort
        postfix: "\t"

  - instance: enfull
    note: 国家英文全名
    fields:
      - field: field1
        from: country.v1
        select: enfull
        postfix: "\t"

  - instance: enshort
    note: 国家英文全名
    fields:
      - field: field1
        from: country.v1
        select: enshort
        postfix: "\t"

  - instance: areacode
    note: 国家编码
    fields:
      - field: field1
        from: country.v1
        select: areacode
        postfix: "\t"

  # 亚洲国家
  - instance: asia_cnfull
    note:
    fields:
      - field: field1
        from: country.v1
        select: cnfull
        where: continent = 'asia'
        postfix: "\t"
  - instance: asia_cnshort
    note:
    fields:
      - field: field1
        from: country.v1
        select: cnshort
        where: continent = 'asia'
        postfix: "\t"
  - instance: asia_enfull
    note:
    fields:
      - field: field1
        from: country.v1
        select: enfull
        where: continent = 'asia'
        postfix: "\t"
  - instance: asia_areacode
    note:
    fields:
      - field: field1
        from: country.v1
        select: areacode
        where: continent = 'asia'
        postfix: "\t"

  # 欧洲国家
  - instance: europe_cnfull
    note:
    fields:
      - field: field1
        from: country.v1
        select: cnfull
        where: continent = 'europe'
        postfix: "\t"
  - instance: europe_cnshort
    note:
    fields:
      - field: field1
        from: country.v1
        select: cnshort
        where: continent = 'europe'
        postfix: "\t"
  - instance: europe_enfull
    note:
    fields:
      - field: field1
        from: country.v1
        select: enfull
        where: continent = 'europe'
        postfix: "\t"
  - instance: europe_areacode
    note:
    fields:
      - field: field1
        from: country.v1
        select: areacode
        where: continent = 'europe'
        postfix: "\t"

  # 北美国家
  - instance: north_america_cnfull
    note:
    fields:
      - field: field1
        from: country.v1
        select: cnfull
        where: continent = 'north america'
        postfix: "\t"
  - instance: north_america_cnshort
    note:
    fields:
      - field: field1
        from: country.v1
        select: cnshort
        where: continent = 'north america'
        postfix: "\t"
  - instance: north_america_enfull
    note:
    fields:
      - field: field1
        from: country.v1
        select: enfull
        where: continent = 'north america'
        postfix: "\t"
  - instance: north_america_areacode
    note:
    fields:
      - field: field1
        from: country.v1
        select: areacode
        where: continent = 'north america'
        postfix: "\t"

  # 南美国家
  - instance: south_america_cnfull
    note:
    fields:
      - field: field1
        from: country.v1
        select: cnfull
        where: continent = 'south america'
        postfix: "\t"
  - instance: south_america_cnshort
    note:
    fields:
      - field: field1
        from: country.v1
        select: cnshort
        where: continent = 'south america'
        postfix: "\t"
  - instance: south_america_enfull
    note:
    fields:
      - field: field1
        from: country.v1
        select: enfull
        where: continent = 'south america'
        postfix: "\t"
  - instance: south_america_areacode
    note:
    fields:
      - field: field1
        from: country.v1
        select: areacode
        where: continent = 'south america'
        postfix: "\t"

  # 大洋洲国家
  - instance: oceania_cnfull
    note:
    fields:
      - field: field1
        from: country.v1
        select: cnfull
        where: continent = 'oceania'
        postfix: "\t"
  - instance: oceania_cnshort
    note:
    fields:
      - field: field1
        from: country.v1
        select: cnshort
        where: continent = 'oceania'
        postfix: "\t"
  - instance: oceania_enfull
    note:
    fields:
      - field: field1
        from: country.v1
        select: enfull
        where: continent = 'oceania'
        postfix: "\t"
  - instance: oceania_areacode
    note:
    fields:
      - field: field1
        from: country.v1
        select: areacode
        where: continent = 'oceania'
        postfix: "\t"


createTime: 2020-11-19 09:56:40.386669+08:00
updateTime: 2020-11-19 09:56:40.386669+08:00
title: 颜色
name: color.v1.yaml
desc: RGB、HEX、英文、中文名4种表示形式。
path: /Users/aaron/rd/project/zentao/go/zd/yaml/color/v1.yaml
field: color
yaml:
title: 颜色
desc: RGB、HEX、英文、中文名4种表示形式。
author: wwccss
version: 1.0

field: color
instances:
  - instance: rgb
    note: rgb颜色
    fields:
     - field: part1
       range: 0-255:R
       postfix: ","
     - field: part2
       range: 0-255:R
       postfix: ","
     - field: part3
       range: 0-255:R

  - instance: hex
    note: 16进制
    prefix: "#"
    fields:
    - field: part1
      range: 0-255:R
      format: "%02X"
    - field: part2
      range: 0-255:R
      format: "%02X"
    - field: part3
      range: 0-255:R
      format: "%02X"

  - instance: english
    note: 英文颜色名
    fields:
      - field: part1
        from: color.v1
        select: english

  - instance: chinese
    note: 中文颜色名
    fields:
      - field: part1
        from: color.v1
        select: chinese


