generated: '2026-10-04' method: derived generator: derive-data-model.py source: - openapi/circleci-artifact-api-openapi.yml - openapi/circleci-build-api-openapi.yml - openapi/circleci-context-api-openapi.yml - openapi/circleci-insights-api-openapi.yml - openapi/circleci-job-api-openapi.yml - openapi/circleci-pipeline-api-openapi.yml - openapi/circleci-project-api-openapi.yml - openapi/circleci-resource-class-api-openapi.yml - openapi/circleci-runner-api-openapi.yml - openapi/circleci-runner-task-api-openapi.yml - openapi/circleci-schedule-api-openapi.yml - openapi/circleci-ssh-key-api-openapi.yml notation: has_one = property $ref; has_many = array of $ref; belongs_to = _id field summary: entities: 50 entities_in_spec: 50 relationships: 17 entities: - name: Artifact fields: 4 - name: ArtifactList fields: 2 - name: Build fields: 19 - name: BuildDetail fields: 0 - name: BuildSummary fields: 4 - name: CheckoutKey fields: 5 - name: CheckoutKeyList fields: 2 - name: Collaboration fields: 5 - name: Context fields: 3 - name: ContextList fields: 2 - name: CreateContextRequest fields: 2 - name: CreateScheduleRequest fields: 5 - name: CreateWebhookRequest fields: 6 - name: EnvironmentVariable fields: 4 - name: EnvironmentVariableList fields: 2 - name: ErrorResponse fields: 1 - name: InsightsJobMetrics fields: 2 - name: InsightsTestMetrics fields: 4 - name: InsightsWorkflowMetrics fields: 2 - name: InsightsWorkflowRuns fields: 2 - name: Job fields: 14 - name: MessageResponse fields: 1 - name: Pipeline fields: 9 - name: PipelineConfig fields: 4 - name: PipelineCreation fields: 4 - name: PipelineList fields: 2 - name: Project fields: 5 - name: ProjectEnvVar fields: 2 - name: ProjectEnvVarList fields: 2 - name: Project_2 fields: 7 - name: RerunWorkflowResponse fields: 1 - name: ResourceClass fields: 3 - name: ResourceClassCreation fields: 4 - name: Runner fields: 10 - name: Schedule fields: 9 - name: ScheduleList fields: 2 - name: TestList fields: 2 - name: TestMetadata fields: 7 - name: Timetable fields: 5 - name: TriggerPipelineRequest fields: 3 - name: UpdateScheduleRequest fields: 5 - name: UpdateWebhookRequest fields: 5 - name: User fields: 9 - name: User_2 fields: 3 - name: WebhookInfo fields: 9 - name: WebhookList fields: 2 - name: Workflow fields: 9 - name: WorkflowJob fields: 8 - name: WorkflowJobList fields: 2 - name: WorkflowList fields: 2 relationships: - from: EnvironmentVariable to: Context type: belongs_to via: context_id - from: ContextList to: Context type: has_many via: items - from: EnvironmentVariableList to: EnvironmentVariable type: has_many via: items - from: TestList to: TestMetadata type: has_many via: items - from: ArtifactList to: Artifact type: has_many via: items - from: PipelineList to: Pipeline type: has_many via: items - from: Workflow to: Pipeline type: belongs_to via: pipeline_id - from: WorkflowList to: Workflow type: has_many via: items - from: ProjectEnvVarList to: ProjectEnvVar type: has_many via: items - from: CheckoutKeyList to: CheckoutKey type: has_many via: items - from: ScheduleList to: Schedule type: has_many via: items - from: UpdateScheduleRequest to: Timetable type: has_one via: timetable - from: Schedule to: Timetable type: has_one via: timetable - from: CreateScheduleRequest to: Timetable type: has_one via: timetable - from: WebhookList to: WebhookInfo type: has_many via: items - from: RerunWorkflowResponse to: Workflow type: belongs_to via: workflow_id - from: WorkflowJobList to: WorkflowJob type: has_many via: items