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

title

32

A–Z, a–z, 0–9, space, underscore, period

The derived project ID (title lowercased, spaces replaced

with _, periods removed) must not be internal or game.

aliases

32

3

A–Z, a–z, 0–9, space, underscore, period

description

1024

A–Z, a–z, 0–9, space, hyphen, underscore

comma, period, colon, parentheses

tags

64

10

A–Z, a–z, 0–9, colon, underscore

settings.allowed_domains

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

name service_meta.name

32

A–Z, a–z, 0–9, space, underscore, period

description service_meta.description

150

A–Z, a–z, 0–9, space, hyphen, underscore,

comma, period, colon, parentheses

service_meta.tags

64

10

A–Z, a–z, 0–9, colon, underscore

service_meta.public_key service_meta.private_key

RSA format

service_meta.url

Valid URL with scheme and hostname

service_meta.env

A–Z, a–z, 0–9, colon, underscore

settings.restricted_domains

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).

settings.gdpr.char_sources settings.gdpr.data_sources

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 private_data and public_data


Role

Field

Max Length

Max Count

Allowed Characters / Format

Notes

name

32

A–Z, a–z, 0–9, space, underscore, period

description

1024

A–Z, a–z, 0–9, space, hyphen, underscore

comma, period, colon, parentheses

meta

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

title

32

A–Z, a–z, 0–9, space, underscore, period

description

1024

A–Z, a–z, 0–9, space, hyphen, underscore

comma, period, colon, parentheses

tags

64

10

A–Z, a–z, 0–9, colon, underscore


Access Keys

Field

Max Length

Max Count

Allowed Characters / Format

Notes

comment

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

key

2

RSA format