{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/scalar/main/json-schema/scalar-access-group-schema.json", "title": "access-group", "x-generated": "2026-10-04", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/scalar-access-groups-api-openapi.yml#/components/schemas/access-group", "type": "object", "properties": { "uid": { "default": "nanoid()", "$ref": "#/$defs/nanoid" }, "createdAt": { "default": "unixTimestamp()", "$ref": "#/$defs/timestamp" }, "updatedAt": { "default": "unixTimestamp()", "$ref": "#/$defs/timestamp" }, "name": { "default": "", "$ref": "#/$defs/access-group-name" }, "slug": { "default": "randomAccessGroupSlug()", "$ref": "#/$defs/slug" }, "allowedEmails": { "default": [] }, "allowedDomains": { "default": [] } }, "required": [ "uid", "createdAt", "updatedAt", "name", "slug", "allowedEmails", "allowedDomains" ], "additionalProperties": false, "$defs": { "access-group-name": { "type": "string", "maxLength": 40 }, "nanoid": { "type": "string", "minLength": 5 }, "slug": { "type": "string", "minLength": 3, "maxLength": 60, "pattern": "^[a-z](?:[a-z0-9-]*[a-z0-9])?$" }, "timestamp": { "type": "integer", "minimum": 0, "maximum": 9007199254740991 } } }