Schemas

employee

  • object
    Example: {"id":"string","employee":{"name":"string","directReports":0,"managePower":{"level":0,"maxDirectReportsAllowed":"string"}}}
    Additional Properties: false
    Properties:
    • id
      string
      Employee ID
      Example: "string"
    • employee
      object
      Employee Details (Worker or Manager)
      Example: {"name":"string","directReports":0,"managePower":{"level":0,"maxDirectReportsAllowed":"string"}}
      One Of:
      • object
        manager
        Example: {"name":"string","directReports":0,"managePower":{"level":0,"maxDirectReportsAllowed":"string"}}
        Additional Properties: false
      • object
        worker
        Example: {"name":"string","managerName":"string"}
        Additional Properties: false

manager

manager
  • object
    Example: {"name":"string","directReports":0,"managePower":{"level":0,"maxDirectReportsAllowed":"string"}}
    Additional Properties: false
    Properties:
    • name
      string
      Name of employee
      Example: "string"
    • directReports
      integer
      Count of direct reports
      Example: 0
    • managePower
      object
      Example: {"level":0,"maxDirectReportsAllowed":"string"}
      One Of:
      • object
        peopleManager
        Example: {"level":0,"maxDirectReportsAllowed":"string"}
        Additional Properties: false
      • object
        costManager
        Example: {"level":0,"canAuthorizeMaxAmount":0}
        Additional Properties: false

worker

worker
  • object
    Example: {"name":"string","managerName":"string"}
    Additional Properties: false
    Properties:
    • name
      string
      Name of employee
      Example: "string"
    • managerName
      string
      Name of manager
      Example: "string"

peopleManager

peopleManager
  • object
    Example: {"level":0,"maxDirectReportsAllowed":"string"}
    Additional Properties: false
    Properties:
    • level
      integer
      Example: 0
    • maxDirectReportsAllowed
      string
      No of people the level can manage
      Example: "string"

costManager

costManager
  • object
    Example: {"level":0,"canAuthorizeMaxAmount":0}
    Additional Properties: false
    Properties:
    • level
      integer
      Example: 0
    • canAuthorizeMaxAmount
      number
      Maximum amount that this level can authorize
      Example: 0