{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "properties": {
    "contractorAuthorityGroup": {
      "type": "object",
      "properties": {
        "acceptedEmails": {
          "minItems": 1,
          "type": "array",
          "items": {
            "type": "string",
            "format": "email",
            "pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"
          }
        },
        "email": {
          "type": "string",
          "format": "email",
          "pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"
        },
        "id": {
          "type": "string",
          "minLength": 1
        }
      },
      "required": [
        "acceptedEmails",
        "email",
        "id"
      ],
      "additionalProperties": false
    },
    "execution": {
      "anyOf": [
        {
          "type": "object",
          "properties": {
            "notificationStatusUrl": {
              "type": "string",
              "format": "uri"
            },
            "posthog": {
              "anyOf": [
                {
                  "type": "object",
                  "properties": {
                    "origin": {
                      "type": "string",
                      "enum": [
                        "https://us.posthog.com",
                        "https://eu.posthog.com"
                      ]
                    },
                    "organizationId": {
                      "type": "string",
                      "pattern": "^[a-f0-9]{8}(?:-[a-f0-9]{4}){3}-[a-f0-9]{12}$"
                    },
                    "actorUuid": {
                      "type": "string",
                      "pattern": "^[a-f0-9]{8}(?:-[a-f0-9]{4}){3}-[a-f0-9]{12}$"
                    },
                    "authorityGroupEmail": {
                      "type": "string",
                      "format": "email",
                      "pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"
                    },
                    "authorityGroupId": {
                      "type": "string",
                      "minLength": 1
                    },
                    "minimumGoogleUsers": {
                      "type": "integer",
                      "exclusiveMinimum": 0,
                      "maximum": 9007199254740991
                    },
                    "adoptedGrants": {
                      "default": [],
                      "type": "array",
                      "items": {
                        "oneOf": [
                          {
                            "type": "object",
                            "properties": {
                              "googleUserId": {
                                "type": "string",
                                "pattern": "^[1-9]\\d*$"
                              },
                              "email": {
                                "type": "string",
                                "format": "email",
                                "pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"
                              },
                              "evidence": {
                                "oneOf": [
                                  {
                                    "type": "object",
                                    "properties": {
                                      "kind": {
                                        "type": "string",
                                        "const": "invitation"
                                      },
                                      "inviteId": {
                                        "type": "string",
                                        "pattern": "^[a-f0-9]{8}(?:-[a-f0-9]{4}){3}-[a-f0-9]{12}$"
                                      }
                                    },
                                    "required": [
                                      "kind",
                                      "inviteId"
                                    ],
                                    "additionalProperties": false
                                  },
                                  {
                                    "type": "object",
                                    "properties": {
                                      "kind": {
                                        "type": "string",
                                        "const": "membership"
                                      },
                                      "userUuid": {
                                        "type": "string",
                                        "pattern": "^[a-f0-9]{8}(?:-[a-f0-9]{4}){3}-[a-f0-9]{12}$"
                                      }
                                    },
                                    "required": [
                                      "kind",
                                      "userUuid"
                                    ],
                                    "additionalProperties": false
                                  },
                                  {
                                    "type": "object",
                                    "properties": {
                                      "kind": {
                                        "type": "string",
                                        "const": "accepted-invitation"
                                      },
                                      "inviteId": {
                                        "type": "string",
                                        "pattern": "^[a-f0-9]{8}(?:-[a-f0-9]{4}){3}-[a-f0-9]{12}$"
                                      },
                                      "userUuid": {
                                        "type": "string",
                                        "pattern": "^[a-f0-9]{8}(?:-[a-f0-9]{4}){3}-[a-f0-9]{12}$"
                                      }
                                    },
                                    "required": [
                                      "kind",
                                      "inviteId",
                                      "userUuid"
                                    ],
                                    "additionalProperties": false
                                  }
                                ]
                              },
                              "state": {
                                "type": "string",
                                "const": "managed"
                              }
                            },
                            "required": [
                              "googleUserId",
                              "email",
                              "evidence",
                              "state"
                            ],
                            "additionalProperties": false
                          },
                          {
                            "type": "object",
                            "properties": {
                              "googleUserId": {
                                "type": "string",
                                "pattern": "^[1-9]\\d*$"
                              },
                              "email": {
                                "type": "string",
                                "format": "email",
                                "pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"
                              },
                              "evidence": {
                                "oneOf": [
                                  {
                                    "type": "object",
                                    "properties": {
                                      "kind": {
                                        "type": "string",
                                        "const": "invitation"
                                      },
                                      "inviteId": {
                                        "type": "string",
                                        "pattern": "^[a-f0-9]{8}(?:-[a-f0-9]{4}){3}-[a-f0-9]{12}$"
                                      }
                                    },
                                    "required": [
                                      "kind",
                                      "inviteId"
                                    ],
                                    "additionalProperties": false
                                  },
                                  {
                                    "type": "object",
                                    "properties": {
                                      "kind": {
                                        "type": "string",
                                        "const": "membership"
                                      },
                                      "userUuid": {
                                        "type": "string",
                                        "pattern": "^[a-f0-9]{8}(?:-[a-f0-9]{4}){3}-[a-f0-9]{12}$"
                                      }
                                    },
                                    "required": [
                                      "kind",
                                      "userUuid"
                                    ],
                                    "additionalProperties": false
                                  },
                                  {
                                    "type": "object",
                                    "properties": {
                                      "kind": {
                                        "type": "string",
                                        "const": "accepted-invitation"
                                      },
                                      "inviteId": {
                                        "type": "string",
                                        "pattern": "^[a-f0-9]{8}(?:-[a-f0-9]{4}){3}-[a-f0-9]{12}$"
                                      },
                                      "userUuid": {
                                        "type": "string",
                                        "pattern": "^[a-f0-9]{8}(?:-[a-f0-9]{4}){3}-[a-f0-9]{12}$"
                                      }
                                    },
                                    "required": [
                                      "kind",
                                      "inviteId",
                                      "userUuid"
                                    ],
                                    "additionalProperties": false
                                  }
                                ]
                              },
                              "state": {
                                "type": "string",
                                "const": "retired"
                              }
                            },
                            "required": [
                              "googleUserId",
                              "email",
                              "evidence",
                              "state"
                            ],
                            "additionalProperties": false
                          }
                        ]
                      }
                    }
                  },
                  "required": [
                    "origin",
                    "organizationId",
                    "actorUuid",
                    "authorityGroupEmail",
                    "authorityGroupId",
                    "minimumGoogleUsers"
                  ],
                  "additionalProperties": false
                },
                {
                  "type": "null"
                }
              ]
            },
            "sentry": {
              "type": "object",
              "properties": {
                "organizationSlug": {
                  "type": "string",
                  "pattern": "^[a-z0-9][a-z0-9_-]*$"
                },
                "authorityGroupEmail": {
                  "type": "string",
                  "format": "email",
                  "pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"
                },
                "applyLeaseKey": {
                  "type": "string",
                  "minLength": 1
                }
              },
              "required": [
                "organizationSlug",
                "authorityGroupEmail",
                "applyLeaseKey"
              ],
              "additionalProperties": false
            },
            "expectedNoTeamAssignmentIdentities": {
              "type": "array",
              "items": {
                "type": "string",
                "format": "email",
                "pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"
              }
            },
            "accessGuard": {
              "type": "object",
              "properties": {
                "allowedEmptyManagerGoogleUserIds": {
                  "type": "array",
                  "items": {
                    "type": "string",
                    "pattern": "^\\d+$"
                  },
                  "description": "Reviewed identities whose manager may remain unassigned"
                },
                "alertsChannelId": {
                  "type": "string",
                  "pattern": "^C[A-Z0-9]+$",
                  "description": "Private #alerts-it-admin channel that holds alerts and the Slack metadata ledger"
                },
                "alertsChannelName": {
                  "type": "string",
                  "const": "alerts-it-admin",
                  "description": "Exact live Slack channel name pinned alongside the immutable channel ID"
                },
                "enabled": {
                  "type": "boolean",
                  "description": "Checked-in kill switch for the scheduled access guard"
                },
                "expectedAttioWorkspaceId": {
                  "anyOf": [
                    {
                      "type": "string",
                      "format": "uuid",
                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "description": "Immutable Attio tenant ID; null keeps Attio access auditing fail-closed"
                },
                "expectedGitHubOrganization": {
                  "type": "string",
                  "pattern": "^[A-Za-z0-9-]+$",
                  "description": "Exact GitHub organization used for read-only SCIM access coverage"
                },
                "expectedLinearOrganizationId": {
                  "anyOf": [
                    {
                      "type": "string",
                      "format": "uuid",
                      "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "description": "Immutable Linear tenant ID; null keeps Linear audit and enforcement fail-closed"
                },
                "expectedLinearOrganizationUrlKey": {
                  "type": "string",
                  "pattern": "^[a-z0-9-]+$",
                  "description": "Human-verifiable Linear workspace URL key used during tenant discovery"
                },
                "maxAutomaticLinearSuspensions": {
                  "type": "number",
                  "const": 0,
                  "description": "Unsigned scheduled mutation is permanently disabled"
                },
                "maxReviewedLinearSuspensions": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 9007199254740991,
                  "description": "Checked-in cap for signed Workspace Directory PLAN/APPLY"
                },
                "minimumProviderAccounts": {
                  "type": "object",
                  "properties": {
                    "attio": {
                      "type": "integer",
                      "exclusiveMinimum": 0,
                      "maximum": 9007199254740991
                    },
                    "github": {
                      "type": "integer",
                      "exclusiveMinimum": 0,
                      "maximum": 9007199254740991
                    },
                    "linear": {
                      "type": "integer",
                      "exclusiveMinimum": 0,
                      "maximum": 9007199254740991
                    },
                    "pagerduty": {
                      "type": "integer",
                      "exclusiveMinimum": 0,
                      "maximum": 9007199254740991
                    },
                    "slack": {
                      "type": "integer",
                      "exclusiveMinimum": 0,
                      "maximum": 9007199254740991
                    }
                  },
                  "required": [
                    "attio",
                    "github",
                    "linear",
                    "pagerduty",
                    "slack"
                  ],
                  "additionalProperties": false,
                  "description": "Conservative fail-closed account floors for every provider snapshot"
                }
              },
              "required": [
                "allowedEmptyManagerGoogleUserIds",
                "alertsChannelId",
                "alertsChannelName",
                "enabled",
                "expectedAttioWorkspaceId",
                "expectedGitHubOrganization",
                "expectedLinearOrganizationId",
                "expectedLinearOrganizationUrlKey",
                "maxAutomaticLinearSuspensions",
                "maxReviewedLinearSuspensions",
                "minimumProviderAccounts"
              ],
              "additionalProperties": false
            },
            "ledger": {
              "type": "object",
              "properties": {
                "channelId": {
                  "type": "string",
                  "pattern": "^C[A-Z0-9]+$"
                },
                "channelName": {
                  "type": "string",
                  "pattern": "^[a-z0-9_-]+$"
                }
              },
              "required": [
                "channelId",
                "channelName"
              ],
              "additionalProperties": false
            },
            "legacyCanaryResolution": {
              "type": "object",
              "properties": {
                "tickId": {
                  "type": "string",
                  "pattern": "^[a-f0-9]{64}$"
                },
                "intentId": {
                  "type": "string",
                  "pattern": "^[a-f0-9]{64}$"
                },
                "workflowId": {
                  "type": "string",
                  "pattern": "^[a-f0-9]{64}$"
                },
                "paramsDigest": {
                  "type": "string",
                  "pattern": "^[a-f0-9]{64}$"
                },
                "planHash": {
                  "type": "string",
                  "pattern": "^[a-f0-9]{64}$"
                },
                "workerVersionId": {
                  "type": "string",
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                },
                "workerRevision": {
                  "type": "string",
                  "pattern": "^[a-f0-9]{40}$"
                },
                "workflowVersionId": {
                  "type": "string",
                  "format": "uuid",
                  "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
                },
                "evidenceId": {
                  "type": "string",
                  "pattern": "^github-actions:[0-9]+:[0-9]+$"
                },
                "scheduledAtMs": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 9007199254740991
                },
                "attemptedAtMs": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 9007199254740991
                },
                "expiresAtMs": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 9007199254740991
                },
                "reservedAtMs": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 9007199254740991
                },
                "revision": {
                  "type": "integer",
                  "minimum": 0,
                  "maximum": 9007199254740991
                },
                "googleUserId": {
                  "type": "string",
                  "pattern": "^[1-9][0-9]{5,30}$"
                },
                "slackUserId": {
                  "type": "string",
                  "pattern": "^U[A-Z0-9]+$"
                },
                "slackUserGroupId": {
                  "type": "string",
                  "pattern": "^S[A-Z0-9]+$"
                }
              },
              "required": [
                "tickId",
                "intentId",
                "workflowId",
                "paramsDigest",
                "planHash",
                "workerVersionId",
                "workerRevision",
                "workflowVersionId",
                "evidenceId",
                "scheduledAtMs",
                "attemptedAtMs",
                "expiresAtMs",
                "reservedAtMs",
                "revision",
                "googleUserId",
                "slackUserId",
                "slackUserGroupId"
              ],
              "additionalProperties": false
            }
          },
          "required": [
            "notificationStatusUrl",
            "sentry",
            "expectedNoTeamAssignmentIdentities",
            "accessGuard",
            "ledger",
            "legacyCanaryResolution"
          ],
          "additionalProperties": false
        },
        {
          "type": "null"
        }
      ]
    },
    "employeeEntitlementExcludedEmails": {
      "type": "array",
      "items": {
        "type": "string",
        "format": "email",
        "pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"
      }
    },
    "ignoredDeletedGoogleUserIds": {
      "type": "array",
      "items": {
        "type": "string",
        "pattern": "^[1-9]\\d{4,29}$"
      }
    },
    "org": {
      "type": "object",
      "properties": {
        "allowedEmptyDepartmentGoogleUserIds": {
          "type": "array",
          "items": {
            "type": "string",
            "pattern": "^\\d+$",
            "description": "Immutable Google Directory user ID"
          },
          "description": "Root Google identities permitted to have an empty department"
        },
        "allTeamDriveId": {
          "type": "string",
          "minLength": 1,
          "description": "All Team Shared Drive root where the managed HTML org chart is upserted"
        },
        "excludedGoogleUserIds": {
          "type": "array",
          "items": {
            "type": "string",
            "pattern": "^\\d+$",
            "description": "Immutable Google Directory user ID"
          },
          "description": "Explicit non-person Directory identities omitted from the employee chart"
        },
        "expectedRootGoogleUserIds": {
          "minItems": 1,
          "type": "array",
          "items": {
            "type": "string",
            "pattern": "^\\d+$",
            "description": "Immutable Google Directory user ID"
          },
          "description": "Exact Google identities that must have no manager"
        },
        "expectedSlackTeamId": {
          "type": "string",
          "pattern": "^T[A-Z0-9]+$",
          "description": "Slack workspace ID; reconciliation fails closed for any other workspace"
        },
        "protectedDepartedGoogleUserIds": {
          "type": "array",
          "items": {
            "type": "string",
            "pattern": "^\\d+$",
            "description": "Immutable Google Directory user ID"
          },
          "description": "Departed identities that may be deleted, but must remain suspended if retained or restored under the same immutable ID"
        },
        "fieldIds": {
          "type": "object",
          "properties": {
            "manages": {
              "type": "string",
              "pattern": "^X[A-Za-z0-9]+$",
              "description": "API-managed Slack “Manages” people field"
            },
            "reportsTo": {
              "type": "string",
              "pattern": "^X[A-Za-z0-9]+$",
              "description": "API-managed Slack “Reports to” person field"
            },
            "team": {
              "type": "string",
              "pattern": "^X[A-Za-z0-9]+$",
              "description": "API-managed Slack “Team” field"
            }
          },
          "required": [
            "manages",
            "reportsTo",
            "team"
          ],
          "additionalProperties": false,
          "description": "Exact API-managed Slack profile field IDs"
        },
        "googleAdminSubject": {
          "type": "string",
          "format": "email",
          "pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$",
          "description": "Workspace administrator impersonated by the read-only Directory client"
        },
        "googleUserProject": {
          "type": "string",
          "minLength": 1,
          "description": "Google Cloud project charged for Directory API quota"
        },
        "managedDomain": {
          "type": "string",
          "pattern": "^[a-z0-9.-]+\\.[a-z]{2,}$",
          "description": "Only existing Slack members with email addresses in this domain are targeted"
        },
        "maxAutomaticChanges": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991,
          "description": "Maximum changed Slack profiles allowed without an approved authority-plan hash"
        },
        "minimumGoogleParticipants": {
          "type": "integer",
          "exclusiveMinimum": 0,
          "maximum": 9007199254740991,
          "description": "Fail-closed population floor for active Google org participants"
        },
        "orgChartFileId": {
          "type": "string",
          "pattern": "^[A-Za-z0-9_-]{10,}$",
          "description": "Immutable app-created Drive file ID for the managed organization chart"
        }
      },
      "required": [
        "allowedEmptyDepartmentGoogleUserIds",
        "allTeamDriveId",
        "excludedGoogleUserIds",
        "expectedRootGoogleUserIds",
        "expectedSlackTeamId",
        "protectedDepartedGoogleUserIds",
        "fieldIds",
        "googleAdminSubject",
        "googleUserProject",
        "managedDomain",
        "maxAutomaticChanges",
        "minimumGoogleParticipants",
        "orgChartFileId"
      ],
      "additionalProperties": false
    },
    "reviewedGitHubDirectGrantRetentions": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "allowedTeamSlugs": {
            "type": "array",
            "items": {
              "type": "string",
              "minLength": 1
            }
          },
          "githubLogin": {
            "type": "string",
            "minLength": 1
          },
          "githubUserId": {
            "type": "string",
            "pattern": "^[1-9]\\d*$"
          },
          "googleUserId": {
            "type": "string",
            "pattern": "^[1-9]\\d{4,29}$"
          },
          "grants": {
            "type": "array",
            "items": {
              "type": "object",
              "properties": {
                "customRoleName": {
                  "type": "string",
                  "minLength": 1
                },
                "permission": {
                  "type": "string",
                  "enum": [
                    "admin",
                    "maintain",
                    "pull",
                    "push",
                    "triage"
                  ]
                },
                "repositoryId": {
                  "type": "integer",
                  "exclusiveMinimum": 0,
                  "maximum": 9007199254740991
                },
                "repositoryName": {
                  "type": "string",
                  "pattern": "^[\\w.-]+\\/[\\w.-]+$"
                }
              },
              "required": [
                "permission",
                "repositoryId",
                "repositoryName"
              ],
              "additionalProperties": false
            }
          },
          "primaryEmail": {
            "type": "string",
            "format": "email",
            "pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"
          },
          "reviewedAt": {
            "type": "string",
            "format": "date",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
          }
        },
        "required": [
          "allowedTeamSlugs",
          "githubLogin",
          "githubUserId",
          "googleUserId",
          "grants",
          "primaryEmail",
          "reviewedAt"
        ],
        "additionalProperties": false
      }
    },
    "reviewedGitHubTeamMemberships": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "githubLogin": {
            "type": "string",
            "minLength": 1
          },
          "githubUserId": {
            "type": "string",
            "pattern": "^[1-9]\\d*$"
          },
          "googleUserId": {
            "type": "string",
            "pattern": "^[1-9]\\d{4,29}$"
          },
          "reviewedAt": {
            "type": "string",
            "format": "date",
            "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"
          },
          "teamId": {
            "type": "integer",
            "exclusiveMinimum": 0,
            "maximum": 9007199254740991
          },
          "teamSlug": {
            "type": "string",
            "minLength": 1
          }
        },
        "required": [
          "githubLogin",
          "githubUserId",
          "googleUserId",
          "reviewedAt",
          "teamId",
          "teamSlug"
        ],
        "additionalProperties": false
      }
    },
    "sentryTeamSlug": {
      "type": "string",
      "pattern": "^[a-z0-9][a-z0-9_-]{0,63}$"
    },
    "trycomp": {
      "type": "object",
      "properties": {
        "contractorGroupEmail": {
          "type": "string",
          "format": "email",
          "pattern": "^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"
        },
        "contractorGroupId": {
          "type": "string",
          "minLength": 1
        },
        "maxAutomaticActivations": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        },
        "maxAutomaticContractorDeactivations": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        },
        "maxAutomaticInactiveGoogleDeactivations": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        },
        "maxAutomaticDeactivations": {
          "type": "integer",
          "minimum": 0,
          "maximum": 9007199254740991
        },
        "offboardingOnly": {
          "type": "boolean"
        },
        "minimumGoogleUsers": {
          "type": "integer",
          "exclusiveMinimum": 0,
          "maximum": 9007199254740991
        }
      },
      "required": [
        "contractorGroupEmail",
        "contractorGroupId",
        "maxAutomaticActivations",
        "maxAutomaticContractorDeactivations",
        "maxAutomaticInactiveGoogleDeactivations",
        "maxAutomaticDeactivations",
        "offboardingOnly",
        "minimumGoogleUsers"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "contractorAuthorityGroup",
    "employeeEntitlementExcludedEmails",
    "ignoredDeletedGoogleUserIds",
    "org",
    "reviewedGitHubDirectGrantRetentions",
    "reviewedGitHubTeamMemberships",
    "sentryTeamSlug",
    "trycomp"
  ],
  "additionalProperties": false
}
