Created
          August 21, 2015 14:40 
        
      - 
      
 - 
        
Save adamrneary/08fb601b7ac513f5595e to your computer and use it in GitHub Desktop.  
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | /** Base Job object */ | |
| struct Job { | |
| 1: string id, | |
| /** Name of the job */ | |
| 2: string title, | |
| /** Top level step group */ | |
| 3: step.BaseStep stepGroup, | |
| 4: team.Team team, | |
| /** Template from which this Job was created */ | |
| 5: string jobTemplateId, | |
| /** The version of the Job Template that was used to create this Job */ | |
| 6: i32 jobTemplateVersion, | |
| /** Timestamp of when the Job was marked completed */ | |
| 7: i64 completedAt, | |
| /** Unique email address that can be used for submitting documents for this Job */ | |
| 8: string documentEmailAddress, | |
| /** Timestamp of when the Job was created */ | |
| 9: i64 createdAt, | |
| // Relations | |
| 11: list<document.Document> documents, | |
| 12: list<JobUser> jobUsers, | |
| 13: i32 completedSteps | |
| 14: i32 totalSteps | |
| 15: string reasonCompleted | |
| } | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment