Field Validation Rules
This section outlines the validation rules applied to core objects managed through the Permissions API.
Project
Field |
Max Length |
Max Count |
Allowed Characters / Format |
Notes |
|---|---|---|---|---|
|
32 |
– |
A–Z, a–z, 0–9, space, underscore, period |
The derived project ID ( with |
|
32 |
3 |
A–Z, a–z, 0–9, space, underscore, period |
– |
|
1024 |
– |
A–Z, a–z, 0–9, space, hyphen, underscore comma, period, colon, parentheses |
– |
|
64 |
10 |
A–Z, a–z, 0–9, colon, underscore |
– |
|
– |
– |
a–z, 0–9, underscore, hyphen, period |
The domain must follow standard domain name rules (e.g., each label may contain up to 63 characters, must not start or end with a hyphen, and labels are separated by periods). |
Application
Field |
Max Length |
Max Count |
Allowed Characters / Format |
Notes |
|---|---|---|---|---|
|
32 |
– |
A–Z, a–z, 0–9, space, underscore, period |
– |
|
150 |
– |
A–Z, a–z, 0–9, space, hyphen, underscore, comma, period, colon, parentheses |
– |
|
64 |
10 |
A–Z, a–z, 0–9, colon, underscore |
– |
|
– |
– |
RSA format |
– |
|
– |
– |
Valid URL with scheme and hostname |
– |
|
– |
– |
A–Z, a–z, 0–9, colon, underscore |
– |
|
– |
– |
a–z, 0–9, underscore, hyphen, period |
The domain must follow standard domain name rules (e.g., each label may contain up to 63 characters, must not start or end with a hyphen, and labels are separated by periods). |
|
– |
– |
Valid URL with scheme and hostname |
– |
Application Schema
Field |
Max Length |
Max Count |
Allowed Characters / Format |
Notes |
|---|---|---|---|---|
– |
– |
150 rules |
A–Z, a–z, 0–9, space, underscore, period |
Duplicates are not allowed across |
Role
Field |
Max Length |
Max Count |
Allowed Characters / Format |
Notes |
|---|---|---|---|---|
|
32 |
– |
A–Z, a–z, 0–9, space, underscore, period |
– |
|
1024 |
– |
A–Z, a–z, 0–9, space, hyphen, underscore comma, period, colon, parentheses |
– |
|
– |
– |
A–Z, a–z, 0–9, space, underscore, period Allowed keys in rule values: name, ttl, expired, value |
Each rule must be present in the base schema. |
User Group
Field |
Max Length |
Max Count |
Allowed Characters / Format |
Notes |
|---|---|---|---|---|
|
32 |
– |
A–Z, a–z, 0–9, space, underscore, period |
– |
|
1024 |
– |
A–Z, a–z, 0–9, space, hyphen, underscore comma, period, colon, parentheses |
– |
|
64 |
10 |
A–Z, a–z, 0–9, colon, underscore |
– |
Access Keys
Field |
Max Length |
Max Count |
Allowed Characters / Format |
Notes |
|---|---|---|---|---|
|
150 |
2 |
A–Z, a–z, 0–9, space, hyphen, underscore comma, period, colon, parentheses |
– |
Application Public Keys
Field |
Max Length |
Max Count |
Allowed Characters / Format |
Notes |
|---|---|---|---|---|
|
– |
2 |
RSA format |
– |