{
  "properties": {
    "apiVersion": {
      "description": "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
      "type": [
        "string",
        "null"
      ]
    },
    "kind": {
      "description": "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
      "type": [
        "string",
        "null"
      ]
    },
    "metadata": {
      "type": [
        "object",
        "null"
      ]
    },
    "spec": {
      "additionalProperties": false,
      "description": "RenovateProjectSpec contains the immutable identity of the tracked repository.",
      "properties": {
        "project": {
          "description": "Project is the full repository name as reported by the git platform (e.g. \"org/repo\").",
          "type": "string",
          "x-kubernetes-validations": [
            {
              "message": "project is immutable",
              "rule": "self == oldSelf"
            }
          ]
        }
      },
      "required": [
        "project"
      ],
      "type": [
        "object",
        "null"
      ]
    },
    "status": {
      "additionalProperties": false,
      "description": "RenovateProjectState captures the runtime status of one Renovate run for this repository.",
      "properties": {
        "duration": {
          "type": [
            "string",
            "null"
          ]
        },
        "executionOptions": {
          "additionalProperties": false,
          "properties": {
            "debug": {
              "description": "If true, the renovate job will be executed with RENOVATE_LOG_LEVEL=debug",
              "type": [
                "boolean",
                "null"
              ]
            }
          },
          "type": [
            "object",
            "null"
          ]
        },
        "lastTransition": {
          "description": "LastTransition records when the project most recently changed state.",
          "format": "date-time",
          "type": [
            "string",
            "null"
          ]
        },
        "logIssues": {
          "additionalProperties": false,
          "description": "LogIssues contains aggregate counts and individual issue messages from a Renovate run.",
          "properties": {
            "errorCount": {
              "type": "integer"
            },
            "issues": {
              "items": {
                "additionalProperties": false,
                "description": "LogIssue represents a single warning or error from Renovate logs.",
                "properties": {
                  "level": {
                    "type": "integer"
                  },
                  "message": {
                    "type": "string"
                  }
                },
                "required": [
                  "level",
                  "message"
                ],
                "type": "object"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "truncated": {
              "type": [
                "boolean",
                "null"
              ]
            },
            "warnCount": {
              "type": "integer"
            }
          },
          "required": [
            "errorCount",
            "warnCount"
          ],
          "type": [
            "object",
            "null"
          ]
        },
        "prActivity": {
          "additionalProperties": false,
          "description": "PRActivity contains aggregate counts and individual details of PR activity from a run.",
          "properties": {
            "automerged": {
              "type": "integer"
            },
            "created": {
              "type": "integer"
            },
            "needsApproval": {
              "type": "integer"
            },
            "prs": {
              "items": {
                "additionalProperties": false,
                "description": "PRDetail represents a single PR found in Renovate logs.",
                "properties": {
                  "action": {
                    "description": "PRAction represents what happened to a PR in a Renovate run.",
                    "type": "string"
                  },
                  "branch": {
                    "type": "string"
                  },
                  "number": {
                    "type": [
                      "integer",
                      "null"
                    ]
                  },
                  "title": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "required": [
                  "action",
                  "branch"
                ],
                "type": "object"
              },
              "type": [
                "array",
                "null"
              ]
            },
            "truncated": {
              "type": [
                "boolean",
                "null"
              ]
            },
            "unchanged": {
              "type": "integer"
            },
            "updated": {
              "type": "integer"
            }
          },
          "required": [
            "automerged",
            "created",
            "needsApproval",
            "unchanged",
            "updated"
          ],
          "type": [
            "object",
            "null"
          ]
        },
        "priority": {
          "format": "int32",
          "type": [
            "integer",
            "null"
          ]
        },
        "renovateResultStatus": {
          "type": [
            "string",
            "null"
          ]
        },
        "status": {
          "type": "string"
        }
      },
      "required": [
        "status"
      ],
      "type": [
        "object",
        "null"
      ]
    }
  },
  "type": "object"
}