{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/lynx/main/json-schema/lynx-client-org-application-token-request-doc-schema.json", "title": "ClientOrgApplicationTokenRequestDoc", "x-generated": "2026-10-14", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/lynx-client-org-management-api-openapi.yml#/components/schemas/ClientOrgApplicationTokenRequestDoc", "type": "object", "properties": { "data": { "$ref": "#/$defs/ClientOrgApplicationTokenRequest" }, "idempotency": { "$ref": "#/$defs/Idempotency", "description": "Unique identifier that represents the operation" } }, "required": [ "data", "idempotency" ], "$defs": { "ApplicationTokenDto": { "type": "object", "properties": { "name": { "type": "string", "description": "Name of the client application token" }, "scopes": { "type": "array", "description": "List of permissions granted to application token", "items": { "type": "string" } } }, "required": [ "name", "scopes" ] }, "ClientOrgApplicationTokenRequest": { "type": "object", "properties": { "clientOrg": { "$ref": "#/$defs/ClientOrgDto", "description": "The name of the client organization" }, "childClientOrg": { "$ref": "#/$defs/ClientOrgDto", "description": "The name of the child client organization" }, "applicationToken": { "$ref": "#/$defs/ApplicationTokenDto", "description": "Client application token" } }, "required": [ "applicationToken", "clientOrg" ] }, "ClientOrgDto": { "type": "object", "properties": { "name": { "type": "string", "description": "The name of the client organization" } }, "required": [ "name" ] }, "Idempotency": { "type": "object", "properties": { "idempotencyKey": { "type": "string", "description": "Unique identifier that represents the operation" } } } } }