{
  "description": "A group, managed by the MongoDB Kubernetes Atlas Operator.",
  "properties": {
    "spec": {
      "description": "Specification of the group supporting the following versions:\n\n- v20250312\n\nAt most one versioned spec can be specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status",
      "properties": {
        "connectionSecretRef": {
          "description": "SENSITIVE FIELD\n\nReference to a secret containing the credentials to setup the connection to Atlas.",
          "properties": {
            "name": {
              "description": "Name of the secret containing the Atlas credentials.",
              "type": "string"
            }
          },
          "type": "object",
          "additionalProperties": false
        },
        "v20250312": {
          "description": "The spec of the group resource for version v20250312.",
          "properties": {
            "entry": {
              "description": "The entry fields of the group resource spec. These fields can be set for creating and updating groups.",
              "properties": {
                "name": {
                  "description": "Human-readable label that identifies the project included in the MongoDB Cloud organization.",
                  "type": "string"
                },
                "orgId": {
                  "description": "Unique 24-hexadecimal digit string that identifies the MongoDB Cloud organization to which the project belongs.",
                  "example": "32b6e34b3d91647abb20e7b8",
                  "type": "string"
                },
                "regionUsageRestrictions": {
                  "description": "Applies to Atlas for Government only.\n\nIn Commercial Atlas, this field will be rejected in requests and missing in responses.\n\nThis field sets restrictions on available regions in the project.\n\n`COMMERCIAL_FEDRAMP_REGIONS_ONLY`: Only allows deployments in FedRAMP Moderate regions.\n\n`GOV_REGIONS_ONLY`: Only allows deployments in GovCloud regions.",
                  "type": "string"
                },
                "tags": {
                  "description": "List that contains key-value pairs between 1 to 255 characters in length for tagging and categorizing the project.",
                  "items": {
                    "description": "Key-value pair that tags and categorizes a MongoDB Cloud organization, project, or cluster. For example, `environment : production`.",
                    "properties": {
                      "key": {
                        "description": "Constant that defines the set of the tag. For example, `environment` in the `environment : production` tag.",
                        "type": "string"
                      },
                      "value": {
                        "description": "Variable that belongs to the set of the tag. For example, `production` in the `environment : production` tag.",
                        "type": "string"
                      }
                    },
                    "required": [
                      "key",
                      "value"
                    ],
                    "title": "Resource Tag",
                    "type": "object",
                    "additionalProperties": false
                  },
                  "type": "array"
                },
                "withDefaultAlertsSettings": {
                  "description": "Flag that indicates whether to create the project with default alert settings.",
                  "type": "boolean"
                }
              },
              "required": [
                "name",
                "orgId"
              ],
              "type": "object",
              "additionalProperties": false
            },
            "projectOwnerId": {
              "description": "Unique 24-hexadecimal digit string that identifies the MongoDB Cloud user to whom to grant the Project Owner role on the specified project. If you set this parameter, it overrides the default value of the oldest Organization Owner.",
              "type": "string",
              "x-kubernetes-validations": [
                {
                  "message": "projectOwnerId cannot be modified after creation",
                  "rule": "self == oldSelf"
                }
              ]
            }
          },
          "type": "object",
          "additionalProperties": false
        }
      },
      "type": "object",
      "additionalProperties": false
    },
    "status": {
      "description": "Most recently observed read-only status of the group for the specified resource version. This data may not be up to date and is populated by the system. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#spec-and-status",
      "properties": {
        "conditions": {
          "description": "Represents the latest available observations of a resource's current state.",
          "items": {
            "properties": {
              "lastTransitionTime": {
                "description": "Last time the condition transitioned from one status to another.",
                "format": "date-time",
                "type": "string"
              },
              "message": {
                "description": "A human readable message indicating details about the transition.",
                "type": "string"
              },
              "observedGeneration": {
                "description": "observedGeneration represents the .metadata.generation that the condition was set based upon.",
                "type": "integer"
              },
              "reason": {
                "description": "The reason for the condition's last transition.",
                "type": "string"
              },
              "status": {
                "description": "Status of the condition, one of True, False, Unknown.",
                "type": "string"
              },
              "type": {
                "description": "Type of condition.",
                "type": "string"
              }
            },
            "required": [
              "type",
              "status"
            ],
            "type": "object",
            "additionalProperties": false
          },
          "type": "array",
          "x-kubernetes-list-map-keys": [
            "type"
          ],
          "x-kubernetes-list-type": "map"
        },
        "v20250312": {
          "description": "The last observed Atlas state of the group resource for version v20250312.",
          "properties": {
            "clusterCount": {
              "description": "Quantity of MongoDB Cloud clusters deployed in this project.",
              "type": "integer"
            },
            "created": {
              "description": "Date and time when MongoDB Cloud created this project. This parameter expresses its value in the ISO 8601 timestamp format in UTC.",
              "type": "string"
            },
            "id": {
              "description": "Unique 24-hexadecimal digit string that identifies the MongoDB Cloud project.",
              "example": "32b6e34b3d91647abb20e7b8",
              "type": "string"
            }
          },
          "required": [
            "clusterCount",
            "created"
          ],
          "type": "object",
          "additionalProperties": false
        }
      },
      "type": "object",
      "additionalProperties": false
    }
  },
  "type": "object"
}
