Account:
  type: object
  properties:
    id:
      type: integer
    AccountName:
      type: string
    AccountCode:
      type: string
    AccountType:
      type: string

Site:
  type: object
  properties:
    id:
      type: integer
    SiteName:
      type: string
    SiteCode:
      type: string
      maxLength: 2
      pattern: '^[A-Z0-9]{2}$'
    AccountID:
      type: integer

Discipline:
  type: object
  properties:
    id:
      type: integer
    DisciplineName:
      type: string
    DisciplineCode:
      type: string
    SeqScr:
      type: integer
      description: Display order on screen
    SeqRpt:
      type: integer
      description: Display order in reports

Department:
  type: object
  properties:
    id:
      type: integer
    DeptName:
      type: string
    DeptCode:
      type: string
    SiteID:
      type: integer

Workstation:
  type: object
  properties:
    id:
      type: integer
    WorkstationName:
      type: string
    WorkstationCode:
      type: string
    SiteID:
      type: integer
    DepartmentID:
      type: integer

HostApp:
  type: object
  properties:
    HostAppID:
      type: string
      maxLength: 5
    HostAppName:
      type: string
    SiteID:
      type: integer
    SiteName:
      type: string
    CreateDate:
      type: string
      format: date-time
    EndDate:
      type: string
      format: date-time

HostComPara:
  type: object
  properties:
    HostAppID:
      type: string
      maxLength: 5
    HostAppName:
      type: string
    HostIP:
      type: string
      maxLength: 15
    HostPort:
      type: string
      maxLength: 6
    HostPwd:
      type: string
    CreateDate:
      type: string
      format: date-time
    EndDate:
      type: string
      format: date-time

CodingSys:
  type: object
  properties:
    CodingSysID:
      type: integer
    CodingSysAbb:
      type: string
      maxLength: 6
    FullText:
      type: string
    Description:
      type: string
    CreateDate:
      type: string
      format: date-time
    EndDate:
      type: string
      format: date-time
