{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/posit/main/json-schema/posit-service-token-scopes-schema.json", "title": "ServiceTokenScopes", "description": "An object containing the available scopes for service tokens.", "x-generated": "2026-10-03", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/posit-service-tokens-api-openapi.yml#/components/schemas/ServiceTokenScopes", "additionalProperties": false, "properties": { "scopes": { "description": "The available scopes.", "items": { "$ref": "#/$defs/ServiceTokenScope" }, "type": "array" } }, "type": "object", "$defs": { "ServiceTokenScope": { "additionalProperties": false, "description": "A scope you can assign to a service token.", "properties": { "name": { "description": "The scope identifier.", "type": "string" }, "description": { "description": "A human-readable description of what this scope grants.", "type": "string" } }, "type": "object" } } }