mirror of
https://github.com/openai/codex.git
synced 2026-11-02 19:43:24 +00:00
121 lines
2.2 KiB
JSON
Generated
121 lines
2.2 KiB
JSON
Generated
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"definitions": {
|
|
"AccountSession": {
|
|
"properties": {
|
|
"displayName": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"email": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"imageUrl": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"isActive": {
|
|
"type": "boolean"
|
|
},
|
|
"lastUsedAt": {
|
|
"format": "int64",
|
|
"type": "integer"
|
|
},
|
|
"selectedWorkspaceAccountId": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"sessionId": {
|
|
"type": "string"
|
|
},
|
|
"userId": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"workspaces": {
|
|
"items": {
|
|
"$ref": "#/definitions/AccountSessionWorkspace"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"required": [
|
|
"isActive",
|
|
"lastUsedAt",
|
|
"sessionId",
|
|
"workspaces"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"AccountSessionWorkspace": {
|
|
"properties": {
|
|
"accountId": {
|
|
"type": "string"
|
|
},
|
|
"imageUrl": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"kind": {
|
|
"anyOf": [
|
|
{
|
|
"$ref": "#/definitions/AccountSessionWorkspaceKind"
|
|
},
|
|
{
|
|
"type": "null"
|
|
}
|
|
]
|
|
},
|
|
"name": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"accountId"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"AccountSessionWorkspaceKind": {
|
|
"enum": [
|
|
"personal",
|
|
"workspace"
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"properties": {
|
|
"activeSessionId": {
|
|
"type": [
|
|
"string",
|
|
"null"
|
|
]
|
|
},
|
|
"sessions": {
|
|
"items": {
|
|
"$ref": "#/definitions/AccountSession"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"required": [
|
|
"sessions"
|
|
],
|
|
"title": "AccountSessionsResponse",
|
|
"type": "object"
|
|
} |