github.com/jenkins-x/jx-api@v0.0.24/pkg/client/openapi/core/openapi_generated.go (about)

     1  // +build !ignore_autogenerated
     2  
     3  // Code generated by openapi-gen. DO NOT EDIT.
     4  
     5  // This file was autogenerated by openapi-gen. Do not edit it manually!
     6  
     7  package core
     8  
     9  import (
    10  	spec "github.com/go-openapi/spec"
    11  	common "k8s.io/kube-openapi/pkg/common"
    12  )
    13  
    14  func GetOpenAPIDefinitions(ref common.ReferenceCallback) map[string]common.OpenAPIDefinition {
    15  	return map[string]common.OpenAPIDefinition{
    16  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.AccountReference":                    schema_pkg_apis_jenkinsio_v1_AccountReference(ref),
    17  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.App":                                 schema_pkg_apis_jenkinsio_v1_App(ref),
    18  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.AppList":                             schema_pkg_apis_jenkinsio_v1_AppList(ref),
    19  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.AppSpec":                             schema_pkg_apis_jenkinsio_v1_AppSpec(ref),
    20  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.Approve":                             schema_pkg_apis_jenkinsio_v1_Approve(ref),
    21  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.Attachment":                          schema_pkg_apis_jenkinsio_v1_Attachment(ref),
    22  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.BatchPipelineActivity":               schema_pkg_apis_jenkinsio_v1_BatchPipelineActivity(ref),
    23  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.Binary":                              schema_pkg_apis_jenkinsio_v1_Binary(ref),
    24  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.BranchProtectionContextPolicy":       schema_pkg_apis_jenkinsio_v1_BranchProtectionContextPolicy(ref),
    25  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.Brancher":                            schema_pkg_apis_jenkinsio_v1_Brancher(ref),
    26  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.BuildPack":                           schema_pkg_apis_jenkinsio_v1_BuildPack(ref),
    27  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.BuildPackList":                       schema_pkg_apis_jenkinsio_v1_BuildPackList(ref),
    28  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.BuildPackSpec":                       schema_pkg_apis_jenkinsio_v1_BuildPackSpec(ref),
    29  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ChartRef":                            schema_pkg_apis_jenkinsio_v1_ChartRef(ref),
    30  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.CommitStatus":                        schema_pkg_apis_jenkinsio_v1_CommitStatus(ref),
    31  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.CommitStatusCommitReference":         schema_pkg_apis_jenkinsio_v1_CommitStatusCommitReference(ref),
    32  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.CommitStatusDetails":                 schema_pkg_apis_jenkinsio_v1_CommitStatusDetails(ref),
    33  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.CommitStatusItem":                    schema_pkg_apis_jenkinsio_v1_CommitStatusItem(ref),
    34  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.CommitStatusList":                    schema_pkg_apis_jenkinsio_v1_CommitStatusList(ref),
    35  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.CommitStatusSpec":                    schema_pkg_apis_jenkinsio_v1_CommitStatusSpec(ref),
    36  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.CommitSummary":                       schema_pkg_apis_jenkinsio_v1_CommitSummary(ref),
    37  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ConfigMapSpec":                       schema_pkg_apis_jenkinsio_v1_ConfigMapSpec(ref),
    38  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ConfigUpdater":                       schema_pkg_apis_jenkinsio_v1_ConfigUpdater(ref),
    39  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ContextPolicy":                       schema_pkg_apis_jenkinsio_v1_ContextPolicy(ref),
    40  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.CoreActivityStep":                    schema_pkg_apis_jenkinsio_v1_CoreActivityStep(ref),
    41  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.DependencyUpdate":                    schema_pkg_apis_jenkinsio_v1_DependencyUpdate(ref),
    42  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.DependencyUpdateDetails":             schema_pkg_apis_jenkinsio_v1_DependencyUpdateDetails(ref),
    43  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.DeployOptions":                       schema_pkg_apis_jenkinsio_v1_DeployOptions(ref),
    44  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.Environment":                         schema_pkg_apis_jenkinsio_v1_Environment(ref),
    45  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.EnvironmentFilter":                   schema_pkg_apis_jenkinsio_v1_EnvironmentFilter(ref),
    46  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.EnvironmentList":                     schema_pkg_apis_jenkinsio_v1_EnvironmentList(ref),
    47  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.EnvironmentRepository":               schema_pkg_apis_jenkinsio_v1_EnvironmentRepository(ref),
    48  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.EnvironmentRoleBinding":              schema_pkg_apis_jenkinsio_v1_EnvironmentRoleBinding(ref),
    49  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.EnvironmentRoleBindingList":          schema_pkg_apis_jenkinsio_v1_EnvironmentRoleBindingList(ref),
    50  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.EnvironmentRoleBindingSpec":          schema_pkg_apis_jenkinsio_v1_EnvironmentRoleBindingSpec(ref),
    51  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.EnvironmentRoleBindingStatus":        schema_pkg_apis_jenkinsio_v1_EnvironmentRoleBindingStatus(ref),
    52  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.EnvironmentSpec":                     schema_pkg_apis_jenkinsio_v1_EnvironmentSpec(ref),
    53  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.EnvironmentStatus":                   schema_pkg_apis_jenkinsio_v1_EnvironmentStatus(ref),
    54  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.EnvironmentVariable":                 schema_pkg_apis_jenkinsio_v1_EnvironmentVariable(ref),
    55  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.Extension":                           schema_pkg_apis_jenkinsio_v1_Extension(ref),
    56  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ExtensionConfig":                     schema_pkg_apis_jenkinsio_v1_ExtensionConfig(ref),
    57  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ExtensionConfigList":                 schema_pkg_apis_jenkinsio_v1_ExtensionConfigList(ref),
    58  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ExtensionDefinition":                 schema_pkg_apis_jenkinsio_v1_ExtensionDefinition(ref),
    59  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ExtensionDefinitionChildReference":   schema_pkg_apis_jenkinsio_v1_ExtensionDefinitionChildReference(ref),
    60  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ExtensionDefinitionList":             schema_pkg_apis_jenkinsio_v1_ExtensionDefinitionList(ref),
    61  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ExtensionDefinitionReference":        schema_pkg_apis_jenkinsio_v1_ExtensionDefinitionReference(ref),
    62  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ExtensionDefinitionReferenceList":    schema_pkg_apis_jenkinsio_v1_ExtensionDefinitionReferenceList(ref),
    63  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ExtensionExecution":                  schema_pkg_apis_jenkinsio_v1_ExtensionExecution(ref),
    64  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ExtensionList":                       schema_pkg_apis_jenkinsio_v1_ExtensionList(ref),
    65  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ExtensionParameter":                  schema_pkg_apis_jenkinsio_v1_ExtensionParameter(ref),
    66  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ExtensionParameterValue":             schema_pkg_apis_jenkinsio_v1_ExtensionParameterValue(ref),
    67  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ExtensionRepositoryReference":        schema_pkg_apis_jenkinsio_v1_ExtensionRepositoryReference(ref),
    68  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ExtensionRepositoryReferenceList":    schema_pkg_apis_jenkinsio_v1_ExtensionRepositoryReferenceList(ref),
    69  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ExtensionSpec":                       schema_pkg_apis_jenkinsio_v1_ExtensionSpec(ref),
    70  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ExternalPlugin":                      schema_pkg_apis_jenkinsio_v1_ExternalPlugin(ref),
    71  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.Fact":                                schema_pkg_apis_jenkinsio_v1_Fact(ref),
    72  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.FactList":                            schema_pkg_apis_jenkinsio_v1_FactList(ref),
    73  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.FactSpec":                            schema_pkg_apis_jenkinsio_v1_FactSpec(ref),
    74  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.FactStatus":                          schema_pkg_apis_jenkinsio_v1_FactStatus(ref),
    75  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.GitService":                          schema_pkg_apis_jenkinsio_v1_GitService(ref),
    76  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.GitServiceList":                      schema_pkg_apis_jenkinsio_v1_GitServiceList(ref),
    77  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.GitServiceSpec":                      schema_pkg_apis_jenkinsio_v1_GitServiceSpec(ref),
    78  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.GitStatus":                           schema_pkg_apis_jenkinsio_v1_GitStatus(ref),
    79  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.GlobalProtectionPolicy":              schema_pkg_apis_jenkinsio_v1_GlobalProtectionPolicy(ref),
    80  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.IssueLabel":                          schema_pkg_apis_jenkinsio_v1_IssueLabel(ref),
    81  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.IssueSummary":                        schema_pkg_apis_jenkinsio_v1_IssueSummary(ref),
    82  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.JobBase":                             schema_pkg_apis_jenkinsio_v1_JobBase(ref),
    83  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.Lgtm":                                schema_pkg_apis_jenkinsio_v1_Lgtm(ref),
    84  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.Measurement":                         schema_pkg_apis_jenkinsio_v1_Measurement(ref),
    85  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.Merger":                              schema_pkg_apis_jenkinsio_v1_Merger(ref),
    86  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.Original":                            schema_pkg_apis_jenkinsio_v1_Original(ref),
    87  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.Periodic":                            schema_pkg_apis_jenkinsio_v1_Periodic(ref),
    88  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.Periodics":                           schema_pkg_apis_jenkinsio_v1_Periodics(ref),
    89  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.PipelineActivity":                    schema_pkg_apis_jenkinsio_v1_PipelineActivity(ref),
    90  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.PipelineActivityList":                schema_pkg_apis_jenkinsio_v1_PipelineActivityList(ref),
    91  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.PipelineActivitySpec":                schema_pkg_apis_jenkinsio_v1_PipelineActivitySpec(ref),
    92  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.PipelineActivityStatus":              schema_pkg_apis_jenkinsio_v1_PipelineActivityStatus(ref),
    93  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.PipelineActivityStep":                schema_pkg_apis_jenkinsio_v1_PipelineActivityStep(ref),
    94  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.PipelineExtension":                   schema_pkg_apis_jenkinsio_v1_PipelineExtension(ref),
    95  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.PipelineStructure":                   schema_pkg_apis_jenkinsio_v1_PipelineStructure(ref),
    96  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.PipelineStructureList":               schema_pkg_apis_jenkinsio_v1_PipelineStructureList(ref),
    97  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.PipelineStructureStage":              schema_pkg_apis_jenkinsio_v1_PipelineStructureStage(ref),
    98  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.Plugin":                              schema_pkg_apis_jenkinsio_v1_Plugin(ref),
    99  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.PluginList":                          schema_pkg_apis_jenkinsio_v1_PluginList(ref),
   100  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.PluginSpec":                          schema_pkg_apis_jenkinsio_v1_PluginSpec(ref),
   101  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.Postsubmit":                          schema_pkg_apis_jenkinsio_v1_Postsubmit(ref),
   102  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.Postsubmits":                         schema_pkg_apis_jenkinsio_v1_Postsubmits(ref),
   103  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.Presubmit":                           schema_pkg_apis_jenkinsio_v1_Presubmit(ref),
   104  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.Presubmits":                          schema_pkg_apis_jenkinsio_v1_Presubmits(ref),
   105  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.PreviewActivityStep":                 schema_pkg_apis_jenkinsio_v1_PreviewActivityStep(ref),
   106  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.PreviewGitSpec":                      schema_pkg_apis_jenkinsio_v1_PreviewGitSpec(ref),
   107  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.PromoteActivityStep":                 schema_pkg_apis_jenkinsio_v1_PromoteActivityStep(ref),
   108  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.PromotePullRequestStep":              schema_pkg_apis_jenkinsio_v1_PromotePullRequestStep(ref),
   109  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.PromoteUpdateStep":                   schema_pkg_apis_jenkinsio_v1_PromoteUpdateStep(ref),
   110  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.PromoteWorkflowStep":                 schema_pkg_apis_jenkinsio_v1_PromoteWorkflowStep(ref),
   111  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ProtectionPolicies":                  schema_pkg_apis_jenkinsio_v1_ProtectionPolicies(ref),
   112  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ProtectionPolicy":                    schema_pkg_apis_jenkinsio_v1_ProtectionPolicy(ref),
   113  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.PullRequestInfo":                     schema_pkg_apis_jenkinsio_v1_PullRequestInfo(ref),
   114  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.Query":                               schema_pkg_apis_jenkinsio_v1_Query(ref),
   115  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.QuickStartLocation":                  schema_pkg_apis_jenkinsio_v1_QuickStartLocation(ref),
   116  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.RegexpChangeMatcher":                 schema_pkg_apis_jenkinsio_v1_RegexpChangeMatcher(ref),
   117  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.Release":                             schema_pkg_apis_jenkinsio_v1_Release(ref),
   118  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ReleaseList":                         schema_pkg_apis_jenkinsio_v1_ReleaseList(ref),
   119  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ReleaseSpec":                         schema_pkg_apis_jenkinsio_v1_ReleaseSpec(ref),
   120  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ReleaseStatus":                       schema_pkg_apis_jenkinsio_v1_ReleaseStatus(ref),
   121  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ReplaceableMapOfStringContextPolicy": schema_pkg_apis_jenkinsio_v1_ReplaceableMapOfStringContextPolicy(ref),
   122  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ReplaceableMapOfStringString":        schema_pkg_apis_jenkinsio_v1_ReplaceableMapOfStringString(ref),
   123  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ReplaceableSliceOfExternalPlugins":   schema_pkg_apis_jenkinsio_v1_ReplaceableSliceOfExternalPlugins(ref),
   124  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ReplaceableSliceOfStrings":           schema_pkg_apis_jenkinsio_v1_ReplaceableSliceOfStrings(ref),
   125  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.RepoContextPolicy":                   schema_pkg_apis_jenkinsio_v1_RepoContextPolicy(ref),
   126  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ResourceReference":                   schema_pkg_apis_jenkinsio_v1_ResourceReference(ref),
   127  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.Restrictions":                        schema_pkg_apis_jenkinsio_v1_Restrictions(ref),
   128  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ReviewPolicy":                        schema_pkg_apis_jenkinsio_v1_ReviewPolicy(ref),
   129  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.Scheduler":                           schema_pkg_apis_jenkinsio_v1_Scheduler(ref),
   130  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.SchedulerAgent":                      schema_pkg_apis_jenkinsio_v1_SchedulerAgent(ref),
   131  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.SchedulerList":                       schema_pkg_apis_jenkinsio_v1_SchedulerList(ref),
   132  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.SchedulerSpec":                       schema_pkg_apis_jenkinsio_v1_SchedulerSpec(ref),
   133  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.SourceRepository":                    schema_pkg_apis_jenkinsio_v1_SourceRepository(ref),
   134  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.SourceRepositoryGroup":               schema_pkg_apis_jenkinsio_v1_SourceRepositoryGroup(ref),
   135  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.SourceRepositoryGroupList":           schema_pkg_apis_jenkinsio_v1_SourceRepositoryGroupList(ref),
   136  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.SourceRepositoryGroupSpec":           schema_pkg_apis_jenkinsio_v1_SourceRepositoryGroupSpec(ref),
   137  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.SourceRepositoryList":                schema_pkg_apis_jenkinsio_v1_SourceRepositoryList(ref),
   138  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.SourceRepositorySpec":                schema_pkg_apis_jenkinsio_v1_SourceRepositorySpec(ref),
   139  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.StageActivityStep":                   schema_pkg_apis_jenkinsio_v1_StageActivityStep(ref),
   140  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.Statement":                           schema_pkg_apis_jenkinsio_v1_Statement(ref),
   141  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.StorageLocation":                     schema_pkg_apis_jenkinsio_v1_StorageLocation(ref),
   142  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.Team":                                schema_pkg_apis_jenkinsio_v1_Team(ref),
   143  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.TeamList":                            schema_pkg_apis_jenkinsio_v1_TeamList(ref),
   144  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.TeamSettings":                        schema_pkg_apis_jenkinsio_v1_TeamSettings(ref),
   145  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.TeamSpec":                            schema_pkg_apis_jenkinsio_v1_TeamSpec(ref),
   146  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.TeamStatus":                          schema_pkg_apis_jenkinsio_v1_TeamStatus(ref),
   147  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.Trigger":                             schema_pkg_apis_jenkinsio_v1_Trigger(ref),
   148  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.User":                                schema_pkg_apis_jenkinsio_v1_User(ref),
   149  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.UserDetails":                         schema_pkg_apis_jenkinsio_v1_UserDetails(ref),
   150  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.UserList":                            schema_pkg_apis_jenkinsio_v1_UserList(ref),
   151  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.UserSpec":                            schema_pkg_apis_jenkinsio_v1_UserSpec(ref),
   152  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.Welcome":                             schema_pkg_apis_jenkinsio_v1_Welcome(ref),
   153  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.Workflow":                            schema_pkg_apis_jenkinsio_v1_Workflow(ref),
   154  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.WorkflowList":                        schema_pkg_apis_jenkinsio_v1_WorkflowList(ref),
   155  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.WorkflowPreconditions":               schema_pkg_apis_jenkinsio_v1_WorkflowPreconditions(ref),
   156  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.WorkflowSpec":                        schema_pkg_apis_jenkinsio_v1_WorkflowSpec(ref),
   157  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.WorkflowStatus":                      schema_pkg_apis_jenkinsio_v1_WorkflowStatus(ref),
   158  		"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.WorkflowStep":                        schema_pkg_apis_jenkinsio_v1_WorkflowStep(ref),
   159  	}
   160  }
   161  
   162  func schema_pkg_apis_jenkinsio_v1_AccountReference(ref common.ReferenceCallback) common.OpenAPIDefinition {
   163  	return common.OpenAPIDefinition{
   164  		Schema: spec.Schema{
   165  			SchemaProps: spec.SchemaProps{
   166  				Description: "AccountReference is a reference to a user account in another system that is attached to this user",
   167  				Type:        []string{"object"},
   168  				Properties: map[string]spec.Schema{
   169  					"provider": {
   170  						SchemaProps: spec.SchemaProps{
   171  							Type:   []string{"string"},
   172  							Format: "",
   173  						},
   174  					},
   175  					"id": {
   176  						SchemaProps: spec.SchemaProps{
   177  							Type:   []string{"string"},
   178  							Format: "",
   179  						},
   180  					},
   181  				},
   182  			},
   183  		},
   184  		Dependencies: []string{},
   185  	}
   186  }
   187  
   188  func schema_pkg_apis_jenkinsio_v1_App(ref common.ReferenceCallback) common.OpenAPIDefinition {
   189  	return common.OpenAPIDefinition{
   190  		Schema: spec.Schema{
   191  			SchemaProps: spec.SchemaProps{
   192  				Description: "App is the metadata for an App",
   193  				Type:        []string{"object"},
   194  				Properties: map[string]spec.Schema{
   195  					"kind": {
   196  						SchemaProps: spec.SchemaProps{
   197  							Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
   198  							Type:        []string{"string"},
   199  							Format:      "",
   200  						},
   201  					},
   202  					"apiVersion": {
   203  						SchemaProps: spec.SchemaProps{
   204  							Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
   205  							Type:        []string{"string"},
   206  							Format:      "",
   207  						},
   208  					},
   209  					"metadata": {
   210  						SchemaProps: spec.SchemaProps{
   211  							Description: "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata",
   212  							Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
   213  						},
   214  					},
   215  					"spec": {
   216  						SchemaProps: spec.SchemaProps{
   217  							Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.AppSpec"),
   218  						},
   219  					},
   220  				},
   221  			},
   222  		},
   223  		Dependencies: []string{
   224  			"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.AppSpec", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
   225  	}
   226  }
   227  
   228  func schema_pkg_apis_jenkinsio_v1_AppList(ref common.ReferenceCallback) common.OpenAPIDefinition {
   229  	return common.OpenAPIDefinition{
   230  		Schema: spec.Schema{
   231  			SchemaProps: spec.SchemaProps{
   232  				Description: "AppList is a structure used by k8s to store lists of apps",
   233  				Type:        []string{"object"},
   234  				Properties: map[string]spec.Schema{
   235  					"kind": {
   236  						SchemaProps: spec.SchemaProps{
   237  							Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
   238  							Type:        []string{"string"},
   239  							Format:      "",
   240  						},
   241  					},
   242  					"apiVersion": {
   243  						SchemaProps: spec.SchemaProps{
   244  							Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
   245  							Type:        []string{"string"},
   246  							Format:      "",
   247  						},
   248  					},
   249  					"metadata": {
   250  						SchemaProps: spec.SchemaProps{
   251  							Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
   252  						},
   253  					},
   254  					"items": {
   255  						SchemaProps: spec.SchemaProps{
   256  							Type: []string{"array"},
   257  							Items: &spec.SchemaOrArray{
   258  								Schema: &spec.Schema{
   259  									SchemaProps: spec.SchemaProps{
   260  										Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.App"),
   261  									},
   262  								},
   263  							},
   264  						},
   265  					},
   266  				},
   267  				Required: []string{"metadata", "items"},
   268  			},
   269  		},
   270  		Dependencies: []string{
   271  			"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.App", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
   272  	}
   273  }
   274  
   275  func schema_pkg_apis_jenkinsio_v1_AppSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
   276  	return common.OpenAPIDefinition{
   277  		Schema: spec.Schema{
   278  			SchemaProps: spec.SchemaProps{
   279  				Description: "AppSpec provides details of the metadata for an App",
   280  				Type:        []string{"object"},
   281  				Properties: map[string]spec.Schema{
   282  					"schemaPreprocessor": {
   283  						SchemaProps: spec.SchemaProps{
   284  							Ref: ref("k8s.io/api/core/v1.Container"),
   285  						},
   286  					},
   287  					"schemaPreprocessorRole": {
   288  						SchemaProps: spec.SchemaProps{
   289  							Ref: ref("k8s.io/api/rbac/v1.Role"),
   290  						},
   291  					},
   292  					"pipelineExtension": {
   293  						SchemaProps: spec.SchemaProps{
   294  							Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.PipelineExtension"),
   295  						},
   296  					},
   297  				},
   298  			},
   299  		},
   300  		Dependencies: []string{
   301  			"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.PipelineExtension", "k8s.io/api/core/v1.Container", "k8s.io/api/rbac/v1.Role"},
   302  	}
   303  }
   304  
   305  func schema_pkg_apis_jenkinsio_v1_Approve(ref common.ReferenceCallback) common.OpenAPIDefinition {
   306  	return common.OpenAPIDefinition{
   307  		Schema: spec.Schema{
   308  			SchemaProps: spec.SchemaProps{
   309  				Description: "Approve specifies a configuration for a single approve.\n\nThe configuration for the approve plugin is defined as a list of these structures.",
   310  				Type:        []string{"object"},
   311  				Properties: map[string]spec.Schema{
   312  					"issueRequired": {
   313  						SchemaProps: spec.SchemaProps{
   314  							Description: "IssueRequired indicates if an associated issue is required for approval in the specified repos.",
   315  							Type:        []string{"boolean"},
   316  							Format:      "",
   317  						},
   318  					},
   319  					"requireSelfApproval": {
   320  						SchemaProps: spec.SchemaProps{
   321  							Description: "RequireSelfApproval requires PR authors to explicitly approve their PRs. Otherwise the plugin assumes the author of the PR approves the changes in the PR.",
   322  							Type:        []string{"boolean"},
   323  							Format:      "",
   324  						},
   325  					},
   326  					"lgtmActsAsApprove": {
   327  						SchemaProps: spec.SchemaProps{
   328  							Description: "LgtmActsAsApprove indicates that the lgtm command should be used to indicate approval",
   329  							Type:        []string{"boolean"},
   330  							Format:      "",
   331  						},
   332  					},
   333  					"ignoreReviewState": {
   334  						SchemaProps: spec.SchemaProps{
   335  							Description: "IgnoreReviewState causes the approve plugin to ignore the GitHub review state. Otherwise: * an APPROVE github review is equivalent to leaving an \"/approve\" message. * A REQUEST_CHANGES github review is equivalent to leaving an /approve cancel\" message.",
   336  							Type:        []string{"boolean"},
   337  							Format:      "",
   338  						},
   339  					},
   340  				},
   341  			},
   342  		},
   343  		Dependencies: []string{},
   344  	}
   345  }
   346  
   347  func schema_pkg_apis_jenkinsio_v1_Attachment(ref common.ReferenceCallback) common.OpenAPIDefinition {
   348  	return common.OpenAPIDefinition{
   349  		Schema: spec.Schema{
   350  			SchemaProps: spec.SchemaProps{
   351  				Type: []string{"object"},
   352  				Properties: map[string]spec.Schema{
   353  					"name": {
   354  						SchemaProps: spec.SchemaProps{
   355  							Type:   []string{"string"},
   356  							Format: "",
   357  						},
   358  					},
   359  					"urls": {
   360  						SchemaProps: spec.SchemaProps{
   361  							Type: []string{"array"},
   362  							Items: &spec.SchemaOrArray{
   363  								Schema: &spec.Schema{
   364  									SchemaProps: spec.SchemaProps{
   365  										Type:   []string{"string"},
   366  										Format: "",
   367  									},
   368  								},
   369  							},
   370  						},
   371  					},
   372  				},
   373  			},
   374  		},
   375  		Dependencies: []string{},
   376  	}
   377  }
   378  
   379  func schema_pkg_apis_jenkinsio_v1_BatchPipelineActivity(ref common.ReferenceCallback) common.OpenAPIDefinition {
   380  	return common.OpenAPIDefinition{
   381  		Schema: spec.Schema{
   382  			SchemaProps: spec.SchemaProps{
   383  				Description: "BatchPipelineActivity contains information about a batch build, used by both the batch build and its comprising PRs for linking them together",
   384  				Type:        []string{"object"},
   385  				Properties: map[string]spec.Schema{
   386  					"batchBuildNumber": {
   387  						SchemaProps: spec.SchemaProps{
   388  							Type:   []string{"string"},
   389  							Format: "",
   390  						},
   391  					},
   392  					"batchBranchName": {
   393  						SchemaProps: spec.SchemaProps{
   394  							Type:   []string{"string"},
   395  							Format: "",
   396  						},
   397  					},
   398  					"pullRequestInfo": {
   399  						SchemaProps: spec.SchemaProps{
   400  							Type: []string{"array"},
   401  							Items: &spec.SchemaOrArray{
   402  								Schema: &spec.Schema{
   403  									SchemaProps: spec.SchemaProps{
   404  										Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.PullRequestInfo"),
   405  									},
   406  								},
   407  							},
   408  						},
   409  					},
   410  				},
   411  			},
   412  		},
   413  		Dependencies: []string{
   414  			"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.PullRequestInfo"},
   415  	}
   416  }
   417  
   418  func schema_pkg_apis_jenkinsio_v1_Binary(ref common.ReferenceCallback) common.OpenAPIDefinition {
   419  	return common.OpenAPIDefinition{
   420  		Schema: spec.Schema{
   421  			SchemaProps: spec.SchemaProps{
   422  				Description: "Binary provies the details of a downloadable binary",
   423  				Type:        []string{"object"},
   424  				Properties: map[string]spec.Schema{
   425  					"goarch": {
   426  						SchemaProps: spec.SchemaProps{
   427  							Type:   []string{"string"},
   428  							Format: "",
   429  						},
   430  					},
   431  					"goos": {
   432  						SchemaProps: spec.SchemaProps{
   433  							Type:   []string{"string"},
   434  							Format: "",
   435  						},
   436  					},
   437  					"url": {
   438  						SchemaProps: spec.SchemaProps{
   439  							Type:   []string{"string"},
   440  							Format: "",
   441  						},
   442  					},
   443  				},
   444  			},
   445  		},
   446  		Dependencies: []string{},
   447  	}
   448  }
   449  
   450  func schema_pkg_apis_jenkinsio_v1_BranchProtectionContextPolicy(ref common.ReferenceCallback) common.OpenAPIDefinition {
   451  	return common.OpenAPIDefinition{
   452  		Schema: spec.Schema{
   453  			SchemaProps: spec.SchemaProps{
   454  				Description: "BranchProtectionContextPolicy configures required git provider contexts. Strict determines whether merging to the branch invalidates existing contexts.",
   455  				Type:        []string{"object"},
   456  				Properties: map[string]spec.Schema{
   457  					"contexts": {
   458  						SchemaProps: spec.SchemaProps{
   459  							Description: "Contexts appends required contexts that must be green to merge",
   460  							Ref:         ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ReplaceableSliceOfStrings"),
   461  						},
   462  					},
   463  					"strict": {
   464  						SchemaProps: spec.SchemaProps{
   465  							Description: "Strict overrides whether new commits in the base branch require updating the PR if set",
   466  							Type:        []string{"boolean"},
   467  							Format:      "",
   468  						},
   469  					},
   470  				},
   471  			},
   472  		},
   473  		Dependencies: []string{
   474  			"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ReplaceableSliceOfStrings"},
   475  	}
   476  }
   477  
   478  func schema_pkg_apis_jenkinsio_v1_Brancher(ref common.ReferenceCallback) common.OpenAPIDefinition {
   479  	return common.OpenAPIDefinition{
   480  		Schema: spec.Schema{
   481  			SchemaProps: spec.SchemaProps{
   482  				Description: "Brancher is for shared code between jobs that only run against certain branches. An empty brancher runs against all branches.",
   483  				Type:        []string{"object"},
   484  				Properties: map[string]spec.Schema{
   485  					"skipBranches": {
   486  						SchemaProps: spec.SchemaProps{
   487  							Description: "Do not run against these branches. Default is no branches.",
   488  							Ref:         ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ReplaceableSliceOfStrings"),
   489  						},
   490  					},
   491  					"branches": {
   492  						SchemaProps: spec.SchemaProps{
   493  							Description: "Only run against these branches. Default is all branches.",
   494  							Ref:         ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ReplaceableSliceOfStrings"),
   495  						},
   496  					},
   497  				},
   498  			},
   499  		},
   500  		Dependencies: []string{
   501  			"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ReplaceableSliceOfStrings"},
   502  	}
   503  }
   504  
   505  func schema_pkg_apis_jenkinsio_v1_BuildPack(ref common.ReferenceCallback) common.OpenAPIDefinition {
   506  	return common.OpenAPIDefinition{
   507  		Schema: spec.Schema{
   508  			SchemaProps: spec.SchemaProps{
   509  				Description: "BuildPack represents a set of language specific build packs and associated quickstarts",
   510  				Type:        []string{"object"},
   511  				Properties: map[string]spec.Schema{
   512  					"kind": {
   513  						SchemaProps: spec.SchemaProps{
   514  							Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
   515  							Type:        []string{"string"},
   516  							Format:      "",
   517  						},
   518  					},
   519  					"apiVersion": {
   520  						SchemaProps: spec.SchemaProps{
   521  							Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
   522  							Type:        []string{"string"},
   523  							Format:      "",
   524  						},
   525  					},
   526  					"metadata": {
   527  						SchemaProps: spec.SchemaProps{
   528  							Description: "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata",
   529  							Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
   530  						},
   531  					},
   532  					"spec": {
   533  						SchemaProps: spec.SchemaProps{
   534  							Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.BuildPackSpec"),
   535  						},
   536  					},
   537  				},
   538  			},
   539  		},
   540  		Dependencies: []string{
   541  			"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.BuildPackSpec", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
   542  	}
   543  }
   544  
   545  func schema_pkg_apis_jenkinsio_v1_BuildPackList(ref common.ReferenceCallback) common.OpenAPIDefinition {
   546  	return common.OpenAPIDefinition{
   547  		Schema: spec.Schema{
   548  			SchemaProps: spec.SchemaProps{
   549  				Description: "BuildPackList is a list of TypeMeta resources",
   550  				Type:        []string{"object"},
   551  				Properties: map[string]spec.Schema{
   552  					"kind": {
   553  						SchemaProps: spec.SchemaProps{
   554  							Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
   555  							Type:        []string{"string"},
   556  							Format:      "",
   557  						},
   558  					},
   559  					"apiVersion": {
   560  						SchemaProps: spec.SchemaProps{
   561  							Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
   562  							Type:        []string{"string"},
   563  							Format:      "",
   564  						},
   565  					},
   566  					"metadata": {
   567  						SchemaProps: spec.SchemaProps{
   568  							Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
   569  						},
   570  					},
   571  					"items": {
   572  						SchemaProps: spec.SchemaProps{
   573  							Type: []string{"array"},
   574  							Items: &spec.SchemaOrArray{
   575  								Schema: &spec.Schema{
   576  									SchemaProps: spec.SchemaProps{
   577  										Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.BuildPack"),
   578  									},
   579  								},
   580  							},
   581  						},
   582  					},
   583  				},
   584  				Required: []string{"metadata", "items"},
   585  			},
   586  		},
   587  		Dependencies: []string{
   588  			"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.BuildPack", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
   589  	}
   590  }
   591  
   592  func schema_pkg_apis_jenkinsio_v1_BuildPackSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
   593  	return common.OpenAPIDefinition{
   594  		Schema: spec.Schema{
   595  			SchemaProps: spec.SchemaProps{
   596  				Description: "BuildPackSpec is the specification of an BuildPack",
   597  				Type:        []string{"object"},
   598  				Properties: map[string]spec.Schema{
   599  					"label": {
   600  						SchemaProps: spec.SchemaProps{
   601  							Type:   []string{"string"},
   602  							Format: "",
   603  						},
   604  					},
   605  					"gitUrl": {
   606  						SchemaProps: spec.SchemaProps{
   607  							Type:   []string{"string"},
   608  							Format: "",
   609  						},
   610  					},
   611  					"gitRef": {
   612  						SchemaProps: spec.SchemaProps{
   613  							Type:   []string{"string"},
   614  							Format: "",
   615  						},
   616  					},
   617  					"quickstartLocations": {
   618  						SchemaProps: spec.SchemaProps{
   619  							Type: []string{"array"},
   620  							Items: &spec.SchemaOrArray{
   621  								Schema: &spec.Schema{
   622  									SchemaProps: spec.SchemaProps{
   623  										Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.QuickStartLocation"),
   624  									},
   625  								},
   626  							},
   627  						},
   628  					},
   629  				},
   630  			},
   631  		},
   632  		Dependencies: []string{
   633  			"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.QuickStartLocation"},
   634  	}
   635  }
   636  
   637  func schema_pkg_apis_jenkinsio_v1_ChartRef(ref common.ReferenceCallback) common.OpenAPIDefinition {
   638  	return common.OpenAPIDefinition{
   639  		Schema: spec.Schema{
   640  			SchemaProps: spec.SchemaProps{
   641  				Type: []string{"object"},
   642  				Properties: map[string]spec.Schema{
   643  					"repo": {
   644  						SchemaProps: spec.SchemaProps{
   645  							Type:   []string{"string"},
   646  							Format: "",
   647  						},
   648  					},
   649  					"repoName": {
   650  						SchemaProps: spec.SchemaProps{
   651  							Type:   []string{"string"},
   652  							Format: "",
   653  						},
   654  					},
   655  					"name": {
   656  						SchemaProps: spec.SchemaProps{
   657  							Type:   []string{"string"},
   658  							Format: "",
   659  						},
   660  					},
   661  				},
   662  			},
   663  		},
   664  		Dependencies: []string{},
   665  	}
   666  }
   667  
   668  func schema_pkg_apis_jenkinsio_v1_CommitStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
   669  	return common.OpenAPIDefinition{
   670  		Schema: spec.Schema{
   671  			SchemaProps: spec.SchemaProps{
   672  				Description: "CommitStatus represents the commit statuses for a particular pull request",
   673  				Type:        []string{"object"},
   674  				Properties: map[string]spec.Schema{
   675  					"kind": {
   676  						SchemaProps: spec.SchemaProps{
   677  							Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
   678  							Type:        []string{"string"},
   679  							Format:      "",
   680  						},
   681  					},
   682  					"apiVersion": {
   683  						SchemaProps: spec.SchemaProps{
   684  							Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
   685  							Type:        []string{"string"},
   686  							Format:      "",
   687  						},
   688  					},
   689  					"metadata": {
   690  						SchemaProps: spec.SchemaProps{
   691  							Description: "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata",
   692  							Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
   693  						},
   694  					},
   695  					"spec": {
   696  						SchemaProps: spec.SchemaProps{
   697  							Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.CommitStatusSpec"),
   698  						},
   699  					},
   700  				},
   701  			},
   702  		},
   703  		Dependencies: []string{
   704  			"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.CommitStatusSpec", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
   705  	}
   706  }
   707  
   708  func schema_pkg_apis_jenkinsio_v1_CommitStatusCommitReference(ref common.ReferenceCallback) common.OpenAPIDefinition {
   709  	return common.OpenAPIDefinition{
   710  		Schema: spec.Schema{
   711  			SchemaProps: spec.SchemaProps{
   712  				Type: []string{"object"},
   713  				Properties: map[string]spec.Schema{
   714  					"gitUrl": {
   715  						SchemaProps: spec.SchemaProps{
   716  							Type:   []string{"string"},
   717  							Format: "",
   718  						},
   719  					},
   720  					"pullRequest": {
   721  						SchemaProps: spec.SchemaProps{
   722  							Type:   []string{"string"},
   723  							Format: "",
   724  						},
   725  					},
   726  					"sha": {
   727  						SchemaProps: spec.SchemaProps{
   728  							Type:   []string{"string"},
   729  							Format: "",
   730  						},
   731  					},
   732  				},
   733  			},
   734  		},
   735  		Dependencies: []string{},
   736  	}
   737  }
   738  
   739  func schema_pkg_apis_jenkinsio_v1_CommitStatusDetails(ref common.ReferenceCallback) common.OpenAPIDefinition {
   740  	return common.OpenAPIDefinition{
   741  		Schema: spec.Schema{
   742  			SchemaProps: spec.SchemaProps{
   743  				Type: []string{"object"},
   744  				Properties: map[string]spec.Schema{
   745  					"pipelineActivity": {
   746  						SchemaProps: spec.SchemaProps{
   747  							Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ResourceReference"),
   748  						},
   749  					},
   750  					"Items": {
   751  						SchemaProps: spec.SchemaProps{
   752  							Type: []string{"array"},
   753  							Items: &spec.SchemaOrArray{
   754  								Schema: &spec.Schema{
   755  									SchemaProps: spec.SchemaProps{
   756  										Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.CommitStatusItem"),
   757  									},
   758  								},
   759  							},
   760  						},
   761  					},
   762  					"checked": {
   763  						SchemaProps: spec.SchemaProps{
   764  							Type:   []string{"boolean"},
   765  							Format: "",
   766  						},
   767  					},
   768  					"commit": {
   769  						SchemaProps: spec.SchemaProps{
   770  							Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.CommitStatusCommitReference"),
   771  						},
   772  					},
   773  					"context": {
   774  						SchemaProps: spec.SchemaProps{
   775  							Type:   []string{"string"},
   776  							Format: "",
   777  						},
   778  					},
   779  				},
   780  				Required: []string{"pipelineActivity", "checked", "commit", "context"},
   781  			},
   782  		},
   783  		Dependencies: []string{
   784  			"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.CommitStatusCommitReference", "github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.CommitStatusItem", "github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ResourceReference"},
   785  	}
   786  }
   787  
   788  func schema_pkg_apis_jenkinsio_v1_CommitStatusItem(ref common.ReferenceCallback) common.OpenAPIDefinition {
   789  	return common.OpenAPIDefinition{
   790  		Schema: spec.Schema{
   791  			SchemaProps: spec.SchemaProps{
   792  				Type: []string{"object"},
   793  				Properties: map[string]spec.Schema{
   794  					"name": {
   795  						SchemaProps: spec.SchemaProps{
   796  							Type:   []string{"string"},
   797  							Format: "",
   798  						},
   799  					},
   800  					"description": {
   801  						SchemaProps: spec.SchemaProps{
   802  							Type:   []string{"string"},
   803  							Format: "",
   804  						},
   805  					},
   806  					"pass": {
   807  						SchemaProps: spec.SchemaProps{
   808  							Type:   []string{"boolean"},
   809  							Format: "",
   810  						},
   811  					},
   812  				},
   813  				Required: []string{"pass"},
   814  			},
   815  		},
   816  		Dependencies: []string{},
   817  	}
   818  }
   819  
   820  func schema_pkg_apis_jenkinsio_v1_CommitStatusList(ref common.ReferenceCallback) common.OpenAPIDefinition {
   821  	return common.OpenAPIDefinition{
   822  		Schema: spec.Schema{
   823  			SchemaProps: spec.SchemaProps{
   824  				Description: "CommitStatusList is a structure used by k8s to store lists of commit statuses",
   825  				Type:        []string{"object"},
   826  				Properties: map[string]spec.Schema{
   827  					"kind": {
   828  						SchemaProps: spec.SchemaProps{
   829  							Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
   830  							Type:        []string{"string"},
   831  							Format:      "",
   832  						},
   833  					},
   834  					"apiVersion": {
   835  						SchemaProps: spec.SchemaProps{
   836  							Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
   837  							Type:        []string{"string"},
   838  							Format:      "",
   839  						},
   840  					},
   841  					"metadata": {
   842  						SchemaProps: spec.SchemaProps{
   843  							Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
   844  						},
   845  					},
   846  					"Items": {
   847  						SchemaProps: spec.SchemaProps{
   848  							Type: []string{"array"},
   849  							Items: &spec.SchemaOrArray{
   850  								Schema: &spec.Schema{
   851  									SchemaProps: spec.SchemaProps{
   852  										Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.CommitStatus"),
   853  									},
   854  								},
   855  							},
   856  						},
   857  					},
   858  				},
   859  				Required: []string{"metadata", "Items"},
   860  			},
   861  		},
   862  		Dependencies: []string{
   863  			"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.CommitStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
   864  	}
   865  }
   866  
   867  func schema_pkg_apis_jenkinsio_v1_CommitStatusSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
   868  	return common.OpenAPIDefinition{
   869  		Schema: spec.Schema{
   870  			SchemaProps: spec.SchemaProps{
   871  				Description: "CommitStatusSpec provides details of a particular commit status",
   872  				Type:        []string{"object"},
   873  				Properties: map[string]spec.Schema{
   874  					"items": {
   875  						SchemaProps: spec.SchemaProps{
   876  							Type: []string{"array"},
   877  							Items: &spec.SchemaOrArray{
   878  								Schema: &spec.Schema{
   879  									SchemaProps: spec.SchemaProps{
   880  										Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.CommitStatusDetails"),
   881  									},
   882  								},
   883  							},
   884  						},
   885  					},
   886  				},
   887  				Required: []string{"items"},
   888  			},
   889  		},
   890  		Dependencies: []string{
   891  			"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.CommitStatusDetails"},
   892  	}
   893  }
   894  
   895  func schema_pkg_apis_jenkinsio_v1_CommitSummary(ref common.ReferenceCallback) common.OpenAPIDefinition {
   896  	return common.OpenAPIDefinition{
   897  		Schema: spec.Schema{
   898  			SchemaProps: spec.SchemaProps{
   899  				Description: "CommitSummary is the summary of a commit",
   900  				Type:        []string{"object"},
   901  				Properties: map[string]spec.Schema{
   902  					"message": {
   903  						SchemaProps: spec.SchemaProps{
   904  							Type:   []string{"string"},
   905  							Format: "",
   906  						},
   907  					},
   908  					"sha": {
   909  						SchemaProps: spec.SchemaProps{
   910  							Type:   []string{"string"},
   911  							Format: "",
   912  						},
   913  					},
   914  					"url": {
   915  						SchemaProps: spec.SchemaProps{
   916  							Type:   []string{"string"},
   917  							Format: "",
   918  						},
   919  					},
   920  					"author": {
   921  						SchemaProps: spec.SchemaProps{
   922  							Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.UserDetails"),
   923  						},
   924  					},
   925  					"committer": {
   926  						SchemaProps: spec.SchemaProps{
   927  							Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.UserDetails"),
   928  						},
   929  					},
   930  					"branch": {
   931  						SchemaProps: spec.SchemaProps{
   932  							Type:   []string{"string"},
   933  							Format: "",
   934  						},
   935  					},
   936  					"issueIds": {
   937  						SchemaProps: spec.SchemaProps{
   938  							Type: []string{"array"},
   939  							Items: &spec.SchemaOrArray{
   940  								Schema: &spec.Schema{
   941  									SchemaProps: spec.SchemaProps{
   942  										Type:   []string{"string"},
   943  										Format: "",
   944  									},
   945  								},
   946  							},
   947  						},
   948  					},
   949  				},
   950  			},
   951  		},
   952  		Dependencies: []string{
   953  			"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.UserDetails"},
   954  	}
   955  }
   956  
   957  func schema_pkg_apis_jenkinsio_v1_ConfigMapSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
   958  	return common.OpenAPIDefinition{
   959  		Schema: spec.Schema{
   960  			SchemaProps: spec.SchemaProps{
   961  				Description: "ConfigMapSpec contains configuration options for the configMap being updated by the config-updater plugin.",
   962  				Type:        []string{"object"},
   963  				Properties: map[string]spec.Schema{
   964  					"name": {
   965  						SchemaProps: spec.SchemaProps{
   966  							Description: "Name of ConfigMap",
   967  							Type:        []string{"string"},
   968  							Format:      "",
   969  						},
   970  					},
   971  					"key": {
   972  						SchemaProps: spec.SchemaProps{
   973  							Description: "Key is the key in the ConfigMap to update with the file contents. If no explicit key is given, the basename of the file will be used.",
   974  							Type:        []string{"string"},
   975  							Format:      "",
   976  						},
   977  					},
   978  					"namespace": {
   979  						SchemaProps: spec.SchemaProps{
   980  							Description: "Namespace in which the configMap needs to be deployed. If no namespace is specified it will be deployed to the ProwJobNamespace.",
   981  							Type:        []string{"string"},
   982  							Format:      "",
   983  						},
   984  					},
   985  					"additional_namespaces": {
   986  						SchemaProps: spec.SchemaProps{
   987  							Description: "Namespaces in which the configMap needs to be deployed, in addition to the above namespace provided, or the default if it is not set.",
   988  							Type:        []string{"array"},
   989  							Items: &spec.SchemaOrArray{
   990  								Schema: &spec.Schema{
   991  									SchemaProps: spec.SchemaProps{
   992  										Type:   []string{"string"},
   993  										Format: "",
   994  									},
   995  								},
   996  							},
   997  						},
   998  					},
   999  				},
  1000  				Required: []string{"name"},
  1001  			},
  1002  		},
  1003  		Dependencies: []string{},
  1004  	}
  1005  }
  1006  
  1007  func schema_pkg_apis_jenkinsio_v1_ConfigUpdater(ref common.ReferenceCallback) common.OpenAPIDefinition {
  1008  	return common.OpenAPIDefinition{
  1009  		Schema: spec.Schema{
  1010  			SchemaProps: spec.SchemaProps{
  1011  				Description: "ConfigUpdater holds configuration for the config updater plugin",
  1012  				Type:        []string{"object"},
  1013  				Properties: map[string]spec.Schema{
  1014  					"map": {
  1015  						SchemaProps: spec.SchemaProps{
  1016  							Type: []string{"object"},
  1017  							AdditionalProperties: &spec.SchemaOrBool{
  1018  								Schema: &spec.Schema{
  1019  									SchemaProps: spec.SchemaProps{
  1020  										Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ConfigMapSpec"),
  1021  									},
  1022  								},
  1023  							},
  1024  						},
  1025  					},
  1026  					"configFile": {
  1027  						SchemaProps: spec.SchemaProps{
  1028  							Type:   []string{"string"},
  1029  							Format: "",
  1030  						},
  1031  					},
  1032  					"pluginFile": {
  1033  						SchemaProps: spec.SchemaProps{
  1034  							Type:   []string{"string"},
  1035  							Format: "",
  1036  						},
  1037  					},
  1038  					"ConfigMap": {
  1039  						SchemaProps: spec.SchemaProps{
  1040  							Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ConfigMapSpec"),
  1041  						},
  1042  					},
  1043  				},
  1044  			},
  1045  		},
  1046  		Dependencies: []string{
  1047  			"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ConfigMapSpec"},
  1048  	}
  1049  }
  1050  
  1051  func schema_pkg_apis_jenkinsio_v1_ContextPolicy(ref common.ReferenceCallback) common.OpenAPIDefinition {
  1052  	return common.OpenAPIDefinition{
  1053  		Schema: spec.Schema{
  1054  			SchemaProps: spec.SchemaProps{
  1055  				Description: "ContextPolicy configures options about how to handle various contexts.",
  1056  				Type:        []string{"object"},
  1057  				Properties: map[string]spec.Schema{
  1058  					"skipUnknownContexts": {
  1059  						SchemaProps: spec.SchemaProps{
  1060  							Description: "whether to consider unknown contexts optional (skip) or required.",
  1061  							Type:        []string{"boolean"},
  1062  							Format:      "",
  1063  						},
  1064  					},
  1065  					"requiredContexts": {
  1066  						SchemaProps: spec.SchemaProps{
  1067  							Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ReplaceableSliceOfStrings"),
  1068  						},
  1069  					},
  1070  					"requiredIfPresentContexts": {
  1071  						SchemaProps: spec.SchemaProps{
  1072  							Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ReplaceableSliceOfStrings"),
  1073  						},
  1074  					},
  1075  					"optionalContexts": {
  1076  						SchemaProps: spec.SchemaProps{
  1077  							Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ReplaceableSliceOfStrings"),
  1078  						},
  1079  					},
  1080  					"fromBranchProtection": {
  1081  						SchemaProps: spec.SchemaProps{
  1082  							Description: "Infer required and optional jobs from Branch Protection configuration",
  1083  							Type:        []string{"boolean"},
  1084  							Format:      "",
  1085  						},
  1086  					},
  1087  				},
  1088  			},
  1089  		},
  1090  		Dependencies: []string{
  1091  			"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ReplaceableSliceOfStrings"},
  1092  	}
  1093  }
  1094  
  1095  func schema_pkg_apis_jenkinsio_v1_CoreActivityStep(ref common.ReferenceCallback) common.OpenAPIDefinition {
  1096  	return common.OpenAPIDefinition{
  1097  		Schema: spec.Schema{
  1098  			SchemaProps: spec.SchemaProps{
  1099  				Description: "CoreActivityStep is a base step included in Stages of a pipeline or other kinds of step",
  1100  				Type:        []string{"object"},
  1101  				Properties: map[string]spec.Schema{
  1102  					"name": {
  1103  						SchemaProps: spec.SchemaProps{
  1104  							Type:   []string{"string"},
  1105  							Format: "",
  1106  						},
  1107  					},
  1108  					"description": {
  1109  						SchemaProps: spec.SchemaProps{
  1110  							Type:   []string{"string"},
  1111  							Format: "",
  1112  						},
  1113  					},
  1114  					"status": {
  1115  						SchemaProps: spec.SchemaProps{
  1116  							Type:   []string{"string"},
  1117  							Format: "",
  1118  						},
  1119  					},
  1120  					"startedTimestamp": {
  1121  						SchemaProps: spec.SchemaProps{
  1122  							Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
  1123  						},
  1124  					},
  1125  					"completedTimestamp": {
  1126  						SchemaProps: spec.SchemaProps{
  1127  							Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
  1128  						},
  1129  					},
  1130  				},
  1131  			},
  1132  		},
  1133  		Dependencies: []string{
  1134  			"k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
  1135  	}
  1136  }
  1137  
  1138  func schema_pkg_apis_jenkinsio_v1_DependencyUpdate(ref common.ReferenceCallback) common.OpenAPIDefinition {
  1139  	return common.OpenAPIDefinition{
  1140  		Schema: spec.Schema{
  1141  			SchemaProps: spec.SchemaProps{
  1142  				Description: "DependencyUpdate describes an dependency update message from the commit log",
  1143  				Type:        []string{"object"},
  1144  				Properties: map[string]spec.Schema{
  1145  					"host": {
  1146  						SchemaProps: spec.SchemaProps{
  1147  							Type:   []string{"string"},
  1148  							Format: "",
  1149  						},
  1150  					},
  1151  					"owner": {
  1152  						SchemaProps: spec.SchemaProps{
  1153  							Type:   []string{"string"},
  1154  							Format: "",
  1155  						},
  1156  					},
  1157  					"repo": {
  1158  						SchemaProps: spec.SchemaProps{
  1159  							Type:   []string{"string"},
  1160  							Format: "",
  1161  						},
  1162  					},
  1163  					"component": {
  1164  						SchemaProps: spec.SchemaProps{
  1165  							Type:   []string{"string"},
  1166  							Format: "",
  1167  						},
  1168  					},
  1169  					"url": {
  1170  						SchemaProps: spec.SchemaProps{
  1171  							Type:   []string{"string"},
  1172  							Format: "",
  1173  						},
  1174  					},
  1175  					"fromVersion": {
  1176  						SchemaProps: spec.SchemaProps{
  1177  							Type:   []string{"string"},
  1178  							Format: "",
  1179  						},
  1180  					},
  1181  					"fromReleaseHTMLURL": {
  1182  						SchemaProps: spec.SchemaProps{
  1183  							Type:   []string{"string"},
  1184  							Format: "",
  1185  						},
  1186  					},
  1187  					"fromReleaseName": {
  1188  						SchemaProps: spec.SchemaProps{
  1189  							Type:   []string{"string"},
  1190  							Format: "",
  1191  						},
  1192  					},
  1193  					"toVersion": {
  1194  						SchemaProps: spec.SchemaProps{
  1195  							Type:   []string{"string"},
  1196  							Format: "",
  1197  						},
  1198  					},
  1199  					"toReleaseHTMLURL": {
  1200  						SchemaProps: spec.SchemaProps{
  1201  							Type:   []string{"string"},
  1202  							Format: "",
  1203  						},
  1204  					},
  1205  					"toReleaseName": {
  1206  						SchemaProps: spec.SchemaProps{
  1207  							Type:   []string{"string"},
  1208  							Format: "",
  1209  						},
  1210  					},
  1211  					"paths": {
  1212  						SchemaProps: spec.SchemaProps{
  1213  							Type: []string{"array"},
  1214  							Items: &spec.SchemaOrArray{
  1215  								Schema: &spec.Schema{
  1216  									SchemaProps: spec.SchemaProps{
  1217  										Type: []string{"array"},
  1218  										Items: &spec.SchemaOrArray{
  1219  											Schema: &spec.Schema{
  1220  												SchemaProps: spec.SchemaProps{
  1221  													Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.DependencyUpdateDetails"),
  1222  												},
  1223  											},
  1224  										},
  1225  									},
  1226  								},
  1227  							},
  1228  						},
  1229  					},
  1230  				},
  1231  				Required: []string{"host", "owner", "repo", "component", "url", "fromVersion", "fromReleaseHTMLURL", "fromReleaseName", "toVersion", "toReleaseHTMLURL", "toReleaseName"},
  1232  			},
  1233  		},
  1234  		Dependencies: []string{
  1235  			"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.DependencyUpdateDetails"},
  1236  	}
  1237  }
  1238  
  1239  func schema_pkg_apis_jenkinsio_v1_DependencyUpdateDetails(ref common.ReferenceCallback) common.OpenAPIDefinition {
  1240  	return common.OpenAPIDefinition{
  1241  		Schema: spec.Schema{
  1242  			SchemaProps: spec.SchemaProps{
  1243  				Description: "DependencyUpdateDetails are the details of a dependency update",
  1244  				Type:        []string{"object"},
  1245  				Properties: map[string]spec.Schema{
  1246  					"host": {
  1247  						SchemaProps: spec.SchemaProps{
  1248  							Type:   []string{"string"},
  1249  							Format: "",
  1250  						},
  1251  					},
  1252  					"owner": {
  1253  						SchemaProps: spec.SchemaProps{
  1254  							Type:   []string{"string"},
  1255  							Format: "",
  1256  						},
  1257  					},
  1258  					"repo": {
  1259  						SchemaProps: spec.SchemaProps{
  1260  							Type:   []string{"string"},
  1261  							Format: "",
  1262  						},
  1263  					},
  1264  					"component": {
  1265  						SchemaProps: spec.SchemaProps{
  1266  							Type:   []string{"string"},
  1267  							Format: "",
  1268  						},
  1269  					},
  1270  					"url": {
  1271  						SchemaProps: spec.SchemaProps{
  1272  							Type:   []string{"string"},
  1273  							Format: "",
  1274  						},
  1275  					},
  1276  					"fromVersion": {
  1277  						SchemaProps: spec.SchemaProps{
  1278  							Type:   []string{"string"},
  1279  							Format: "",
  1280  						},
  1281  					},
  1282  					"fromReleaseHTMLURL": {
  1283  						SchemaProps: spec.SchemaProps{
  1284  							Type:   []string{"string"},
  1285  							Format: "",
  1286  						},
  1287  					},
  1288  					"fromReleaseName": {
  1289  						SchemaProps: spec.SchemaProps{
  1290  							Type:   []string{"string"},
  1291  							Format: "",
  1292  						},
  1293  					},
  1294  					"toVersion": {
  1295  						SchemaProps: spec.SchemaProps{
  1296  							Type:   []string{"string"},
  1297  							Format: "",
  1298  						},
  1299  					},
  1300  					"toReleaseHTMLURL": {
  1301  						SchemaProps: spec.SchemaProps{
  1302  							Type:   []string{"string"},
  1303  							Format: "",
  1304  						},
  1305  					},
  1306  					"toReleaseName": {
  1307  						SchemaProps: spec.SchemaProps{
  1308  							Type:   []string{"string"},
  1309  							Format: "",
  1310  						},
  1311  					},
  1312  				},
  1313  				Required: []string{"host", "owner", "repo", "component", "url", "fromVersion", "fromReleaseHTMLURL", "fromReleaseName", "toVersion", "toReleaseHTMLURL", "toReleaseName"},
  1314  			},
  1315  		},
  1316  		Dependencies: []string{},
  1317  	}
  1318  }
  1319  
  1320  func schema_pkg_apis_jenkinsio_v1_DeployOptions(ref common.ReferenceCallback) common.OpenAPIDefinition {
  1321  	return common.OpenAPIDefinition{
  1322  		Schema: spec.Schema{
  1323  			SchemaProps: spec.SchemaProps{
  1324  				Description: "DeployOptions configures options for how to deploy applications by default such as using progressive delivery or using horizontal pod autoscaler",
  1325  				Type:        []string{"object"},
  1326  				Properties: map[string]spec.Schema{
  1327  					"canary": {
  1328  						SchemaProps: spec.SchemaProps{
  1329  							Description: "Canary should we enable canary rollouts (progressive delivery) for apps by default",
  1330  							Type:        []string{"boolean"},
  1331  							Format:      "",
  1332  						},
  1333  					},
  1334  					"hpa": {
  1335  						SchemaProps: spec.SchemaProps{
  1336  							Description: "should we use the horizontal pod autoscaler on new apps by default?",
  1337  							Type:        []string{"boolean"},
  1338  							Format:      "",
  1339  						},
  1340  					},
  1341  				},
  1342  			},
  1343  		},
  1344  		Dependencies: []string{},
  1345  	}
  1346  }
  1347  
  1348  func schema_pkg_apis_jenkinsio_v1_Environment(ref common.ReferenceCallback) common.OpenAPIDefinition {
  1349  	return common.OpenAPIDefinition{
  1350  		Schema: spec.Schema{
  1351  			SchemaProps: spec.SchemaProps{
  1352  				Description: "Environment represents an environment like Dev, Test, Staging, Production where code lives",
  1353  				Type:        []string{"object"},
  1354  				Properties: map[string]spec.Schema{
  1355  					"kind": {
  1356  						SchemaProps: spec.SchemaProps{
  1357  							Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
  1358  							Type:        []string{"string"},
  1359  							Format:      "",
  1360  						},
  1361  					},
  1362  					"apiVersion": {
  1363  						SchemaProps: spec.SchemaProps{
  1364  							Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
  1365  							Type:        []string{"string"},
  1366  							Format:      "",
  1367  						},
  1368  					},
  1369  					"metadata": {
  1370  						SchemaProps: spec.SchemaProps{
  1371  							Description: "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata",
  1372  							Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
  1373  						},
  1374  					},
  1375  					"spec": {
  1376  						SchemaProps: spec.SchemaProps{
  1377  							Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.EnvironmentSpec"),
  1378  						},
  1379  					},
  1380  					"status": {
  1381  						SchemaProps: spec.SchemaProps{
  1382  							Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.EnvironmentStatus"),
  1383  						},
  1384  					},
  1385  				},
  1386  			},
  1387  		},
  1388  		Dependencies: []string{
  1389  			"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.EnvironmentSpec", "github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.EnvironmentStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
  1390  	}
  1391  }
  1392  
  1393  func schema_pkg_apis_jenkinsio_v1_EnvironmentFilter(ref common.ReferenceCallback) common.OpenAPIDefinition {
  1394  	return common.OpenAPIDefinition{
  1395  		Schema: spec.Schema{
  1396  			SchemaProps: spec.SchemaProps{
  1397  				Description: "EnvironmentFilter specifies the environments to apply the role binding to",
  1398  				Type:        []string{"object"},
  1399  				Properties: map[string]spec.Schema{
  1400  					"kind": {
  1401  						SchemaProps: spec.SchemaProps{
  1402  							Type:   []string{"string"},
  1403  							Format: "",
  1404  						},
  1405  					},
  1406  					"includes": {
  1407  						SchemaProps: spec.SchemaProps{
  1408  							Type: []string{"array"},
  1409  							Items: &spec.SchemaOrArray{
  1410  								Schema: &spec.Schema{
  1411  									SchemaProps: spec.SchemaProps{
  1412  										Type:   []string{"string"},
  1413  										Format: "",
  1414  									},
  1415  								},
  1416  							},
  1417  						},
  1418  					},
  1419  					"excludes": {
  1420  						SchemaProps: spec.SchemaProps{
  1421  							Type: []string{"array"},
  1422  							Items: &spec.SchemaOrArray{
  1423  								Schema: &spec.Schema{
  1424  									SchemaProps: spec.SchemaProps{
  1425  										Type:   []string{"string"},
  1426  										Format: "",
  1427  									},
  1428  								},
  1429  							},
  1430  						},
  1431  					},
  1432  				},
  1433  			},
  1434  		},
  1435  		Dependencies: []string{},
  1436  	}
  1437  }
  1438  
  1439  func schema_pkg_apis_jenkinsio_v1_EnvironmentList(ref common.ReferenceCallback) common.OpenAPIDefinition {
  1440  	return common.OpenAPIDefinition{
  1441  		Schema: spec.Schema{
  1442  			SchemaProps: spec.SchemaProps{
  1443  				Description: "EnvironmentList is a list of TypeMeta resources",
  1444  				Type:        []string{"object"},
  1445  				Properties: map[string]spec.Schema{
  1446  					"kind": {
  1447  						SchemaProps: spec.SchemaProps{
  1448  							Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
  1449  							Type:        []string{"string"},
  1450  							Format:      "",
  1451  						},
  1452  					},
  1453  					"apiVersion": {
  1454  						SchemaProps: spec.SchemaProps{
  1455  							Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
  1456  							Type:        []string{"string"},
  1457  							Format:      "",
  1458  						},
  1459  					},
  1460  					"metadata": {
  1461  						SchemaProps: spec.SchemaProps{
  1462  							Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
  1463  						},
  1464  					},
  1465  					"items": {
  1466  						SchemaProps: spec.SchemaProps{
  1467  							Type: []string{"array"},
  1468  							Items: &spec.SchemaOrArray{
  1469  								Schema: &spec.Schema{
  1470  									SchemaProps: spec.SchemaProps{
  1471  										Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.Environment"),
  1472  									},
  1473  								},
  1474  							},
  1475  						},
  1476  					},
  1477  				},
  1478  				Required: []string{"metadata", "items"},
  1479  			},
  1480  		},
  1481  		Dependencies: []string{
  1482  			"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.Environment", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
  1483  	}
  1484  }
  1485  
  1486  func schema_pkg_apis_jenkinsio_v1_EnvironmentRepository(ref common.ReferenceCallback) common.OpenAPIDefinition {
  1487  	return common.OpenAPIDefinition{
  1488  		Schema: spec.Schema{
  1489  			SchemaProps: spec.SchemaProps{
  1490  				Description: "EnvironmentRepository is the repository for an environment using GitOps",
  1491  				Type:        []string{"object"},
  1492  				Properties: map[string]spec.Schema{
  1493  					"kind": {
  1494  						SchemaProps: spec.SchemaProps{
  1495  							Type:   []string{"string"},
  1496  							Format: "",
  1497  						},
  1498  					},
  1499  					"url": {
  1500  						SchemaProps: spec.SchemaProps{
  1501  							Type:   []string{"string"},
  1502  							Format: "",
  1503  						},
  1504  					},
  1505  					"ref": {
  1506  						SchemaProps: spec.SchemaProps{
  1507  							Type:   []string{"string"},
  1508  							Format: "",
  1509  						},
  1510  					},
  1511  				},
  1512  			},
  1513  		},
  1514  		Dependencies: []string{},
  1515  	}
  1516  }
  1517  
  1518  func schema_pkg_apis_jenkinsio_v1_EnvironmentRoleBinding(ref common.ReferenceCallback) common.OpenAPIDefinition {
  1519  	return common.OpenAPIDefinition{
  1520  		Schema: spec.Schema{
  1521  			SchemaProps: spec.SchemaProps{
  1522  				Description: "EnvironmentRoleBinding is like a vanilla RoleBinding but applies to a set of Namespaces based on an Environment filter so that roles can be bound to multiple namespaces easily.\n\nFor example to specify the binding of roles on all Preview environments or on all permanent environments.",
  1523  				Type:        []string{"object"},
  1524  				Properties: map[string]spec.Schema{
  1525  					"kind": {
  1526  						SchemaProps: spec.SchemaProps{
  1527  							Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
  1528  							Type:        []string{"string"},
  1529  							Format:      "",
  1530  						},
  1531  					},
  1532  					"apiVersion": {
  1533  						SchemaProps: spec.SchemaProps{
  1534  							Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
  1535  							Type:        []string{"string"},
  1536  							Format:      "",
  1537  						},
  1538  					},
  1539  					"metadata": {
  1540  						SchemaProps: spec.SchemaProps{
  1541  							Description: "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata",
  1542  							Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
  1543  						},
  1544  					},
  1545  					"spec": {
  1546  						SchemaProps: spec.SchemaProps{
  1547  							Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.EnvironmentRoleBindingSpec"),
  1548  						},
  1549  					},
  1550  					"status": {
  1551  						SchemaProps: spec.SchemaProps{
  1552  							Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.EnvironmentRoleBindingStatus"),
  1553  						},
  1554  					},
  1555  				},
  1556  			},
  1557  		},
  1558  		Dependencies: []string{
  1559  			"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.EnvironmentRoleBindingSpec", "github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.EnvironmentRoleBindingStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
  1560  	}
  1561  }
  1562  
  1563  func schema_pkg_apis_jenkinsio_v1_EnvironmentRoleBindingList(ref common.ReferenceCallback) common.OpenAPIDefinition {
  1564  	return common.OpenAPIDefinition{
  1565  		Schema: spec.Schema{
  1566  			SchemaProps: spec.SchemaProps{
  1567  				Description: "EnvironmentRoleBindingList is a list of TypeMeta resources",
  1568  				Type:        []string{"object"},
  1569  				Properties: map[string]spec.Schema{
  1570  					"kind": {
  1571  						SchemaProps: spec.SchemaProps{
  1572  							Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
  1573  							Type:        []string{"string"},
  1574  							Format:      "",
  1575  						},
  1576  					},
  1577  					"apiVersion": {
  1578  						SchemaProps: spec.SchemaProps{
  1579  							Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
  1580  							Type:        []string{"string"},
  1581  							Format:      "",
  1582  						},
  1583  					},
  1584  					"metadata": {
  1585  						SchemaProps: spec.SchemaProps{
  1586  							Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
  1587  						},
  1588  					},
  1589  					"items": {
  1590  						SchemaProps: spec.SchemaProps{
  1591  							Type: []string{"array"},
  1592  							Items: &spec.SchemaOrArray{
  1593  								Schema: &spec.Schema{
  1594  									SchemaProps: spec.SchemaProps{
  1595  										Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.EnvironmentRoleBinding"),
  1596  									},
  1597  								},
  1598  							},
  1599  						},
  1600  					},
  1601  				},
  1602  				Required: []string{"metadata", "items"},
  1603  			},
  1604  		},
  1605  		Dependencies: []string{
  1606  			"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.EnvironmentRoleBinding", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
  1607  	}
  1608  }
  1609  
  1610  func schema_pkg_apis_jenkinsio_v1_EnvironmentRoleBindingSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
  1611  	return common.OpenAPIDefinition{
  1612  		Schema: spec.Schema{
  1613  			SchemaProps: spec.SchemaProps{
  1614  				Description: "EnvironmentRoleBindingSpec is the specification of an EnvironmentRoleBinding",
  1615  				Type:        []string{"object"},
  1616  				Properties: map[string]spec.Schema{
  1617  					"subjects": {
  1618  						SchemaProps: spec.SchemaProps{
  1619  							Description: "Subjects holds references to the objects the role applies to.",
  1620  							Type:        []string{"array"},
  1621  							Items: &spec.SchemaOrArray{
  1622  								Schema: &spec.Schema{
  1623  									SchemaProps: spec.SchemaProps{
  1624  										Ref: ref("k8s.io/api/rbac/v1.Subject"),
  1625  									},
  1626  								},
  1627  							},
  1628  						},
  1629  					},
  1630  					"roleRef": {
  1631  						SchemaProps: spec.SchemaProps{
  1632  							Description: "RoleRef can reference a Role in the current namespace or a ClusterRole in the global namespace. If the RoleRef cannot be resolved, the Authorizer must return an error.",
  1633  							Ref:         ref("k8s.io/api/rbac/v1.RoleRef"),
  1634  						},
  1635  					},
  1636  					"environments": {
  1637  						SchemaProps: spec.SchemaProps{
  1638  							Description: "specifies which sets of environments this binding applies to",
  1639  							Type:        []string{"array"},
  1640  							Items: &spec.SchemaOrArray{
  1641  								Schema: &spec.Schema{
  1642  									SchemaProps: spec.SchemaProps{
  1643  										Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.EnvironmentFilter"),
  1644  									},
  1645  								},
  1646  							},
  1647  						},
  1648  					},
  1649  				},
  1650  				Required: []string{"subjects", "roleRef"},
  1651  			},
  1652  		},
  1653  		Dependencies: []string{
  1654  			"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.EnvironmentFilter", "k8s.io/api/rbac/v1.RoleRef", "k8s.io/api/rbac/v1.Subject"},
  1655  	}
  1656  }
  1657  
  1658  func schema_pkg_apis_jenkinsio_v1_EnvironmentRoleBindingStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
  1659  	return common.OpenAPIDefinition{
  1660  		Schema: spec.Schema{
  1661  			SchemaProps: spec.SchemaProps{
  1662  				Description: "EnvironmentRoleBindingStatus is the status for an EnvironmentRoleBinding resource",
  1663  				Type:        []string{"object"},
  1664  				Properties: map[string]spec.Schema{
  1665  					"version": {
  1666  						SchemaProps: spec.SchemaProps{
  1667  							Type:   []string{"string"},
  1668  							Format: "",
  1669  						},
  1670  					},
  1671  				},
  1672  			},
  1673  		},
  1674  		Dependencies: []string{},
  1675  	}
  1676  }
  1677  
  1678  func schema_pkg_apis_jenkinsio_v1_EnvironmentSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
  1679  	return common.OpenAPIDefinition{
  1680  		Schema: spec.Schema{
  1681  			SchemaProps: spec.SchemaProps{
  1682  				Description: "EnvironmentSpec is the specification of an Environment",
  1683  				Type:        []string{"object"},
  1684  				Properties: map[string]spec.Schema{
  1685  					"label": {
  1686  						SchemaProps: spec.SchemaProps{
  1687  							Type:   []string{"string"},
  1688  							Format: "",
  1689  						},
  1690  					},
  1691  					"namespace": {
  1692  						SchemaProps: spec.SchemaProps{
  1693  							Type:   []string{"string"},
  1694  							Format: "",
  1695  						},
  1696  					},
  1697  					"cluster": {
  1698  						SchemaProps: spec.SchemaProps{
  1699  							Type:   []string{"string"},
  1700  							Format: "",
  1701  						},
  1702  					},
  1703  					"promotionStrategy": {
  1704  						SchemaProps: spec.SchemaProps{
  1705  							Type:   []string{"string"},
  1706  							Format: "",
  1707  						},
  1708  					},
  1709  					"source": {
  1710  						SchemaProps: spec.SchemaProps{
  1711  							Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.EnvironmentRepository"),
  1712  						},
  1713  					},
  1714  					"order": {
  1715  						SchemaProps: spec.SchemaProps{
  1716  							Type:   []string{"integer"},
  1717  							Format: "int32",
  1718  						},
  1719  					},
  1720  					"kind": {
  1721  						SchemaProps: spec.SchemaProps{
  1722  							Type:   []string{"string"},
  1723  							Format: "",
  1724  						},
  1725  					},
  1726  					"pullRequestURL": {
  1727  						SchemaProps: spec.SchemaProps{
  1728  							Type:   []string{"string"},
  1729  							Format: "",
  1730  						},
  1731  					},
  1732  					"teamSettings": {
  1733  						SchemaProps: spec.SchemaProps{
  1734  							Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.TeamSettings"),
  1735  						},
  1736  					},
  1737  					"previewGitInfo": {
  1738  						SchemaProps: spec.SchemaProps{
  1739  							Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.PreviewGitSpec"),
  1740  						},
  1741  					},
  1742  					"webHookEngine": {
  1743  						SchemaProps: spec.SchemaProps{
  1744  							Type:   []string{"string"},
  1745  							Format: "",
  1746  						},
  1747  					},
  1748  					"remoteCluster": {
  1749  						SchemaProps: spec.SchemaProps{
  1750  							Description: "RemoteCluster flag indicates if the Environment is deployed in a separate cluster to the Development Environment",
  1751  							Type:        []string{"boolean"},
  1752  							Format:      "",
  1753  						},
  1754  					},
  1755  				},
  1756  			},
  1757  		},
  1758  		Dependencies: []string{
  1759  			"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.EnvironmentRepository", "github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.PreviewGitSpec", "github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.TeamSettings"},
  1760  	}
  1761  }
  1762  
  1763  func schema_pkg_apis_jenkinsio_v1_EnvironmentStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
  1764  	return common.OpenAPIDefinition{
  1765  		Schema: spec.Schema{
  1766  			SchemaProps: spec.SchemaProps{
  1767  				Description: "EnvironmentStatus is the status for an Environment resource",
  1768  				Type:        []string{"object"},
  1769  				Properties: map[string]spec.Schema{
  1770  					"version": {
  1771  						SchemaProps: spec.SchemaProps{
  1772  							Type:   []string{"string"},
  1773  							Format: "",
  1774  						},
  1775  					},
  1776  				},
  1777  			},
  1778  		},
  1779  		Dependencies: []string{},
  1780  	}
  1781  }
  1782  
  1783  func schema_pkg_apis_jenkinsio_v1_EnvironmentVariable(ref common.ReferenceCallback) common.OpenAPIDefinition {
  1784  	return common.OpenAPIDefinition{
  1785  		Schema: spec.Schema{
  1786  			SchemaProps: spec.SchemaProps{
  1787  				Type: []string{"object"},
  1788  				Properties: map[string]spec.Schema{
  1789  					"name": {
  1790  						SchemaProps: spec.SchemaProps{
  1791  							Type:   []string{"string"},
  1792  							Format: "",
  1793  						},
  1794  					},
  1795  					"value": {
  1796  						SchemaProps: spec.SchemaProps{
  1797  							Type:   []string{"string"},
  1798  							Format: "",
  1799  						},
  1800  					},
  1801  				},
  1802  			},
  1803  		},
  1804  		Dependencies: []string{},
  1805  	}
  1806  }
  1807  
  1808  func schema_pkg_apis_jenkinsio_v1_Extension(ref common.ReferenceCallback) common.OpenAPIDefinition {
  1809  	return common.OpenAPIDefinition{
  1810  		Schema: spec.Schema{
  1811  			SchemaProps: spec.SchemaProps{
  1812  				Description: "Extension represents an extension available to this Jenkins X install",
  1813  				Type:        []string{"object"},
  1814  				Properties: map[string]spec.Schema{
  1815  					"kind": {
  1816  						SchemaProps: spec.SchemaProps{
  1817  							Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
  1818  							Type:        []string{"string"},
  1819  							Format:      "",
  1820  						},
  1821  					},
  1822  					"apiVersion": {
  1823  						SchemaProps: spec.SchemaProps{
  1824  							Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
  1825  							Type:        []string{"string"},
  1826  							Format:      "",
  1827  						},
  1828  					},
  1829  					"metadata": {
  1830  						SchemaProps: spec.SchemaProps{
  1831  							Description: "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata",
  1832  							Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
  1833  						},
  1834  					},
  1835  					"spec": {
  1836  						SchemaProps: spec.SchemaProps{
  1837  							Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ExtensionSpec"),
  1838  						},
  1839  					},
  1840  				},
  1841  			},
  1842  		},
  1843  		Dependencies: []string{
  1844  			"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ExtensionSpec", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
  1845  	}
  1846  }
  1847  
  1848  func schema_pkg_apis_jenkinsio_v1_ExtensionConfig(ref common.ReferenceCallback) common.OpenAPIDefinition {
  1849  	return common.OpenAPIDefinition{
  1850  		Schema: spec.Schema{
  1851  			SchemaProps: spec.SchemaProps{
  1852  				Description: "ExtensionConfig is the configuration and enablement for an extension inside an app",
  1853  				Type:        []string{"object"},
  1854  				Properties: map[string]spec.Schema{
  1855  					"name": {
  1856  						SchemaProps: spec.SchemaProps{
  1857  							Type:   []string{"string"},
  1858  							Format: "",
  1859  						},
  1860  					},
  1861  					"namespace": {
  1862  						SchemaProps: spec.SchemaProps{
  1863  							Type:   []string{"string"},
  1864  							Format: "",
  1865  						},
  1866  					},
  1867  					"parameters": {
  1868  						SchemaProps: spec.SchemaProps{
  1869  							Type: []string{"array"},
  1870  							Items: &spec.SchemaOrArray{
  1871  								Schema: &spec.Schema{
  1872  									SchemaProps: spec.SchemaProps{
  1873  										Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ExtensionParameterValue"),
  1874  									},
  1875  								},
  1876  							},
  1877  						},
  1878  					},
  1879  				},
  1880  				Required: []string{"name", "namespace", "parameters"},
  1881  			},
  1882  		},
  1883  		Dependencies: []string{
  1884  			"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ExtensionParameterValue"},
  1885  	}
  1886  }
  1887  
  1888  func schema_pkg_apis_jenkinsio_v1_ExtensionConfigList(ref common.ReferenceCallback) common.OpenAPIDefinition {
  1889  	return common.OpenAPIDefinition{
  1890  		Schema: spec.Schema{
  1891  			SchemaProps: spec.SchemaProps{
  1892  				Description: "ExtensionsConfigList contains a list of ExtensionConfig items",
  1893  				Type:        []string{"object"},
  1894  				Properties: map[string]spec.Schema{
  1895  					"extensions": {
  1896  						SchemaProps: spec.SchemaProps{
  1897  							Type: []string{"array"},
  1898  							Items: &spec.SchemaOrArray{
  1899  								Schema: &spec.Schema{
  1900  									SchemaProps: spec.SchemaProps{
  1901  										Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ExtensionConfig"),
  1902  									},
  1903  								},
  1904  							},
  1905  						},
  1906  					},
  1907  				},
  1908  				Required: []string{"extensions"},
  1909  			},
  1910  		},
  1911  		Dependencies: []string{
  1912  			"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ExtensionConfig"},
  1913  	}
  1914  }
  1915  
  1916  func schema_pkg_apis_jenkinsio_v1_ExtensionDefinition(ref common.ReferenceCallback) common.OpenAPIDefinition {
  1917  	return common.OpenAPIDefinition{
  1918  		Schema: spec.Schema{
  1919  			SchemaProps: spec.SchemaProps{
  1920  				Description: "ExtensionDefinition defines an Extension",
  1921  				Type:        []string{"object"},
  1922  				Properties: map[string]spec.Schema{
  1923  					"name": {
  1924  						SchemaProps: spec.SchemaProps{
  1925  							Type:   []string{"string"},
  1926  							Format: "",
  1927  						},
  1928  					},
  1929  					"namespace": {
  1930  						SchemaProps: spec.SchemaProps{
  1931  							Type:   []string{"string"},
  1932  							Format: "",
  1933  						},
  1934  					},
  1935  					"uuid": {
  1936  						SchemaProps: spec.SchemaProps{
  1937  							Type:   []string{"string"},
  1938  							Format: "",
  1939  						},
  1940  					},
  1941  					"description": {
  1942  						SchemaProps: spec.SchemaProps{
  1943  							Type:   []string{"string"},
  1944  							Format: "",
  1945  						},
  1946  					},
  1947  					"when": {
  1948  						SchemaProps: spec.SchemaProps{
  1949  							Type: []string{"array"},
  1950  							Items: &spec.SchemaOrArray{
  1951  								Schema: &spec.Schema{
  1952  									SchemaProps: spec.SchemaProps{
  1953  										Type:   []string{"string"},
  1954  										Format: "",
  1955  									},
  1956  								},
  1957  							},
  1958  						},
  1959  					},
  1960  					"given": {
  1961  						SchemaProps: spec.SchemaProps{
  1962  							Type:   []string{"string"},
  1963  							Format: "",
  1964  						},
  1965  					},
  1966  					"children": {
  1967  						SchemaProps: spec.SchemaProps{
  1968  							Type: []string{"array"},
  1969  							Items: &spec.SchemaOrArray{
  1970  								Schema: &spec.Schema{
  1971  									SchemaProps: spec.SchemaProps{
  1972  										Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ExtensionDefinitionChildReference"),
  1973  									},
  1974  								},
  1975  							},
  1976  						},
  1977  					},
  1978  					"scriptFile": {
  1979  						SchemaProps: spec.SchemaProps{
  1980  							Type:   []string{"string"},
  1981  							Format: "",
  1982  						},
  1983  					},
  1984  					"parameters": {
  1985  						SchemaProps: spec.SchemaProps{
  1986  							Type: []string{"array"},
  1987  							Items: &spec.SchemaOrArray{
  1988  								Schema: &spec.Schema{
  1989  									SchemaProps: spec.SchemaProps{
  1990  										Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ExtensionParameter"),
  1991  									},
  1992  								},
  1993  							},
  1994  						},
  1995  					},
  1996  				},
  1997  				Required: []string{"name", "namespace", "uuid"},
  1998  			},
  1999  		},
  2000  		Dependencies: []string{
  2001  			"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ExtensionDefinitionChildReference", "github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ExtensionParameter"},
  2002  	}
  2003  }
  2004  
  2005  func schema_pkg_apis_jenkinsio_v1_ExtensionDefinitionChildReference(ref common.ReferenceCallback) common.OpenAPIDefinition {
  2006  	return common.OpenAPIDefinition{
  2007  		Schema: spec.Schema{
  2008  			SchemaProps: spec.SchemaProps{
  2009  				Description: "ExtensionDefinitionChildReference provides a reference to a child",
  2010  				Type:        []string{"object"},
  2011  				Properties: map[string]spec.Schema{
  2012  					"uuid": {
  2013  						SchemaProps: spec.SchemaProps{
  2014  							Type:   []string{"string"},
  2015  							Format: "",
  2016  						},
  2017  					},
  2018  					"name": {
  2019  						SchemaProps: spec.SchemaProps{
  2020  							Type:   []string{"string"},
  2021  							Format: "",
  2022  						},
  2023  					},
  2024  					"namespace": {
  2025  						SchemaProps: spec.SchemaProps{
  2026  							Type:   []string{"string"},
  2027  							Format: "",
  2028  						},
  2029  					},
  2030  					"remote": {
  2031  						SchemaProps: spec.SchemaProps{
  2032  							Type:   []string{"string"},
  2033  							Format: "",
  2034  						},
  2035  					},
  2036  					"tag": {
  2037  						SchemaProps: spec.SchemaProps{
  2038  							Type:   []string{"string"},
  2039  							Format: "",
  2040  						},
  2041  					},
  2042  				},
  2043  			},
  2044  		},
  2045  		Dependencies: []string{},
  2046  	}
  2047  }
  2048  
  2049  func schema_pkg_apis_jenkinsio_v1_ExtensionDefinitionList(ref common.ReferenceCallback) common.OpenAPIDefinition {
  2050  	return common.OpenAPIDefinition{
  2051  		Schema: spec.Schema{
  2052  			SchemaProps: spec.SchemaProps{
  2053  				Description: "ExtensionDefinitionList contains a list of ExtensionDefinition items",
  2054  				Type:        []string{"object"},
  2055  				Properties: map[string]spec.Schema{
  2056  					"version": {
  2057  						SchemaProps: spec.SchemaProps{
  2058  							Type:   []string{"string"},
  2059  							Format: "",
  2060  						},
  2061  					},
  2062  					"extensions": {
  2063  						SchemaProps: spec.SchemaProps{
  2064  							Type: []string{"array"},
  2065  							Items: &spec.SchemaOrArray{
  2066  								Schema: &spec.Schema{
  2067  									SchemaProps: spec.SchemaProps{
  2068  										Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ExtensionDefinition"),
  2069  									},
  2070  								},
  2071  							},
  2072  						},
  2073  					},
  2074  				},
  2075  				Required: []string{"extensions"},
  2076  			},
  2077  		},
  2078  		Dependencies: []string{
  2079  			"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ExtensionDefinition"},
  2080  	}
  2081  }
  2082  
  2083  func schema_pkg_apis_jenkinsio_v1_ExtensionDefinitionReference(ref common.ReferenceCallback) common.OpenAPIDefinition {
  2084  	return common.OpenAPIDefinition{
  2085  		Schema: spec.Schema{
  2086  			SchemaProps: spec.SchemaProps{
  2087  				Description: "ExtensionRepositoryReference references a GitHub repo that contains extension definitions",
  2088  				Type:        []string{"object"},
  2089  				Properties: map[string]spec.Schema{
  2090  					"remote": {
  2091  						SchemaProps: spec.SchemaProps{
  2092  							Type:   []string{"string"},
  2093  							Format: "",
  2094  						},
  2095  					},
  2096  					"tag": {
  2097  						SchemaProps: spec.SchemaProps{
  2098  							Type:   []string{"string"},
  2099  							Format: "",
  2100  						},
  2101  					},
  2102  				},
  2103  				Required: []string{"remote", "tag"},
  2104  			},
  2105  		},
  2106  		Dependencies: []string{},
  2107  	}
  2108  }
  2109  
  2110  func schema_pkg_apis_jenkinsio_v1_ExtensionDefinitionReferenceList(ref common.ReferenceCallback) common.OpenAPIDefinition {
  2111  	return common.OpenAPIDefinition{
  2112  		Schema: spec.Schema{
  2113  			SchemaProps: spec.SchemaProps{
  2114  				Description: "ExtensionDefinitionReferenceList contains a list of ExtensionRepository items",
  2115  				Type:        []string{"object"},
  2116  				Properties: map[string]spec.Schema{
  2117  					"remotes": {
  2118  						SchemaProps: spec.SchemaProps{
  2119  							Type: []string{"array"},
  2120  							Items: &spec.SchemaOrArray{
  2121  								Schema: &spec.Schema{
  2122  									SchemaProps: spec.SchemaProps{
  2123  										Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ExtensionDefinitionReference"),
  2124  									},
  2125  								},
  2126  							},
  2127  						},
  2128  					},
  2129  				},
  2130  				Required: []string{"remotes"},
  2131  			},
  2132  		},
  2133  		Dependencies: []string{
  2134  			"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ExtensionDefinitionReference"},
  2135  	}
  2136  }
  2137  
  2138  func schema_pkg_apis_jenkinsio_v1_ExtensionExecution(ref common.ReferenceCallback) common.OpenAPIDefinition {
  2139  	return common.OpenAPIDefinition{
  2140  		Schema: spec.Schema{
  2141  			SchemaProps: spec.SchemaProps{
  2142  				Description: "ExtensionExecution is an executable instance of an extension which can be attached into a pipeline for later execution. It differs from an Extension as it cannot have children and parameters have been resolved to environment variables",
  2143  				Type:        []string{"object"},
  2144  				Properties: map[string]spec.Schema{
  2145  					"name": {
  2146  						SchemaProps: spec.SchemaProps{
  2147  							Type:   []string{"string"},
  2148  							Format: "",
  2149  						},
  2150  					},
  2151  					"description": {
  2152  						SchemaProps: spec.SchemaProps{
  2153  							Type:   []string{"string"},
  2154  							Format: "",
  2155  						},
  2156  					},
  2157  					"script": {
  2158  						SchemaProps: spec.SchemaProps{
  2159  							Type:   []string{"string"},
  2160  							Format: "",
  2161  						},
  2162  					},
  2163  					"environmentVariables": {
  2164  						SchemaProps: spec.SchemaProps{
  2165  							Type: []string{"array"},
  2166  							Items: &spec.SchemaOrArray{
  2167  								Schema: &spec.Schema{
  2168  									SchemaProps: spec.SchemaProps{
  2169  										Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.EnvironmentVariable"),
  2170  									},
  2171  								},
  2172  							},
  2173  						},
  2174  					},
  2175  					"given": {
  2176  						SchemaProps: spec.SchemaProps{
  2177  							Type:   []string{"string"},
  2178  							Format: "",
  2179  						},
  2180  					},
  2181  					"namespace": {
  2182  						SchemaProps: spec.SchemaProps{
  2183  							Type:   []string{"string"},
  2184  							Format: "",
  2185  						},
  2186  					},
  2187  					"uuid": {
  2188  						SchemaProps: spec.SchemaProps{
  2189  							Type:   []string{"string"},
  2190  							Format: "",
  2191  						},
  2192  					},
  2193  				},
  2194  			},
  2195  		},
  2196  		Dependencies: []string{
  2197  			"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.EnvironmentVariable"},
  2198  	}
  2199  }
  2200  
  2201  func schema_pkg_apis_jenkinsio_v1_ExtensionList(ref common.ReferenceCallback) common.OpenAPIDefinition {
  2202  	return common.OpenAPIDefinition{
  2203  		Schema: spec.Schema{
  2204  			SchemaProps: spec.SchemaProps{
  2205  				Description: "ExtensionList is a list of Extensions available for a team",
  2206  				Type:        []string{"object"},
  2207  				Properties: map[string]spec.Schema{
  2208  					"kind": {
  2209  						SchemaProps: spec.SchemaProps{
  2210  							Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
  2211  							Type:        []string{"string"},
  2212  							Format:      "",
  2213  						},
  2214  					},
  2215  					"apiVersion": {
  2216  						SchemaProps: spec.SchemaProps{
  2217  							Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
  2218  							Type:        []string{"string"},
  2219  							Format:      "",
  2220  						},
  2221  					},
  2222  					"metadata": {
  2223  						SchemaProps: spec.SchemaProps{
  2224  							Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
  2225  						},
  2226  					},
  2227  					"items": {
  2228  						SchemaProps: spec.SchemaProps{
  2229  							Type: []string{"array"},
  2230  							Items: &spec.SchemaOrArray{
  2231  								Schema: &spec.Schema{
  2232  									SchemaProps: spec.SchemaProps{
  2233  										Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.Extension"),
  2234  									},
  2235  								},
  2236  							},
  2237  						},
  2238  					},
  2239  				},
  2240  				Required: []string{"metadata", "items"},
  2241  			},
  2242  		},
  2243  		Dependencies: []string{
  2244  			"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.Extension", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
  2245  	}
  2246  }
  2247  
  2248  func schema_pkg_apis_jenkinsio_v1_ExtensionParameter(ref common.ReferenceCallback) common.OpenAPIDefinition {
  2249  	return common.OpenAPIDefinition{
  2250  		Schema: spec.Schema{
  2251  			SchemaProps: spec.SchemaProps{
  2252  				Description: "ExtensionParameter describes a parameter definition for an extension",
  2253  				Type:        []string{"object"},
  2254  				Properties: map[string]spec.Schema{
  2255  					"name": {
  2256  						SchemaProps: spec.SchemaProps{
  2257  							Type:   []string{"string"},
  2258  							Format: "",
  2259  						},
  2260  					},
  2261  					"description": {
  2262  						SchemaProps: spec.SchemaProps{
  2263  							Type:   []string{"string"},
  2264  							Format: "",
  2265  						},
  2266  					},
  2267  					"environmentVariableName": {
  2268  						SchemaProps: spec.SchemaProps{
  2269  							Type:   []string{"string"},
  2270  							Format: "",
  2271  						},
  2272  					},
  2273  					"defaultValue": {
  2274  						SchemaProps: spec.SchemaProps{
  2275  							Type:   []string{"string"},
  2276  							Format: "",
  2277  						},
  2278  					},
  2279  				},
  2280  			},
  2281  		},
  2282  		Dependencies: []string{},
  2283  	}
  2284  }
  2285  
  2286  func schema_pkg_apis_jenkinsio_v1_ExtensionParameterValue(ref common.ReferenceCallback) common.OpenAPIDefinition {
  2287  	return common.OpenAPIDefinition{
  2288  		Schema: spec.Schema{
  2289  			SchemaProps: spec.SchemaProps{
  2290  				Type: []string{"object"},
  2291  				Properties: map[string]spec.Schema{
  2292  					"name": {
  2293  						SchemaProps: spec.SchemaProps{
  2294  							Type:   []string{"string"},
  2295  							Format: "",
  2296  						},
  2297  					},
  2298  					"value": {
  2299  						SchemaProps: spec.SchemaProps{
  2300  							Type:   []string{"string"},
  2301  							Format: "",
  2302  						},
  2303  					},
  2304  				},
  2305  				Required: []string{"name", "value"},
  2306  			},
  2307  		},
  2308  		Dependencies: []string{},
  2309  	}
  2310  }
  2311  
  2312  func schema_pkg_apis_jenkinsio_v1_ExtensionRepositoryReference(ref common.ReferenceCallback) common.OpenAPIDefinition {
  2313  	return common.OpenAPIDefinition{
  2314  		Schema: spec.Schema{
  2315  			SchemaProps: spec.SchemaProps{
  2316  				Type: []string{"object"},
  2317  				Properties: map[string]spec.Schema{
  2318  					"url": {
  2319  						SchemaProps: spec.SchemaProps{
  2320  							Type:   []string{"string"},
  2321  							Format: "",
  2322  						},
  2323  					},
  2324  					"github": {
  2325  						SchemaProps: spec.SchemaProps{
  2326  							Type:   []string{"string"},
  2327  							Format: "",
  2328  						},
  2329  					},
  2330  					"chart": {
  2331  						SchemaProps: spec.SchemaProps{
  2332  							Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ChartRef"),
  2333  						},
  2334  					},
  2335  				},
  2336  			},
  2337  		},
  2338  		Dependencies: []string{
  2339  			"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ChartRef"},
  2340  	}
  2341  }
  2342  
  2343  func schema_pkg_apis_jenkinsio_v1_ExtensionRepositoryReferenceList(ref common.ReferenceCallback) common.OpenAPIDefinition {
  2344  	return common.OpenAPIDefinition{
  2345  		Schema: spec.Schema{
  2346  			SchemaProps: spec.SchemaProps{
  2347  				Type: []string{"object"},
  2348  				Properties: map[string]spec.Schema{
  2349  					"repositories": {
  2350  						SchemaProps: spec.SchemaProps{
  2351  							Type: []string{"array"},
  2352  							Items: &spec.SchemaOrArray{
  2353  								Schema: &spec.Schema{
  2354  									SchemaProps: spec.SchemaProps{
  2355  										Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ExtensionRepositoryReference"),
  2356  									},
  2357  								},
  2358  							},
  2359  						},
  2360  					},
  2361  				},
  2362  			},
  2363  		},
  2364  		Dependencies: []string{
  2365  			"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ExtensionRepositoryReference"},
  2366  	}
  2367  }
  2368  
  2369  func schema_pkg_apis_jenkinsio_v1_ExtensionSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
  2370  	return common.OpenAPIDefinition{
  2371  		Schema: spec.Schema{
  2372  			SchemaProps: spec.SchemaProps{
  2373  				Description: "ExtensionSpec provides details of an extension available for a team",
  2374  				Type:        []string{"object"},
  2375  				Properties: map[string]spec.Schema{
  2376  					"name": {
  2377  						SchemaProps: spec.SchemaProps{
  2378  							Type:   []string{"string"},
  2379  							Format: "",
  2380  						},
  2381  					},
  2382  					"description": {
  2383  						SchemaProps: spec.SchemaProps{
  2384  							Type:   []string{"string"},
  2385  							Format: "",
  2386  						},
  2387  					},
  2388  					"version": {
  2389  						SchemaProps: spec.SchemaProps{
  2390  							Type:   []string{"string"},
  2391  							Format: "",
  2392  						},
  2393  					},
  2394  					"script": {
  2395  						SchemaProps: spec.SchemaProps{
  2396  							Type:   []string{"string"},
  2397  							Format: "",
  2398  						},
  2399  					},
  2400  					"when": {
  2401  						SchemaProps: spec.SchemaProps{
  2402  							Type: []string{"array"},
  2403  							Items: &spec.SchemaOrArray{
  2404  								Schema: &spec.Schema{
  2405  									SchemaProps: spec.SchemaProps{
  2406  										Type:   []string{"string"},
  2407  										Format: "",
  2408  									},
  2409  								},
  2410  							},
  2411  						},
  2412  					},
  2413  					"given": {
  2414  						SchemaProps: spec.SchemaProps{
  2415  							Type:   []string{"string"},
  2416  							Format: "",
  2417  						},
  2418  					},
  2419  					"parameters": {
  2420  						SchemaProps: spec.SchemaProps{
  2421  							Type: []string{"array"},
  2422  							Items: &spec.SchemaOrArray{
  2423  								Schema: &spec.Schema{
  2424  									SchemaProps: spec.SchemaProps{
  2425  										Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ExtensionParameter"),
  2426  									},
  2427  								},
  2428  							},
  2429  						},
  2430  					},
  2431  					"namespace": {
  2432  						SchemaProps: spec.SchemaProps{
  2433  							Type:   []string{"string"},
  2434  							Format: "",
  2435  						},
  2436  					},
  2437  					"uuid": {
  2438  						SchemaProps: spec.SchemaProps{
  2439  							Type:   []string{"string"},
  2440  							Format: "",
  2441  						},
  2442  					},
  2443  					"children": {
  2444  						SchemaProps: spec.SchemaProps{
  2445  							Type: []string{"array"},
  2446  							Items: &spec.SchemaOrArray{
  2447  								Schema: &spec.Schema{
  2448  									SchemaProps: spec.SchemaProps{
  2449  										Type:   []string{"string"},
  2450  										Format: "",
  2451  									},
  2452  								},
  2453  							},
  2454  						},
  2455  					},
  2456  				},
  2457  			},
  2458  		},
  2459  		Dependencies: []string{
  2460  			"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ExtensionParameter"},
  2461  	}
  2462  }
  2463  
  2464  func schema_pkg_apis_jenkinsio_v1_ExternalPlugin(ref common.ReferenceCallback) common.OpenAPIDefinition {
  2465  	return common.OpenAPIDefinition{
  2466  		Schema: spec.Schema{
  2467  			SchemaProps: spec.SchemaProps{
  2468  				Description: "ExternalPlugin holds configuration for registering an external plugin.",
  2469  				Type:        []string{"object"},
  2470  				Properties: map[string]spec.Schema{
  2471  					"name": {
  2472  						SchemaProps: spec.SchemaProps{
  2473  							Description: "Name of the plugin.",
  2474  							Type:        []string{"string"},
  2475  							Format:      "",
  2476  						},
  2477  					},
  2478  					"endpoint": {
  2479  						SchemaProps: spec.SchemaProps{
  2480  							Description: "Endpoint is the location of the external plugin. Defaults to the name of the plugin, ie. \"http://{{name}}\".",
  2481  							Type:        []string{"string"},
  2482  							Format:      "",
  2483  						},
  2484  					},
  2485  					"events": {
  2486  						SchemaProps: spec.SchemaProps{
  2487  							Description: "ReplaceableSliceOfStrings are the events that need to be demuxed by the hook server to the external plugin. If no events are specified, everything is sent.",
  2488  							Ref:         ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ReplaceableSliceOfStrings"),
  2489  						},
  2490  					},
  2491  				},
  2492  				Required: []string{"name"},
  2493  			},
  2494  		},
  2495  		Dependencies: []string{
  2496  			"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ReplaceableSliceOfStrings"},
  2497  	}
  2498  }
  2499  
  2500  func schema_pkg_apis_jenkinsio_v1_Fact(ref common.ReferenceCallback) common.OpenAPIDefinition {
  2501  	return common.OpenAPIDefinition{
  2502  		Schema: spec.Schema{
  2503  			SchemaProps: spec.SchemaProps{
  2504  				Description: "Fact represents observed facts. Apps will generate Facts about the system. A naming schema is required since each Fact has a name that's unique for the whole system. Apps should prefix their generated Facts with the name of the App, like <app-name>-<fact>. This makes that different Apps can't possibly have conflicting Fact names.\n\nFor an app generating facts on a pipeline, which will be have several different executions, we recommend <app>-<fact>-<pipeline>.",
  2505  				Type:        []string{"object"},
  2506  				Properties: map[string]spec.Schema{
  2507  					"kind": {
  2508  						SchemaProps: spec.SchemaProps{
  2509  							Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
  2510  							Type:        []string{"string"},
  2511  							Format:      "",
  2512  						},
  2513  					},
  2514  					"apiVersion": {
  2515  						SchemaProps: spec.SchemaProps{
  2516  							Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
  2517  							Type:        []string{"string"},
  2518  							Format:      "",
  2519  						},
  2520  					},
  2521  					"metadata": {
  2522  						SchemaProps: spec.SchemaProps{
  2523  							Description: "The Fact labels will be used to query the API for interesting Facts. The Apps responsible for creating Facts need to add the relevant labels. For example, creating Facts on a pipeline would create Facts with the following labels {\n  subjectkind: PipelineActivity\n  pipelineName: my-org-my-app-master-23\n  org: my-org\n  repo: my-app\n  branch: master\n  buildNumber: 23\n}",
  2524  							Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
  2525  						},
  2526  					},
  2527  					"spec": {
  2528  						SchemaProps: spec.SchemaProps{
  2529  							Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.FactSpec"),
  2530  						},
  2531  					},
  2532  					"status": {
  2533  						SchemaProps: spec.SchemaProps{
  2534  							Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.FactStatus"),
  2535  						},
  2536  					},
  2537  				},
  2538  			},
  2539  		},
  2540  		Dependencies: []string{
  2541  			"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.FactSpec", "github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.FactStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
  2542  	}
  2543  }
  2544  
  2545  func schema_pkg_apis_jenkinsio_v1_FactList(ref common.ReferenceCallback) common.OpenAPIDefinition {
  2546  	return common.OpenAPIDefinition{
  2547  		Schema: spec.Schema{
  2548  			SchemaProps: spec.SchemaProps{
  2549  				Description: "FactList is a list of Fact resources",
  2550  				Type:        []string{"object"},
  2551  				Properties: map[string]spec.Schema{
  2552  					"kind": {
  2553  						SchemaProps: spec.SchemaProps{
  2554  							Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
  2555  							Type:        []string{"string"},
  2556  							Format:      "",
  2557  						},
  2558  					},
  2559  					"apiVersion": {
  2560  						SchemaProps: spec.SchemaProps{
  2561  							Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
  2562  							Type:        []string{"string"},
  2563  							Format:      "",
  2564  						},
  2565  					},
  2566  					"metadata": {
  2567  						SchemaProps: spec.SchemaProps{
  2568  							Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
  2569  						},
  2570  					},
  2571  					"items": {
  2572  						SchemaProps: spec.SchemaProps{
  2573  							Type: []string{"array"},
  2574  							Items: &spec.SchemaOrArray{
  2575  								Schema: &spec.Schema{
  2576  									SchemaProps: spec.SchemaProps{
  2577  										Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.Fact"),
  2578  									},
  2579  								},
  2580  							},
  2581  						},
  2582  					},
  2583  				},
  2584  				Required: []string{"metadata", "items"},
  2585  			},
  2586  		},
  2587  		Dependencies: []string{
  2588  			"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.Fact", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
  2589  	}
  2590  }
  2591  
  2592  func schema_pkg_apis_jenkinsio_v1_FactSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
  2593  	return common.OpenAPIDefinition{
  2594  		Schema: spec.Schema{
  2595  			SchemaProps: spec.SchemaProps{
  2596  				Description: "FactSpec is the specification of a Fact",
  2597  				Type:        []string{"object"},
  2598  				Properties: map[string]spec.Schema{
  2599  					"name": {
  2600  						SchemaProps: spec.SchemaProps{
  2601  							Type:   []string{"string"},
  2602  							Format: "",
  2603  						},
  2604  					},
  2605  					"factType": {
  2606  						SchemaProps: spec.SchemaProps{
  2607  							Type:   []string{"string"},
  2608  							Format: "",
  2609  						},
  2610  					},
  2611  					"measurements": {
  2612  						SchemaProps: spec.SchemaProps{
  2613  							Type: []string{"array"},
  2614  							Items: &spec.SchemaOrArray{
  2615  								Schema: &spec.Schema{
  2616  									SchemaProps: spec.SchemaProps{
  2617  										Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.Measurement"),
  2618  									},
  2619  								},
  2620  							},
  2621  						},
  2622  					},
  2623  					"statements": {
  2624  						SchemaProps: spec.SchemaProps{
  2625  							Type: []string{"array"},
  2626  							Items: &spec.SchemaOrArray{
  2627  								Schema: &spec.Schema{
  2628  									SchemaProps: spec.SchemaProps{
  2629  										Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.Statement"),
  2630  									},
  2631  								},
  2632  							},
  2633  						},
  2634  					},
  2635  					"original": {
  2636  						SchemaProps: spec.SchemaProps{
  2637  							Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.Original"),
  2638  						},
  2639  					},
  2640  					"tags": {
  2641  						SchemaProps: spec.SchemaProps{
  2642  							Type: []string{"array"},
  2643  							Items: &spec.SchemaOrArray{
  2644  								Schema: &spec.Schema{
  2645  									SchemaProps: spec.SchemaProps{
  2646  										Type:   []string{"string"},
  2647  										Format: "",
  2648  									},
  2649  								},
  2650  							},
  2651  						},
  2652  					},
  2653  					"subject": {
  2654  						SchemaProps: spec.SchemaProps{
  2655  							Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ResourceReference"),
  2656  						},
  2657  					},
  2658  				},
  2659  				Required: []string{"name", "factType", "subject"},
  2660  			},
  2661  		},
  2662  		Dependencies: []string{
  2663  			"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.Measurement", "github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.Original", "github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ResourceReference", "github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.Statement"},
  2664  	}
  2665  }
  2666  
  2667  func schema_pkg_apis_jenkinsio_v1_FactStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
  2668  	return common.OpenAPIDefinition{
  2669  		Schema: spec.Schema{
  2670  			SchemaProps: spec.SchemaProps{
  2671  				Description: "FactStatus is the status for an Fact resource",
  2672  				Type:        []string{"object"},
  2673  				Properties: map[string]spec.Schema{
  2674  					"version": {
  2675  						SchemaProps: spec.SchemaProps{
  2676  							Type:   []string{"string"},
  2677  							Format: "",
  2678  						},
  2679  					},
  2680  				},
  2681  			},
  2682  		},
  2683  		Dependencies: []string{},
  2684  	}
  2685  }
  2686  
  2687  func schema_pkg_apis_jenkinsio_v1_GitService(ref common.ReferenceCallback) common.OpenAPIDefinition {
  2688  	return common.OpenAPIDefinition{
  2689  		Schema: spec.Schema{
  2690  			SchemaProps: spec.SchemaProps{
  2691  				Description: "GitService represents a git provider so we can map the host name to a kinda of git service",
  2692  				Type:        []string{"object"},
  2693  				Properties: map[string]spec.Schema{
  2694  					"kind": {
  2695  						SchemaProps: spec.SchemaProps{
  2696  							Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
  2697  							Type:        []string{"string"},
  2698  							Format:      "",
  2699  						},
  2700  					},
  2701  					"apiVersion": {
  2702  						SchemaProps: spec.SchemaProps{
  2703  							Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
  2704  							Type:        []string{"string"},
  2705  							Format:      "",
  2706  						},
  2707  					},
  2708  					"metadata": {
  2709  						SchemaProps: spec.SchemaProps{
  2710  							Description: "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata",
  2711  							Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
  2712  						},
  2713  					},
  2714  					"spec": {
  2715  						SchemaProps: spec.SchemaProps{
  2716  							Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.GitServiceSpec"),
  2717  						},
  2718  					},
  2719  				},
  2720  			},
  2721  		},
  2722  		Dependencies: []string{
  2723  			"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.GitServiceSpec", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
  2724  	}
  2725  }
  2726  
  2727  func schema_pkg_apis_jenkinsio_v1_GitServiceList(ref common.ReferenceCallback) common.OpenAPIDefinition {
  2728  	return common.OpenAPIDefinition{
  2729  		Schema: spec.Schema{
  2730  			SchemaProps: spec.SchemaProps{
  2731  				Description: "GitServiceList is a list of GitService resources",
  2732  				Type:        []string{"object"},
  2733  				Properties: map[string]spec.Schema{
  2734  					"kind": {
  2735  						SchemaProps: spec.SchemaProps{
  2736  							Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
  2737  							Type:        []string{"string"},
  2738  							Format:      "",
  2739  						},
  2740  					},
  2741  					"apiVersion": {
  2742  						SchemaProps: spec.SchemaProps{
  2743  							Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
  2744  							Type:        []string{"string"},
  2745  							Format:      "",
  2746  						},
  2747  					},
  2748  					"metadata": {
  2749  						SchemaProps: spec.SchemaProps{
  2750  							Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
  2751  						},
  2752  					},
  2753  					"items": {
  2754  						SchemaProps: spec.SchemaProps{
  2755  							Type: []string{"array"},
  2756  							Items: &spec.SchemaOrArray{
  2757  								Schema: &spec.Schema{
  2758  									SchemaProps: spec.SchemaProps{
  2759  										Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.GitService"),
  2760  									},
  2761  								},
  2762  							},
  2763  						},
  2764  					},
  2765  				},
  2766  				Required: []string{"metadata", "items"},
  2767  			},
  2768  		},
  2769  		Dependencies: []string{
  2770  			"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.GitService", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
  2771  	}
  2772  }
  2773  
  2774  func schema_pkg_apis_jenkinsio_v1_GitServiceSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
  2775  	return common.OpenAPIDefinition{
  2776  		Schema: spec.Schema{
  2777  			SchemaProps: spec.SchemaProps{
  2778  				Description: "GitServiceSpec is the specification of an GitService",
  2779  				Type:        []string{"object"},
  2780  				Properties: map[string]spec.Schema{
  2781  					"gitKind": {
  2782  						SchemaProps: spec.SchemaProps{
  2783  							Type:   []string{"string"},
  2784  							Format: "",
  2785  						},
  2786  					},
  2787  					"url": {
  2788  						SchemaProps: spec.SchemaProps{
  2789  							Type:   []string{"string"},
  2790  							Format: "",
  2791  						},
  2792  					},
  2793  					"name": {
  2794  						SchemaProps: spec.SchemaProps{
  2795  							Type:   []string{"string"},
  2796  							Format: "",
  2797  						},
  2798  					},
  2799  				},
  2800  			},
  2801  		},
  2802  		Dependencies: []string{},
  2803  	}
  2804  }
  2805  
  2806  func schema_pkg_apis_jenkinsio_v1_GitStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
  2807  	return common.OpenAPIDefinition{
  2808  		Schema: spec.Schema{
  2809  			SchemaProps: spec.SchemaProps{
  2810  				Description: "GitStatus the status of a git commit in terms of CI/CD",
  2811  				Type:        []string{"object"},
  2812  				Properties: map[string]spec.Schema{
  2813  					"url": {
  2814  						SchemaProps: spec.SchemaProps{
  2815  							Type:   []string{"string"},
  2816  							Format: "",
  2817  						},
  2818  					},
  2819  					"status": {
  2820  						SchemaProps: spec.SchemaProps{
  2821  							Type:   []string{"string"},
  2822  							Format: "",
  2823  						},
  2824  					},
  2825  				},
  2826  			},
  2827  		},
  2828  		Dependencies: []string{},
  2829  	}
  2830  }
  2831  
  2832  func schema_pkg_apis_jenkinsio_v1_GlobalProtectionPolicy(ref common.ReferenceCallback) common.OpenAPIDefinition {
  2833  	return common.OpenAPIDefinition{
  2834  		Schema: spec.Schema{
  2835  			SchemaProps: spec.SchemaProps{
  2836  				Description: "GlobalProtectionPolicy defines the default branch protection policy for the scheduler",
  2837  				Type:        []string{"object"},
  2838  				Properties: map[string]spec.Schema{
  2839  					"ProtectionPolicy": {
  2840  						SchemaProps: spec.SchemaProps{
  2841  							Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ProtectionPolicy"),
  2842  						},
  2843  					},
  2844  					"protectTested": {
  2845  						SchemaProps: spec.SchemaProps{
  2846  							Type:   []string{"boolean"},
  2847  							Format: "",
  2848  						},
  2849  					},
  2850  				},
  2851  			},
  2852  		},
  2853  		Dependencies: []string{
  2854  			"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ProtectionPolicy"},
  2855  	}
  2856  }
  2857  
  2858  func schema_pkg_apis_jenkinsio_v1_IssueLabel(ref common.ReferenceCallback) common.OpenAPIDefinition {
  2859  	return common.OpenAPIDefinition{
  2860  		Schema: spec.Schema{
  2861  			SchemaProps: spec.SchemaProps{
  2862  				Type: []string{"object"},
  2863  				Properties: map[string]spec.Schema{
  2864  					"name": {
  2865  						SchemaProps: spec.SchemaProps{
  2866  							Type:   []string{"string"},
  2867  							Format: "",
  2868  						},
  2869  					},
  2870  					"url": {
  2871  						SchemaProps: spec.SchemaProps{
  2872  							Type:   []string{"string"},
  2873  							Format: "",
  2874  						},
  2875  					},
  2876  					"color": {
  2877  						SchemaProps: spec.SchemaProps{
  2878  							Type:   []string{"string"},
  2879  							Format: "",
  2880  						},
  2881  					},
  2882  				},
  2883  			},
  2884  		},
  2885  		Dependencies: []string{},
  2886  	}
  2887  }
  2888  
  2889  func schema_pkg_apis_jenkinsio_v1_IssueSummary(ref common.ReferenceCallback) common.OpenAPIDefinition {
  2890  	return common.OpenAPIDefinition{
  2891  		Schema: spec.Schema{
  2892  			SchemaProps: spec.SchemaProps{
  2893  				Description: "IssueSummary is the summary of an issue",
  2894  				Type:        []string{"object"},
  2895  				Properties: map[string]spec.Schema{
  2896  					"id": {
  2897  						SchemaProps: spec.SchemaProps{
  2898  							Type:   []string{"string"},
  2899  							Format: "",
  2900  						},
  2901  					},
  2902  					"url": {
  2903  						SchemaProps: spec.SchemaProps{
  2904  							Type:   []string{"string"},
  2905  							Format: "",
  2906  						},
  2907  					},
  2908  					"title": {
  2909  						SchemaProps: spec.SchemaProps{
  2910  							Type:   []string{"string"},
  2911  							Format: "",
  2912  						},
  2913  					},
  2914  					"body": {
  2915  						SchemaProps: spec.SchemaProps{
  2916  							Type:   []string{"string"},
  2917  							Format: "",
  2918  						},
  2919  					},
  2920  					"state": {
  2921  						SchemaProps: spec.SchemaProps{
  2922  							Type:   []string{"string"},
  2923  							Format: "",
  2924  						},
  2925  					},
  2926  					"message": {
  2927  						SchemaProps: spec.SchemaProps{
  2928  							Type:   []string{"string"},
  2929  							Format: "",
  2930  						},
  2931  					},
  2932  					"user": {
  2933  						SchemaProps: spec.SchemaProps{
  2934  							Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.UserDetails"),
  2935  						},
  2936  					},
  2937  					"assignees": {
  2938  						SchemaProps: spec.SchemaProps{
  2939  							Type: []string{"array"},
  2940  							Items: &spec.SchemaOrArray{
  2941  								Schema: &spec.Schema{
  2942  									SchemaProps: spec.SchemaProps{
  2943  										Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.UserDetails"),
  2944  									},
  2945  								},
  2946  							},
  2947  						},
  2948  					},
  2949  					"closedBy": {
  2950  						SchemaProps: spec.SchemaProps{
  2951  							Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.UserDetails"),
  2952  						},
  2953  					},
  2954  					"creationTimestamp": {
  2955  						SchemaProps: spec.SchemaProps{
  2956  							Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
  2957  						},
  2958  					},
  2959  					"labels": {
  2960  						SchemaProps: spec.SchemaProps{
  2961  							Type: []string{"array"},
  2962  							Items: &spec.SchemaOrArray{
  2963  								Schema: &spec.Schema{
  2964  									SchemaProps: spec.SchemaProps{
  2965  										Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.IssueLabel"),
  2966  									},
  2967  								},
  2968  							},
  2969  						},
  2970  					},
  2971  				},
  2972  			},
  2973  		},
  2974  		Dependencies: []string{
  2975  			"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.IssueLabel", "github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.UserDetails", "k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
  2976  	}
  2977  }
  2978  
  2979  func schema_pkg_apis_jenkinsio_v1_JobBase(ref common.ReferenceCallback) common.OpenAPIDefinition {
  2980  	return common.OpenAPIDefinition{
  2981  		Schema: spec.Schema{
  2982  			SchemaProps: spec.SchemaProps{
  2983  				Description: "JobBase contains attributes common to all job types",
  2984  				Type:        []string{"object"},
  2985  				Properties: map[string]spec.Schema{
  2986  					"name": {
  2987  						SchemaProps: spec.SchemaProps{
  2988  							Description: "The name of the job. Must match regex [A-Za-z0-9-._]+ e.g. pull-test-infra-bazel-build",
  2989  							Type:        []string{"string"},
  2990  							Format:      "",
  2991  						},
  2992  					},
  2993  					"labels": {
  2994  						SchemaProps: spec.SchemaProps{
  2995  							Description: "ReplaceableMapOfStringString are added to jobs and pods created for this job.",
  2996  							Ref:         ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ReplaceableMapOfStringString"),
  2997  						},
  2998  					},
  2999  					"maxConcurrency": {
  3000  						SchemaProps: spec.SchemaProps{
  3001  							Description: "MaximumConcurrency of this job, 0 implies no limit.",
  3002  							Type:        []string{"integer"},
  3003  							Format:      "int32",
  3004  						},
  3005  					},
  3006  					"agent": {
  3007  						SchemaProps: spec.SchemaProps{
  3008  							Description: "Agent that will take care of running this job.",
  3009  							Type:        []string{"string"},
  3010  							Format:      "",
  3011  						},
  3012  					},
  3013  					"cluster": {
  3014  						SchemaProps: spec.SchemaProps{
  3015  							Description: "Cluster is the alias of the cluster to run this job in. (Default: kube.DefaultClusterAlias)",
  3016  							Type:        []string{"string"},
  3017  							Format:      "",
  3018  						},
  3019  					},
  3020  					"namespace": {
  3021  						SchemaProps: spec.SchemaProps{
  3022  							Description: "Namespace is the namespace in which pods schedule.\n  empty: results in scheduler.DefaultNamespace",
  3023  							Type:        []string{"string"},
  3024  							Format:      "",
  3025  						},
  3026  					},
  3027  					"spec": {
  3028  						SchemaProps: spec.SchemaProps{
  3029  							Description: "Spec is the Kubernetes pod spec used if Agent is kubernetes.",
  3030  							Ref:         ref("k8s.io/api/core/v1.PodSpec"),
  3031  						},
  3032  					},
  3033  				},
  3034  				Required: []string{"name", "agent"},
  3035  			},
  3036  		},
  3037  		Dependencies: []string{
  3038  			"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ReplaceableMapOfStringString", "k8s.io/api/core/v1.PodSpec"},
  3039  	}
  3040  }
  3041  
  3042  func schema_pkg_apis_jenkinsio_v1_Lgtm(ref common.ReferenceCallback) common.OpenAPIDefinition {
  3043  	return common.OpenAPIDefinition{
  3044  		Schema: spec.Schema{
  3045  			SchemaProps: spec.SchemaProps{
  3046  				Description: "Lgtm specifies a configuration for a single lgtm. The configuration for the lgtm plugin is defined as a list of these structures.",
  3047  				Type:        []string{"object"},
  3048  				Properties: map[string]spec.Schema{
  3049  					"reviewActsAsLgtm": {
  3050  						SchemaProps: spec.SchemaProps{
  3051  							Description: "ReviewActsAsLgtm indicates that a Github review of \"approve\" or \"request changes\" acts as adding or removing the lgtm label",
  3052  							Type:        []string{"boolean"},
  3053  							Format:      "",
  3054  						},
  3055  					},
  3056  					"storeTreeHash": {
  3057  						SchemaProps: spec.SchemaProps{
  3058  							Description: "StoreTreeHash indicates if tree_hash should be stored inside a comment to detect squashed commits before removing lgtm labels",
  3059  							Type:        []string{"boolean"},
  3060  							Format:      "",
  3061  						},
  3062  					},
  3063  					"trustedTeamForStickyLgtm": {
  3064  						SchemaProps: spec.SchemaProps{
  3065  							Description: "WARNING: This disables the security mechanism that prevents a malicious member (or compromised GitHub account) from merging arbitrary code. Use with caution.\n\nStickyLgtmTeam specifies the Github team whose members are trusted with sticky LGTM, which eliminates the need to re-lgtm minor fixes/updates.",
  3066  							Type:        []string{"string"},
  3067  							Format:      "",
  3068  						},
  3069  					},
  3070  				},
  3071  			},
  3072  		},
  3073  		Dependencies: []string{},
  3074  	}
  3075  }
  3076  
  3077  func schema_pkg_apis_jenkinsio_v1_Measurement(ref common.ReferenceCallback) common.OpenAPIDefinition {
  3078  	return common.OpenAPIDefinition{
  3079  		Schema: spec.Schema{
  3080  			SchemaProps: spec.SchemaProps{
  3081  				Description: "Measurement is a percentage or a count, something measured that the system will capture within a fact",
  3082  				Type:        []string{"object"},
  3083  				Properties: map[string]spec.Schema{
  3084  					"name": {
  3085  						SchemaProps: spec.SchemaProps{
  3086  							Type:   []string{"string"},
  3087  							Format: "",
  3088  						},
  3089  					},
  3090  					"measurementType": {
  3091  						SchemaProps: spec.SchemaProps{
  3092  							Type:   []string{"string"},
  3093  							Format: "",
  3094  						},
  3095  					},
  3096  					"measurementValue": {
  3097  						SchemaProps: spec.SchemaProps{
  3098  							Type:   []string{"integer"},
  3099  							Format: "int32",
  3100  						},
  3101  					},
  3102  					"tags": {
  3103  						SchemaProps: spec.SchemaProps{
  3104  							Type: []string{"array"},
  3105  							Items: &spec.SchemaOrArray{
  3106  								Schema: &spec.Schema{
  3107  									SchemaProps: spec.SchemaProps{
  3108  										Type:   []string{"string"},
  3109  										Format: "",
  3110  									},
  3111  								},
  3112  							},
  3113  						},
  3114  					},
  3115  				},
  3116  				Required: []string{"name", "measurementType", "measurementValue"},
  3117  			},
  3118  		},
  3119  		Dependencies: []string{},
  3120  	}
  3121  }
  3122  
  3123  func schema_pkg_apis_jenkinsio_v1_Merger(ref common.ReferenceCallback) common.OpenAPIDefinition {
  3124  	return common.OpenAPIDefinition{
  3125  		Schema: spec.Schema{
  3126  			SchemaProps: spec.SchemaProps{
  3127  				Description: "Merger defines the options used to merge the PR",
  3128  				Type:        []string{"object"},
  3129  				Properties: map[string]spec.Schema{
  3130  					"targetUrl": {
  3131  						SchemaProps: spec.SchemaProps{
  3132  							Description: "URL for status contexts.",
  3133  							Type:        []string{"string"},
  3134  							Format:      "",
  3135  						},
  3136  					},
  3137  					"prStatusBaseUrl": {
  3138  						SchemaProps: spec.SchemaProps{
  3139  							Description: "PRStatusBaseURL is the base URL for the PR status page. This is used to link to a merge requirements overview in the status context.",
  3140  							Type:        []string{"string"},
  3141  							Format:      "",
  3142  						},
  3143  					},
  3144  					"blockerLabel": {
  3145  						SchemaProps: spec.SchemaProps{
  3146  							Description: "BlockerLabel is an optional label that is used to identify merge blocking Git Provider issues. Leave this blank to disable this feature and save 1 API token per sync loop.",
  3147  							Type:        []string{"string"},
  3148  							Format:      "",
  3149  						},
  3150  					},
  3151  					"squashLabel": {
  3152  						SchemaProps: spec.SchemaProps{
  3153  							Description: "SquashLabel is an optional label that is used to identify PRs that should always be squash merged. Leave this blank to disable this feature.",
  3154  							Type:        []string{"string"},
  3155  							Format:      "",
  3156  						},
  3157  					},
  3158  					"maxGoroutines": {
  3159  						SchemaProps: spec.SchemaProps{
  3160  							Description: "MaxGoroutines is the maximum number of goroutines spawned inside the controller to handle org/repo:branch pools. Defaults to 20. Needs to be a positive number.",
  3161  							Type:        []string{"integer"},
  3162  							Format:      "int32",
  3163  						},
  3164  					},
  3165  					"mergeMethod": {
  3166  						SchemaProps: spec.SchemaProps{
  3167  							Description: "Override the default method of merge. Valid options are squash, rebase, and merge.",
  3168  							Type:        []string{"string"},
  3169  							Format:      "",
  3170  						},
  3171  					},
  3172  					"policy": {
  3173  						SchemaProps: spec.SchemaProps{
  3174  							Description: "ContextOptions defines the default merge options. If not set it will infer the required and optional contexts from the jobs configured and use the Git Provider combined status; otherwise it may apply the branch protection setting or let user define their own options in case branch protection is not used.",
  3175  							Ref:         ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ContextPolicy"),
  3176  						},
  3177  					},
  3178  				},
  3179  			},
  3180  		},
  3181  		Dependencies: []string{
  3182  			"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ContextPolicy"},
  3183  	}
  3184  }
  3185  
  3186  func schema_pkg_apis_jenkinsio_v1_Original(ref common.ReferenceCallback) common.OpenAPIDefinition {
  3187  	return common.OpenAPIDefinition{
  3188  		Schema: spec.Schema{
  3189  			SchemaProps: spec.SchemaProps{
  3190  				Description: "Original contains the report",
  3191  				Type:        []string{"object"},
  3192  				Properties: map[string]spec.Schema{
  3193  					"mimetype": {
  3194  						SchemaProps: spec.SchemaProps{
  3195  							Type:   []string{"string"},
  3196  							Format: "",
  3197  						},
  3198  					},
  3199  					"url": {
  3200  						SchemaProps: spec.SchemaProps{
  3201  							Type:   []string{"string"},
  3202  							Format: "",
  3203  						},
  3204  					},
  3205  					"tags": {
  3206  						SchemaProps: spec.SchemaProps{
  3207  							Type: []string{"array"},
  3208  							Items: &spec.SchemaOrArray{
  3209  								Schema: &spec.Schema{
  3210  									SchemaProps: spec.SchemaProps{
  3211  										Type:   []string{"string"},
  3212  										Format: "",
  3213  									},
  3214  								},
  3215  							},
  3216  						},
  3217  					},
  3218  				},
  3219  			},
  3220  		},
  3221  		Dependencies: []string{},
  3222  	}
  3223  }
  3224  
  3225  func schema_pkg_apis_jenkinsio_v1_Periodic(ref common.ReferenceCallback) common.OpenAPIDefinition {
  3226  	return common.OpenAPIDefinition{
  3227  		Schema: spec.Schema{
  3228  			SchemaProps: spec.SchemaProps{
  3229  				Description: "Periodic defines a job to be run periodically",
  3230  				Type:        []string{"object"},
  3231  				Properties: map[string]spec.Schema{
  3232  					"JobBase": {
  3233  						SchemaProps: spec.SchemaProps{
  3234  							Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.JobBase"),
  3235  						},
  3236  					},
  3237  					"interval": {
  3238  						SchemaProps: spec.SchemaProps{
  3239  							Description: "Interval to wait between two runs of the job.",
  3240  							Type:        []string{"string"},
  3241  							Format:      "",
  3242  						},
  3243  					},
  3244  					"cron": {
  3245  						SchemaProps: spec.SchemaProps{
  3246  							Description: "Cron representation of job trigger time",
  3247  							Type:        []string{"string"},
  3248  							Format:      "",
  3249  						},
  3250  					},
  3251  					"tags": {
  3252  						SchemaProps: spec.SchemaProps{
  3253  							Description: "Tags for config entries",
  3254  							Ref:         ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ReplaceableSliceOfStrings"),
  3255  						},
  3256  					},
  3257  				},
  3258  				Required: []string{"interval", "cron"},
  3259  			},
  3260  		},
  3261  		Dependencies: []string{
  3262  			"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.JobBase", "github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ReplaceableSliceOfStrings"},
  3263  	}
  3264  }
  3265  
  3266  func schema_pkg_apis_jenkinsio_v1_Periodics(ref common.ReferenceCallback) common.OpenAPIDefinition {
  3267  	return common.OpenAPIDefinition{
  3268  		Schema: spec.Schema{
  3269  			SchemaProps: spec.SchemaProps{
  3270  				Description: "Periodics is a list of jobs to be run periodically",
  3271  				Type:        []string{"object"},
  3272  				Properties: map[string]spec.Schema{
  3273  					"entries": {
  3274  						SchemaProps: spec.SchemaProps{
  3275  							Description: "Items are the post submit configurations",
  3276  							Type:        []string{"array"},
  3277  							Items: &spec.SchemaOrArray{
  3278  								Schema: &spec.Schema{
  3279  									SchemaProps: spec.SchemaProps{
  3280  										Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.Periodic"),
  3281  									},
  3282  								},
  3283  							},
  3284  						},
  3285  					},
  3286  					"replace": {
  3287  						SchemaProps: spec.SchemaProps{
  3288  							Description: "Replace the existing entries",
  3289  							Type:        []string{"boolean"},
  3290  							Format:      "",
  3291  						},
  3292  					},
  3293  				},
  3294  			},
  3295  		},
  3296  		Dependencies: []string{
  3297  			"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.Periodic"},
  3298  	}
  3299  }
  3300  
  3301  func schema_pkg_apis_jenkinsio_v1_PipelineActivity(ref common.ReferenceCallback) common.OpenAPIDefinition {
  3302  	return common.OpenAPIDefinition{
  3303  		Schema: spec.Schema{
  3304  			SchemaProps: spec.SchemaProps{
  3305  				Description: "PipelineActivity represents pipeline activity for a particular run of a pipeline",
  3306  				Type:        []string{"object"},
  3307  				Properties: map[string]spec.Schema{
  3308  					"kind": {
  3309  						SchemaProps: spec.SchemaProps{
  3310  							Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
  3311  							Type:        []string{"string"},
  3312  							Format:      "",
  3313  						},
  3314  					},
  3315  					"apiVersion": {
  3316  						SchemaProps: spec.SchemaProps{
  3317  							Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
  3318  							Type:        []string{"string"},
  3319  							Format:      "",
  3320  						},
  3321  					},
  3322  					"metadata": {
  3323  						SchemaProps: spec.SchemaProps{
  3324  							Description: "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata",
  3325  							Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
  3326  						},
  3327  					},
  3328  					"spec": {
  3329  						SchemaProps: spec.SchemaProps{
  3330  							Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.PipelineActivitySpec"),
  3331  						},
  3332  					},
  3333  					"status": {
  3334  						SchemaProps: spec.SchemaProps{
  3335  							Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.PipelineActivityStatus"),
  3336  						},
  3337  					},
  3338  				},
  3339  			},
  3340  		},
  3341  		Dependencies: []string{
  3342  			"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.PipelineActivitySpec", "github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.PipelineActivityStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
  3343  	}
  3344  }
  3345  
  3346  func schema_pkg_apis_jenkinsio_v1_PipelineActivityList(ref common.ReferenceCallback) common.OpenAPIDefinition {
  3347  	return common.OpenAPIDefinition{
  3348  		Schema: spec.Schema{
  3349  			SchemaProps: spec.SchemaProps{
  3350  				Description: "PipelineActivityList is a list of PipelineActivity resources",
  3351  				Type:        []string{"object"},
  3352  				Properties: map[string]spec.Schema{
  3353  					"kind": {
  3354  						SchemaProps: spec.SchemaProps{
  3355  							Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
  3356  							Type:        []string{"string"},
  3357  							Format:      "",
  3358  						},
  3359  					},
  3360  					"apiVersion": {
  3361  						SchemaProps: spec.SchemaProps{
  3362  							Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
  3363  							Type:        []string{"string"},
  3364  							Format:      "",
  3365  						},
  3366  					},
  3367  					"metadata": {
  3368  						SchemaProps: spec.SchemaProps{
  3369  							Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
  3370  						},
  3371  					},
  3372  					"items": {
  3373  						SchemaProps: spec.SchemaProps{
  3374  							Type: []string{"array"},
  3375  							Items: &spec.SchemaOrArray{
  3376  								Schema: &spec.Schema{
  3377  									SchemaProps: spec.SchemaProps{
  3378  										Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.PipelineActivity"),
  3379  									},
  3380  								},
  3381  							},
  3382  						},
  3383  					},
  3384  				},
  3385  				Required: []string{"metadata", "items"},
  3386  			},
  3387  		},
  3388  		Dependencies: []string{
  3389  			"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.PipelineActivity", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
  3390  	}
  3391  }
  3392  
  3393  func schema_pkg_apis_jenkinsio_v1_PipelineActivitySpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
  3394  	return common.OpenAPIDefinition{
  3395  		Schema: spec.Schema{
  3396  			SchemaProps: spec.SchemaProps{
  3397  				Description: "PipelineActivitySpec is the specification of the pipeline activity",
  3398  				Type:        []string{"object"},
  3399  				Properties: map[string]spec.Schema{
  3400  					"pipeline": {
  3401  						SchemaProps: spec.SchemaProps{
  3402  							Type:   []string{"string"},
  3403  							Format: "",
  3404  						},
  3405  					},
  3406  					"build": {
  3407  						SchemaProps: spec.SchemaProps{
  3408  							Type:   []string{"string"},
  3409  							Format: "",
  3410  						},
  3411  					},
  3412  					"version": {
  3413  						SchemaProps: spec.SchemaProps{
  3414  							Type:   []string{"string"},
  3415  							Format: "",
  3416  						},
  3417  					},
  3418  					"status": {
  3419  						SchemaProps: spec.SchemaProps{
  3420  							Type:   []string{"string"},
  3421  							Format: "",
  3422  						},
  3423  					},
  3424  					"startedTimestamp": {
  3425  						SchemaProps: spec.SchemaProps{
  3426  							Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
  3427  						},
  3428  					},
  3429  					"completedTimestamp": {
  3430  						SchemaProps: spec.SchemaProps{
  3431  							Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
  3432  						},
  3433  					},
  3434  					"steps": {
  3435  						SchemaProps: spec.SchemaProps{
  3436  							Type: []string{"array"},
  3437  							Items: &spec.SchemaOrArray{
  3438  								Schema: &spec.Schema{
  3439  									SchemaProps: spec.SchemaProps{
  3440  										Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.PipelineActivityStep"),
  3441  									},
  3442  								},
  3443  							},
  3444  						},
  3445  					},
  3446  					"buildUrl": {
  3447  						SchemaProps: spec.SchemaProps{
  3448  							Type:   []string{"string"},
  3449  							Format: "",
  3450  						},
  3451  					},
  3452  					"buildLogsUrl": {
  3453  						SchemaProps: spec.SchemaProps{
  3454  							Type:   []string{"string"},
  3455  							Format: "",
  3456  						},
  3457  					},
  3458  					"gitUrl": {
  3459  						SchemaProps: spec.SchemaProps{
  3460  							Type:   []string{"string"},
  3461  							Format: "",
  3462  						},
  3463  					},
  3464  					"gitRepository": {
  3465  						SchemaProps: spec.SchemaProps{
  3466  							Type:   []string{"string"},
  3467  							Format: "",
  3468  						},
  3469  					},
  3470  					"gitOwner": {
  3471  						SchemaProps: spec.SchemaProps{
  3472  							Type:   []string{"string"},
  3473  							Format: "",
  3474  						},
  3475  					},
  3476  					"gitBranch": {
  3477  						SchemaProps: spec.SchemaProps{
  3478  							Type:   []string{"string"},
  3479  							Format: "",
  3480  						},
  3481  					},
  3482  					"author": {
  3483  						SchemaProps: spec.SchemaProps{
  3484  							Type:   []string{"string"},
  3485  							Format: "",
  3486  						},
  3487  					},
  3488  					"authorAvatarURL": {
  3489  						SchemaProps: spec.SchemaProps{
  3490  							Type:   []string{"string"},
  3491  							Format: "",
  3492  						},
  3493  					},
  3494  					"authorURL": {
  3495  						SchemaProps: spec.SchemaProps{
  3496  							Type:   []string{"string"},
  3497  							Format: "",
  3498  						},
  3499  					},
  3500  					"pullTitle": {
  3501  						SchemaProps: spec.SchemaProps{
  3502  							Type:   []string{"string"},
  3503  							Format: "",
  3504  						},
  3505  					},
  3506  					"releaseNotesURL": {
  3507  						SchemaProps: spec.SchemaProps{
  3508  							Type:   []string{"string"},
  3509  							Format: "",
  3510  						},
  3511  					},
  3512  					"lastCommitSHA": {
  3513  						SchemaProps: spec.SchemaProps{
  3514  							Type:   []string{"string"},
  3515  							Format: "",
  3516  						},
  3517  					},
  3518  					"lastCommitMessage": {
  3519  						SchemaProps: spec.SchemaProps{
  3520  							Type:   []string{"string"},
  3521  							Format: "",
  3522  						},
  3523  					},
  3524  					"lastCommitURL": {
  3525  						SchemaProps: spec.SchemaProps{
  3526  							Type:   []string{"string"},
  3527  							Format: "",
  3528  						},
  3529  					},
  3530  					"workflow": {
  3531  						SchemaProps: spec.SchemaProps{
  3532  							Description: "Deprecated - Workflow functionality was removed and is obsolete Keeping these fields to ensure backwards compatibility Should be removed when we increment spec version",
  3533  							Type:        []string{"string"},
  3534  							Format:      "",
  3535  						},
  3536  					},
  3537  					"workflowStatus": {
  3538  						SchemaProps: spec.SchemaProps{
  3539  							Type:   []string{"string"},
  3540  							Format: "",
  3541  						},
  3542  					},
  3543  					"workflowMessage": {
  3544  						SchemaProps: spec.SchemaProps{
  3545  							Type:   []string{"string"},
  3546  							Format: "",
  3547  						},
  3548  					},
  3549  					"postExtensions": {
  3550  						SchemaProps: spec.SchemaProps{
  3551  							Type: []string{"array"},
  3552  							Items: &spec.SchemaOrArray{
  3553  								Schema: &spec.Schema{
  3554  									SchemaProps: spec.SchemaProps{
  3555  										Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ExtensionExecution"),
  3556  									},
  3557  								},
  3558  							},
  3559  						},
  3560  					},
  3561  					"attachments": {
  3562  						SchemaProps: spec.SchemaProps{
  3563  							Type: []string{"array"},
  3564  							Items: &spec.SchemaOrArray{
  3565  								Schema: &spec.Schema{
  3566  									SchemaProps: spec.SchemaProps{
  3567  										Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.Attachment"),
  3568  									},
  3569  								},
  3570  							},
  3571  						},
  3572  					},
  3573  					"batchPipelineActivity": {
  3574  						SchemaProps: spec.SchemaProps{
  3575  							Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.BatchPipelineActivity"),
  3576  						},
  3577  					},
  3578  					"context": {
  3579  						SchemaProps: spec.SchemaProps{
  3580  							Type:   []string{"string"},
  3581  							Format: "",
  3582  						},
  3583  					},
  3584  					"baseSHA": {
  3585  						SchemaProps: spec.SchemaProps{
  3586  							Type:   []string{"string"},
  3587  							Format: "",
  3588  						},
  3589  					},
  3590  				},
  3591  			},
  3592  		},
  3593  		Dependencies: []string{
  3594  			"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.Attachment", "github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.BatchPipelineActivity", "github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ExtensionExecution", "github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.PipelineActivityStep", "k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
  3595  	}
  3596  }
  3597  
  3598  func schema_pkg_apis_jenkinsio_v1_PipelineActivityStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
  3599  	return common.OpenAPIDefinition{
  3600  		Schema: spec.Schema{
  3601  			SchemaProps: spec.SchemaProps{
  3602  				Description: "PipelineActivityStatus is the status for an Environment resource",
  3603  				Type:        []string{"object"},
  3604  				Properties: map[string]spec.Schema{
  3605  					"version": {
  3606  						SchemaProps: spec.SchemaProps{
  3607  							Type:   []string{"string"},
  3608  							Format: "",
  3609  						},
  3610  					},
  3611  				},
  3612  			},
  3613  		},
  3614  		Dependencies: []string{},
  3615  	}
  3616  }
  3617  
  3618  func schema_pkg_apis_jenkinsio_v1_PipelineActivityStep(ref common.ReferenceCallback) common.OpenAPIDefinition {
  3619  	return common.OpenAPIDefinition{
  3620  		Schema: spec.Schema{
  3621  			SchemaProps: spec.SchemaProps{
  3622  				Description: "PipelineActivityStep represents a step in a pipeline activity",
  3623  				Type:        []string{"object"},
  3624  				Properties: map[string]spec.Schema{
  3625  					"kind": {
  3626  						SchemaProps: spec.SchemaProps{
  3627  							Type:   []string{"string"},
  3628  							Format: "",
  3629  						},
  3630  					},
  3631  					"stage": {
  3632  						SchemaProps: spec.SchemaProps{
  3633  							Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.StageActivityStep"),
  3634  						},
  3635  					},
  3636  					"promote": {
  3637  						SchemaProps: spec.SchemaProps{
  3638  							Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.PromoteActivityStep"),
  3639  						},
  3640  					},
  3641  					"preview": {
  3642  						SchemaProps: spec.SchemaProps{
  3643  							Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.PreviewActivityStep"),
  3644  						},
  3645  					},
  3646  				},
  3647  			},
  3648  		},
  3649  		Dependencies: []string{
  3650  			"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.PreviewActivityStep", "github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.PromoteActivityStep", "github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.StageActivityStep"},
  3651  	}
  3652  }
  3653  
  3654  func schema_pkg_apis_jenkinsio_v1_PipelineExtension(ref common.ReferenceCallback) common.OpenAPIDefinition {
  3655  	return common.OpenAPIDefinition{
  3656  		Schema: spec.Schema{
  3657  			SchemaProps: spec.SchemaProps{
  3658  				Description: "PipelineExtension defines the image and command of an app which wants to modify/extend the pipeline",
  3659  				Type:        []string{"object"},
  3660  				Properties: map[string]spec.Schema{
  3661  					"name": {
  3662  						SchemaProps: spec.SchemaProps{
  3663  							Description: "Name of the container specified as a DNS_LABEL.",
  3664  							Type:        []string{"string"},
  3665  							Format:      "",
  3666  						},
  3667  					},
  3668  					"image": {
  3669  						SchemaProps: spec.SchemaProps{
  3670  							Description: "Docker image name.",
  3671  							Type:        []string{"string"},
  3672  							Format:      "",
  3673  						},
  3674  					},
  3675  					"command": {
  3676  						SchemaProps: spec.SchemaProps{
  3677  							Description: "Entrypoint array. Not executed within a shell.",
  3678  							Type:        []string{"string"},
  3679  							Format:      "",
  3680  						},
  3681  					},
  3682  					"args": {
  3683  						SchemaProps: spec.SchemaProps{
  3684  							Description: "Arguments to the entrypoint.",
  3685  							Type:        []string{"array"},
  3686  							Items: &spec.SchemaOrArray{
  3687  								Schema: &spec.Schema{
  3688  									SchemaProps: spec.SchemaProps{
  3689  										Type:   []string{"string"},
  3690  										Format: "",
  3691  									},
  3692  								},
  3693  							},
  3694  						},
  3695  					},
  3696  				},
  3697  				Required: []string{"name"},
  3698  			},
  3699  		},
  3700  		Dependencies: []string{},
  3701  	}
  3702  }
  3703  
  3704  func schema_pkg_apis_jenkinsio_v1_PipelineStructure(ref common.ReferenceCallback) common.OpenAPIDefinition {
  3705  	return common.OpenAPIDefinition{
  3706  		Schema: spec.Schema{
  3707  			SchemaProps: spec.SchemaProps{
  3708  				Description: "PipelineStructure contains references to the Pipeline and PipelineRun, and a list of PipelineStructureStages in the pipeline. This allows us to map between a running Pod to its TaskRun, to the TaskRun's Task and PipelineRun, and finally from there to the stage and potential parent stages that the Pod is actually executing, for use with populating PipelineActivity and providing logs.",
  3709  				Type:        []string{"object"},
  3710  				Properties: map[string]spec.Schema{
  3711  					"kind": {
  3712  						SchemaProps: spec.SchemaProps{
  3713  							Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
  3714  							Type:        []string{"string"},
  3715  							Format:      "",
  3716  						},
  3717  					},
  3718  					"apiVersion": {
  3719  						SchemaProps: spec.SchemaProps{
  3720  							Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
  3721  							Type:        []string{"string"},
  3722  							Format:      "",
  3723  						},
  3724  					},
  3725  					"metadata": {
  3726  						SchemaProps: spec.SchemaProps{
  3727  							Description: "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata",
  3728  							Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
  3729  						},
  3730  					},
  3731  					"pipelineRef": {
  3732  						SchemaProps: spec.SchemaProps{
  3733  							Type:   []string{"string"},
  3734  							Format: "",
  3735  						},
  3736  					},
  3737  					"pipelineRunRef": {
  3738  						SchemaProps: spec.SchemaProps{
  3739  							Type:   []string{"string"},
  3740  							Format: "",
  3741  						},
  3742  					},
  3743  					"stages": {
  3744  						SchemaProps: spec.SchemaProps{
  3745  							Type: []string{"array"},
  3746  							Items: &spec.SchemaOrArray{
  3747  								Schema: &spec.Schema{
  3748  									SchemaProps: spec.SchemaProps{
  3749  										Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.PipelineStructureStage"),
  3750  									},
  3751  								},
  3752  							},
  3753  						},
  3754  					},
  3755  				},
  3756  				Required: []string{"pipelineRef", "pipelineRunRef"},
  3757  			},
  3758  		},
  3759  		Dependencies: []string{
  3760  			"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.PipelineStructureStage", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
  3761  	}
  3762  }
  3763  
  3764  func schema_pkg_apis_jenkinsio_v1_PipelineStructureList(ref common.ReferenceCallback) common.OpenAPIDefinition {
  3765  	return common.OpenAPIDefinition{
  3766  		Schema: spec.Schema{
  3767  			SchemaProps: spec.SchemaProps{
  3768  				Description: "PipelineStructureList is a list of PipelineStructureList resources",
  3769  				Type:        []string{"object"},
  3770  				Properties: map[string]spec.Schema{
  3771  					"kind": {
  3772  						SchemaProps: spec.SchemaProps{
  3773  							Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
  3774  							Type:        []string{"string"},
  3775  							Format:      "",
  3776  						},
  3777  					},
  3778  					"apiVersion": {
  3779  						SchemaProps: spec.SchemaProps{
  3780  							Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
  3781  							Type:        []string{"string"},
  3782  							Format:      "",
  3783  						},
  3784  					},
  3785  					"metadata": {
  3786  						SchemaProps: spec.SchemaProps{
  3787  							Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
  3788  						},
  3789  					},
  3790  					"items": {
  3791  						SchemaProps: spec.SchemaProps{
  3792  							Type: []string{"array"},
  3793  							Items: &spec.SchemaOrArray{
  3794  								Schema: &spec.Schema{
  3795  									SchemaProps: spec.SchemaProps{
  3796  										Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.PipelineStructure"),
  3797  									},
  3798  								},
  3799  							},
  3800  						},
  3801  					},
  3802  				},
  3803  				Required: []string{"metadata", "items"},
  3804  			},
  3805  		},
  3806  		Dependencies: []string{
  3807  			"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.PipelineStructure", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
  3808  	}
  3809  }
  3810  
  3811  func schema_pkg_apis_jenkinsio_v1_PipelineStructureStage(ref common.ReferenceCallback) common.OpenAPIDefinition {
  3812  	return common.OpenAPIDefinition{
  3813  		Schema: spec.Schema{
  3814  			SchemaProps: spec.SchemaProps{
  3815  				Description: "PipelineStructureStage contains the stage's name, one of either a reference to the Task corresponding to the stage if it has steps, a list of sequential stage names nested within this stage, or a list of parallel stage names nested within this stage, and information on this stage's depth within the PipelineStructure as a whole, the name of its parent stage, if any, the name of the stage before it in execution order, if any, and the name of the stage after it in execution order, if any.",
  3816  				Type:        []string{"object"},
  3817  				Properties: map[string]spec.Schema{
  3818  					"name": {
  3819  						SchemaProps: spec.SchemaProps{
  3820  							Type:   []string{"string"},
  3821  							Format: "",
  3822  						},
  3823  					},
  3824  					"taskRef": {
  3825  						SchemaProps: spec.SchemaProps{
  3826  							Description: "Must have one of TaskRef+TaskRunRef, Stages, or Parallel",
  3827  							Type:        []string{"string"},
  3828  							Format:      "",
  3829  						},
  3830  					},
  3831  					"taskRunRef": {
  3832  						SchemaProps: spec.SchemaProps{
  3833  							Description: "Populated during pod discovery, not at initial creation time.",
  3834  							Type:        []string{"string"},
  3835  							Format:      "",
  3836  						},
  3837  					},
  3838  					"stages": {
  3839  						SchemaProps: spec.SchemaProps{
  3840  							Type: []string{"array"},
  3841  							Items: &spec.SchemaOrArray{
  3842  								Schema: &spec.Schema{
  3843  									SchemaProps: spec.SchemaProps{
  3844  										Type:   []string{"string"},
  3845  										Format: "",
  3846  									},
  3847  								},
  3848  							},
  3849  						},
  3850  					},
  3851  					"parallel": {
  3852  						SchemaProps: spec.SchemaProps{
  3853  							Type: []string{"array"},
  3854  							Items: &spec.SchemaOrArray{
  3855  								Schema: &spec.Schema{
  3856  									SchemaProps: spec.SchemaProps{
  3857  										Type:   []string{"string"},
  3858  										Format: "",
  3859  									},
  3860  								},
  3861  							},
  3862  						},
  3863  					},
  3864  					"depth": {
  3865  						SchemaProps: spec.SchemaProps{
  3866  							Type:   []string{"integer"},
  3867  							Format: "byte",
  3868  						},
  3869  					},
  3870  					"parent": {
  3871  						SchemaProps: spec.SchemaProps{
  3872  							Type:   []string{"string"},
  3873  							Format: "",
  3874  						},
  3875  					},
  3876  					"previous": {
  3877  						SchemaProps: spec.SchemaProps{
  3878  							Type:   []string{"string"},
  3879  							Format: "",
  3880  						},
  3881  					},
  3882  					"next": {
  3883  						SchemaProps: spec.SchemaProps{
  3884  							Type:   []string{"string"},
  3885  							Format: "",
  3886  						},
  3887  					},
  3888  				},
  3889  				Required: []string{"name", "depth"},
  3890  			},
  3891  		},
  3892  		Dependencies: []string{},
  3893  	}
  3894  }
  3895  
  3896  func schema_pkg_apis_jenkinsio_v1_Plugin(ref common.ReferenceCallback) common.OpenAPIDefinition {
  3897  	return common.OpenAPIDefinition{
  3898  		Schema: spec.Schema{
  3899  			SchemaProps: spec.SchemaProps{
  3900  				Description: "Plugin represents a binary plugin installed into this Jenkins X team",
  3901  				Type:        []string{"object"},
  3902  				Properties: map[string]spec.Schema{
  3903  					"kind": {
  3904  						SchemaProps: spec.SchemaProps{
  3905  							Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
  3906  							Type:        []string{"string"},
  3907  							Format:      "",
  3908  						},
  3909  					},
  3910  					"apiVersion": {
  3911  						SchemaProps: spec.SchemaProps{
  3912  							Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
  3913  							Type:        []string{"string"},
  3914  							Format:      "",
  3915  						},
  3916  					},
  3917  					"metadata": {
  3918  						SchemaProps: spec.SchemaProps{
  3919  							Description: "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata",
  3920  							Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
  3921  						},
  3922  					},
  3923  					"spec": {
  3924  						SchemaProps: spec.SchemaProps{
  3925  							Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.PluginSpec"),
  3926  						},
  3927  					},
  3928  				},
  3929  			},
  3930  		},
  3931  		Dependencies: []string{
  3932  			"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.PluginSpec", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
  3933  	}
  3934  }
  3935  
  3936  func schema_pkg_apis_jenkinsio_v1_PluginList(ref common.ReferenceCallback) common.OpenAPIDefinition {
  3937  	return common.OpenAPIDefinition{
  3938  		Schema: spec.Schema{
  3939  			SchemaProps: spec.SchemaProps{
  3940  				Description: "PluginList is a list of Plugins available for a team",
  3941  				Type:        []string{"object"},
  3942  				Properties: map[string]spec.Schema{
  3943  					"kind": {
  3944  						SchemaProps: spec.SchemaProps{
  3945  							Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
  3946  							Type:        []string{"string"},
  3947  							Format:      "",
  3948  						},
  3949  					},
  3950  					"apiVersion": {
  3951  						SchemaProps: spec.SchemaProps{
  3952  							Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
  3953  							Type:        []string{"string"},
  3954  							Format:      "",
  3955  						},
  3956  					},
  3957  					"metadata": {
  3958  						SchemaProps: spec.SchemaProps{
  3959  							Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
  3960  						},
  3961  					},
  3962  					"items": {
  3963  						SchemaProps: spec.SchemaProps{
  3964  							Type: []string{"array"},
  3965  							Items: &spec.SchemaOrArray{
  3966  								Schema: &spec.Schema{
  3967  									SchemaProps: spec.SchemaProps{
  3968  										Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.Plugin"),
  3969  									},
  3970  								},
  3971  							},
  3972  						},
  3973  					},
  3974  				},
  3975  				Required: []string{"metadata", "items"},
  3976  			},
  3977  		},
  3978  		Dependencies: []string{
  3979  			"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.Plugin", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
  3980  	}
  3981  }
  3982  
  3983  func schema_pkg_apis_jenkinsio_v1_PluginSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
  3984  	return common.OpenAPIDefinition{
  3985  		Schema: spec.Schema{
  3986  			SchemaProps: spec.SchemaProps{
  3987  				Description: "PluginSpec provides details of a binary plugin available for a team",
  3988  				Type:        []string{"object"},
  3989  				Properties: map[string]spec.Schema{
  3990  					"subCommand": {
  3991  						SchemaProps: spec.SchemaProps{
  3992  							Type:   []string{"string"},
  3993  							Format: "",
  3994  						},
  3995  					},
  3996  					"group": {
  3997  						SchemaProps: spec.SchemaProps{
  3998  							Type:   []string{"string"},
  3999  							Format: "",
  4000  						},
  4001  					},
  4002  					"binaries": {
  4003  						SchemaProps: spec.SchemaProps{
  4004  							Type: []string{"array"},
  4005  							Items: &spec.SchemaOrArray{
  4006  								Schema: &spec.Schema{
  4007  									SchemaProps: spec.SchemaProps{
  4008  										Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.Binary"),
  4009  									},
  4010  								},
  4011  							},
  4012  						},
  4013  					},
  4014  					"description": {
  4015  						SchemaProps: spec.SchemaProps{
  4016  							Type:   []string{"string"},
  4017  							Format: "",
  4018  						},
  4019  					},
  4020  					"name": {
  4021  						SchemaProps: spec.SchemaProps{
  4022  							Type:   []string{"string"},
  4023  							Format: "",
  4024  						},
  4025  					},
  4026  					"version": {
  4027  						SchemaProps: spec.SchemaProps{
  4028  							Type:   []string{"string"},
  4029  							Format: "",
  4030  						},
  4031  					},
  4032  				},
  4033  			},
  4034  		},
  4035  		Dependencies: []string{
  4036  			"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.Binary"},
  4037  	}
  4038  }
  4039  
  4040  func schema_pkg_apis_jenkinsio_v1_Postsubmit(ref common.ReferenceCallback) common.OpenAPIDefinition {
  4041  	return common.OpenAPIDefinition{
  4042  		Schema: spec.Schema{
  4043  			SchemaProps: spec.SchemaProps{
  4044  				Description: "Postsubmit runs on push events.",
  4045  				Type:        []string{"object"},
  4046  				Properties: map[string]spec.Schema{
  4047  					"JobBase": {
  4048  						SchemaProps: spec.SchemaProps{
  4049  							Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.JobBase"),
  4050  						},
  4051  					},
  4052  					"RegexpChangeMatcher": {
  4053  						SchemaProps: spec.SchemaProps{
  4054  							Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.RegexpChangeMatcher"),
  4055  						},
  4056  					},
  4057  					"Brancher": {
  4058  						SchemaProps: spec.SchemaProps{
  4059  							Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.Brancher"),
  4060  						},
  4061  					},
  4062  					"context": {
  4063  						SchemaProps: spec.SchemaProps{
  4064  							Description: "Context is the name of the GitHub status context for the job.",
  4065  							Type:        []string{"string"},
  4066  							Format:      "",
  4067  						},
  4068  					},
  4069  					"report": {
  4070  						SchemaProps: spec.SchemaProps{
  4071  							Description: "Report will comment and set status on GitHub.",
  4072  							Type:        []string{"boolean"},
  4073  							Format:      "",
  4074  						},
  4075  					},
  4076  				},
  4077  				Required: []string{"context"},
  4078  			},
  4079  		},
  4080  		Dependencies: []string{
  4081  			"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.Brancher", "github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.JobBase", "github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.RegexpChangeMatcher"},
  4082  	}
  4083  }
  4084  
  4085  func schema_pkg_apis_jenkinsio_v1_Postsubmits(ref common.ReferenceCallback) common.OpenAPIDefinition {
  4086  	return common.OpenAPIDefinition{
  4087  		Schema: spec.Schema{
  4088  			SchemaProps: spec.SchemaProps{
  4089  				Description: "Postsubmits is a list of Postsubmit job configurations that can optionally completely replace the Postsubmit job configurations in the parent scheduler",
  4090  				Type:        []string{"object"},
  4091  				Properties: map[string]spec.Schema{
  4092  					"entries": {
  4093  						SchemaProps: spec.SchemaProps{
  4094  							Description: "Items are the post submit configurations",
  4095  							Type:        []string{"array"},
  4096  							Items: &spec.SchemaOrArray{
  4097  								Schema: &spec.Schema{
  4098  									SchemaProps: spec.SchemaProps{
  4099  										Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.Postsubmit"),
  4100  									},
  4101  								},
  4102  							},
  4103  						},
  4104  					},
  4105  					"replace": {
  4106  						SchemaProps: spec.SchemaProps{
  4107  							Description: "Replace the existing entries",
  4108  							Type:        []string{"boolean"},
  4109  							Format:      "",
  4110  						},
  4111  					},
  4112  				},
  4113  			},
  4114  		},
  4115  		Dependencies: []string{
  4116  			"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.Postsubmit"},
  4117  	}
  4118  }
  4119  
  4120  func schema_pkg_apis_jenkinsio_v1_Presubmit(ref common.ReferenceCallback) common.OpenAPIDefinition {
  4121  	return common.OpenAPIDefinition{
  4122  		Schema: spec.Schema{
  4123  			SchemaProps: spec.SchemaProps{
  4124  				Description: "Presubmit defines a job configuration for pull requests",
  4125  				Type:        []string{"object"},
  4126  				Properties: map[string]spec.Schema{
  4127  					"JobBase": {
  4128  						SchemaProps: spec.SchemaProps{
  4129  							Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.JobBase"),
  4130  						},
  4131  					},
  4132  					"Brancher": {
  4133  						SchemaProps: spec.SchemaProps{
  4134  							Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.Brancher"),
  4135  						},
  4136  					},
  4137  					"RegexpChangeMatcher": {
  4138  						SchemaProps: spec.SchemaProps{
  4139  							Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.RegexpChangeMatcher"),
  4140  						},
  4141  					},
  4142  					"alwaysRun": {
  4143  						SchemaProps: spec.SchemaProps{
  4144  							Description: "AlwaysRun automatically for every PR, or only when a comment triggers it. By default true.",
  4145  							Type:        []string{"boolean"},
  4146  							Format:      "",
  4147  						},
  4148  					},
  4149  					"context": {
  4150  						SchemaProps: spec.SchemaProps{
  4151  							Description: "Context is the name of the Git Provider status context for the job.",
  4152  							Type:        []string{"string"},
  4153  							Format:      "",
  4154  						},
  4155  					},
  4156  					"optional": {
  4157  						SchemaProps: spec.SchemaProps{
  4158  							Description: "Optional indicates that the job's status context should not be required for merge. By default false.",
  4159  							Type:        []string{"boolean"},
  4160  							Format:      "",
  4161  						},
  4162  					},
  4163  					"report": {
  4164  						SchemaProps: spec.SchemaProps{
  4165  							Description: "Report enables reporting the job status on the git provider",
  4166  							Type:        []string{"boolean"},
  4167  							Format:      "",
  4168  						},
  4169  					},
  4170  					"trigger": {
  4171  						SchemaProps: spec.SchemaProps{
  4172  							Description: "Trigger is the regular expression to trigger the job. e.g. `@k8s-bot e2e test this` RerunCommand must also be specified if this field is specified. (Default: `(?m)^/test (?:.*? )?<job name>(?: .*?)?$`)",
  4173  							Type:        []string{"string"},
  4174  							Format:      "",
  4175  						},
  4176  					},
  4177  					"rerunCommand": {
  4178  						SchemaProps: spec.SchemaProps{
  4179  							Description: "The RerunCommand to give users. Must match Trigger. Trigger must also be specified if this field is specified. (Default: `/test <job name>`)",
  4180  							Type:        []string{"string"},
  4181  							Format:      "",
  4182  						},
  4183  					},
  4184  					"mergeMethod": {
  4185  						SchemaProps: spec.SchemaProps{
  4186  							Description: "Override the default method of merge. Valid options are squash, rebase, and merge.",
  4187  							Type:        []string{"string"},
  4188  							Format:      "",
  4189  						},
  4190  					},
  4191  					"queries": {
  4192  						SchemaProps: spec.SchemaProps{
  4193  							Type: []string{"array"},
  4194  							Items: &spec.SchemaOrArray{
  4195  								Schema: &spec.Schema{
  4196  									SchemaProps: spec.SchemaProps{
  4197  										Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.Query"),
  4198  									},
  4199  								},
  4200  							},
  4201  						},
  4202  					},
  4203  					"policy": {
  4204  						SchemaProps: spec.SchemaProps{
  4205  							Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ProtectionPolicies"),
  4206  						},
  4207  					},
  4208  					"context_options": {
  4209  						SchemaProps: spec.SchemaProps{
  4210  							Description: "ContextOptions defines the merge options. If not set it will infer the required and optional contexts from the jobs configured and use the Git Provider combined status; otherwise it may apply the branch protection setting or let user define their own options in case branch protection is not used.",
  4211  							Ref:         ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.RepoContextPolicy"),
  4212  						},
  4213  					},
  4214  				},
  4215  				Required: []string{"alwaysRun", "context", "trigger", "rerunCommand"},
  4216  			},
  4217  		},
  4218  		Dependencies: []string{
  4219  			"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.Brancher", "github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.JobBase", "github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ProtectionPolicies", "github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.Query", "github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.RegexpChangeMatcher", "github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.RepoContextPolicy"},
  4220  	}
  4221  }
  4222  
  4223  func schema_pkg_apis_jenkinsio_v1_Presubmits(ref common.ReferenceCallback) common.OpenAPIDefinition {
  4224  	return common.OpenAPIDefinition{
  4225  		Schema: spec.Schema{
  4226  			SchemaProps: spec.SchemaProps{
  4227  				Description: "Presubmits is a list of Presubmit job configurations that can optionally completely replace the Presubmit job configurations in the parent scheduler",
  4228  				Type:        []string{"object"},
  4229  				Properties: map[string]spec.Schema{
  4230  					"entries": {
  4231  						SchemaProps: spec.SchemaProps{
  4232  							Description: "Items are the Presubmit configurtations",
  4233  							Type:        []string{"array"},
  4234  							Items: &spec.SchemaOrArray{
  4235  								Schema: &spec.Schema{
  4236  									SchemaProps: spec.SchemaProps{
  4237  										Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.Presubmit"),
  4238  									},
  4239  								},
  4240  							},
  4241  						},
  4242  					},
  4243  					"replace": {
  4244  						SchemaProps: spec.SchemaProps{
  4245  							Description: "Replace the existing entries",
  4246  							Type:        []string{"boolean"},
  4247  							Format:      "",
  4248  						},
  4249  					},
  4250  				},
  4251  			},
  4252  		},
  4253  		Dependencies: []string{
  4254  			"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.Presubmit"},
  4255  	}
  4256  }
  4257  
  4258  func schema_pkg_apis_jenkinsio_v1_PreviewActivityStep(ref common.ReferenceCallback) common.OpenAPIDefinition {
  4259  	return common.OpenAPIDefinition{
  4260  		Schema: spec.Schema{
  4261  			SchemaProps: spec.SchemaProps{
  4262  				Description: "PreviewActivityStep is the step of creating a preview environment as part of a Pull Request pipeline",
  4263  				Type:        []string{"object"},
  4264  				Properties: map[string]spec.Schema{
  4265  					"name": {
  4266  						SchemaProps: spec.SchemaProps{
  4267  							Type:   []string{"string"},
  4268  							Format: "",
  4269  						},
  4270  					},
  4271  					"description": {
  4272  						SchemaProps: spec.SchemaProps{
  4273  							Type:   []string{"string"},
  4274  							Format: "",
  4275  						},
  4276  					},
  4277  					"status": {
  4278  						SchemaProps: spec.SchemaProps{
  4279  							Type:   []string{"string"},
  4280  							Format: "",
  4281  						},
  4282  					},
  4283  					"startedTimestamp": {
  4284  						SchemaProps: spec.SchemaProps{
  4285  							Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
  4286  						},
  4287  					},
  4288  					"completedTimestamp": {
  4289  						SchemaProps: spec.SchemaProps{
  4290  							Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
  4291  						},
  4292  					},
  4293  					"environment": {
  4294  						SchemaProps: spec.SchemaProps{
  4295  							Type:   []string{"string"},
  4296  							Format: "",
  4297  						},
  4298  					},
  4299  					"pullRequestURL": {
  4300  						SchemaProps: spec.SchemaProps{
  4301  							Type:   []string{"string"},
  4302  							Format: "",
  4303  						},
  4304  					},
  4305  					"applicationURL": {
  4306  						SchemaProps: spec.SchemaProps{
  4307  							Type:   []string{"string"},
  4308  							Format: "",
  4309  						},
  4310  					},
  4311  				},
  4312  			},
  4313  		},
  4314  		Dependencies: []string{
  4315  			"k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
  4316  	}
  4317  }
  4318  
  4319  func schema_pkg_apis_jenkinsio_v1_PreviewGitSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
  4320  	return common.OpenAPIDefinition{
  4321  		Schema: spec.Schema{
  4322  			SchemaProps: spec.SchemaProps{
  4323  				Description: "PreviewGitSpec is the preview git branch/pull request details",
  4324  				Type:        []string{"object"},
  4325  				Properties: map[string]spec.Schema{
  4326  					"name": {
  4327  						SchemaProps: spec.SchemaProps{
  4328  							Type:   []string{"string"},
  4329  							Format: "",
  4330  						},
  4331  					},
  4332  					"url": {
  4333  						SchemaProps: spec.SchemaProps{
  4334  							Type:   []string{"string"},
  4335  							Format: "",
  4336  						},
  4337  					},
  4338  					"user": {
  4339  						SchemaProps: spec.SchemaProps{
  4340  							Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.UserSpec"),
  4341  						},
  4342  					},
  4343  					"title": {
  4344  						SchemaProps: spec.SchemaProps{
  4345  							Type:   []string{"string"},
  4346  							Format: "",
  4347  						},
  4348  					},
  4349  					"description": {
  4350  						SchemaProps: spec.SchemaProps{
  4351  							Type:   []string{"string"},
  4352  							Format: "",
  4353  						},
  4354  					},
  4355  					"buildStatus": {
  4356  						SchemaProps: spec.SchemaProps{
  4357  							Type:   []string{"string"},
  4358  							Format: "",
  4359  						},
  4360  					},
  4361  					"buildStatusUrl": {
  4362  						SchemaProps: spec.SchemaProps{
  4363  							Type:   []string{"string"},
  4364  							Format: "",
  4365  						},
  4366  					},
  4367  					"appName": {
  4368  						SchemaProps: spec.SchemaProps{
  4369  							Type:   []string{"string"},
  4370  							Format: "",
  4371  						},
  4372  					},
  4373  					"applicationURL": {
  4374  						SchemaProps: spec.SchemaProps{
  4375  							Type:   []string{"string"},
  4376  							Format: "",
  4377  						},
  4378  					},
  4379  				},
  4380  			},
  4381  		},
  4382  		Dependencies: []string{
  4383  			"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.UserSpec"},
  4384  	}
  4385  }
  4386  
  4387  func schema_pkg_apis_jenkinsio_v1_PromoteActivityStep(ref common.ReferenceCallback) common.OpenAPIDefinition {
  4388  	return common.OpenAPIDefinition{
  4389  		Schema: spec.Schema{
  4390  			SchemaProps: spec.SchemaProps{
  4391  				Description: "PromoteActivityStep is the step of promoting a version of an application to an environment",
  4392  				Type:        []string{"object"},
  4393  				Properties: map[string]spec.Schema{
  4394  					"name": {
  4395  						SchemaProps: spec.SchemaProps{
  4396  							Type:   []string{"string"},
  4397  							Format: "",
  4398  						},
  4399  					},
  4400  					"description": {
  4401  						SchemaProps: spec.SchemaProps{
  4402  							Type:   []string{"string"},
  4403  							Format: "",
  4404  						},
  4405  					},
  4406  					"status": {
  4407  						SchemaProps: spec.SchemaProps{
  4408  							Type:   []string{"string"},
  4409  							Format: "",
  4410  						},
  4411  					},
  4412  					"startedTimestamp": {
  4413  						SchemaProps: spec.SchemaProps{
  4414  							Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
  4415  						},
  4416  					},
  4417  					"completedTimestamp": {
  4418  						SchemaProps: spec.SchemaProps{
  4419  							Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
  4420  						},
  4421  					},
  4422  					"environment": {
  4423  						SchemaProps: spec.SchemaProps{
  4424  							Type:   []string{"string"},
  4425  							Format: "",
  4426  						},
  4427  					},
  4428  					"pullRequest": {
  4429  						SchemaProps: spec.SchemaProps{
  4430  							Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.PromotePullRequestStep"),
  4431  						},
  4432  					},
  4433  					"update": {
  4434  						SchemaProps: spec.SchemaProps{
  4435  							Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.PromoteUpdateStep"),
  4436  						},
  4437  					},
  4438  					"applicationURL": {
  4439  						SchemaProps: spec.SchemaProps{
  4440  							Type:   []string{"string"},
  4441  							Format: "",
  4442  						},
  4443  					},
  4444  				},
  4445  			},
  4446  		},
  4447  		Dependencies: []string{
  4448  			"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.PromotePullRequestStep", "github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.PromoteUpdateStep", "k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
  4449  	}
  4450  }
  4451  
  4452  func schema_pkg_apis_jenkinsio_v1_PromotePullRequestStep(ref common.ReferenceCallback) common.OpenAPIDefinition {
  4453  	return common.OpenAPIDefinition{
  4454  		Schema: spec.Schema{
  4455  			SchemaProps: spec.SchemaProps{
  4456  				Description: "PromotePullRequestStep is the step for promoting a version to an environment by raising a Pull Request on the git repository of the environment",
  4457  				Type:        []string{"object"},
  4458  				Properties: map[string]spec.Schema{
  4459  					"name": {
  4460  						SchemaProps: spec.SchemaProps{
  4461  							Type:   []string{"string"},
  4462  							Format: "",
  4463  						},
  4464  					},
  4465  					"description": {
  4466  						SchemaProps: spec.SchemaProps{
  4467  							Type:   []string{"string"},
  4468  							Format: "",
  4469  						},
  4470  					},
  4471  					"status": {
  4472  						SchemaProps: spec.SchemaProps{
  4473  							Type:   []string{"string"},
  4474  							Format: "",
  4475  						},
  4476  					},
  4477  					"startedTimestamp": {
  4478  						SchemaProps: spec.SchemaProps{
  4479  							Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
  4480  						},
  4481  					},
  4482  					"completedTimestamp": {
  4483  						SchemaProps: spec.SchemaProps{
  4484  							Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
  4485  						},
  4486  					},
  4487  					"pullRequestURL": {
  4488  						SchemaProps: spec.SchemaProps{
  4489  							Type:   []string{"string"},
  4490  							Format: "",
  4491  						},
  4492  					},
  4493  					"mergeCommitSHA": {
  4494  						SchemaProps: spec.SchemaProps{
  4495  							Type:   []string{"string"},
  4496  							Format: "",
  4497  						},
  4498  					},
  4499  				},
  4500  			},
  4501  		},
  4502  		Dependencies: []string{
  4503  			"k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
  4504  	}
  4505  }
  4506  
  4507  func schema_pkg_apis_jenkinsio_v1_PromoteUpdateStep(ref common.ReferenceCallback) common.OpenAPIDefinition {
  4508  	return common.OpenAPIDefinition{
  4509  		Schema: spec.Schema{
  4510  			SchemaProps: spec.SchemaProps{
  4511  				Description: "PromoteUpdateStep is the step for updating a promotion after the Pull Request merges to master",
  4512  				Type:        []string{"object"},
  4513  				Properties: map[string]spec.Schema{
  4514  					"name": {
  4515  						SchemaProps: spec.SchemaProps{
  4516  							Type:   []string{"string"},
  4517  							Format: "",
  4518  						},
  4519  					},
  4520  					"description": {
  4521  						SchemaProps: spec.SchemaProps{
  4522  							Type:   []string{"string"},
  4523  							Format: "",
  4524  						},
  4525  					},
  4526  					"status": {
  4527  						SchemaProps: spec.SchemaProps{
  4528  							Type:   []string{"string"},
  4529  							Format: "",
  4530  						},
  4531  					},
  4532  					"startedTimestamp": {
  4533  						SchemaProps: spec.SchemaProps{
  4534  							Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
  4535  						},
  4536  					},
  4537  					"completedTimestamp": {
  4538  						SchemaProps: spec.SchemaProps{
  4539  							Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
  4540  						},
  4541  					},
  4542  					"statuses": {
  4543  						SchemaProps: spec.SchemaProps{
  4544  							Type: []string{"array"},
  4545  							Items: &spec.SchemaOrArray{
  4546  								Schema: &spec.Schema{
  4547  									SchemaProps: spec.SchemaProps{
  4548  										Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.GitStatus"),
  4549  									},
  4550  								},
  4551  							},
  4552  						},
  4553  					},
  4554  				},
  4555  			},
  4556  		},
  4557  		Dependencies: []string{
  4558  			"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.GitStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
  4559  	}
  4560  }
  4561  
  4562  func schema_pkg_apis_jenkinsio_v1_PromoteWorkflowStep(ref common.ReferenceCallback) common.OpenAPIDefinition {
  4563  	return common.OpenAPIDefinition{
  4564  		Schema: spec.Schema{
  4565  			SchemaProps: spec.SchemaProps{
  4566  				Description: "PromoteWorkflowStep is the step of promoting a version of an application to an environment",
  4567  				Type:        []string{"object"},
  4568  				Properties: map[string]spec.Schema{
  4569  					"environment": {
  4570  						SchemaProps: spec.SchemaProps{
  4571  							Type:   []string{"string"},
  4572  							Format: "",
  4573  						},
  4574  					},
  4575  				},
  4576  			},
  4577  		},
  4578  		Dependencies: []string{},
  4579  	}
  4580  }
  4581  
  4582  func schema_pkg_apis_jenkinsio_v1_ProtectionPolicies(ref common.ReferenceCallback) common.OpenAPIDefinition {
  4583  	return common.OpenAPIDefinition{
  4584  		Schema: spec.Schema{
  4585  			SchemaProps: spec.SchemaProps{
  4586  				Description: "ProtectionPolicies defines the branch protection policies",
  4587  				Type:        []string{"object"},
  4588  				Properties: map[string]spec.Schema{
  4589  					"ProtectionPolicy": {
  4590  						SchemaProps: spec.SchemaProps{
  4591  							Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ProtectionPolicy"),
  4592  						},
  4593  					},
  4594  					"Replace": {
  4595  						SchemaProps: spec.SchemaProps{
  4596  							Type:   []string{"boolean"},
  4597  							Format: "",
  4598  						},
  4599  					},
  4600  					"entries": {
  4601  						SchemaProps: spec.SchemaProps{
  4602  							Type: []string{"object"},
  4603  							AdditionalProperties: &spec.SchemaOrBool{
  4604  								Schema: &spec.Schema{
  4605  									SchemaProps: spec.SchemaProps{
  4606  										Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ProtectionPolicy"),
  4607  									},
  4608  								},
  4609  							},
  4610  						},
  4611  					},
  4612  				},
  4613  			},
  4614  		},
  4615  		Dependencies: []string{
  4616  			"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ProtectionPolicy"},
  4617  	}
  4618  }
  4619  
  4620  func schema_pkg_apis_jenkinsio_v1_ProtectionPolicy(ref common.ReferenceCallback) common.OpenAPIDefinition {
  4621  	return common.OpenAPIDefinition{
  4622  		Schema: spec.Schema{
  4623  			SchemaProps: spec.SchemaProps{
  4624  				Description: "ProtectionPolicy for merging.",
  4625  				Type:        []string{"object"},
  4626  				Properties: map[string]spec.Schema{
  4627  					"protect": {
  4628  						SchemaProps: spec.SchemaProps{
  4629  							Description: "Protect overrides whether branch protection is enabled if set.",
  4630  							Type:        []string{"boolean"},
  4631  							Format:      "",
  4632  						},
  4633  					},
  4634  					"requiredStatusChecks": {
  4635  						SchemaProps: spec.SchemaProps{
  4636  							Description: "RequiredStatusChecks configures github contexts",
  4637  							Ref:         ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.BranchProtectionContextPolicy"),
  4638  						},
  4639  					},
  4640  					"enforceAdmins": {
  4641  						SchemaProps: spec.SchemaProps{
  4642  							Description: "Admins overrides whether protections apply to admins if set.",
  4643  							Type:        []string{"boolean"},
  4644  							Format:      "",
  4645  						},
  4646  					},
  4647  					"restrictions": {
  4648  						SchemaProps: spec.SchemaProps{
  4649  							Description: "Restrictions limits who can merge",
  4650  							Ref:         ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.Restrictions"),
  4651  						},
  4652  					},
  4653  					"requiredPullRequestReviews": {
  4654  						SchemaProps: spec.SchemaProps{
  4655  							Description: "RequiredPullRequestReviews specifies approval/review criteria.",
  4656  							Ref:         ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ReviewPolicy"),
  4657  						},
  4658  					},
  4659  				},
  4660  			},
  4661  		},
  4662  		Dependencies: []string{
  4663  			"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.BranchProtectionContextPolicy", "github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.Restrictions", "github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ReviewPolicy"},
  4664  	}
  4665  }
  4666  
  4667  func schema_pkg_apis_jenkinsio_v1_PullRequestInfo(ref common.ReferenceCallback) common.OpenAPIDefinition {
  4668  	return common.OpenAPIDefinition{
  4669  		Schema: spec.Schema{
  4670  			SchemaProps: spec.SchemaProps{
  4671  				Description: "PullRequestInfo contains information about a PR included in a batch, like its PR number, the last build number, and SHA",
  4672  				Type:        []string{"object"},
  4673  				Properties: map[string]spec.Schema{
  4674  					"pullRequestNumber": {
  4675  						SchemaProps: spec.SchemaProps{
  4676  							Type:   []string{"string"},
  4677  							Format: "",
  4678  						},
  4679  					},
  4680  					"lastBuildNumberForCommit": {
  4681  						SchemaProps: spec.SchemaProps{
  4682  							Description: "LastBuildNumberForCommit is the number of the last successful build of this PR outside of a batch",
  4683  							Type:        []string{"string"},
  4684  							Format:      "",
  4685  						},
  4686  					},
  4687  					"lastBuildSHA": {
  4688  						SchemaProps: spec.SchemaProps{
  4689  							Description: "LastBuildSHA is the commit SHA in the last successful build of this PR outside of a batch.",
  4690  							Type:        []string{"string"},
  4691  							Format:      "",
  4692  						},
  4693  					},
  4694  				},
  4695  			},
  4696  		},
  4697  		Dependencies: []string{},
  4698  	}
  4699  }
  4700  
  4701  func schema_pkg_apis_jenkinsio_v1_Query(ref common.ReferenceCallback) common.OpenAPIDefinition {
  4702  	return common.OpenAPIDefinition{
  4703  		Schema: spec.Schema{
  4704  			SchemaProps: spec.SchemaProps{
  4705  				Description: "Query is turned into a Git Provider search query. See the docs for details: https://help.github.com/articles/searching-issues-and-pull-requests/",
  4706  				Type:        []string{"object"},
  4707  				Properties: map[string]spec.Schema{
  4708  					"excludedBranches": {
  4709  						SchemaProps: spec.SchemaProps{
  4710  							Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ReplaceableSliceOfStrings"),
  4711  						},
  4712  					},
  4713  					"includedBranches": {
  4714  						SchemaProps: spec.SchemaProps{
  4715  							Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ReplaceableSliceOfStrings"),
  4716  						},
  4717  					},
  4718  					"labels": {
  4719  						SchemaProps: spec.SchemaProps{
  4720  							Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ReplaceableSliceOfStrings"),
  4721  						},
  4722  					},
  4723  					"missingLabels": {
  4724  						SchemaProps: spec.SchemaProps{
  4725  							Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ReplaceableSliceOfStrings"),
  4726  						},
  4727  					},
  4728  					"milestone": {
  4729  						SchemaProps: spec.SchemaProps{
  4730  							Type:   []string{"string"},
  4731  							Format: "",
  4732  						},
  4733  					},
  4734  					"reviewApprovedRequired": {
  4735  						SchemaProps: spec.SchemaProps{
  4736  							Type:   []string{"boolean"},
  4737  							Format: "",
  4738  						},
  4739  					},
  4740  				},
  4741  			},
  4742  		},
  4743  		Dependencies: []string{
  4744  			"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ReplaceableSliceOfStrings"},
  4745  	}
  4746  }
  4747  
  4748  func schema_pkg_apis_jenkinsio_v1_QuickStartLocation(ref common.ReferenceCallback) common.OpenAPIDefinition {
  4749  	return common.OpenAPIDefinition{
  4750  		Schema: spec.Schema{
  4751  			SchemaProps: spec.SchemaProps{
  4752  				Description: "QuickStartLocation",
  4753  				Type:        []string{"object"},
  4754  				Properties: map[string]spec.Schema{
  4755  					"gitUrl": {
  4756  						SchemaProps: spec.SchemaProps{
  4757  							Type:   []string{"string"},
  4758  							Format: "",
  4759  						},
  4760  					},
  4761  					"gitKind": {
  4762  						SchemaProps: spec.SchemaProps{
  4763  							Type:   []string{"string"},
  4764  							Format: "",
  4765  						},
  4766  					},
  4767  					"owner": {
  4768  						SchemaProps: spec.SchemaProps{
  4769  							Type:   []string{"string"},
  4770  							Format: "",
  4771  						},
  4772  					},
  4773  					"includes": {
  4774  						SchemaProps: spec.SchemaProps{
  4775  							Type: []string{"array"},
  4776  							Items: &spec.SchemaOrArray{
  4777  								Schema: &spec.Schema{
  4778  									SchemaProps: spec.SchemaProps{
  4779  										Type:   []string{"string"},
  4780  										Format: "",
  4781  									},
  4782  								},
  4783  							},
  4784  						},
  4785  					},
  4786  					"excludes": {
  4787  						SchemaProps: spec.SchemaProps{
  4788  							Type: []string{"array"},
  4789  							Items: &spec.SchemaOrArray{
  4790  								Schema: &spec.Schema{
  4791  									SchemaProps: spec.SchemaProps{
  4792  										Type:   []string{"string"},
  4793  										Format: "",
  4794  									},
  4795  								},
  4796  							},
  4797  						},
  4798  					},
  4799  				},
  4800  			},
  4801  		},
  4802  		Dependencies: []string{},
  4803  	}
  4804  }
  4805  
  4806  func schema_pkg_apis_jenkinsio_v1_RegexpChangeMatcher(ref common.ReferenceCallback) common.OpenAPIDefinition {
  4807  	return common.OpenAPIDefinition{
  4808  		Schema: spec.Schema{
  4809  			SchemaProps: spec.SchemaProps{
  4810  				Description: "RegexpChangeMatcher is for code shared between jobs that run only when certain files are changed.",
  4811  				Type:        []string{"object"},
  4812  				Properties: map[string]spec.Schema{
  4813  					"runIfChanged": {
  4814  						SchemaProps: spec.SchemaProps{
  4815  							Description: "RunIfChanged defines a regex used to select which subset of file changes should trigger this job. If any file in the changeset matches this regex, the job will be triggered",
  4816  							Type:        []string{"string"},
  4817  							Format:      "",
  4818  						},
  4819  					},
  4820  				},
  4821  			},
  4822  		},
  4823  		Dependencies: []string{},
  4824  	}
  4825  }
  4826  
  4827  func schema_pkg_apis_jenkinsio_v1_Release(ref common.ReferenceCallback) common.OpenAPIDefinition {
  4828  	return common.OpenAPIDefinition{
  4829  		Schema: spec.Schema{
  4830  			SchemaProps: spec.SchemaProps{
  4831  				Description: "Release represents a single version of an app that has been released",
  4832  				Type:        []string{"object"},
  4833  				Properties: map[string]spec.Schema{
  4834  					"kind": {
  4835  						SchemaProps: spec.SchemaProps{
  4836  							Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
  4837  							Type:        []string{"string"},
  4838  							Format:      "",
  4839  						},
  4840  					},
  4841  					"apiVersion": {
  4842  						SchemaProps: spec.SchemaProps{
  4843  							Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
  4844  							Type:        []string{"string"},
  4845  							Format:      "",
  4846  						},
  4847  					},
  4848  					"metadata": {
  4849  						SchemaProps: spec.SchemaProps{
  4850  							Description: "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata",
  4851  							Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
  4852  						},
  4853  					},
  4854  					"spec": {
  4855  						SchemaProps: spec.SchemaProps{
  4856  							Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ReleaseSpec"),
  4857  						},
  4858  					},
  4859  					"status": {
  4860  						SchemaProps: spec.SchemaProps{
  4861  							Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ReleaseStatus"),
  4862  						},
  4863  					},
  4864  				},
  4865  			},
  4866  		},
  4867  		Dependencies: []string{
  4868  			"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ReleaseSpec", "github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ReleaseStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
  4869  	}
  4870  }
  4871  
  4872  func schema_pkg_apis_jenkinsio_v1_ReleaseList(ref common.ReferenceCallback) common.OpenAPIDefinition {
  4873  	return common.OpenAPIDefinition{
  4874  		Schema: spec.Schema{
  4875  			SchemaProps: spec.SchemaProps{
  4876  				Description: "ReleaseList is a list of Release resources",
  4877  				Type:        []string{"object"},
  4878  				Properties: map[string]spec.Schema{
  4879  					"kind": {
  4880  						SchemaProps: spec.SchemaProps{
  4881  							Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
  4882  							Type:        []string{"string"},
  4883  							Format:      "",
  4884  						},
  4885  					},
  4886  					"apiVersion": {
  4887  						SchemaProps: spec.SchemaProps{
  4888  							Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
  4889  							Type:        []string{"string"},
  4890  							Format:      "",
  4891  						},
  4892  					},
  4893  					"metadata": {
  4894  						SchemaProps: spec.SchemaProps{
  4895  							Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
  4896  						},
  4897  					},
  4898  					"items": {
  4899  						SchemaProps: spec.SchemaProps{
  4900  							Type: []string{"array"},
  4901  							Items: &spec.SchemaOrArray{
  4902  								Schema: &spec.Schema{
  4903  									SchemaProps: spec.SchemaProps{
  4904  										Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.Release"),
  4905  									},
  4906  								},
  4907  							},
  4908  						},
  4909  					},
  4910  				},
  4911  				Required: []string{"metadata", "items"},
  4912  			},
  4913  		},
  4914  		Dependencies: []string{
  4915  			"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.Release", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
  4916  	}
  4917  }
  4918  
  4919  func schema_pkg_apis_jenkinsio_v1_ReleaseSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
  4920  	return common.OpenAPIDefinition{
  4921  		Schema: spec.Schema{
  4922  			SchemaProps: spec.SchemaProps{
  4923  				Description: "ReleaseSpec is the specification of the Release",
  4924  				Type:        []string{"object"},
  4925  				Properties: map[string]spec.Schema{
  4926  					"name": {
  4927  						SchemaProps: spec.SchemaProps{
  4928  							Type:   []string{"string"},
  4929  							Format: "",
  4930  						},
  4931  					},
  4932  					"version": {
  4933  						SchemaProps: spec.SchemaProps{
  4934  							Type:   []string{"string"},
  4935  							Format: "",
  4936  						},
  4937  					},
  4938  					"gitHttpUrl": {
  4939  						SchemaProps: spec.SchemaProps{
  4940  							Type:   []string{"string"},
  4941  							Format: "",
  4942  						},
  4943  					},
  4944  					"gitCloneUrl": {
  4945  						SchemaProps: spec.SchemaProps{
  4946  							Type:   []string{"string"},
  4947  							Format: "",
  4948  						},
  4949  					},
  4950  					"commits": {
  4951  						SchemaProps: spec.SchemaProps{
  4952  							Type: []string{"array"},
  4953  							Items: &spec.SchemaOrArray{
  4954  								Schema: &spec.Schema{
  4955  									SchemaProps: spec.SchemaProps{
  4956  										Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.CommitSummary"),
  4957  									},
  4958  								},
  4959  							},
  4960  						},
  4961  					},
  4962  					"issues": {
  4963  						SchemaProps: spec.SchemaProps{
  4964  							Type: []string{"array"},
  4965  							Items: &spec.SchemaOrArray{
  4966  								Schema: &spec.Schema{
  4967  									SchemaProps: spec.SchemaProps{
  4968  										Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.IssueSummary"),
  4969  									},
  4970  								},
  4971  							},
  4972  						},
  4973  					},
  4974  					"pullRequests": {
  4975  						SchemaProps: spec.SchemaProps{
  4976  							Type: []string{"array"},
  4977  							Items: &spec.SchemaOrArray{
  4978  								Schema: &spec.Schema{
  4979  									SchemaProps: spec.SchemaProps{
  4980  										Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.IssueSummary"),
  4981  									},
  4982  								},
  4983  							},
  4984  						},
  4985  					},
  4986  					"dependencyUpdates": {
  4987  						SchemaProps: spec.SchemaProps{
  4988  							Type: []string{"array"},
  4989  							Items: &spec.SchemaOrArray{
  4990  								Schema: &spec.Schema{
  4991  									SchemaProps: spec.SchemaProps{
  4992  										Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.DependencyUpdate"),
  4993  									},
  4994  								},
  4995  							},
  4996  						},
  4997  					},
  4998  					"releaseNotesURL": {
  4999  						SchemaProps: spec.SchemaProps{
  5000  							Type:   []string{"string"},
  5001  							Format: "",
  5002  						},
  5003  					},
  5004  					"gitRepository": {
  5005  						SchemaProps: spec.SchemaProps{
  5006  							Type:   []string{"string"},
  5007  							Format: "",
  5008  						},
  5009  					},
  5010  					"gitOwner": {
  5011  						SchemaProps: spec.SchemaProps{
  5012  							Type:   []string{"string"},
  5013  							Format: "",
  5014  						},
  5015  					},
  5016  				},
  5017  			},
  5018  		},
  5019  		Dependencies: []string{
  5020  			"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.CommitSummary", "github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.DependencyUpdate", "github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.IssueSummary"},
  5021  	}
  5022  }
  5023  
  5024  func schema_pkg_apis_jenkinsio_v1_ReleaseStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
  5025  	return common.OpenAPIDefinition{
  5026  		Schema: spec.Schema{
  5027  			SchemaProps: spec.SchemaProps{
  5028  				Description: "ReleaseStatus is the status of a release",
  5029  				Type:        []string{"object"},
  5030  				Properties: map[string]spec.Schema{
  5031  					"status": {
  5032  						SchemaProps: spec.SchemaProps{
  5033  							Type:   []string{"string"},
  5034  							Format: "",
  5035  						},
  5036  					},
  5037  				},
  5038  			},
  5039  		},
  5040  		Dependencies: []string{},
  5041  	}
  5042  }
  5043  
  5044  func schema_pkg_apis_jenkinsio_v1_ReplaceableMapOfStringContextPolicy(ref common.ReferenceCallback) common.OpenAPIDefinition {
  5045  	return common.OpenAPIDefinition{
  5046  		Schema: spec.Schema{
  5047  			SchemaProps: spec.SchemaProps{
  5048  				Description: "ReplaceableMapOfStringContextPolicy is a map of context policies that can optionally completely replace any context policies defined in the parent scheduler",
  5049  				Type:        []string{"object"},
  5050  				Properties: map[string]spec.Schema{
  5051  					"replace": {
  5052  						SchemaProps: spec.SchemaProps{
  5053  							Type:   []string{"boolean"},
  5054  							Format: "",
  5055  						},
  5056  					},
  5057  					"Items": {
  5058  						SchemaProps: spec.SchemaProps{
  5059  							Type: []string{"object"},
  5060  							AdditionalProperties: &spec.SchemaOrBool{
  5061  								Schema: &spec.Schema{
  5062  									SchemaProps: spec.SchemaProps{
  5063  										Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ContextPolicy"),
  5064  									},
  5065  								},
  5066  							},
  5067  						},
  5068  					},
  5069  				},
  5070  				Required: []string{"Items"},
  5071  			},
  5072  		},
  5073  		Dependencies: []string{
  5074  			"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ContextPolicy"},
  5075  	}
  5076  }
  5077  
  5078  func schema_pkg_apis_jenkinsio_v1_ReplaceableMapOfStringString(ref common.ReferenceCallback) common.OpenAPIDefinition {
  5079  	return common.OpenAPIDefinition{
  5080  		Schema: spec.Schema{
  5081  			SchemaProps: spec.SchemaProps{
  5082  				Description: "ReplaceableMapOfStringString is a map of strings that can optionally completely replace the map of strings in the parent scheduler",
  5083  				Type:        []string{"object"},
  5084  				Properties: map[string]spec.Schema{
  5085  					"entries": {
  5086  						SchemaProps: spec.SchemaProps{
  5087  							Type: []string{"object"},
  5088  							AdditionalProperties: &spec.SchemaOrBool{
  5089  								Schema: &spec.Schema{
  5090  									SchemaProps: spec.SchemaProps{
  5091  										Type:   []string{"string"},
  5092  										Format: "",
  5093  									},
  5094  								},
  5095  							},
  5096  						},
  5097  					},
  5098  					"replace": {
  5099  						SchemaProps: spec.SchemaProps{
  5100  							Description: "Replace the existing entries",
  5101  							Type:        []string{"boolean"},
  5102  							Format:      "",
  5103  						},
  5104  					},
  5105  				},
  5106  			},
  5107  		},
  5108  		Dependencies: []string{},
  5109  	}
  5110  }
  5111  
  5112  func schema_pkg_apis_jenkinsio_v1_ReplaceableSliceOfExternalPlugins(ref common.ReferenceCallback) common.OpenAPIDefinition {
  5113  	return common.OpenAPIDefinition{
  5114  		Schema: spec.Schema{
  5115  			SchemaProps: spec.SchemaProps{
  5116  				Description: "ReplaceableSliceOfExternalPlugins is a list of external plugins that can optionally completely replace the plugins in any parent SchedulerSpec",
  5117  				Type:        []string{"object"},
  5118  				Properties: map[string]spec.Schema{
  5119  					"Replace": {
  5120  						SchemaProps: spec.SchemaProps{
  5121  							Type:   []string{"boolean"},
  5122  							Format: "",
  5123  						},
  5124  					},
  5125  					"entries": {
  5126  						SchemaProps: spec.SchemaProps{
  5127  							Type: []string{"array"},
  5128  							Items: &spec.SchemaOrArray{
  5129  								Schema: &spec.Schema{
  5130  									SchemaProps: spec.SchemaProps{
  5131  										Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ExternalPlugin"),
  5132  									},
  5133  								},
  5134  							},
  5135  						},
  5136  					},
  5137  				},
  5138  				Required: []string{"Replace"},
  5139  			},
  5140  		},
  5141  		Dependencies: []string{
  5142  			"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ExternalPlugin"},
  5143  	}
  5144  }
  5145  
  5146  func schema_pkg_apis_jenkinsio_v1_ReplaceableSliceOfStrings(ref common.ReferenceCallback) common.OpenAPIDefinition {
  5147  	return common.OpenAPIDefinition{
  5148  		Schema: spec.Schema{
  5149  			SchemaProps: spec.SchemaProps{
  5150  				Description: "ReplaceableSliceOfStrings is a slice of strings that can optionally completely replace the slice of strings defined in the parent scheduler",
  5151  				Type:        []string{"object"},
  5152  				Properties: map[string]spec.Schema{
  5153  					"entries": {
  5154  						SchemaProps: spec.SchemaProps{
  5155  							Description: "Items is the string values",
  5156  							Type:        []string{"array"},
  5157  							Items: &spec.SchemaOrArray{
  5158  								Schema: &spec.Schema{
  5159  									SchemaProps: spec.SchemaProps{
  5160  										Type:   []string{"string"},
  5161  										Format: "",
  5162  									},
  5163  								},
  5164  							},
  5165  						},
  5166  					},
  5167  					"replace": {
  5168  						SchemaProps: spec.SchemaProps{
  5169  							Description: "Replace the existing entries",
  5170  							Type:        []string{"boolean"},
  5171  							Format:      "",
  5172  						},
  5173  					},
  5174  				},
  5175  			},
  5176  		},
  5177  		Dependencies: []string{},
  5178  	}
  5179  }
  5180  
  5181  func schema_pkg_apis_jenkinsio_v1_RepoContextPolicy(ref common.ReferenceCallback) common.OpenAPIDefinition {
  5182  	return common.OpenAPIDefinition{
  5183  		Schema: spec.Schema{
  5184  			SchemaProps: spec.SchemaProps{
  5185  				Description: "RepoContextPolicy overrides the policy for repo, and any branch overrides.",
  5186  				Type:        []string{"object"},
  5187  				Properties: map[string]spec.Schema{
  5188  					"ContextPolicy": {
  5189  						SchemaProps: spec.SchemaProps{
  5190  							Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ContextPolicy"),
  5191  						},
  5192  					},
  5193  					"branches": {
  5194  						SchemaProps: spec.SchemaProps{
  5195  							Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ReplaceableMapOfStringContextPolicy"),
  5196  						},
  5197  					},
  5198  				},
  5199  				Required: []string{"ContextPolicy"},
  5200  			},
  5201  		},
  5202  		Dependencies: []string{
  5203  			"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ContextPolicy", "github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ReplaceableMapOfStringContextPolicy"},
  5204  	}
  5205  }
  5206  
  5207  func schema_pkg_apis_jenkinsio_v1_ResourceReference(ref common.ReferenceCallback) common.OpenAPIDefinition {
  5208  	return common.OpenAPIDefinition{
  5209  		Schema: spec.Schema{
  5210  			SchemaProps: spec.SchemaProps{
  5211  				Type: []string{"object"},
  5212  				Properties: map[string]spec.Schema{
  5213  					"apiVersion": {
  5214  						SchemaProps: spec.SchemaProps{
  5215  							Description: "API version of the referent.",
  5216  							Type:        []string{"string"},
  5217  							Format:      "",
  5218  						},
  5219  					},
  5220  					"kind": {
  5221  						SchemaProps: spec.SchemaProps{
  5222  							Description: "Kind of the referent. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds",
  5223  							Type:        []string{"string"},
  5224  							Format:      "",
  5225  						},
  5226  					},
  5227  					"name": {
  5228  						SchemaProps: spec.SchemaProps{
  5229  							Description: "Name of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#names",
  5230  							Type:        []string{"string"},
  5231  							Format:      "",
  5232  						},
  5233  					},
  5234  					"uid": {
  5235  						SchemaProps: spec.SchemaProps{
  5236  							Description: "UID of the referent. More info: http://kubernetes.io/docs/user-guide/identifiers#uids",
  5237  							Type:        []string{"string"},
  5238  							Format:      "",
  5239  						},
  5240  					},
  5241  				},
  5242  				Required: []string{"kind", "name"},
  5243  			},
  5244  		},
  5245  		Dependencies: []string{},
  5246  	}
  5247  }
  5248  
  5249  func schema_pkg_apis_jenkinsio_v1_Restrictions(ref common.ReferenceCallback) common.OpenAPIDefinition {
  5250  	return common.OpenAPIDefinition{
  5251  		Schema: spec.Schema{
  5252  			SchemaProps: spec.SchemaProps{
  5253  				Description: "Restrictions limits who can merge Users and Teams entries are appended to parent lists.",
  5254  				Type:        []string{"object"},
  5255  				Properties: map[string]spec.Schema{
  5256  					"users": {
  5257  						SchemaProps: spec.SchemaProps{
  5258  							Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ReplaceableSliceOfStrings"),
  5259  						},
  5260  					},
  5261  					"teams": {
  5262  						SchemaProps: spec.SchemaProps{
  5263  							Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ReplaceableSliceOfStrings"),
  5264  						},
  5265  					},
  5266  				},
  5267  				Required: []string{"users", "teams"},
  5268  			},
  5269  		},
  5270  		Dependencies: []string{
  5271  			"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ReplaceableSliceOfStrings"},
  5272  	}
  5273  }
  5274  
  5275  func schema_pkg_apis_jenkinsio_v1_ReviewPolicy(ref common.ReferenceCallback) common.OpenAPIDefinition {
  5276  	return common.OpenAPIDefinition{
  5277  		Schema: spec.Schema{
  5278  			SchemaProps: spec.SchemaProps{
  5279  				Description: "ReviewPolicy specifies git provider approval/review criteria. Any nil values inherit the policy from the parent, otherwise bool/ints are overridden. Non-empty lists are appended to parent lists.",
  5280  				Type:        []string{"object"},
  5281  				Properties: map[string]spec.Schema{
  5282  					"dismissalRestrictions": {
  5283  						SchemaProps: spec.SchemaProps{
  5284  							Description: "Restrictions appends users/teams that are allowed to merge",
  5285  							Ref:         ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.Restrictions"),
  5286  						},
  5287  					},
  5288  					"dismissStaleReviews": {
  5289  						SchemaProps: spec.SchemaProps{
  5290  							Description: "DismissStale overrides whether new commits automatically dismiss old reviews if set",
  5291  							Type:        []string{"boolean"},
  5292  							Format:      "",
  5293  						},
  5294  					},
  5295  					"requireCodeOwnerReviews": {
  5296  						SchemaProps: spec.SchemaProps{
  5297  							Description: "RequireOwners overrides whether CODEOWNERS must approve PRs if set",
  5298  							Type:        []string{"boolean"},
  5299  							Format:      "",
  5300  						},
  5301  					},
  5302  					"requiredApprovingReviewCount": {
  5303  						SchemaProps: spec.SchemaProps{
  5304  							Description: "Approvals overrides the number of approvals required if set (set to 0 to disable)",
  5305  							Type:        []string{"integer"},
  5306  							Format:      "int32",
  5307  						},
  5308  					},
  5309  				},
  5310  			},
  5311  		},
  5312  		Dependencies: []string{
  5313  			"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.Restrictions"},
  5314  	}
  5315  }
  5316  
  5317  func schema_pkg_apis_jenkinsio_v1_Scheduler(ref common.ReferenceCallback) common.OpenAPIDefinition {
  5318  	return common.OpenAPIDefinition{
  5319  		Schema: spec.Schema{
  5320  			SchemaProps: spec.SchemaProps{
  5321  				Description: "Scheduler is configuration for a pipeline scheduler",
  5322  				Type:        []string{"object"},
  5323  				Properties: map[string]spec.Schema{
  5324  					"kind": {
  5325  						SchemaProps: spec.SchemaProps{
  5326  							Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
  5327  							Type:        []string{"string"},
  5328  							Format:      "",
  5329  						},
  5330  					},
  5331  					"apiVersion": {
  5332  						SchemaProps: spec.SchemaProps{
  5333  							Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
  5334  							Type:        []string{"string"},
  5335  							Format:      "",
  5336  						},
  5337  					},
  5338  					"metadata": {
  5339  						SchemaProps: spec.SchemaProps{
  5340  							Description: "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata",
  5341  							Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
  5342  						},
  5343  					},
  5344  					"spec": {
  5345  						SchemaProps: spec.SchemaProps{
  5346  							Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.SchedulerSpec"),
  5347  						},
  5348  					},
  5349  				},
  5350  			},
  5351  		},
  5352  		Dependencies: []string{
  5353  			"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.SchedulerSpec", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
  5354  	}
  5355  }
  5356  
  5357  func schema_pkg_apis_jenkinsio_v1_SchedulerAgent(ref common.ReferenceCallback) common.OpenAPIDefinition {
  5358  	return common.OpenAPIDefinition{
  5359  		Schema: spec.Schema{
  5360  			SchemaProps: spec.SchemaProps{
  5361  				Description: "SchedulerAgent defines the scheduler agent configuration",
  5362  				Type:        []string{"object"},
  5363  				Properties: map[string]spec.Schema{
  5364  					"agent": {
  5365  						SchemaProps: spec.SchemaProps{
  5366  							Description: "Agent defines the agent used to schedule jobs, by default Prow",
  5367  							Type:        []string{"string"},
  5368  							Format:      "",
  5369  						},
  5370  					},
  5371  				},
  5372  				Required: []string{"agent"},
  5373  			},
  5374  		},
  5375  		Dependencies: []string{},
  5376  	}
  5377  }
  5378  
  5379  func schema_pkg_apis_jenkinsio_v1_SchedulerList(ref common.ReferenceCallback) common.OpenAPIDefinition {
  5380  	return common.OpenAPIDefinition{
  5381  		Schema: spec.Schema{
  5382  			SchemaProps: spec.SchemaProps{
  5383  				Description: "SchedulerList is a list of configurations for a pipeline scheduler",
  5384  				Type:        []string{"object"},
  5385  				Properties: map[string]spec.Schema{
  5386  					"kind": {
  5387  						SchemaProps: spec.SchemaProps{
  5388  							Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
  5389  							Type:        []string{"string"},
  5390  							Format:      "",
  5391  						},
  5392  					},
  5393  					"apiVersion": {
  5394  						SchemaProps: spec.SchemaProps{
  5395  							Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
  5396  							Type:        []string{"string"},
  5397  							Format:      "",
  5398  						},
  5399  					},
  5400  					"metadata": {
  5401  						SchemaProps: spec.SchemaProps{
  5402  							Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
  5403  						},
  5404  					},
  5405  					"items": {
  5406  						SchemaProps: spec.SchemaProps{
  5407  							Type: []string{"array"},
  5408  							Items: &spec.SchemaOrArray{
  5409  								Schema: &spec.Schema{
  5410  									SchemaProps: spec.SchemaProps{
  5411  										Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.Scheduler"),
  5412  									},
  5413  								},
  5414  							},
  5415  						},
  5416  					},
  5417  				},
  5418  				Required: []string{"metadata", "items"},
  5419  			},
  5420  		},
  5421  		Dependencies: []string{
  5422  			"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.Scheduler", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
  5423  	}
  5424  }
  5425  
  5426  func schema_pkg_apis_jenkinsio_v1_SchedulerSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
  5427  	return common.OpenAPIDefinition{
  5428  		Schema: spec.Schema{
  5429  			SchemaProps: spec.SchemaProps{
  5430  				Description: "SchedulerSpec defines the pipeline scheduler (e.g. Prow) configuration",
  5431  				Type:        []string{"object"},
  5432  				Properties: map[string]spec.Schema{
  5433  					"schedulerAgent": {
  5434  						SchemaProps: spec.SchemaProps{
  5435  							Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.SchedulerAgent"),
  5436  						},
  5437  					},
  5438  					"policy": {
  5439  						SchemaProps: spec.SchemaProps{
  5440  							Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.GlobalProtectionPolicy"),
  5441  						},
  5442  					},
  5443  					"presubmits": {
  5444  						SchemaProps: spec.SchemaProps{
  5445  							Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.Presubmits"),
  5446  						},
  5447  					},
  5448  					"postsubmits": {
  5449  						SchemaProps: spec.SchemaProps{
  5450  							Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.Postsubmits"),
  5451  						},
  5452  					},
  5453  					"trigger": {
  5454  						SchemaProps: spec.SchemaProps{
  5455  							Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.Trigger"),
  5456  						},
  5457  					},
  5458  					"approve": {
  5459  						SchemaProps: spec.SchemaProps{
  5460  							Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.Approve"),
  5461  						},
  5462  					},
  5463  					"lgtm": {
  5464  						SchemaProps: spec.SchemaProps{
  5465  							Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.Lgtm"),
  5466  						},
  5467  					},
  5468  					"externalPlugins": {
  5469  						SchemaProps: spec.SchemaProps{
  5470  							Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ReplaceableSliceOfExternalPlugins"),
  5471  						},
  5472  					},
  5473  					"merger": {
  5474  						SchemaProps: spec.SchemaProps{
  5475  							Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.Merger"),
  5476  						},
  5477  					},
  5478  					"plugins": {
  5479  						SchemaProps: spec.SchemaProps{
  5480  							Description: "Plugins is a list of plugin names enabled for a repo",
  5481  							Ref:         ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ReplaceableSliceOfStrings"),
  5482  						},
  5483  					},
  5484  					"configUpdater": {
  5485  						SchemaProps: spec.SchemaProps{
  5486  							Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ConfigUpdater"),
  5487  						},
  5488  					},
  5489  					"welcome": {
  5490  						SchemaProps: spec.SchemaProps{
  5491  							Type: []string{"array"},
  5492  							Items: &spec.SchemaOrArray{
  5493  								Schema: &spec.Schema{
  5494  									SchemaProps: spec.SchemaProps{
  5495  										Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.Welcome"),
  5496  									},
  5497  								},
  5498  							},
  5499  						},
  5500  					},
  5501  					"periodics": {
  5502  						SchemaProps: spec.SchemaProps{
  5503  							Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.Periodics"),
  5504  						},
  5505  					},
  5506  					"attachments": {
  5507  						SchemaProps: spec.SchemaProps{
  5508  							Type: []string{"array"},
  5509  							Items: &spec.SchemaOrArray{
  5510  								Schema: &spec.Schema{
  5511  									SchemaProps: spec.SchemaProps{
  5512  										Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.Attachment"),
  5513  									},
  5514  								},
  5515  							},
  5516  						},
  5517  					},
  5518  				},
  5519  			},
  5520  		},
  5521  		Dependencies: []string{
  5522  			"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.Approve", "github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.Attachment", "github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ConfigUpdater", "github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.GlobalProtectionPolicy", "github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.Lgtm", "github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.Merger", "github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.Periodics", "github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.Postsubmits", "github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.Presubmits", "github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ReplaceableSliceOfExternalPlugins", "github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ReplaceableSliceOfStrings", "github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.SchedulerAgent", "github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.Trigger", "github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.Welcome"},
  5523  	}
  5524  }
  5525  
  5526  func schema_pkg_apis_jenkinsio_v1_SourceRepository(ref common.ReferenceCallback) common.OpenAPIDefinition {
  5527  	return common.OpenAPIDefinition{
  5528  		Schema: spec.Schema{
  5529  			SchemaProps: spec.SchemaProps{
  5530  				Description: "SourceRepository is the metadata for an Application/Project/SourceRepository",
  5531  				Type:        []string{"object"},
  5532  				Properties: map[string]spec.Schema{
  5533  					"kind": {
  5534  						SchemaProps: spec.SchemaProps{
  5535  							Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
  5536  							Type:        []string{"string"},
  5537  							Format:      "",
  5538  						},
  5539  					},
  5540  					"apiVersion": {
  5541  						SchemaProps: spec.SchemaProps{
  5542  							Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
  5543  							Type:        []string{"string"},
  5544  							Format:      "",
  5545  						},
  5546  					},
  5547  					"metadata": {
  5548  						SchemaProps: spec.SchemaProps{
  5549  							Description: "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata",
  5550  							Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
  5551  						},
  5552  					},
  5553  					"spec": {
  5554  						SchemaProps: spec.SchemaProps{
  5555  							Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.SourceRepositorySpec"),
  5556  						},
  5557  					},
  5558  				},
  5559  			},
  5560  		},
  5561  		Dependencies: []string{
  5562  			"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.SourceRepositorySpec", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
  5563  	}
  5564  }
  5565  
  5566  func schema_pkg_apis_jenkinsio_v1_SourceRepositoryGroup(ref common.ReferenceCallback) common.OpenAPIDefinition {
  5567  	return common.OpenAPIDefinition{
  5568  		Schema: spec.Schema{
  5569  			SchemaProps: spec.SchemaProps{
  5570  				Description: "SourceRepositoryGroup is the metadata for an Application/Project/SourceRepository",
  5571  				Type:        []string{"object"},
  5572  				Properties: map[string]spec.Schema{
  5573  					"kind": {
  5574  						SchemaProps: spec.SchemaProps{
  5575  							Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
  5576  							Type:        []string{"string"},
  5577  							Format:      "",
  5578  						},
  5579  					},
  5580  					"apiVersion": {
  5581  						SchemaProps: spec.SchemaProps{
  5582  							Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
  5583  							Type:        []string{"string"},
  5584  							Format:      "",
  5585  						},
  5586  					},
  5587  					"metadata": {
  5588  						SchemaProps: spec.SchemaProps{
  5589  							Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
  5590  						},
  5591  					},
  5592  					"spec": {
  5593  						SchemaProps: spec.SchemaProps{
  5594  							Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.SourceRepositoryGroupSpec"),
  5595  						},
  5596  					},
  5597  				},
  5598  			},
  5599  		},
  5600  		Dependencies: []string{
  5601  			"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.SourceRepositoryGroupSpec", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
  5602  	}
  5603  }
  5604  
  5605  func schema_pkg_apis_jenkinsio_v1_SourceRepositoryGroupList(ref common.ReferenceCallback) common.OpenAPIDefinition {
  5606  	return common.OpenAPIDefinition{
  5607  		Schema: spec.Schema{
  5608  			SchemaProps: spec.SchemaProps{
  5609  				Description: "SourceRepositoryGroupList is a structure used by k8s to store lists of apps",
  5610  				Type:        []string{"object"},
  5611  				Properties: map[string]spec.Schema{
  5612  					"kind": {
  5613  						SchemaProps: spec.SchemaProps{
  5614  							Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
  5615  							Type:        []string{"string"},
  5616  							Format:      "",
  5617  						},
  5618  					},
  5619  					"apiVersion": {
  5620  						SchemaProps: spec.SchemaProps{
  5621  							Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
  5622  							Type:        []string{"string"},
  5623  							Format:      "",
  5624  						},
  5625  					},
  5626  					"metadata": {
  5627  						SchemaProps: spec.SchemaProps{
  5628  							Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
  5629  						},
  5630  					},
  5631  					"items": {
  5632  						SchemaProps: spec.SchemaProps{
  5633  							Type: []string{"array"},
  5634  							Items: &spec.SchemaOrArray{
  5635  								Schema: &spec.Schema{
  5636  									SchemaProps: spec.SchemaProps{
  5637  										Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.SourceRepositoryGroup"),
  5638  									},
  5639  								},
  5640  							},
  5641  						},
  5642  					},
  5643  				},
  5644  				Required: []string{"metadata", "items"},
  5645  			},
  5646  		},
  5647  		Dependencies: []string{
  5648  			"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.SourceRepositoryGroup", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
  5649  	}
  5650  }
  5651  
  5652  func schema_pkg_apis_jenkinsio_v1_SourceRepositoryGroupSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
  5653  	return common.OpenAPIDefinition{
  5654  		Schema: spec.Schema{
  5655  			SchemaProps: spec.SchemaProps{
  5656  				Description: "SourceRepositoryGroupSpec is the metadata for an Application/Project/SourceRepository",
  5657  				Type:        []string{"object"},
  5658  				Properties: map[string]spec.Schema{
  5659  					"kind": {
  5660  						SchemaProps: spec.SchemaProps{
  5661  							Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
  5662  							Type:        []string{"string"},
  5663  							Format:      "",
  5664  						},
  5665  					},
  5666  					"apiVersion": {
  5667  						SchemaProps: spec.SchemaProps{
  5668  							Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
  5669  							Type:        []string{"string"},
  5670  							Format:      "",
  5671  						},
  5672  					},
  5673  					"metadata": {
  5674  						SchemaProps: spec.SchemaProps{
  5675  							Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
  5676  						},
  5677  					},
  5678  					"repositories": {
  5679  						SchemaProps: spec.SchemaProps{
  5680  							Type: []string{"array"},
  5681  							Items: &spec.SchemaOrArray{
  5682  								Schema: &spec.Schema{
  5683  									SchemaProps: spec.SchemaProps{
  5684  										Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ResourceReference"),
  5685  									},
  5686  								},
  5687  							},
  5688  						},
  5689  					},
  5690  					"scheduler": {
  5691  						SchemaProps: spec.SchemaProps{
  5692  							Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ResourceReference"),
  5693  						},
  5694  					},
  5695  				},
  5696  				Required: []string{"repositories", "scheduler"},
  5697  			},
  5698  		},
  5699  		Dependencies: []string{
  5700  			"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ResourceReference", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
  5701  	}
  5702  }
  5703  
  5704  func schema_pkg_apis_jenkinsio_v1_SourceRepositoryList(ref common.ReferenceCallback) common.OpenAPIDefinition {
  5705  	return common.OpenAPIDefinition{
  5706  		Schema: spec.Schema{
  5707  			SchemaProps: spec.SchemaProps{
  5708  				Description: "SourceRepositoryList is a structure used by k8s to store lists of apps",
  5709  				Type:        []string{"object"},
  5710  				Properties: map[string]spec.Schema{
  5711  					"kind": {
  5712  						SchemaProps: spec.SchemaProps{
  5713  							Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
  5714  							Type:        []string{"string"},
  5715  							Format:      "",
  5716  						},
  5717  					},
  5718  					"apiVersion": {
  5719  						SchemaProps: spec.SchemaProps{
  5720  							Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
  5721  							Type:        []string{"string"},
  5722  							Format:      "",
  5723  						},
  5724  					},
  5725  					"metadata": {
  5726  						SchemaProps: spec.SchemaProps{
  5727  							Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
  5728  						},
  5729  					},
  5730  					"items": {
  5731  						SchemaProps: spec.SchemaProps{
  5732  							Type: []string{"array"},
  5733  							Items: &spec.SchemaOrArray{
  5734  								Schema: &spec.Schema{
  5735  									SchemaProps: spec.SchemaProps{
  5736  										Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.SourceRepository"),
  5737  									},
  5738  								},
  5739  							},
  5740  						},
  5741  					},
  5742  				},
  5743  				Required: []string{"metadata", "items"},
  5744  			},
  5745  		},
  5746  		Dependencies: []string{
  5747  			"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.SourceRepository", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
  5748  	}
  5749  }
  5750  
  5751  func schema_pkg_apis_jenkinsio_v1_SourceRepositorySpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
  5752  	return common.OpenAPIDefinition{
  5753  		Schema: spec.Schema{
  5754  			SchemaProps: spec.SchemaProps{
  5755  				Description: "SourceRepositorySpec provides details of the metadata for an App",
  5756  				Type:        []string{"object"},
  5757  				Properties: map[string]spec.Schema{
  5758  					"description": {
  5759  						SchemaProps: spec.SchemaProps{
  5760  							Type:   []string{"string"},
  5761  							Format: "",
  5762  						},
  5763  					},
  5764  					"provider": {
  5765  						SchemaProps: spec.SchemaProps{
  5766  							Description: "Provider stores the URL of the git provider such as https://github.com",
  5767  							Type:        []string{"string"},
  5768  							Format:      "",
  5769  						},
  5770  					},
  5771  					"org": {
  5772  						SchemaProps: spec.SchemaProps{
  5773  							Type:   []string{"string"},
  5774  							Format: "",
  5775  						},
  5776  					},
  5777  					"repo": {
  5778  						SchemaProps: spec.SchemaProps{
  5779  							Type:   []string{"string"},
  5780  							Format: "",
  5781  						},
  5782  					},
  5783  					"providerName": {
  5784  						SchemaProps: spec.SchemaProps{
  5785  							Description: "ProviderName is a logical name for the provider without any URL scheme which can be used in a label selector",
  5786  							Type:        []string{"string"},
  5787  							Format:      "",
  5788  						},
  5789  					},
  5790  					"providerKind": {
  5791  						SchemaProps: spec.SchemaProps{
  5792  							Description: "ProviderKind is the kind of provider (github / bitbucketcloud / bitbucketserver etc)",
  5793  							Type:        []string{"string"},
  5794  							Format:      "",
  5795  						},
  5796  					},
  5797  					"url": {
  5798  						SchemaProps: spec.SchemaProps{
  5799  							Description: "URL is the web URL of the project page",
  5800  							Type:        []string{"string"},
  5801  							Format:      "",
  5802  						},
  5803  					},
  5804  					"sshCloneURL": {
  5805  						SchemaProps: spec.SchemaProps{
  5806  							Description: "SSHCloneURL is the git URL to clone this repository using SSH",
  5807  							Type:        []string{"string"},
  5808  							Format:      "",
  5809  						},
  5810  					},
  5811  					"httpCloneURL": {
  5812  						SchemaProps: spec.SchemaProps{
  5813  							Description: "HTTPCloneURL is the git URL to clone this repository using HTTP/HTTPS",
  5814  							Type:        []string{"string"},
  5815  							Format:      "",
  5816  						},
  5817  					},
  5818  					"scheduler": {
  5819  						SchemaProps: spec.SchemaProps{
  5820  							Description: "Scheduler a reference to a custom scheduler otherwise we default to the Team's Scededuler",
  5821  							Ref:         ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ResourceReference"),
  5822  						},
  5823  					},
  5824  				},
  5825  			},
  5826  		},
  5827  		Dependencies: []string{
  5828  			"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ResourceReference"},
  5829  	}
  5830  }
  5831  
  5832  func schema_pkg_apis_jenkinsio_v1_StageActivityStep(ref common.ReferenceCallback) common.OpenAPIDefinition {
  5833  	return common.OpenAPIDefinition{
  5834  		Schema: spec.Schema{
  5835  			SchemaProps: spec.SchemaProps{
  5836  				Description: "StageActivityStep represents a stage of zero to more sub steps in a jenkins pipeline",
  5837  				Type:        []string{"object"},
  5838  				Properties: map[string]spec.Schema{
  5839  					"name": {
  5840  						SchemaProps: spec.SchemaProps{
  5841  							Type:   []string{"string"},
  5842  							Format: "",
  5843  						},
  5844  					},
  5845  					"description": {
  5846  						SchemaProps: spec.SchemaProps{
  5847  							Type:   []string{"string"},
  5848  							Format: "",
  5849  						},
  5850  					},
  5851  					"status": {
  5852  						SchemaProps: spec.SchemaProps{
  5853  							Type:   []string{"string"},
  5854  							Format: "",
  5855  						},
  5856  					},
  5857  					"startedTimestamp": {
  5858  						SchemaProps: spec.SchemaProps{
  5859  							Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
  5860  						},
  5861  					},
  5862  					"completedTimestamp": {
  5863  						SchemaProps: spec.SchemaProps{
  5864  							Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
  5865  						},
  5866  					},
  5867  					"steps": {
  5868  						SchemaProps: spec.SchemaProps{
  5869  							Type: []string{"array"},
  5870  							Items: &spec.SchemaOrArray{
  5871  								Schema: &spec.Schema{
  5872  									SchemaProps: spec.SchemaProps{
  5873  										Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.CoreActivityStep"),
  5874  									},
  5875  								},
  5876  							},
  5877  						},
  5878  					},
  5879  				},
  5880  			},
  5881  		},
  5882  		Dependencies: []string{
  5883  			"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.CoreActivityStep", "k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
  5884  	}
  5885  }
  5886  
  5887  func schema_pkg_apis_jenkinsio_v1_Statement(ref common.ReferenceCallback) common.OpenAPIDefinition {
  5888  	return common.OpenAPIDefinition{
  5889  		Schema: spec.Schema{
  5890  			SchemaProps: spec.SchemaProps{
  5891  				Description: "Statement represents a decision that was made, for example that a promotion was approved or denied",
  5892  				Type:        []string{"object"},
  5893  				Properties: map[string]spec.Schema{
  5894  					"name": {
  5895  						SchemaProps: spec.SchemaProps{
  5896  							Type:   []string{"string"},
  5897  							Format: "",
  5898  						},
  5899  					},
  5900  					"statementType": {
  5901  						SchemaProps: spec.SchemaProps{
  5902  							Type:   []string{"string"},
  5903  							Format: "",
  5904  						},
  5905  					},
  5906  					"measurementValue": {
  5907  						SchemaProps: spec.SchemaProps{
  5908  							Type:   []string{"boolean"},
  5909  							Format: "",
  5910  						},
  5911  					},
  5912  					"tags": {
  5913  						SchemaProps: spec.SchemaProps{
  5914  							Type: []string{"array"},
  5915  							Items: &spec.SchemaOrArray{
  5916  								Schema: &spec.Schema{
  5917  									SchemaProps: spec.SchemaProps{
  5918  										Type:   []string{"string"},
  5919  										Format: "",
  5920  									},
  5921  								},
  5922  							},
  5923  						},
  5924  					},
  5925  				},
  5926  				Required: []string{"name", "statementType", "measurementValue"},
  5927  			},
  5928  		},
  5929  		Dependencies: []string{},
  5930  	}
  5931  }
  5932  
  5933  func schema_pkg_apis_jenkinsio_v1_StorageLocation(ref common.ReferenceCallback) common.OpenAPIDefinition {
  5934  	return common.OpenAPIDefinition{
  5935  		Schema: spec.Schema{
  5936  			SchemaProps: spec.SchemaProps{
  5937  				Description: "StorageLocation",
  5938  				Type:        []string{"object"},
  5939  				Properties: map[string]spec.Schema{
  5940  					"classifier": {
  5941  						SchemaProps: spec.SchemaProps{
  5942  							Type:   []string{"string"},
  5943  							Format: "",
  5944  						},
  5945  					},
  5946  					"gitUrl": {
  5947  						SchemaProps: spec.SchemaProps{
  5948  							Type:   []string{"string"},
  5949  							Format: "",
  5950  						},
  5951  					},
  5952  					"gitBranch": {
  5953  						SchemaProps: spec.SchemaProps{
  5954  							Type:   []string{"string"},
  5955  							Format: "",
  5956  						},
  5957  					},
  5958  					"bucketUrl": {
  5959  						SchemaProps: spec.SchemaProps{
  5960  							Type:   []string{"string"},
  5961  							Format: "",
  5962  						},
  5963  					},
  5964  				},
  5965  			},
  5966  		},
  5967  		Dependencies: []string{},
  5968  	}
  5969  }
  5970  
  5971  func schema_pkg_apis_jenkinsio_v1_Team(ref common.ReferenceCallback) common.OpenAPIDefinition {
  5972  	return common.OpenAPIDefinition{
  5973  		Schema: spec.Schema{
  5974  			SchemaProps: spec.SchemaProps{
  5975  				Description: "Team represents a request to create an actual Team which is a group of users, a development environment and optional other environments",
  5976  				Type:        []string{"object"},
  5977  				Properties: map[string]spec.Schema{
  5978  					"kind": {
  5979  						SchemaProps: spec.SchemaProps{
  5980  							Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
  5981  							Type:        []string{"string"},
  5982  							Format:      "",
  5983  						},
  5984  					},
  5985  					"apiVersion": {
  5986  						SchemaProps: spec.SchemaProps{
  5987  							Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
  5988  							Type:        []string{"string"},
  5989  							Format:      "",
  5990  						},
  5991  					},
  5992  					"metadata": {
  5993  						SchemaProps: spec.SchemaProps{
  5994  							Description: "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata",
  5995  							Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
  5996  						},
  5997  					},
  5998  					"spec": {
  5999  						SchemaProps: spec.SchemaProps{
  6000  							Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.TeamSpec"),
  6001  						},
  6002  					},
  6003  					"status": {
  6004  						SchemaProps: spec.SchemaProps{
  6005  							Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.TeamStatus"),
  6006  						},
  6007  					},
  6008  				},
  6009  			},
  6010  		},
  6011  		Dependencies: []string{
  6012  			"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.TeamSpec", "github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.TeamStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
  6013  	}
  6014  }
  6015  
  6016  func schema_pkg_apis_jenkinsio_v1_TeamList(ref common.ReferenceCallback) common.OpenAPIDefinition {
  6017  	return common.OpenAPIDefinition{
  6018  		Schema: spec.Schema{
  6019  			SchemaProps: spec.SchemaProps{
  6020  				Description: "TeamList is a list of TypeMeta resources",
  6021  				Type:        []string{"object"},
  6022  				Properties: map[string]spec.Schema{
  6023  					"kind": {
  6024  						SchemaProps: spec.SchemaProps{
  6025  							Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
  6026  							Type:        []string{"string"},
  6027  							Format:      "",
  6028  						},
  6029  					},
  6030  					"apiVersion": {
  6031  						SchemaProps: spec.SchemaProps{
  6032  							Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
  6033  							Type:        []string{"string"},
  6034  							Format:      "",
  6035  						},
  6036  					},
  6037  					"metadata": {
  6038  						SchemaProps: spec.SchemaProps{
  6039  							Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
  6040  						},
  6041  					},
  6042  					"items": {
  6043  						SchemaProps: spec.SchemaProps{
  6044  							Type: []string{"array"},
  6045  							Items: &spec.SchemaOrArray{
  6046  								Schema: &spec.Schema{
  6047  									SchemaProps: spec.SchemaProps{
  6048  										Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.Team"),
  6049  									},
  6050  								},
  6051  							},
  6052  						},
  6053  					},
  6054  				},
  6055  				Required: []string{"metadata", "items"},
  6056  			},
  6057  		},
  6058  		Dependencies: []string{
  6059  			"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.Team", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
  6060  	}
  6061  }
  6062  
  6063  func schema_pkg_apis_jenkinsio_v1_TeamSettings(ref common.ReferenceCallback) common.OpenAPIDefinition {
  6064  	return common.OpenAPIDefinition{
  6065  		Schema: spec.Schema{
  6066  			SchemaProps: spec.SchemaProps{
  6067  				Description: "TeamSettings the default settings for a team",
  6068  				Type:        []string{"object"},
  6069  				Properties: map[string]spec.Schema{
  6070  					"useGitOps": {
  6071  						SchemaProps: spec.SchemaProps{
  6072  							Type:   []string{"boolean"},
  6073  							Format: "",
  6074  						},
  6075  					},
  6076  					"askOnCreate": {
  6077  						SchemaProps: spec.SchemaProps{
  6078  							Type:   []string{"boolean"},
  6079  							Format: "",
  6080  						},
  6081  					},
  6082  					"branchPatterns": {
  6083  						SchemaProps: spec.SchemaProps{
  6084  							Type:   []string{"string"},
  6085  							Format: "",
  6086  						},
  6087  					},
  6088  					"forkBranchPatterns": {
  6089  						SchemaProps: spec.SchemaProps{
  6090  							Type:   []string{"string"},
  6091  							Format: "",
  6092  						},
  6093  					},
  6094  					"quickstartLocations": {
  6095  						SchemaProps: spec.SchemaProps{
  6096  							Type: []string{"array"},
  6097  							Items: &spec.SchemaOrArray{
  6098  								Schema: &spec.Schema{
  6099  									SchemaProps: spec.SchemaProps{
  6100  										Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.QuickStartLocation"),
  6101  									},
  6102  								},
  6103  							},
  6104  						},
  6105  					},
  6106  					"buildPackUrl": {
  6107  						SchemaProps: spec.SchemaProps{
  6108  							Type:   []string{"string"},
  6109  							Format: "",
  6110  						},
  6111  					},
  6112  					"buildPackRef": {
  6113  						SchemaProps: spec.SchemaProps{
  6114  							Type:   []string{"string"},
  6115  							Format: "",
  6116  						},
  6117  					},
  6118  					"helmBinary": {
  6119  						SchemaProps: spec.SchemaProps{
  6120  							Type:   []string{"string"},
  6121  							Format: "",
  6122  						},
  6123  					},
  6124  					"postPreviewJobs": {
  6125  						SchemaProps: spec.SchemaProps{
  6126  							Type: []string{"array"},
  6127  							Items: &spec.SchemaOrArray{
  6128  								Schema: &spec.Schema{
  6129  									SchemaProps: spec.SchemaProps{
  6130  										Ref: ref("k8s.io/api/batch/v1.Job"),
  6131  									},
  6132  								},
  6133  							},
  6134  						},
  6135  					},
  6136  					"promotionEngine": {
  6137  						SchemaProps: spec.SchemaProps{
  6138  							Type:   []string{"string"},
  6139  							Format: "",
  6140  						},
  6141  					},
  6142  					"noTiller": {
  6143  						SchemaProps: spec.SchemaProps{
  6144  							Type:   []string{"boolean"},
  6145  							Format: "",
  6146  						},
  6147  					},
  6148  					"helmTemplate": {
  6149  						SchemaProps: spec.SchemaProps{
  6150  							Type:   []string{"boolean"},
  6151  							Format: "",
  6152  						},
  6153  					},
  6154  					"gitServer": {
  6155  						SchemaProps: spec.SchemaProps{
  6156  							Type:   []string{"string"},
  6157  							Format: "",
  6158  						},
  6159  					},
  6160  					"organisation": {
  6161  						SchemaProps: spec.SchemaProps{
  6162  							Type:   []string{"string"},
  6163  							Format: "",
  6164  						},
  6165  					},
  6166  					"envOrganisation": {
  6167  						SchemaProps: spec.SchemaProps{
  6168  							Type:   []string{"string"},
  6169  							Format: "",
  6170  						},
  6171  					},
  6172  					"pipelineUsername": {
  6173  						SchemaProps: spec.SchemaProps{
  6174  							Type:   []string{"string"},
  6175  							Format: "",
  6176  						},
  6177  					},
  6178  					"pipelineUserEmail": {
  6179  						SchemaProps: spec.SchemaProps{
  6180  							Type:   []string{"string"},
  6181  							Format: "",
  6182  						},
  6183  					},
  6184  					"dockerRegistryOrg": {
  6185  						SchemaProps: spec.SchemaProps{
  6186  							Type:   []string{"string"},
  6187  							Format: "",
  6188  						},
  6189  					},
  6190  					"gitPublic": {
  6191  						SchemaProps: spec.SchemaProps{
  6192  							Type:   []string{"boolean"},
  6193  							Format: "",
  6194  						},
  6195  					},
  6196  					"kubeProvider": {
  6197  						SchemaProps: spec.SchemaProps{
  6198  							Type:   []string{"string"},
  6199  							Format: "",
  6200  						},
  6201  					},
  6202  					"appsRepository": {
  6203  						SchemaProps: spec.SchemaProps{
  6204  							Type:   []string{"string"},
  6205  							Format: "",
  6206  						},
  6207  					},
  6208  					"buildPackName": {
  6209  						SchemaProps: spec.SchemaProps{
  6210  							Type:   []string{"string"},
  6211  							Format: "",
  6212  						},
  6213  					},
  6214  					"storageLocations": {
  6215  						SchemaProps: spec.SchemaProps{
  6216  							Type: []string{"array"},
  6217  							Items: &spec.SchemaOrArray{
  6218  								Schema: &spec.Schema{
  6219  									SchemaProps: spec.SchemaProps{
  6220  										Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.StorageLocation"),
  6221  									},
  6222  								},
  6223  							},
  6224  						},
  6225  					},
  6226  					"deployKind": {
  6227  						SchemaProps: spec.SchemaProps{
  6228  							Description: "DeployKind what kind of deployment (\"default\" uses regular Kubernetes Services and Deployments, \"knative\" uses the Knative Service resource instead)",
  6229  							Type:        []string{"string"},
  6230  							Format:      "",
  6231  						},
  6232  					},
  6233  					"importMode": {
  6234  						SchemaProps: spec.SchemaProps{
  6235  							Description: "ImportMode indicates what kind of",
  6236  							Type:        []string{"string"},
  6237  							Format:      "",
  6238  						},
  6239  					},
  6240  					"prowEngine": {
  6241  						SchemaProps: spec.SchemaProps{
  6242  							Description: "ProwEngine is the kind of prow engine used such as knative build or build pipeline",
  6243  							Type:        []string{"string"},
  6244  							Format:      "",
  6245  						},
  6246  					},
  6247  					"versionStreamUrl": {
  6248  						SchemaProps: spec.SchemaProps{
  6249  							Description: "VersionStreamURL contains the git clone URL for the Version Stream which is the set of versions to use for charts, images, packages etc",
  6250  							Type:        []string{"string"},
  6251  							Format:      "",
  6252  						},
  6253  					},
  6254  					"versionStreamRef": {
  6255  						SchemaProps: spec.SchemaProps{
  6256  							Description: "VersionStreamRef contains the git ref (tag or branch) in the VersionStreamURL repository to use as the version stream",
  6257  							Type:        []string{"string"},
  6258  							Format:      "",
  6259  						},
  6260  					},
  6261  					"appPrefixes": {
  6262  						SchemaProps: spec.SchemaProps{
  6263  							Description: "AppsPrefixes is the list of prefixes for appNames",
  6264  							Type:        []string{"array"},
  6265  							Items: &spec.SchemaOrArray{
  6266  								Schema: &spec.Schema{
  6267  									SchemaProps: spec.SchemaProps{
  6268  										Type:   []string{"string"},
  6269  										Format: "",
  6270  									},
  6271  								},
  6272  							},
  6273  						},
  6274  					},
  6275  					"defaultScheduler": {
  6276  						SchemaProps: spec.SchemaProps{
  6277  							Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ResourceReference"),
  6278  						},
  6279  					},
  6280  					"prowConfig": {
  6281  						SchemaProps: spec.SchemaProps{
  6282  							Description: "ProwConfig is the way we manage prow configurations",
  6283  							Type:        []string{"string"},
  6284  							Format:      "",
  6285  						},
  6286  					},
  6287  					"profile": {
  6288  						SchemaProps: spec.SchemaProps{
  6289  							Description: "Profile is the profile in use (see jx profile)",
  6290  							Type:        []string{"string"},
  6291  							Format:      "",
  6292  						},
  6293  					},
  6294  					"bootRequirements": {
  6295  						SchemaProps: spec.SchemaProps{
  6296  							Description: "BootRequirements is a marshaled string of the jx-requirements.yml used in the most recent run for this cluster",
  6297  							Type:        []string{"string"},
  6298  							Format:      "",
  6299  						},
  6300  					},
  6301  					"deployOptions": {
  6302  						SchemaProps: spec.SchemaProps{
  6303  							Description: "DeployOptions configures options for how to deploy applications by default such as using canary rollouts (progressive delivery) or using horizontal pod autoscaler",
  6304  							Ref:         ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.DeployOptions"),
  6305  						},
  6306  					},
  6307  				},
  6308  			},
  6309  		},
  6310  		Dependencies: []string{
  6311  			"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.DeployOptions", "github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.QuickStartLocation", "github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.ResourceReference", "github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.StorageLocation", "k8s.io/api/batch/v1.Job"},
  6312  	}
  6313  }
  6314  
  6315  func schema_pkg_apis_jenkinsio_v1_TeamSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
  6316  	return common.OpenAPIDefinition{
  6317  		Schema: spec.Schema{
  6318  			SchemaProps: spec.SchemaProps{
  6319  				Description: "TeamSpec is the specification of an Team",
  6320  				Type:        []string{"object"},
  6321  				Properties: map[string]spec.Schema{
  6322  					"label": {
  6323  						SchemaProps: spec.SchemaProps{
  6324  							Type:   []string{"string"},
  6325  							Format: "",
  6326  						},
  6327  					},
  6328  					"kind": {
  6329  						SchemaProps: spec.SchemaProps{
  6330  							Type:   []string{"string"},
  6331  							Format: "",
  6332  						},
  6333  					},
  6334  					"members": {
  6335  						SchemaProps: spec.SchemaProps{
  6336  							Type: []string{"array"},
  6337  							Items: &spec.SchemaOrArray{
  6338  								Schema: &spec.Schema{
  6339  									SchemaProps: spec.SchemaProps{
  6340  										Type:   []string{"string"},
  6341  										Format: "",
  6342  									},
  6343  								},
  6344  							},
  6345  						},
  6346  					},
  6347  				},
  6348  			},
  6349  		},
  6350  		Dependencies: []string{},
  6351  	}
  6352  }
  6353  
  6354  func schema_pkg_apis_jenkinsio_v1_TeamStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
  6355  	return common.OpenAPIDefinition{
  6356  		Schema: spec.Schema{
  6357  			SchemaProps: spec.SchemaProps{
  6358  				Description: "TeamStatus is the status for an Team resource",
  6359  				Type:        []string{"object"},
  6360  				Properties: map[string]spec.Schema{
  6361  					"provisionStatus": {
  6362  						SchemaProps: spec.SchemaProps{
  6363  							Type:   []string{"string"},
  6364  							Format: "",
  6365  						},
  6366  					},
  6367  					"message": {
  6368  						SchemaProps: spec.SchemaProps{
  6369  							Type:   []string{"string"},
  6370  							Format: "",
  6371  						},
  6372  					},
  6373  				},
  6374  			},
  6375  		},
  6376  		Dependencies: []string{},
  6377  	}
  6378  }
  6379  
  6380  func schema_pkg_apis_jenkinsio_v1_Trigger(ref common.ReferenceCallback) common.OpenAPIDefinition {
  6381  	return common.OpenAPIDefinition{
  6382  		Schema: spec.Schema{
  6383  			SchemaProps: spec.SchemaProps{
  6384  				Description: "Trigger specifies a configuration for a single trigger.\n\nThe configuration for the trigger plugin is defined as a list of these structures.",
  6385  				Type:        []string{"object"},
  6386  				Properties: map[string]spec.Schema{
  6387  					"trustedOrg": {
  6388  						SchemaProps: spec.SchemaProps{
  6389  							Description: "TrustedOrg is the org whose members' PRs will be automatically built for PRs to the above repos. The default is the PR's org.",
  6390  							Type:        []string{"string"},
  6391  							Format:      "",
  6392  						},
  6393  					},
  6394  					"joinOrgUrl": {
  6395  						SchemaProps: spec.SchemaProps{
  6396  							Description: "JoinOrgURL is a link that redirects users to a location where they should be able to read more about joining the organization in order to become trusted members. Defaults to the Github link of TrustedOrg.",
  6397  							Type:        []string{"string"},
  6398  							Format:      "",
  6399  						},
  6400  					},
  6401  					"onlyOrgMembers": {
  6402  						SchemaProps: spec.SchemaProps{
  6403  							Description: "OnlyOrgMembers requires PRs and/or /ok-to-test comments to come from org members. By default, trigger also include repo collaborators.",
  6404  							Type:        []string{"boolean"},
  6405  							Format:      "",
  6406  						},
  6407  					},
  6408  					"ignoreOkToTest": {
  6409  						SchemaProps: spec.SchemaProps{
  6410  							Description: "IgnoreOkToTest makes trigger ignore /ok-to-test comments. This is a security mitigation to only allow testing from trusted users.",
  6411  							Type:        []string{"boolean"},
  6412  							Format:      "",
  6413  						},
  6414  					},
  6415  				},
  6416  			},
  6417  		},
  6418  		Dependencies: []string{},
  6419  	}
  6420  }
  6421  
  6422  func schema_pkg_apis_jenkinsio_v1_User(ref common.ReferenceCallback) common.OpenAPIDefinition {
  6423  	return common.OpenAPIDefinition{
  6424  		Schema: spec.Schema{
  6425  			SchemaProps: spec.SchemaProps{
  6426  				Description: "User represents a git user so we have a cache to find by email address",
  6427  				Type:        []string{"object"},
  6428  				Properties: map[string]spec.Schema{
  6429  					"kind": {
  6430  						SchemaProps: spec.SchemaProps{
  6431  							Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
  6432  							Type:        []string{"string"},
  6433  							Format:      "",
  6434  						},
  6435  					},
  6436  					"apiVersion": {
  6437  						SchemaProps: spec.SchemaProps{
  6438  							Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
  6439  							Type:        []string{"string"},
  6440  							Format:      "",
  6441  						},
  6442  					},
  6443  					"metadata": {
  6444  						SchemaProps: spec.SchemaProps{
  6445  							Description: "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata",
  6446  							Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
  6447  						},
  6448  					},
  6449  					"user": {
  6450  						SchemaProps: spec.SchemaProps{
  6451  							Description: "Deprecated, use Spec",
  6452  							Ref:         ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.UserDetails"),
  6453  						},
  6454  					},
  6455  					"spec": {
  6456  						SchemaProps: spec.SchemaProps{
  6457  							Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.UserDetails"),
  6458  						},
  6459  					},
  6460  				},
  6461  			},
  6462  		},
  6463  		Dependencies: []string{
  6464  			"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.UserDetails", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
  6465  	}
  6466  }
  6467  
  6468  func schema_pkg_apis_jenkinsio_v1_UserDetails(ref common.ReferenceCallback) common.OpenAPIDefinition {
  6469  	return common.OpenAPIDefinition{
  6470  		Schema: spec.Schema{
  6471  			SchemaProps: spec.SchemaProps{
  6472  				Description: "UserDetails containers details of a user",
  6473  				Type:        []string{"object"},
  6474  				Properties: map[string]spec.Schema{
  6475  					"login": {
  6476  						SchemaProps: spec.SchemaProps{
  6477  							Type:   []string{"string"},
  6478  							Format: "",
  6479  						},
  6480  					},
  6481  					"name": {
  6482  						SchemaProps: spec.SchemaProps{
  6483  							Type:   []string{"string"},
  6484  							Format: "",
  6485  						},
  6486  					},
  6487  					"email": {
  6488  						SchemaProps: spec.SchemaProps{
  6489  							Type:   []string{"string"},
  6490  							Format: "",
  6491  						},
  6492  					},
  6493  					"creationTimestamp": {
  6494  						SchemaProps: spec.SchemaProps{
  6495  							Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.Time"),
  6496  						},
  6497  					},
  6498  					"url": {
  6499  						SchemaProps: spec.SchemaProps{
  6500  							Type:   []string{"string"},
  6501  							Format: "",
  6502  						},
  6503  					},
  6504  					"avatarUrl": {
  6505  						SchemaProps: spec.SchemaProps{
  6506  							Type:   []string{"string"},
  6507  							Format: "",
  6508  						},
  6509  					},
  6510  					"serviceAccount": {
  6511  						SchemaProps: spec.SchemaProps{
  6512  							Type:   []string{"string"},
  6513  							Format: "",
  6514  						},
  6515  					},
  6516  					"accountReference": {
  6517  						SchemaProps: spec.SchemaProps{
  6518  							Type: []string{"array"},
  6519  							Items: &spec.SchemaOrArray{
  6520  								Schema: &spec.Schema{
  6521  									SchemaProps: spec.SchemaProps{
  6522  										Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.AccountReference"),
  6523  									},
  6524  								},
  6525  							},
  6526  						},
  6527  					},
  6528  					"externalUser": {
  6529  						SchemaProps: spec.SchemaProps{
  6530  							Type:   []string{"boolean"},
  6531  							Format: "",
  6532  						},
  6533  					},
  6534  				},
  6535  			},
  6536  		},
  6537  		Dependencies: []string{
  6538  			"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.AccountReference", "k8s.io/apimachinery/pkg/apis/meta/v1.Time"},
  6539  	}
  6540  }
  6541  
  6542  func schema_pkg_apis_jenkinsio_v1_UserList(ref common.ReferenceCallback) common.OpenAPIDefinition {
  6543  	return common.OpenAPIDefinition{
  6544  		Schema: spec.Schema{
  6545  			SchemaProps: spec.SchemaProps{
  6546  				Description: "UserList is a list of User resources",
  6547  				Type:        []string{"object"},
  6548  				Properties: map[string]spec.Schema{
  6549  					"kind": {
  6550  						SchemaProps: spec.SchemaProps{
  6551  							Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
  6552  							Type:        []string{"string"},
  6553  							Format:      "",
  6554  						},
  6555  					},
  6556  					"apiVersion": {
  6557  						SchemaProps: spec.SchemaProps{
  6558  							Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
  6559  							Type:        []string{"string"},
  6560  							Format:      "",
  6561  						},
  6562  					},
  6563  					"metadata": {
  6564  						SchemaProps: spec.SchemaProps{
  6565  							Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
  6566  						},
  6567  					},
  6568  					"items": {
  6569  						SchemaProps: spec.SchemaProps{
  6570  							Type: []string{"array"},
  6571  							Items: &spec.SchemaOrArray{
  6572  								Schema: &spec.Schema{
  6573  									SchemaProps: spec.SchemaProps{
  6574  										Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.User"),
  6575  									},
  6576  								},
  6577  							},
  6578  						},
  6579  					},
  6580  				},
  6581  				Required: []string{"metadata", "items"},
  6582  			},
  6583  		},
  6584  		Dependencies: []string{
  6585  			"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.User", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
  6586  	}
  6587  }
  6588  
  6589  func schema_pkg_apis_jenkinsio_v1_UserSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
  6590  	return common.OpenAPIDefinition{
  6591  		Schema: spec.Schema{
  6592  			SchemaProps: spec.SchemaProps{
  6593  				Description: "UserSpec is the user details",
  6594  				Type:        []string{"object"},
  6595  				Properties: map[string]spec.Schema{
  6596  					"username": {
  6597  						SchemaProps: spec.SchemaProps{
  6598  							Type:   []string{"string"},
  6599  							Format: "",
  6600  						},
  6601  					},
  6602  					"name": {
  6603  						SchemaProps: spec.SchemaProps{
  6604  							Type:   []string{"string"},
  6605  							Format: "",
  6606  						},
  6607  					},
  6608  					"linkUrl": {
  6609  						SchemaProps: spec.SchemaProps{
  6610  							Type:   []string{"string"},
  6611  							Format: "",
  6612  						},
  6613  					},
  6614  					"imageUrl": {
  6615  						SchemaProps: spec.SchemaProps{
  6616  							Type:   []string{"string"},
  6617  							Format: "",
  6618  						},
  6619  					},
  6620  				},
  6621  			},
  6622  		},
  6623  		Dependencies: []string{},
  6624  	}
  6625  }
  6626  
  6627  func schema_pkg_apis_jenkinsio_v1_Welcome(ref common.ReferenceCallback) common.OpenAPIDefinition {
  6628  	return common.OpenAPIDefinition{
  6629  		Schema: spec.Schema{
  6630  			SchemaProps: spec.SchemaProps{
  6631  				Description: "Welcome welcome plugin config",
  6632  				Type:        []string{"object"},
  6633  				Properties: map[string]spec.Schema{
  6634  					"message_template": {
  6635  						SchemaProps: spec.SchemaProps{
  6636  							Type:   []string{"string"},
  6637  							Format: "",
  6638  						},
  6639  					},
  6640  				},
  6641  			},
  6642  		},
  6643  		Dependencies: []string{},
  6644  	}
  6645  }
  6646  
  6647  func schema_pkg_apis_jenkinsio_v1_Workflow(ref common.ReferenceCallback) common.OpenAPIDefinition {
  6648  	return common.OpenAPIDefinition{
  6649  		Schema: spec.Schema{
  6650  			SchemaProps: spec.SchemaProps{
  6651  				Description: "Workflow represents pipeline activity for a particular run of a pipeline",
  6652  				Type:        []string{"object"},
  6653  				Properties: map[string]spec.Schema{
  6654  					"kind": {
  6655  						SchemaProps: spec.SchemaProps{
  6656  							Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
  6657  							Type:        []string{"string"},
  6658  							Format:      "",
  6659  						},
  6660  					},
  6661  					"apiVersion": {
  6662  						SchemaProps: spec.SchemaProps{
  6663  							Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
  6664  							Type:        []string{"string"},
  6665  							Format:      "",
  6666  						},
  6667  					},
  6668  					"metadata": {
  6669  						SchemaProps: spec.SchemaProps{
  6670  							Description: "Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata",
  6671  							Ref:         ref("k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"),
  6672  						},
  6673  					},
  6674  					"spec": {
  6675  						SchemaProps: spec.SchemaProps{
  6676  							Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.WorkflowSpec"),
  6677  						},
  6678  					},
  6679  					"status": {
  6680  						SchemaProps: spec.SchemaProps{
  6681  							Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.WorkflowStatus"),
  6682  						},
  6683  					},
  6684  				},
  6685  			},
  6686  		},
  6687  		Dependencies: []string{
  6688  			"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.WorkflowSpec", "github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.WorkflowStatus", "k8s.io/apimachinery/pkg/apis/meta/v1.ObjectMeta"},
  6689  	}
  6690  }
  6691  
  6692  func schema_pkg_apis_jenkinsio_v1_WorkflowList(ref common.ReferenceCallback) common.OpenAPIDefinition {
  6693  	return common.OpenAPIDefinition{
  6694  		Schema: spec.Schema{
  6695  			SchemaProps: spec.SchemaProps{
  6696  				Description: "WorkflowList is a list of Workflow resources",
  6697  				Type:        []string{"object"},
  6698  				Properties: map[string]spec.Schema{
  6699  					"kind": {
  6700  						SchemaProps: spec.SchemaProps{
  6701  							Description: "Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
  6702  							Type:        []string{"string"},
  6703  							Format:      "",
  6704  						},
  6705  					},
  6706  					"apiVersion": {
  6707  						SchemaProps: spec.SchemaProps{
  6708  							Description: "APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
  6709  							Type:        []string{"string"},
  6710  							Format:      "",
  6711  						},
  6712  					},
  6713  					"metadata": {
  6714  						SchemaProps: spec.SchemaProps{
  6715  							Ref: ref("k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"),
  6716  						},
  6717  					},
  6718  					"items": {
  6719  						SchemaProps: spec.SchemaProps{
  6720  							Type: []string{"array"},
  6721  							Items: &spec.SchemaOrArray{
  6722  								Schema: &spec.Schema{
  6723  									SchemaProps: spec.SchemaProps{
  6724  										Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.Workflow"),
  6725  									},
  6726  								},
  6727  							},
  6728  						},
  6729  					},
  6730  				},
  6731  				Required: []string{"metadata", "items"},
  6732  			},
  6733  		},
  6734  		Dependencies: []string{
  6735  			"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.Workflow", "k8s.io/apimachinery/pkg/apis/meta/v1.ListMeta"},
  6736  	}
  6737  }
  6738  
  6739  func schema_pkg_apis_jenkinsio_v1_WorkflowPreconditions(ref common.ReferenceCallback) common.OpenAPIDefinition {
  6740  	return common.OpenAPIDefinition{
  6741  		Schema: spec.Schema{
  6742  			SchemaProps: spec.SchemaProps{
  6743  				Description: "WorkflowPreconditions is the trigger to start a step",
  6744  				Type:        []string{"object"},
  6745  				Properties: map[string]spec.Schema{
  6746  					"environments": {
  6747  						SchemaProps: spec.SchemaProps{
  6748  							Description: "the names of the environments which need to have promoted before this step can be triggered",
  6749  							Type:        []string{"array"},
  6750  							Items: &spec.SchemaOrArray{
  6751  								Schema: &spec.Schema{
  6752  									SchemaProps: spec.SchemaProps{
  6753  										Type:   []string{"string"},
  6754  										Format: "",
  6755  									},
  6756  								},
  6757  							},
  6758  						},
  6759  					},
  6760  				},
  6761  			},
  6762  		},
  6763  		Dependencies: []string{},
  6764  	}
  6765  }
  6766  
  6767  func schema_pkg_apis_jenkinsio_v1_WorkflowSpec(ref common.ReferenceCallback) common.OpenAPIDefinition {
  6768  	return common.OpenAPIDefinition{
  6769  		Schema: spec.Schema{
  6770  			SchemaProps: spec.SchemaProps{
  6771  				Description: "WorkflowSpec is the specification of the pipeline activity",
  6772  				Type:        []string{"object"},
  6773  				Properties: map[string]spec.Schema{
  6774  					"pipeline": {
  6775  						SchemaProps: spec.SchemaProps{
  6776  							Type:   []string{"string"},
  6777  							Format: "",
  6778  						},
  6779  					},
  6780  					"steps": {
  6781  						SchemaProps: spec.SchemaProps{
  6782  							Type: []string{"array"},
  6783  							Items: &spec.SchemaOrArray{
  6784  								Schema: &spec.Schema{
  6785  									SchemaProps: spec.SchemaProps{
  6786  										Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.WorkflowStep"),
  6787  									},
  6788  								},
  6789  							},
  6790  						},
  6791  					},
  6792  				},
  6793  			},
  6794  		},
  6795  		Dependencies: []string{
  6796  			"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.WorkflowStep"},
  6797  	}
  6798  }
  6799  
  6800  func schema_pkg_apis_jenkinsio_v1_WorkflowStatus(ref common.ReferenceCallback) common.OpenAPIDefinition {
  6801  	return common.OpenAPIDefinition{
  6802  		Schema: spec.Schema{
  6803  			SchemaProps: spec.SchemaProps{
  6804  				Description: "WorkflowStatus is the status for an Environment resource",
  6805  				Type:        []string{"object"},
  6806  				Properties: map[string]spec.Schema{
  6807  					"version": {
  6808  						SchemaProps: spec.SchemaProps{
  6809  							Type:   []string{"string"},
  6810  							Format: "",
  6811  						},
  6812  					},
  6813  				},
  6814  			},
  6815  		},
  6816  		Dependencies: []string{},
  6817  	}
  6818  }
  6819  
  6820  func schema_pkg_apis_jenkinsio_v1_WorkflowStep(ref common.ReferenceCallback) common.OpenAPIDefinition {
  6821  	return common.OpenAPIDefinition{
  6822  		Schema: spec.Schema{
  6823  			SchemaProps: spec.SchemaProps{
  6824  				Description: "WorkflowStep represents a step in a pipeline activity",
  6825  				Type:        []string{"object"},
  6826  				Properties: map[string]spec.Schema{
  6827  					"kind": {
  6828  						SchemaProps: spec.SchemaProps{
  6829  							Type:   []string{"string"},
  6830  							Format: "",
  6831  						},
  6832  					},
  6833  					"name": {
  6834  						SchemaProps: spec.SchemaProps{
  6835  							Type:   []string{"string"},
  6836  							Format: "",
  6837  						},
  6838  					},
  6839  					"description": {
  6840  						SchemaProps: spec.SchemaProps{
  6841  							Type:   []string{"string"},
  6842  							Format: "",
  6843  						},
  6844  					},
  6845  					"trigger": {
  6846  						SchemaProps: spec.SchemaProps{
  6847  							Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.WorkflowPreconditions"),
  6848  						},
  6849  					},
  6850  					"promote": {
  6851  						SchemaProps: spec.SchemaProps{
  6852  							Ref: ref("github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.PromoteWorkflowStep"),
  6853  						},
  6854  					},
  6855  				},
  6856  			},
  6857  		},
  6858  		Dependencies: []string{
  6859  			"github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.PromoteWorkflowStep", "github.com/jenkins-x/jx-api/pkg/apis/jenkins.io/v1.WorkflowPreconditions"},
  6860  	}
  6861  }