-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathswagger.json
More file actions
1 lines (1 loc) · 52.7 KB
/
swagger.json
File metadata and controls
1 lines (1 loc) · 52.7 KB
1
{"openapi":"3.0.3","info":{"title":"API","description":"Generated by genpjrpc: v0.4.0","version":"v0.0.0-unknown"},"servers":[{"url":"/"}],"paths":{"/#get_server_info":{"post":{"operationId":"get_server_info","requestBody":{"content":{"application/json":{"schema":{"title":"Request body of the get_server_info method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"An identifier established by the Client.","type":"string","format":"uuid"},"method":{"description":"A String containing the name of the method to be invoked.","type":"string","enum":["get_server_info"]},"params":{"$ref":"#/components/schemas/rpc.GetServerInfoRequest"}}}}},"required":true},"responses":{"200":{"description":"JSON-RPC response body","content":{"application/json":{"schema":{"title":"Response body of the get_server_info method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"It MUST be the same as the value of the id member in the Request.","type":"string","format":"uuid"},"error":{"$ref":"#/components/schemas/_rpcError"},"result":{"$ref":"#/components/schemas/rpc.GetServerInfoResponse"}}}}}}}}},"/#create_account":{"post":{"operationId":"create_account","requestBody":{"content":{"application/json":{"schema":{"title":"Request body of the create_account method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"An identifier established by the Client.","type":"string","format":"uuid"},"method":{"description":"A String containing the name of the method to be invoked.","type":"string","enum":["create_account"]},"params":{"$ref":"#/components/schemas/rpc.CreateAccountRequest"}}}}},"required":true},"responses":{"200":{"description":"JSON-RPC response body","content":{"application/json":{"schema":{"title":"Response body of the create_account method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"It MUST be the same as the value of the id member in the Request.","type":"string","format":"uuid"},"error":{"$ref":"#/components/schemas/_rpcError"},"result":{"$ref":"#/components/schemas/rpc.CreateAccountResponse"}}}}}}}}},"/#get_account_list":{"post":{"operationId":"get_account_list","requestBody":{"content":{"application/json":{"schema":{"title":"Request body of the get_account_list method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"An identifier established by the Client.","type":"string","format":"uuid"},"method":{"description":"A String containing the name of the method to be invoked.","type":"string","enum":["get_account_list"]},"params":{"$ref":"#/components/schemas/rpc.GetAccountListRequest"}}}}},"required":true},"responses":{"200":{"description":"JSON-RPC response body","content":{"application/json":{"schema":{"title":"Response body of the get_account_list method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"It MUST be the same as the value of the id member in the Request.","type":"string","format":"uuid"},"error":{"$ref":"#/components/schemas/_rpcError"},"result":{"$ref":"#/components/schemas/rpc.GetAccountListResponse"}}}}}}}}},"/#get_account":{"post":{"operationId":"get_account","requestBody":{"content":{"application/json":{"schema":{"title":"Request body of the get_account method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"An identifier established by the Client.","type":"string","format":"uuid"},"method":{"description":"A String containing the name of the method to be invoked.","type":"string","enum":["get_account"]},"params":{"$ref":"#/components/schemas/rpc.GetAccountRequest"}}}}},"required":true},"responses":{"200":{"description":"JSON-RPC response body","content":{"application/json":{"schema":{"title":"Response body of the get_account method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"It MUST be the same as the value of the id member in the Request.","type":"string","format":"uuid"},"error":{"$ref":"#/components/schemas/_rpcError"},"result":{"$ref":"#/components/schemas/rpc.GetAccountResponse"}}}}}}}}},"/#update_account":{"post":{"operationId":"update_account","requestBody":{"content":{"application/json":{"schema":{"title":"Request body of the update_account method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"An identifier established by the Client.","type":"string","format":"uuid"},"method":{"description":"A String containing the name of the method to be invoked.","type":"string","enum":["update_account"]},"params":{"$ref":"#/components/schemas/rpc.UpdateAccountRequest"}}}}},"required":true},"responses":{"200":{"description":"JSON-RPC response body","content":{"application/json":{"schema":{"title":"Response body of the update_account method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"It MUST be the same as the value of the id member in the Request.","type":"string","format":"uuid"},"error":{"$ref":"#/components/schemas/_rpcError"},"result":{"$ref":"#/components/schemas/rpc.UpdateAccountResponse"}}}}}}}}},"/#create_session":{"post":{"operationId":"create_session","requestBody":{"content":{"application/json":{"schema":{"title":"Request body of the create_session method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"An identifier established by the Client.","type":"string","format":"uuid"},"method":{"description":"A String containing the name of the method to be invoked.","type":"string","enum":["create_session"]},"params":{"$ref":"#/components/schemas/rpc.CreateSessionRequest"}}}}},"required":true},"responses":{"200":{"description":"JSON-RPC response body","content":{"application/json":{"schema":{"title":"Response body of the create_session method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"It MUST be the same as the value of the id member in the Request.","type":"string","format":"uuid"},"error":{"$ref":"#/components/schemas/_rpcError"},"result":{"$ref":"#/components/schemas/rpc.CreateSessionResponse"}}}}}}}}},"/#get_session":{"post":{"operationId":"get_session","requestBody":{"content":{"application/json":{"schema":{"title":"Request body of the get_session method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"An identifier established by the Client.","type":"string","format":"uuid"},"method":{"description":"A String containing the name of the method to be invoked.","type":"string","enum":["get_session"]},"params":{"$ref":"#/components/schemas/rpc.GetSessionRequest"}}}}},"required":true},"responses":{"200":{"description":"JSON-RPC response body","content":{"application/json":{"schema":{"title":"Response body of the get_session method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"It MUST be the same as the value of the id member in the Request.","type":"string","format":"uuid"},"error":{"$ref":"#/components/schemas/_rpcError"},"result":{"$ref":"#/components/schemas/rpc.GetSessionResponse"}}}}}}}}},"/#delete_session":{"post":{"operationId":"delete_session","requestBody":{"content":{"application/json":{"schema":{"title":"Request body of the delete_session method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"An identifier established by the Client.","type":"string","format":"uuid"},"method":{"description":"A String containing the name of the method to be invoked.","type":"string","enum":["delete_session"]},"params":{"$ref":"#/components/schemas/rpc.DeleteSessionRequest"}}}}},"required":true},"responses":{"200":{"description":"JSON-RPC response body","content":{"application/json":{"schema":{"title":"Response body of the delete_session method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"It MUST be the same as the value of the id member in the Request.","type":"string","format":"uuid"},"error":{"$ref":"#/components/schemas/_rpcError"},"result":{"$ref":"#/components/schemas/rpc.DeleteSessionResponse"}}}}}}}}},"/#create_problem":{"post":{"operationId":"create_problem","requestBody":{"content":{"application/json":{"schema":{"title":"Request body of the create_problem method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"An identifier established by the Client.","type":"string","format":"uuid"},"method":{"description":"A String containing the name of the method to be invoked.","type":"string","enum":["create_problem"]},"params":{"$ref":"#/components/schemas/rpc.CreateProblemRequest"}}}}},"required":true},"responses":{"200":{"description":"JSON-RPC response body","content":{"application/json":{"schema":{"title":"Response body of the create_problem method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"It MUST be the same as the value of the id member in the Request.","type":"string","format":"uuid"},"error":{"$ref":"#/components/schemas/_rpcError"},"result":{"$ref":"#/components/schemas/rpc.CreateProblemResponse"}}}}}}}}},"/#get_problem_snippet_list":{"post":{"operationId":"get_problem_snippet_list","requestBody":{"content":{"application/json":{"schema":{"title":"Request body of the get_problem_snippet_list method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"An identifier established by the Client.","type":"string","format":"uuid"},"method":{"description":"A String containing the name of the method to be invoked.","type":"string","enum":["get_problem_snippet_list"]},"params":{"$ref":"#/components/schemas/rpc.GetProblemSnippetListRequest"}}}}},"required":true},"responses":{"200":{"description":"JSON-RPC response body","content":{"application/json":{"schema":{"title":"Response body of the get_problem_snippet_list method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"It MUST be the same as the value of the id member in the Request.","type":"string","format":"uuid"},"error":{"$ref":"#/components/schemas/_rpcError"},"result":{"$ref":"#/components/schemas/rpc.GetProblemSnippetListResponse"}}}}}}}}},"/#get_problem":{"post":{"operationId":"get_problem","requestBody":{"content":{"application/json":{"schema":{"title":"Request body of the get_problem method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"An identifier established by the Client.","type":"string","format":"uuid"},"method":{"description":"A String containing the name of the method to be invoked.","type":"string","enum":["get_problem"]},"params":{"$ref":"#/components/schemas/rpc.GetProblemRequest"}}}}},"required":true},"responses":{"200":{"description":"JSON-RPC response body","content":{"application/json":{"schema":{"title":"Response body of the get_problem method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"It MUST be the same as the value of the id member in the Request.","type":"string","format":"uuid"},"error":{"$ref":"#/components/schemas/_rpcError"},"result":{"$ref":"#/components/schemas/rpc.GetProblemResponse"}}}}}}}}},"/#update_problem":{"post":{"operationId":"update_problem","requestBody":{"content":{"application/json":{"schema":{"title":"Request body of the update_problem method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"An identifier established by the Client.","type":"string","format":"uuid"},"method":{"description":"A String containing the name of the method to be invoked.","type":"string","enum":["update_problem"]},"params":{"$ref":"#/components/schemas/rpc.UpdateProblemRequest"}}}}},"required":true},"responses":{"200":{"description":"JSON-RPC response body","content":{"application/json":{"schema":{"title":"Response body of the update_problem method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"It MUST be the same as the value of the id member in the Request.","type":"string","format":"uuid"},"error":{"$ref":"#/components/schemas/_rpcError"},"result":{"$ref":"#/components/schemas/rpc.UpdateProblemResponse"}}}}}}}}},"/#delete_problem":{"post":{"operationId":"delete_problem","requestBody":{"content":{"application/json":{"schema":{"title":"Request body of the delete_problem method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"An identifier established by the Client.","type":"string","format":"uuid"},"method":{"description":"A String containing the name of the method to be invoked.","type":"string","enum":["delete_problem"]},"params":{"$ref":"#/components/schemas/rpc.DeleteProblemRequest"}}}}},"required":true},"responses":{"200":{"description":"JSON-RPC response body","content":{"application/json":{"schema":{"title":"Response body of the delete_problem method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"It MUST be the same as the value of the id member in the Request.","type":"string","format":"uuid"},"error":{"$ref":"#/components/schemas/_rpcError"},"result":{"$ref":"#/components/schemas/rpc.DeleteProblemResponse"}}}}}}}}},"/#create_test_case":{"post":{"operationId":"create_test_case","requestBody":{"content":{"application/json":{"schema":{"title":"Request body of the create_test_case method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"An identifier established by the Client.","type":"string","format":"uuid"},"method":{"description":"A String containing the name of the method to be invoked.","type":"string","enum":["create_test_case"]},"params":{"$ref":"#/components/schemas/rpc.CreateTestCaseRequest"}}}}},"required":true},"responses":{"200":{"description":"JSON-RPC response body","content":{"application/json":{"schema":{"title":"Response body of the create_test_case method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"It MUST be the same as the value of the id member in the Request.","type":"string","format":"uuid"},"error":{"$ref":"#/components/schemas/_rpcError"},"result":{"$ref":"#/components/schemas/rpc.CreateTestCaseResponse"}}}}}}}}},"/#create_test_case_list":{"post":{"operationId":"create_test_case_list","requestBody":{"content":{"application/json":{"schema":{"title":"Request body of the create_test_case_list method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"An identifier established by the Client.","type":"string","format":"uuid"},"method":{"description":"A String containing the name of the method to be invoked.","type":"string","enum":["create_test_case_list"]},"params":{"$ref":"#/components/schemas/rpc.CreateTestCaseListRequest"}}}}},"required":true},"responses":{"200":{"description":"JSON-RPC response body","content":{"application/json":{"schema":{"title":"Response body of the create_test_case_list method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"It MUST be the same as the value of the id member in the Request.","type":"string","format":"uuid"},"error":{"$ref":"#/components/schemas/_rpcError"},"result":{"$ref":"#/components/schemas/rpc.CreateTestCaseListResponse"}}}}}}}}},"/#get_problem_test_case_snippet_list":{"post":{"operationId":"get_problem_test_case_snippet_list","requestBody":{"content":{"application/json":{"schema":{"title":"Request body of the get_problem_test_case_snippet_list method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"An identifier established by the Client.","type":"string","format":"uuid"},"method":{"description":"A String containing the name of the method to be invoked.","type":"string","enum":["get_problem_test_case_snippet_list"]},"params":{"$ref":"#/components/schemas/rpc.GetProblemTestCaseSnippetListRequest"}}}}},"required":true},"responses":{"200":{"description":"JSON-RPC response body","content":{"application/json":{"schema":{"title":"Response body of the get_problem_test_case_snippet_list method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"It MUST be the same as the value of the id member in the Request.","type":"string","format":"uuid"},"error":{"$ref":"#/components/schemas/_rpcError"},"result":{"$ref":"#/components/schemas/rpc.GetProblemTestCaseSnippetListResponse"}}}}}}}}},"/#get_test_case":{"post":{"operationId":"get_test_case","requestBody":{"content":{"application/json":{"schema":{"title":"Request body of the get_test_case method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"An identifier established by the Client.","type":"string","format":"uuid"},"method":{"description":"A String containing the name of the method to be invoked.","type":"string","enum":["get_test_case"]},"params":{"$ref":"#/components/schemas/rpc.GetTestCaseRequest"}}}}},"required":true},"responses":{"200":{"description":"JSON-RPC response body","content":{"application/json":{"schema":{"title":"Response body of the get_test_case method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"It MUST be the same as the value of the id member in the Request.","type":"string","format":"uuid"},"error":{"$ref":"#/components/schemas/_rpcError"},"result":{"$ref":"#/components/schemas/rpc.GetTestCaseResponse"}}}}}}}}},"/#update_test_case":{"post":{"operationId":"update_test_case","requestBody":{"content":{"application/json":{"schema":{"title":"Request body of the update_test_case method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"An identifier established by the Client.","type":"string","format":"uuid"},"method":{"description":"A String containing the name of the method to be invoked.","type":"string","enum":["update_test_case"]},"params":{"$ref":"#/components/schemas/rpc.UpdateTestCaseRequest"}}}}},"required":true},"responses":{"200":{"description":"JSON-RPC response body","content":{"application/json":{"schema":{"title":"Response body of the update_test_case method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"It MUST be the same as the value of the id member in the Request.","type":"string","format":"uuid"},"error":{"$ref":"#/components/schemas/_rpcError"},"result":{"$ref":"#/components/schemas/rpc.UpdateTestCaseResponse"}}}}}}}}},"/#delete_test_case":{"post":{"operationId":"delete_test_case","requestBody":{"content":{"application/json":{"schema":{"title":"Request body of the delete_test_case method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"An identifier established by the Client.","type":"string","format":"uuid"},"method":{"description":"A String containing the name of the method to be invoked.","type":"string","enum":["delete_test_case"]},"params":{"$ref":"#/components/schemas/rpc.DeleteTestCaseRequest"}}}}},"required":true},"responses":{"200":{"description":"JSON-RPC response body","content":{"application/json":{"schema":{"title":"Response body of the delete_test_case method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"It MUST be the same as the value of the id member in the Request.","type":"string","format":"uuid"},"error":{"$ref":"#/components/schemas/_rpcError"},"result":{"$ref":"#/components/schemas/rpc.DeleteTestCaseResponse"}}}}}}}}},"/#get_account_problem_snippet_list":{"post":{"operationId":"get_account_problem_snippet_list","requestBody":{"content":{"application/json":{"schema":{"title":"Request body of the get_account_problem_snippet_list method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"An identifier established by the Client.","type":"string","format":"uuid"},"method":{"description":"A String containing the name of the method to be invoked.","type":"string","enum":["get_account_problem_snippet_list"]},"params":{"$ref":"#/components/schemas/rpc.GetAccountProblemSnippetListRequest"}}}}},"required":true},"responses":{"200":{"description":"JSON-RPC response body","content":{"application/json":{"schema":{"title":"Response body of the get_account_problem_snippet_list method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"It MUST be the same as the value of the id member in the Request.","type":"string","format":"uuid"},"error":{"$ref":"#/components/schemas/_rpcError"},"result":{"$ref":"#/components/schemas/rpc.GetAccountProblemSnippetListResponse"}}}}}}}}},"/#create_submission":{"post":{"operationId":"create_submission","requestBody":{"content":{"application/json":{"schema":{"title":"Request body of the create_submission method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"An identifier established by the Client.","type":"string","format":"uuid"},"method":{"description":"A String containing the name of the method to be invoked.","type":"string","enum":["create_submission"]},"params":{"$ref":"#/components/schemas/rpc.CreateSubmissionRequest"}}}}},"required":true},"responses":{"200":{"description":"JSON-RPC response body","content":{"application/json":{"schema":{"title":"Response body of the create_submission method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"It MUST be the same as the value of the id member in the Request.","type":"string","format":"uuid"},"error":{"$ref":"#/components/schemas/_rpcError"},"result":{"$ref":"#/components/schemas/rpc.CreateSubmissionResponse"}}}}}}}}},"/#get_submission_snippet_list":{"post":{"operationId":"get_submission_snippet_list","requestBody":{"content":{"application/json":{"schema":{"title":"Request body of the get_submission_snippet_list method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"An identifier established by the Client.","type":"string","format":"uuid"},"method":{"description":"A String containing the name of the method to be invoked.","type":"string","enum":["get_submission_snippet_list"]},"params":{"$ref":"#/components/schemas/rpc.GetSubmissionSnippetListRequest"}}}}},"required":true},"responses":{"200":{"description":"JSON-RPC response body","content":{"application/json":{"schema":{"title":"Response body of the get_submission_snippet_list method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"It MUST be the same as the value of the id member in the Request.","type":"string","format":"uuid"},"error":{"$ref":"#/components/schemas/_rpcError"},"result":{"$ref":"#/components/schemas/rpc.GetSubmissionSnippetListResponse"}}}}}}}}},"/#get_submission":{"post":{"operationId":"get_submission","requestBody":{"content":{"application/json":{"schema":{"title":"Request body of the get_submission method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"An identifier established by the Client.","type":"string","format":"uuid"},"method":{"description":"A String containing the name of the method to be invoked.","type":"string","enum":["get_submission"]},"params":{"$ref":"#/components/schemas/rpc.GetSubmissionRequest"}}}}},"required":true},"responses":{"200":{"description":"JSON-RPC response body","content":{"application/json":{"schema":{"title":"Response body of the get_submission method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"It MUST be the same as the value of the id member in the Request.","type":"string","format":"uuid"},"error":{"$ref":"#/components/schemas/_rpcError"},"result":{"$ref":"#/components/schemas/rpc.GetSubmissionResponse"}}}}}}}}},"/#update_submission":{"post":{"operationId":"update_submission","requestBody":{"content":{"application/json":{"schema":{"title":"Request body of the update_submission method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"An identifier established by the Client.","type":"string","format":"uuid"},"method":{"description":"A String containing the name of the method to be invoked.","type":"string","enum":["update_submission"]},"params":{"$ref":"#/components/schemas/rpc.UpdateSubmissionRequest"}}}}},"required":true},"responses":{"200":{"description":"JSON-RPC response body","content":{"application/json":{"schema":{"title":"Response body of the update_submission method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"It MUST be the same as the value of the id member in the Request.","type":"string","format":"uuid"},"error":{"$ref":"#/components/schemas/_rpcError"},"result":{"$ref":"#/components/schemas/rpc.UpdateSubmissionResponse"}}}}}}}}},"/#delete_submission":{"post":{"operationId":"delete_submission","requestBody":{"content":{"application/json":{"schema":{"title":"Request body of the delete_submission method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"An identifier established by the Client.","type":"string","format":"uuid"},"method":{"description":"A String containing the name of the method to be invoked.","type":"string","enum":["delete_submission"]},"params":{"$ref":"#/components/schemas/rpc.DeleteSubmissionRequest"}}}}},"required":true},"responses":{"200":{"description":"JSON-RPC response body","content":{"application/json":{"schema":{"title":"Response body of the delete_submission method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"It MUST be the same as the value of the id member in the Request.","type":"string","format":"uuid"},"error":{"$ref":"#/components/schemas/_rpcError"},"result":{"$ref":"#/components/schemas/rpc.DeleteSubmissionResponse"}}}}}}}}},"/#get_account_submission_snippet_list":{"post":{"operationId":"get_account_submission_snippet_list","requestBody":{"content":{"application/json":{"schema":{"title":"Request body of the get_account_submission_snippet_list method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"An identifier established by the Client.","type":"string","format":"uuid"},"method":{"description":"A String containing the name of the method to be invoked.","type":"string","enum":["get_account_submission_snippet_list"]},"params":{"$ref":"#/components/schemas/rpc.GetAccountSubmissionSnippetListRequest"}}}}},"required":true},"responses":{"200":{"description":"JSON-RPC response body","content":{"application/json":{"schema":{"title":"Response body of the get_account_submission_snippet_list method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"It MUST be the same as the value of the id member in the Request.","type":"string","format":"uuid"},"error":{"$ref":"#/components/schemas/_rpcError"},"result":{"$ref":"#/components/schemas/rpc.GetAccountSubmissionSnippetListResponse"}}}}}}}}},"/#get_problem_submission_snippet_list":{"post":{"operationId":"get_problem_submission_snippet_list","requestBody":{"content":{"application/json":{"schema":{"title":"Request body of the get_problem_submission_snippet_list method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"An identifier established by the Client.","type":"string","format":"uuid"},"method":{"description":"A String containing the name of the method to be invoked.","type":"string","enum":["get_problem_submission_snippet_list"]},"params":{"$ref":"#/components/schemas/rpc.GetProblemSubmissionSnippetListRequest"}}}}},"required":true},"responses":{"200":{"description":"JSON-RPC response body","content":{"application/json":{"schema":{"title":"Response body of the get_problem_submission_snippet_list method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"It MUST be the same as the value of the id member in the Request.","type":"string","format":"uuid"},"error":{"$ref":"#/components/schemas/_rpcError"},"result":{"$ref":"#/components/schemas/rpc.GetProblemSubmissionSnippetListResponse"}}}}}}}}},"/#get_account_problem_submission_snippet_list":{"post":{"operationId":"get_account_problem_submission_snippet_list","requestBody":{"content":{"application/json":{"schema":{"title":"Request body of the get_account_problem_submission_snippet_list method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"An identifier established by the Client.","type":"string","format":"uuid"},"method":{"description":"A String containing the name of the method to be invoked.","type":"string","enum":["get_account_problem_submission_snippet_list"]},"params":{"$ref":"#/components/schemas/rpc.GetAccountProblemSubmissionSnippetListRequest"}}}}},"required":true},"responses":{"200":{"description":"JSON-RPC response body","content":{"application/json":{"schema":{"title":"Response body of the get_account_problem_submission_snippet_list method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"It MUST be the same as the value of the id member in the Request.","type":"string","format":"uuid"},"error":{"$ref":"#/components/schemas/_rpcError"},"result":{"$ref":"#/components/schemas/rpc.GetAccountProblemSubmissionSnippetListResponse"}}}}}}}}},"/#get_and_update_first_submitted_submission_to_executing":{"post":{"operationId":"get_and_update_first_submitted_submission_to_executing","requestBody":{"content":{"application/json":{"schema":{"title":"Request body of the get_and_update_first_submitted_submission_to_executing method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"An identifier established by the Client.","type":"string","format":"uuid"},"method":{"description":"A String containing the name of the method to be invoked.","type":"string","enum":["get_and_update_first_submitted_submission_to_executing"]},"params":{"$ref":"#/components/schemas/rpc.GetAndUpdateFirstSubmittedSubmissionToExecutingRequest"}}}}},"required":true},"responses":{"200":{"description":"JSON-RPC response body","content":{"application/json":{"schema":{"title":"Response body of the get_and_update_first_submitted_submission_to_executing method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"It MUST be the same as the value of the id member in the Request.","type":"string","format":"uuid"},"error":{"$ref":"#/components/schemas/_rpcError"},"result":{"$ref":"#/components/schemas/rpc.GetAndUpdateFirstSubmittedSubmissionToExecutingResponse"}}}}}}}}},"/#update_setting":{"post":{"operationId":"update_setting","requestBody":{"content":{"application/json":{"schema":{"title":"Request body of the update_setting method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"An identifier established by the Client.","type":"string","format":"uuid"},"method":{"description":"A String containing the name of the method to be invoked.","type":"string","enum":["update_setting"]},"params":{"$ref":"#/components/schemas/rpc.UpdateSettingRequest"}}}}},"required":true},"responses":{"200":{"description":"JSON-RPC response body","content":{"application/json":{"schema":{"title":"Response body of the update_setting method","type":"object","properties":{"jsonrpc":{"description":"A String specifying the version of the JSON-RPC protocol. MUST be exactly \"2.0\".","type":"string","enum":["2.0"]},"id":{"description":"It MUST be the same as the value of the id member in the Request.","type":"string","format":"uuid"},"error":{"$ref":"#/components/schemas/_rpcError"},"result":{"$ref":"#/components/schemas/rpc.UpdateSettingResponse"}}}}}}}}}},"components":{"schemas":{"_rpcError":{"title":"rpcError","description":"REQUIRED on error. This member MUST NOT exist if there was no error triggered during invocation.","type":"object","properties":{"code":{"description":"A Number that indicates the error type that occurred.","type":"integer","format":"int64"},"message":{"description":"A String providing a short description of the error.","type":"string"},"data":{"description":"A Primitive or Structured value that contains additional information about the error.","type":"object"}}},"rpc.Account":{"type":"object","required":["ID","AccountName","DisplayName","Role"],"properties":{"ID":{"type":"integer","format":"uint64"},"AccountName":{"type":"string"},"DisplayName":{"type":"string"},"Role":{"type":"string"}}},"rpc.AccountSetting":{"type":"object","required":["DisableAccountCreation","DisableAccountUpdate","DisableSessionCreationForContestant","DisableSessionCreationForProblemSetter"],"properties":{"DisableAccountCreation":{"type":"boolean"},"DisableAccountUpdate":{"type":"boolean"},"DisableSessionCreationForContestant":{"type":"boolean"},"DisableSessionCreationForProblemSetter":{"type":"boolean"}}},"rpc.CreateAccountRequest":{"type":"object","required":["AccountName","DisplayName","Role","Password"],"properties":{"AccountName":{"type":"string"},"DisplayName":{"type":"string"},"Role":{"type":"string"},"Password":{"type":"string"}}},"rpc.CreateAccountResponse":{"type":"object","required":["Account"],"properties":{"Account":{"oneOf":[{"$ref":"#/components/schemas/rpc.Account"}]}}},"rpc.CreateProblemRequest":{"type":"object","required":["DisplayName","Description","TimeLimitInMillisecond","MemoryLimitInByte","ExampleList"],"properties":{"DisplayName":{"type":"string"},"Description":{"type":"string"},"TimeLimitInMillisecond":{"type":"integer","format":"uint64"},"MemoryLimitInByte":{"type":"integer","format":"uint64"},"ExampleList":{"type":"array","items":{"$ref":"#/components/schemas/rpc.ProblemExample"}}}},"rpc.CreateProblemResponse":{"type":"object","required":["Problem"],"properties":{"Problem":{"oneOf":[{"$ref":"#/components/schemas/rpc.Problem"}]}}},"rpc.CreateSessionRequest":{"type":"object","required":["AccountName","Password"],"properties":{"AccountName":{"type":"string"},"Password":{"type":"string"}}},"rpc.CreateSessionResponse":{"type":"object","required":["Account","Token"],"properties":{"Account":{"oneOf":[{"$ref":"#/components/schemas/rpc.Account"}]},"Token":{"type":"string"}}},"rpc.CreateSubmissionRequest":{"type":"object","required":["ProblemUUID","Content","Language"],"properties":{"ProblemUUID":{"type":"string"},"Content":{"type":"string"},"Language":{"type":"string"}}},"rpc.CreateSubmissionResponse":{"type":"object","required":["SubmissionSnippet"],"properties":{"SubmissionSnippet":{"oneOf":[{"$ref":"#/components/schemas/rpc.SubmissionSnippet"}]}}},"rpc.CreateTestCaseListRequest":{"type":"object","required":["ProblemUUID","ZippedTestData"],"properties":{"ProblemUUID":{"type":"string"},"ZippedTestData":{"type":"string"}}},"rpc.CreateTestCaseListResponse":{"type":"object"},"rpc.CreateTestCaseRequest":{"type":"object","required":["ProblemUUID","Input","Output","IsHidden"],"properties":{"ProblemUUID":{"type":"string"},"Input":{"type":"string"},"Output":{"type":"string"},"IsHidden":{"type":"boolean"}}},"rpc.CreateTestCaseResponse":{"type":"object","required":["TestCaseSnippet"],"properties":{"TestCaseSnippet":{"oneOf":[{"$ref":"#/components/schemas/rpc.TestCaseSnippet"}]}}},"rpc.DeleteProblemRequest":{"type":"object","required":["UUID"],"properties":{"UUID":{"type":"string"}}},"rpc.DeleteProblemResponse":{"type":"object"},"rpc.DeleteSessionRequest":{"type":"object"},"rpc.DeleteSessionResponse":{"type":"object"},"rpc.DeleteSubmissionRequest":{"type":"object","required":["ID"],"properties":{"ID":{"type":"integer","format":"uint64"}}},"rpc.DeleteSubmissionResponse":{"type":"object"},"rpc.DeleteTestCaseRequest":{"type":"object","required":["UUID"],"properties":{"UUID":{"type":"string"}}},"rpc.DeleteTestCaseResponse":{"type":"object"},"rpc.GetAccountListRequest":{"type":"object","required":["Offset","Limit"],"properties":{"Offset":{"type":"integer","format":"uint64"},"Limit":{"type":"integer","format":"uint64"}}},"rpc.GetAccountListResponse":{"type":"object","required":["TotalAccountCount","AccountList"],"properties":{"TotalAccountCount":{"type":"integer","format":"uint64"},"AccountList":{"type":"array","items":{"$ref":"#/components/schemas/rpc.Account"}}}},"rpc.GetAccountProblemSnippetListRequest":{"type":"object","required":["AccountID","Offset","Limit"],"properties":{"AccountID":{"type":"integer","format":"uint64"},"Offset":{"type":"integer","format":"uint64"},"Limit":{"type":"integer","format":"uint64"}}},"rpc.GetAccountProblemSnippetListResponse":{"type":"object","required":["TotalProblemCount","ProblemSnippetList"],"properties":{"TotalProblemCount":{"type":"integer","format":"uint64"},"ProblemSnippetList":{"type":"array","items":{"$ref":"#/components/schemas/rpc.ProblemSnippet"}}}},"rpc.GetAccountProblemSubmissionSnippetListRequest":{"type":"object","required":["AccountID","ProblemUUID","Offset","Limit"],"properties":{"AccountID":{"type":"integer","format":"uint64"},"ProblemUUID":{"type":"string"},"Offset":{"type":"integer","format":"uint64"},"Limit":{"type":"integer","format":"uint64"}}},"rpc.GetAccountProblemSubmissionSnippetListResponse":{"type":"object","required":["TotalSubmissionCount","SubmissionSnippetList"],"properties":{"TotalSubmissionCount":{"type":"integer","format":"uint64"},"SubmissionSnippetList":{"type":"array","items":{"$ref":"#/components/schemas/rpc.SubmissionSnippet"}}}},"rpc.GetAccountRequest":{"type":"object","required":["ID"],"properties":{"ID":{"type":"integer","format":"uint64"}}},"rpc.GetAccountResponse":{"type":"object","required":["Account"],"properties":{"Account":{"oneOf":[{"$ref":"#/components/schemas/rpc.Account"}]}}},"rpc.GetAccountSubmissionSnippetListRequest":{"type":"object","required":["AccountID","Offset","Limit"],"properties":{"AccountID":{"type":"integer","format":"uint64"},"Offset":{"type":"integer","format":"uint64"},"Limit":{"type":"integer","format":"uint64"}}},"rpc.GetAccountSubmissionSnippetListResponse":{"type":"object","required":["TotalSubmissionCount","SubmissionSnippetList"],"properties":{"TotalSubmissionCount":{"type":"integer","format":"uint64"},"SubmissionSnippetList":{"type":"array","items":{"$ref":"#/components/schemas/rpc.SubmissionSnippet"}}}},"rpc.GetAndUpdateFirstSubmittedSubmissionToExecutingRequest":{"type":"object"},"rpc.GetAndUpdateFirstSubmittedSubmissionToExecutingResponse":{"type":"object","required":["Submission"],"properties":{"Submission":{"oneOf":[{"$ref":"#/components/schemas/rpc.Submission"}]}}},"rpc.GetProblemRequest":{"type":"object","required":["UUID"],"properties":{"UUID":{"type":"string"}}},"rpc.GetProblemResponse":{"type":"object","required":["Problem"],"properties":{"Problem":{"oneOf":[{"$ref":"#/components/schemas/rpc.Problem"}]}}},"rpc.GetProblemSnippetListRequest":{"type":"object","required":["Offset","Limit"],"properties":{"Offset":{"type":"integer","format":"uint64"},"Limit":{"type":"integer","format":"uint64"}}},"rpc.GetProblemSnippetListResponse":{"type":"object","required":["TotalProblemCount","ProblemSnippetList"],"properties":{"TotalProblemCount":{"type":"integer","format":"uint64"},"ProblemSnippetList":{"type":"array","items":{"$ref":"#/components/schemas/rpc.ProblemSnippet"}}}},"rpc.GetProblemSubmissionSnippetListRequest":{"type":"object","required":["ProblemUUID","Offset","Limit"],"properties":{"ProblemUUID":{"type":"string"},"Offset":{"type":"integer","format":"uint64"},"Limit":{"type":"integer","format":"uint64"}}},"rpc.GetProblemSubmissionSnippetListResponse":{"type":"object","required":["TotalSubmissionCount","SubmissionSnippetList"],"properties":{"TotalSubmissionCount":{"type":"integer","format":"uint64"},"SubmissionSnippetList":{"type":"array","items":{"$ref":"#/components/schemas/rpc.SubmissionSnippet"}}}},"rpc.GetProblemTestCaseSnippetListRequest":{"type":"object","required":["ProblemUUID","Offset","Limit"],"properties":{"ProblemUUID":{"type":"string"},"Offset":{"type":"integer","format":"uint64"},"Limit":{"type":"integer","format":"uint64"}}},"rpc.GetProblemTestCaseSnippetListResponse":{"type":"object","required":["TotalTestCaseCount","TestCaseSnippetList"],"properties":{"TotalTestCaseCount":{"type":"integer","format":"uint64"},"TestCaseSnippetList":{"type":"array","items":{"$ref":"#/components/schemas/rpc.TestCaseSnippet"}}}},"rpc.GetServerInfoRequest":{"type":"object"},"rpc.GetServerInfoResponse":{"type":"object","required":["IsDistributed","SupportedLanguageList","Setting"],"properties":{"IsDistributed":{"type":"boolean"},"SupportedLanguageList":{"type":"array","items":{"$ref":"#/components/schemas/rpc.Language"}},"Setting":{"oneOf":[{"$ref":"#/components/schemas/rpc.Setting"}]}}},"rpc.GetSessionRequest":{"type":"object"},"rpc.GetSessionResponse":{"type":"object","required":["Account"],"properties":{"Account":{"oneOf":[{"$ref":"#/components/schemas/rpc.Account"}]}}},"rpc.GetSubmissionRequest":{"type":"object","required":["ID"],"properties":{"ID":{"type":"integer","format":"uint64"}}},"rpc.GetSubmissionResponse":{"type":"object","required":["Submission"],"properties":{"Submission":{"oneOf":[{"$ref":"#/components/schemas/rpc.Submission"}]}}},"rpc.GetSubmissionSnippetListRequest":{"type":"object","required":["Offset","Limit"],"properties":{"Offset":{"type":"integer","format":"uint64"},"Limit":{"type":"integer","format":"uint64"}}},"rpc.GetSubmissionSnippetListResponse":{"type":"object","required":["TotalSubmissionCount","SubmissionSnippetList"],"properties":{"TotalSubmissionCount":{"type":"integer","format":"uint64"},"SubmissionSnippetList":{"type":"array","items":{"$ref":"#/components/schemas/rpc.SubmissionSnippet"}}}},"rpc.GetTestCaseRequest":{"type":"object","required":["UUID"],"properties":{"UUID":{"type":"string"}}},"rpc.GetTestCaseResponse":{"type":"object","required":["TestCase"],"properties":{"TestCase":{"oneOf":[{"$ref":"#/components/schemas/rpc.TestCase"}]}}},"rpc.Language":{"type":"object","required":["Value","Name"],"properties":{"Value":{"type":"string"},"Name":{"type":"string"}}},"rpc.Problem":{"type":"object","required":["UUID","DisplayName","Author","Description","TimeLimitInMillisecond","MemoryLimitInByte","ExampleList","CreatedTime","UpdatedTime","TestCaseHash"],"properties":{"UUID":{"type":"string"},"DisplayName":{"type":"string"},"Author":{"oneOf":[{"$ref":"#/components/schemas/rpc.Account"}]},"Description":{"type":"string"},"TimeLimitInMillisecond":{"type":"integer","format":"uint64"},"MemoryLimitInByte":{"type":"integer","format":"uint64"},"ExampleList":{"type":"array","items":{"$ref":"#/components/schemas/rpc.ProblemExample"}},"CreatedTime":{"type":"integer","format":"uint64"},"UpdatedTime":{"type":"integer","format":"uint64"},"TestCaseHash":{"type":"string"}}},"rpc.ProblemExample":{"type":"object","required":["Input","Output"],"properties":{"Input":{"type":"string"},"Output":{"type":"string"}}},"rpc.ProblemSetting":{"type":"object","required":["DisableProblemCreation","DisableProblemUpdate"],"properties":{"DisableProblemCreation":{"type":"boolean"},"DisableProblemUpdate":{"type":"boolean"}}},"rpc.ProblemSnippet":{"type":"object","required":["UUID","DisplayName","Author","TimeLimitInMillisecond","MemoryLimitInByte","CreatedTime","UpdatedTime"],"properties":{"UUID":{"type":"string"},"DisplayName":{"type":"string"},"Author":{"oneOf":[{"$ref":"#/components/schemas/rpc.Account"}]},"TimeLimitInMillisecond":{"type":"integer","format":"uint64"},"MemoryLimitInByte":{"type":"integer","format":"uint64"},"CreatedTime":{"type":"integer","format":"uint64"},"UpdatedTime":{"type":"integer","format":"uint64"}}},"rpc.Setting":{"type":"object","required":["Account","Problem","Submission"],"properties":{"Account":{"oneOf":[{"$ref":"#/components/schemas/rpc.AccountSetting"}]},"Problem":{"oneOf":[{"$ref":"#/components/schemas/rpc.ProblemSetting"}]},"Submission":{"oneOf":[{"$ref":"#/components/schemas/rpc.SubmissionSetting"}]}}},"rpc.Submission":{"type":"object","required":["ID","Problem","Author","Content","Language","Status","Result","CreatedTime"],"properties":{"ID":{"type":"integer","format":"uint64"},"Problem":{"oneOf":[{"$ref":"#/components/schemas/rpc.SubmissionProblemSnippet"}]},"Author":{"oneOf":[{"$ref":"#/components/schemas/rpc.Account"}]},"Content":{"type":"string"},"Language":{"type":"string"},"Status":{"type":"integer","format":"uint8"},"Result":{"type":"integer","format":"uint8"},"CreatedTime":{"type":"integer","format":"uint64"}}},"rpc.SubmissionProblemSnippet":{"type":"object","required":["UUID","DisplayName"],"properties":{"UUID":{"type":"string"},"DisplayName":{"type":"string"}}},"rpc.SubmissionSetting":{"type":"object","required":["DisableSubmissionCreation"],"properties":{"DisableSubmissionCreation":{"type":"boolean"}}},"rpc.SubmissionSnippet":{"type":"object","required":["ID","Problem","Author","Language","Status","Result","CreatedTime"],"properties":{"ID":{"type":"integer","format":"uint64"},"Problem":{"oneOf":[{"$ref":"#/components/schemas/rpc.SubmissionProblemSnippet"}]},"Author":{"oneOf":[{"$ref":"#/components/schemas/rpc.Account"}]},"Language":{"type":"string"},"Status":{"type":"integer","format":"uint8"},"Result":{"type":"integer","format":"uint8"},"CreatedTime":{"type":"integer","format":"uint64"}}},"rpc.TestCase":{"type":"object","required":["UUID","Input","Output","IsHidden"],"properties":{"UUID":{"type":"string"},"Input":{"type":"string"},"Output":{"type":"string"},"IsHidden":{"type":"boolean"}}},"rpc.TestCaseSnippet":{"type":"object","required":["UUID","Input","Output","IsHidden"],"properties":{"UUID":{"type":"string"},"Input":{"type":"string"},"Output":{"type":"string"},"IsHidden":{"type":"boolean"}}},"rpc.UpdateAccountRequest":{"type":"object","required":["ID","DisplayName","Role","Password"],"properties":{"ID":{"type":"integer","format":"uint64"},"DisplayName":{"type":"string"},"Role":{"type":"string"},"Password":{"type":"string"}}},"rpc.UpdateAccountResponse":{"type":"object","required":["Account"],"properties":{"Account":{"oneOf":[{"$ref":"#/components/schemas/rpc.Account"}]}}},"rpc.UpdateProblemRequest":{"type":"object","required":["UUID","DisplayName","Description","TimeLimitInMillisecond","MemoryLimitInByte","ExampleList"],"properties":{"UUID":{"type":"string"},"DisplayName":{"type":"string"},"Description":{"type":"string"},"TimeLimitInMillisecond":{"type":"integer","format":"uint64"},"MemoryLimitInByte":{"type":"integer","format":"uint64"},"ExampleList":{"type":"array","items":{"$ref":"#/components/schemas/rpc.ProblemExample"}}}},"rpc.UpdateProblemResponse":{"type":"object","required":["Problem"],"properties":{"Problem":{"oneOf":[{"$ref":"#/components/schemas/rpc.Problem"}]}}},"rpc.UpdateSettingRequest":{"type":"object","required":["Setting"],"properties":{"Setting":{"oneOf":[{"$ref":"#/components/schemas/rpc.Setting"}]}}},"rpc.UpdateSettingResponse":{"type":"object","required":["Setting"],"properties":{"Setting":{"oneOf":[{"$ref":"#/components/schemas/rpc.Setting"}]}}},"rpc.UpdateSubmissionRequest":{"type":"object","required":["ID","Status","Result"],"properties":{"ID":{"type":"integer","format":"uint64"},"Status":{"type":"integer","format":"uint8"},"Result":{"type":"integer","format":"uint8"}}},"rpc.UpdateSubmissionResponse":{"type":"object","required":["SubmissionSnippet"],"properties":{"SubmissionSnippet":{"oneOf":[{"$ref":"#/components/schemas/rpc.SubmissionSnippet"}]}}},"rpc.UpdateTestCaseRequest":{"type":"object","required":["UUID","Input","Output","IsHidden"],"properties":{"UUID":{"type":"string"},"Input":{"type":"string"},"Output":{"type":"string"},"IsHidden":{"type":"boolean"}}},"rpc.UpdateTestCaseResponse":{"type":"object","required":["TestCaseSnippet"],"properties":{"TestCaseSnippet":{"oneOf":[{"$ref":"#/components/schemas/rpc.TestCaseSnippet"}]}}}}}}