{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--mongodb-atlas-orginvitation.json",
  "title": "MongoDBAtlasOrgInvitationProperties",
  "description": "Returns, adds, and edits organizational units in MongoDB Cloud.. Source:- <https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git>",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/resources/cloudformation-modified/mongodb-atlas-orginvitation.json",
    "sourceSha256": "aee392569428a2f57740eabf8f7a02665b13338ab2f11d31739028ac2f9ec084"
  },
  "type": "object",
  "properties": {
    "Profile": {
      "oneOf": [
        {
          "type": "string",
          "default": "default"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "Profile used to provide credentials information, (a secret with the cfn/atlas/profile/{Profile}, is required), if not provided default is used"
    },
    "IncludeCount": {
      "type": "boolean",
      "description": "Flag that indicates whether the response returns the total number of items (**totalCount**) in the response."
    },
    "InvitationId": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "Unique 24-hexadecimal digit string that identifies the invitation."
    },
    "ItemsPerPage": {
      "type": "integer",
      "description": "Number of items that the response returns per page."
    },
    "OrgId": {
      "oneOf": [
        {
          "type": "string",
          "maxLength": 24,
          "minLength": 24,
          "pattern": "^([a-f0-9]{24})$"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "Unique 24-hexadecimal digit string that identifies the organization that contains your projects."
    },
    "OrgName": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "Human-readable label that identifies this organization."
    },
    "PageNum": {
      "type": "integer",
      "description": "Number of the page that displays the current set of the total objects that the response returns."
    },
    "Roles": {
      "type": "array",
      "insertionOrder": false,
      "description": "One or more organization or project level roles to assign to the MongoDB Cloud user.",
      "items": {
        "type": "string",
        "enum": [
          "ORG_OWNER",
          "ORG_MEMBER",
          "ORG_GROUP_CREATOR",
          "ORG_BILLING_ADMIN",
          "ORG_READ_ONLY",
          "GROUP_CLUSTER_MANAGER",
          "GROUP_DATA_ACCESS_ADMIN",
          "GROUP_DATA_ACCESS_READ_ONLY",
          "GROUP_DATA_ACCESS_READ_WRITE",
          "GROUP_OWNER",
          "GROUP_READ_ONLY"
        ]
      }
    },
    "TeamIds": {
      "type": "array",
      "insertionOrder": false,
      "description": "List of unique 24-hexadecimal digit strings that identifies each team.",
      "items": {
        "type": "string"
      }
    },
    "TotalCount": {
      "type": "number",
      "description": "Number of documents returned in this response."
    },
    "Username": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "Email address of the MongoDB Cloud user invited to join the organization."
    }
  },
  "$defs": {},
  "additionalProperties": false,
  "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git",
  "typeName": "MongoDB::Atlas::OrgInvitation",
  "required": [
    "Profile"
  ],
  "primaryIdentifier": [
    "/properties/Id",
    "/properties/OrgId",
    "/properties/Profile"
  ],
  "readOnlyProperties": [
    "/properties/ExpiresAt",
    "/properties/Id",
    "/properties/CreatedAt",
    "/properties/InviterUsername"
  ],
  "createOnlyProperties": [
    "/properties/Username",
    "/properties/TeamIds",
    "/properties/Profile"
  ]
}
