{ "openapi": "3.1.0", "info": { "title": "AA PvE API", "version": "0.0.1", "description": "" }, "paths": { "/pve/api/buttons/": { "get": { "operationId": "allianceauth_pve_api_list_buttons", "summary": "List Buttons", "parameters": [], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "items": { "$ref": "#/components/schemas/PveButtonSchema" }, "title": "Response", "type": "array" } } } } }, "security": [ { "CanAccessPVE": [] } ] } }, "/pve/api/role_setups/": { "get": { "operationId": "allianceauth_pve_api_list_role_setups", "summary": "List Role Setups", "parameters": [], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "items": { "$ref": "#/components/schemas/BaseRoleSetupSchema" }, "title": "Response", "type": "array" } } } } }, "security": [ { "CanAccessPVE": [] } ] } }, "/pve/api/rotations/": { "get": { "operationId": "allianceauth_pve_api_rotations_list_rotations", "summary": "List Rotations", "parameters": [ { "in": "query", "name": "is_closed", "schema": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Is Closed" }, "required": false } ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "items": { "$ref": "#/components/schemas/RotationSchema" }, "title": "Response", "type": "array" } } } } }, "tags": [ "rotations" ], "security": [ { "CanAccessPVE": [] } ] }, "post": { "operationId": "allianceauth_pve_api_rotations_create_rotation", "summary": "Create Rotation", "parameters": [], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "title": "Response", "type": "integer" } } } }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "additionalProperties": { "items": { "type": "string" }, "type": "array" }, "title": "Response", "type": "object" } } } } }, "tags": [ "rotations" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/NewRotationSchema" } } }, "required": true }, "security": [ { "NeedsPermission": [] } ] } }, "/pve/api/rotations/{rotation_id}/": { "get": { "operationId": "allianceauth_pve_api_rotations_get_rotation", "summary": "Get Rotation", "parameters": [ { "in": "path", "name": "rotation_id", "schema": { "title": "Rotation Id", "type": "integer" }, "required": true } ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RotationSchema" } } } }, "404": { "description": "Not Found" } }, "tags": [ "rotations" ], "security": [ { "CanAccessPVE": [] } ] }, "patch": { "operationId": "allianceauth_pve_api_rotations_close_rotation", "summary": "Close Rotation", "parameters": [ { "in": "path", "name": "rotation_id", "schema": { "title": "Rotation Id", "type": "integer" }, "required": true } ], "responses": { "200": { "description": "OK" }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CloseRotationErrorsSchema" } } } }, "403": { "description": "Forbidden" }, "404": { "description": "Not Found" } }, "tags": [ "rotations" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/CloseRotationSchema" } } }, "required": true }, "security": [ { "NeedsPermission": [] } ] } }, "/pve/api/rotations/{rotation_id}/summary/": { "get": { "operationId": "allianceauth_pve_api_rotations_get_rotation_summary", "summary": "Get Rotation Summary", "parameters": [ { "in": "path", "name": "rotation_id", "schema": { "title": "Rotation Id", "type": "integer" }, "required": true } ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "items": { "$ref": "#/components/schemas/RotationSummarySchema" }, "title": "Response", "type": "array" } } } }, "404": { "description": "Not Found" } }, "tags": [ "rotations" ], "security": [ { "CanAccessPVE": [] } ] } }, "/pve/api/rotations/{rotation_id}/project_summaries/": { "get": { "operationId": "allianceauth_pve_api_rotations_get_rotation_project_summaries", "summary": "Get Rotation Project Summaries", "parameters": [ { "in": "path", "name": "rotation_id", "schema": { "title": "Rotation Id", "type": "integer" }, "required": true } ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "items": { "$ref": "#/components/schemas/RotationProjectSummarySchema" }, "title": "Response", "type": "array" } } } }, "404": { "description": "Not Found" } }, "tags": [ "rotations" ], "security": [ { "CanAccessPVE": [] } ] } }, "/pve/api/rotations/{rotation_id}/role_setups/": { "get": { "operationId": "allianceauth_pve_api_rotations_get_rotation_role_setups", "summary": "Get Rotation Role Setups", "parameters": [ { "in": "path", "name": "rotation_id", "schema": { "title": "Rotation Id", "type": "integer" }, "required": true } ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/RotationRoleSetupsSchema" } } } }, "404": { "description": "Not Found" } }, "tags": [ "rotations" ], "security": [ { "CanAccessPVE": [] } ] } }, "/pve/api/rotations/{rotation_id}/buttons/": { "get": { "operationId": "allianceauth_pve_api_rotations_get_rotation_buttons", "summary": "Get Rotation Buttons", "parameters": [ { "in": "path", "name": "rotation_id", "schema": { "title": "Rotation Id", "type": "integer" }, "required": true } ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "items": { "$ref": "#/components/schemas/PveButtonSchema" }, "title": "Response", "type": "array" } } } }, "404": { "description": "Not Found" } }, "tags": [ "rotations" ], "security": [ { "CanAccessPVE": [] } ] } }, "/pve/api/rotations/{rotation_id}/items/": { "get": { "operationId": "allianceauth_pve_api_rotations_get_rotation_items", "summary": "Get Rotation Items", "parameters": [ { "in": "path", "name": "rotation_id", "schema": { "title": "Rotation Id", "type": "integer" }, "required": true } ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "items": { "$ref": "#/components/schemas/ExtendedEntryItemSchema" }, "title": "Response", "type": "array" } } } }, "404": { "description": "Not Found" } }, "tags": [ "rotations" ], "security": [ { "CanAccessPVE": [] } ] } }, "/pve/api/rotations/{rotation_id}/entries/": { "get": { "operationId": "allianceauth_pve_api_entries_get_rotation_entries", "summary": "Get Rotation Entries", "parameters": [ { "in": "path", "name": "rotation_id", "schema": { "title": "Rotation Id", "type": "integer" }, "required": true } ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "items": { "$ref": "#/components/schemas/EntrySchema" }, "title": "Response", "type": "array" } } } }, "404": { "description": "Not Found" } }, "tags": [ "rotations", "entries" ], "security": [ { "CanAccessPVE": [] } ] }, "post": { "operationId": "allianceauth_pve_api_entries_new_entry", "summary": "New Entry", "parameters": [ { "in": "path", "name": "rotation_id", "schema": { "title": "Rotation Id", "type": "integer" }, "required": true } ], "responses": { "200": { "description": "OK" }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/EntryFormErrorsSchema" } } } }, "404": { "description": "Not Found" }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "title": "Response", "type": "string" } } } } }, "tags": [ "rotations", "entries" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/EntryFormSchema" } } }, "required": true }, "security": [ { "NeedsPermission": [] } ] } }, "/pve/api/rotations/{rotation_id}/entries/{entry_id}/": { "get": { "operationId": "allianceauth_pve_api_entries_get_rotation_entry", "summary": "Get Rotation Entry", "parameters": [ { "in": "path", "name": "entry_id", "schema": { "title": "Entry Id", "type": "integer" }, "required": true }, { "in": "path", "name": "rotation_id", "schema": { "title": "Rotation Id", "type": "integer" }, "required": true } ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/EntryDetailsSchema" } } } }, "404": { "description": "Not Found" } }, "tags": [ "rotations", "entries" ], "security": [ { "CanAccessPVE": [] } ] }, "delete": { "operationId": "allianceauth_pve_api_entries_delete_rotation_entry", "summary": "Delete Rotation Entry", "parameters": [ { "in": "path", "name": "entry_id", "schema": { "title": "Entry Id", "type": "integer" }, "required": true }, { "in": "path", "name": "rotation_id", "schema": { "title": "Rotation Id", "type": "integer" }, "required": true } ], "responses": { "200": { "description": "OK" }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "title": "Response", "type": "string" } } } }, "404": { "description": "Not Found" } }, "tags": [ "rotations", "entries" ], "security": [ { "NeedsPermission": [] } ] }, "post": { "operationId": "allianceauth_pve_api_entries_edit_entry", "summary": "Edit Entry", "parameters": [ { "in": "path", "name": "entry_id", "schema": { "title": "Entry Id", "type": "integer" }, "required": true }, { "in": "path", "name": "rotation_id", "schema": { "title": "Rotation Id", "type": "integer" }, "required": true } ], "responses": { "200": { "description": "OK" }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/EntryFormErrorsSchema" } } } }, "404": { "description": "Not Found" }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "title": "Response", "type": "string" } } } } }, "tags": [ "rotations", "entries" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/EntryFormSchema" } } }, "required": true }, "security": [ { "NeedsPermission": [] } ] } }, "/pve/api/rotations/{rotation_id}/entries/{entry_id}/roles/": { "get": { "operationId": "allianceauth_pve_api_entries_get_rotation_entry_roles", "summary": "Get Rotation Entry Roles", "parameters": [ { "in": "path", "name": "entry_id", "schema": { "title": "Entry Id", "type": "integer" }, "required": true }, { "in": "path", "name": "rotation_id", "schema": { "title": "Rotation Id", "type": "integer" }, "required": true } ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "items": { "$ref": "#/components/schemas/EntryRoleSchema" }, "title": "Response", "type": "array" } } } }, "404": { "description": "Not Found" } }, "tags": [ "rotations", "entries" ], "security": [ { "CanAccessPVE": [] } ] } }, "/pve/api/rotations/{rotation_id}/entries/{entry_id}/shares/": { "get": { "operationId": "allianceauth_pve_api_entries_get_rotation_entry_shares", "summary": "Get Rotation Entry Shares", "parameters": [ { "in": "path", "name": "entry_id", "schema": { "title": "Entry Id", "type": "integer" }, "required": true }, { "in": "path", "name": "rotation_id", "schema": { "title": "Rotation Id", "type": "integer" }, "required": true } ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "items": { "$ref": "#/components/schemas/EntryCharacterSchema" }, "title": "Response", "type": "array" } } } }, "404": { "description": "Not Found" } }, "tags": [ "rotations", "entries" ], "security": [ { "CanAccessPVE": [] } ] } }, "/pve/api/rotations/{rotation_id}/entries/{entry_id}/items/": { "get": { "operationId": "allianceauth_pve_api_entries_get_rotation_entry_items", "summary": "Get Rotation Entry Items", "parameters": [ { "in": "path", "name": "entry_id", "schema": { "title": "Entry Id", "type": "integer" }, "required": true }, { "in": "path", "name": "rotation_id", "schema": { "title": "Rotation Id", "type": "integer" }, "required": true } ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "items": { "$ref": "#/components/schemas/ExtendedEntryItemSchema" }, "title": "Response", "type": "array" } } } }, "404": { "description": "Not Found" } }, "tags": [ "rotations", "entries" ], "security": [ { "CanAccessPVE": [] } ] } }, "/pve/api/rotations/{rotation_id}/entries/{entry_id}/edit/": { "get": { "operationId": "allianceauth_pve_api_entries_get_entry_for_edit", "summary": "Get Entry For Edit", "parameters": [ { "in": "path", "name": "entry_id", "schema": { "title": "Entry Id", "type": "integer" }, "required": true }, { "in": "path", "name": "rotation_id", "schema": { "title": "Rotation Id", "type": "integer" }, "required": true } ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ExtendedEntryFormSchema" } } } }, "404": { "description": "Not Found" }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "title": "Response", "type": "string" } } } } }, "tags": [ "rotations", "entries" ], "security": [ { "NeedsPermission": [] } ] } }, "/pve/api/activity/months/{months}/": { "get": { "operationId": "allianceauth_pve_api_activity_get_activity", "summary": "Get Activity", "parameters": [ { "in": "path", "name": "months", "schema": { "title": "Months", "type": "integer" }, "required": true } ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/ActivitySchema" } } } }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "title": "Response", "type": "string" } } } } }, "tags": [ "activity" ], "security": [ { "CanAccessPVE": [] } ] } }, "/pve/api/projects/": { "get": { "operationId": "allianceauth_pve_api_projects_list_projects", "summary": "List Projects", "parameters": [ { "in": "query", "name": "active", "schema": { "anyOf": [ { "type": "boolean" }, { "type": "null" } ], "title": "Active" }, "required": false } ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "items": { "$ref": "#/components/schemas/FundingProjectSchema" }, "title": "Response", "type": "array" } } } } }, "tags": [ "projects" ], "security": [ { "CanAccessPVE": [] } ] }, "post": { "operationId": "allianceauth_pve_api_projects_create_project", "summary": "Create Project", "parameters": [], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "title": "Response", "type": "integer" } } } }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "additionalProperties": { "items": { "type": "string" }, "type": "array" }, "title": "Response", "type": "object" } } } } }, "tags": [ "projects" ], "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/NewProjectSchema" } } }, "required": true }, "security": [ { "NeedsPermission": [] } ] } }, "/pve/api/projects/{project_id}/": { "get": { "operationId": "allianceauth_pve_api_projects_get_project", "summary": "Get Project", "parameters": [ { "in": "path", "name": "project_id", "schema": { "title": "Project Id", "type": "integer" }, "required": true } ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/FundingProjectSchema" } } } }, "404": { "description": "Not Found" } }, "tags": [ "projects" ], "security": [ { "CanAccessPVE": [] } ] } }, "/pve/api/projects/{project_id}/summary/": { "get": { "operationId": "allianceauth_pve_api_projects_get_project_summary", "summary": "Get Project Summary", "parameters": [ { "in": "path", "name": "project_id", "schema": { "title": "Project Id", "type": "integer" }, "required": true } ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "items": { "$ref": "#/components/schemas/SummarySchema" }, "title": "Response", "type": "array" } } } }, "404": { "description": "Not Found" } }, "tags": [ "projects" ], "security": [ { "CanAccessPVE": [] } ] } }, "/pve/api/projects/{project_id}/complete/": { "post": { "operationId": "allianceauth_pve_api_projects_toggle_complete_project", "summary": "Toggle Complete Project", "parameters": [ { "in": "path", "name": "project_id", "schema": { "title": "Project Id", "type": "integer" }, "required": true } ], "responses": { "200": { "description": "OK" }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "title": "Response", "type": "string" } } } }, "403": { "description": "Forbidden", "content": { "application/json": { "schema": { "title": "Response", "type": "string" } } } }, "404": { "description": "Not Found" } }, "tags": [ "projects" ], "security": [ { "NeedsPermission": [] } ] } }, "/pve/api/permissions/": { "get": { "operationId": "allianceauth_pve_api_permissions_list_permissions", "summary": "List Permissions", "parameters": [], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PermissionsSchema" } } } } }, "tags": [ "permissions" ], "security": [ { "CanAccessPVE": [] } ] } }, "/pve/api/search/ratters/": { "post": { "operationId": "allianceauth_pve_api_search_search_ratters", "summary": "Search Ratters", "parameters": [ { "in": "query", "name": "name", "schema": { "default": "", "title": "Name", "type": "string" }, "required": false } ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "items": { "$ref": "#/components/schemas/RatterSchema" }, "title": "Response", "type": "array" } } } } }, "tags": [ "search" ], "requestBody": { "content": { "application/json": { "schema": { "anyOf": [ { "items": { "type": "integer" }, "type": "array" }, { "type": "null" } ], "title": "Exclude Ids" } } }, "required": false }, "security": [ { "NeedsPermission": [] } ] } }, "/pve/api/search/items/": { "post": { "operationId": "allianceauth_pve_api_search_search_items", "summary": "Search Items", "parameters": [], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "items": { "$ref": "#/components/schemas/ItemSearchResultSchema" }, "title": "Response", "type": "array" } } } }, "400": { "description": "Bad Request", "content": { "application/json": { "schema": { "items": { "type": "string" }, "title": "Response", "type": "array" } } } } }, "tags": [ "search" ], "requestBody": { "content": { "application/json": { "schema": { "title": "Paste", "type": "string" } } }, "required": true }, "security": [ { "NeedsPermission": [] } ] } } }, "components": { "schemas": { "PveButtonSchema": { "properties": { "id": { "title": "Id", "type": "integer" }, "text": { "maxLength": 16, "title": "Text", "type": "string" }, "amount": { "title": "Amount", "type": "integer" } }, "required": [ "id", "text", "amount" ], "title": "PveButtonSchema", "type": "object" }, "BaseRoleSetupSchema": { "properties": { "id": { "title": "Id", "type": "integer" }, "name": { "maxLength": 64, "title": "Name", "type": "string" } }, "required": [ "id", "name" ], "title": "BaseRoleSetupSchema", "type": "object" }, "RotationSchema": { "properties": { "id": { "title": "Id", "type": "integer" }, "name": { "title": "Name", "type": "string" }, "created_at": { "format": "date-time", "title": "Created At", "type": "string" }, "is_closed": { "title": "Is Closed", "type": "boolean" }, "closed_at": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "Closed At" }, "number_of_members": { "title": "Number Of Members", "type": "integer" }, "estimated_total": { "title": "Estimated Total", "type": "number" }, "actual_total": { "title": "Actual Total", "type": "number" }, "priority": { "title": "Priority", "type": "integer" }, "tax_rate": { "title": "Tax Rate", "type": "number" }, "tax_rate_loot_items": { "title": "Tax Rate Loot Items", "type": "number" }, "actual_total_from_items": { "title": "Actual Total From Items", "type": "number" }, "max_daily_setups": { "title": "Max Daily Setups", "type": "integer" } }, "required": [ "id", "name", "created_at", "is_closed", "number_of_members", "estimated_total", "actual_total", "priority", "tax_rate", "tax_rate_loot_items", "actual_total_from_items", "max_daily_setups" ], "title": "RotationSchema", "type": "object" }, "NewRotationSchema": { "properties": { "name": { "title": "Name", "type": "string" }, "priority": { "title": "Priority", "type": "integer" }, "tax_rate": { "title": "Tax Rate", "type": "number" }, "tax_rate_loot_items": { "title": "Tax Rate Loot Items", "type": "number" }, "max_daily_setups": { "title": "Max Daily Setups", "type": "integer" }, "min_people_share_setup": { "title": "Min People Share Setup", "type": "integer" }, "entry_buttons": { "items": { "type": "integer" }, "title": "Entry Buttons", "type": "array" }, "roles_setups": { "items": { "type": "integer" }, "title": "Roles Setups", "type": "array" }, "lock_roles_setup": { "title": "Lock Roles Setup", "type": "boolean" } }, "required": [ "name", "priority", "tax_rate", "tax_rate_loot_items", "max_daily_setups", "min_people_share_setup", "entry_buttons", "roles_setups", "lock_roles_setup" ], "title": "NewRotationSchema", "type": "object" }, "CloseRotationErrorsSchema": { "properties": { "sales_value": { "default": [], "items": { "type": "string" }, "title": "Sales Value", "type": "array" }, "item_sales": { "additionalProperties": { "$ref": "#/components/schemas/ItemSaleValueErrorsSchema" }, "default": {}, "title": "Item Sales", "type": "object" }, "items_missing": { "default": [], "items": { "type": "integer" }, "title": "Items Missing", "type": "array" } }, "title": "CloseRotationErrorsSchema", "type": "object" }, "ItemSaleValueErrorsSchema": { "properties": { "item_id": { "default": [], "items": { "type": "string" }, "title": "Item Id", "type": "array" }, "sale_value": { "default": [], "items": { "type": "string" }, "title": "Sale Value", "type": "array" } }, "title": "ItemSaleValueErrorsSchema", "type": "object" }, "CloseRotationSchema": { "properties": { "sales_value": { "title": "Sales Value", "type": "integer" }, "item_sales": { "items": { "$ref": "#/components/schemas/ItemSaleValueSchema" }, "title": "Item Sales", "type": "array" } }, "required": [ "sales_value", "item_sales" ], "title": "CloseRotationSchema", "type": "object" }, "ItemSaleValueSchema": { "properties": { "item_id": { "title": "Item Id", "type": "integer" }, "sale_value": { "title": "Sale Value", "type": "integer" } }, "required": [ "item_id", "sale_value" ], "title": "ItemSaleValueSchema", "type": "object" }, "RotationSummarySchema": { "properties": { "portrait_url": { "title": "Portrait Url", "type": "string" }, "character_id": { "title": "Character Id", "type": "integer" }, "main_character_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Main Character Id" }, "character_name": { "title": "Character Name", "type": "string" }, "estimated_total": { "title": "Estimated Total", "type": "number" }, "actual_total": { "title": "Actual Total", "type": "number" }, "actual_total_from_items": { "title": "Actual Total From Items", "type": "number" }, "helped_setups": { "title": "Helped Setups", "type": "integer" } }, "required": [ "portrait_url", "character_id", "main_character_id", "character_name", "estimated_total", "actual_total", "actual_total_from_items", "helped_setups" ], "title": "RotationSummarySchema", "type": "object" }, "FundingProjectBasicSchema": { "properties": { "id": { "title": "Id", "type": "integer" }, "name": { "title": "Name", "type": "string" } }, "required": [ "id", "name" ], "title": "FundingProjectBasicSchema", "type": "object" }, "RotationProjectSummarySchema": { "properties": { "project": { "$ref": "#/components/schemas/FundingProjectBasicSchema" }, "summary": { "items": { "$ref": "#/components/schemas/SummarySchema" }, "title": "Summary", "type": "array" } }, "required": [ "project", "summary" ], "title": "RotationProjectSummarySchema", "type": "object" }, "SummarySchema": { "properties": { "portrait_url": { "title": "Portrait Url", "type": "string" }, "character_id": { "title": "Character Id", "type": "integer" }, "main_character_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Main Character Id" }, "character_name": { "title": "Character Name", "type": "string" }, "estimated_total": { "title": "Estimated Total", "type": "number" }, "actual_total": { "title": "Actual Total", "type": "number" }, "actual_total_from_items": { "title": "Actual Total From Items", "type": "number" } }, "required": [ "portrait_url", "character_id", "main_character_id", "character_name", "estimated_total", "actual_total", "actual_total_from_items" ], "title": "SummarySchema", "type": "object" }, "BaseRoleSchema": { "properties": { "name": { "title": "Name", "type": "string" }, "value": { "title": "Value", "type": "integer" } }, "required": [ "name", "value" ], "title": "BaseRoleSchema", "type": "object" }, "RoleSetupSchema": { "properties": { "id": { "title": "Id", "type": "integer" }, "name": { "maxLength": 64, "title": "Name", "type": "string" }, "roles": { "items": { "$ref": "#/components/schemas/BaseRoleSchema" }, "title": "Roles", "type": "array" } }, "required": [ "id", "name", "roles" ], "title": "RoleSetupSchema", "type": "object" }, "RotationRoleSetupsSchema": { "properties": { "lock_roles_setup": { "title": "Lock Roles Setup", "type": "boolean" }, "roles_setups": { "items": { "$ref": "#/components/schemas/RoleSetupSchema" }, "title": "Roles Setups", "type": "array" } }, "required": [ "lock_roles_setup", "roles_setups" ], "title": "RotationRoleSetupsSchema", "type": "object" }, "ExtendedEntryItemSchema": { "properties": { "id": { "title": "Id", "type": "integer" }, "icon_url": { "title": "Icon Url", "type": "string" }, "name": { "maxLength": 250, "title": "Name", "type": "string" }, "quantity": { "title": "Quantity", "type": "integer" }, "sale_price": { "anyOf": [ { "type": "number" }, { "type": "null" } ], "title": "Sale Price" }, "total_after_tax": { "anyOf": [ { "type": "number" }, { "type": "null" } ], "title": "Total After Tax" } }, "required": [ "id", "icon_url", "name", "quantity", "sale_price", "total_after_tax" ], "title": "ExtendedEntryItemSchema", "type": "object" }, "EntrySchema": { "properties": { "id": { "title": "Id", "type": "integer" }, "created_at": { "format": "date-time", "title": "Created At", "type": "string" }, "created_by_character": { "anyOf": [ { "$ref": "#/components/schemas/EveCharacterSchema" }, { "type": "null" } ] }, "total_user_count": { "title": "Total User Count", "type": "integer" }, "estimated_total": { "title": "Estimated Total", "type": "integer" }, "estimated_total_after_tax": { "title": "Estimated Total After Tax", "type": "number" }, "actual_total_after_tax": { "title": "Actual Total After Tax", "type": "number" }, "actual_total_from_items": { "title": "Actual Total From Items", "type": "number" } }, "required": [ "id", "created_at", "created_by_character", "total_user_count", "estimated_total", "estimated_total_after_tax", "actual_total_after_tax", "actual_total_from_items" ], "title": "EntrySchema", "type": "object" }, "EveCharacterSchema": { "properties": { "character_id": { "title": "Character Id", "type": "integer" }, "character_name": { "title": "Character Name", "type": "string" }, "portrait_url": { "title": "Portrait Url", "type": "string" } }, "required": [ "character_id", "character_name", "portrait_url" ], "title": "EveCharacterSchema", "type": "object" }, "EntryFormErrorsSchema": { "properties": { "estimated_total": { "default": [], "items": { "type": "string" }, "title": "Estimated Total", "type": "array" }, "funding_project_id": { "default": [], "items": { "type": "string" }, "title": "Funding Project Id", "type": "array" }, "funding_percentage": { "default": [], "items": { "type": "string" }, "title": "Funding Percentage", "type": "array" }, "roles_root": { "default": [], "items": { "type": "string" }, "title": "Roles Root", "type": "array" }, "roles": { "additionalProperties": { "$ref": "#/components/schemas/RoleFormErrorsSchema" }, "default": {}, "title": "Roles", "type": "object" }, "shares_root": { "default": [], "items": { "type": "string" }, "title": "Shares Root", "type": "array" }, "shares": { "additionalProperties": { "$ref": "#/components/schemas/ShareFormErrorsSchema" }, "default": {}, "title": "Shares", "type": "object" }, "items": { "additionalProperties": { "$ref": "#/components/schemas/EntryItemErrorsSchema" }, "default": {}, "title": "Items", "type": "object" } }, "title": "EntryFormErrorsSchema", "type": "object" }, "EntryItemErrorsSchema": { "properties": { "item": { "default": [], "items": { "type": "string" }, "title": "Item", "type": "array" }, "quantity": { "default": [], "items": { "type": "string" }, "title": "Quantity", "type": "array" } }, "title": "EntryItemErrorsSchema", "type": "object" }, "RoleFormErrorsSchema": { "properties": { "name": { "default": [], "items": { "type": "string" }, "title": "Name", "type": "array" }, "value": { "default": [], "items": { "type": "string" }, "title": "Value", "type": "array" } }, "title": "RoleFormErrorsSchema", "type": "object" }, "ShareFormErrorsSchema": { "properties": { "character_id": { "default": [], "items": { "type": "string" }, "title": "Character Id", "type": "array" }, "helped_setup": { "default": [], "items": { "type": "string" }, "title": "Helped Setup", "type": "array" }, "sites_root": { "default": [], "items": { "type": "string" }, "title": "Sites Root", "type": "array" }, "sites": { "additionalProperties": { "$ref": "#/components/schemas/SiteRangeErrorsSchema" }, "default": {}, "title": "Sites", "type": "object" }, "role_name": { "default": [], "items": { "type": "string" }, "title": "Role Name", "type": "array" } }, "title": "ShareFormErrorsSchema", "type": "object" }, "SiteRangeErrorsSchema": { "properties": { "first": { "default": [], "items": { "type": "string" }, "title": "First", "type": "array" }, "last": { "default": [], "items": { "type": "string" }, "title": "Last", "type": "array" } }, "title": "SiteRangeErrorsSchema", "type": "object" }, "EntryFormSchema": { "properties": { "estimated_total": { "title": "Estimated Total", "type": "integer" }, "funding_project_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Funding Project Id" }, "funding_percentage": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Funding Percentage" }, "site_scaling": { "allOf": [ { "$ref": "#/components/schemas/SiteScaling" } ], "default": "flat" }, "roles": { "items": { "$ref": "#/components/schemas/RoleFormSchema" }, "title": "Roles", "type": "array" }, "shares": { "items": { "$ref": "#/components/schemas/ShareFormSchema" }, "title": "Shares", "type": "array" }, "items": { "items": { "$ref": "#/components/schemas/EntryItemSchema" }, "title": "Items", "type": "array" } }, "required": [ "estimated_total", "funding_project_id", "funding_percentage", "roles", "shares", "items" ], "title": "EntryFormSchema", "type": "object" }, "EntryItemSchema": { "properties": { "id": { "title": "Id", "type": "integer" }, "quantity": { "title": "Quantity", "type": "integer" } }, "required": [ "id", "quantity" ], "title": "EntryItemSchema", "type": "object" }, "RoleFormSchema": { "properties": { "name": { "title": "Name", "type": "string" }, "value": { "title": "Value", "type": "integer" } }, "required": [ "name", "value" ], "title": "RoleFormSchema", "type": "object" }, "ShareFormSchema": { "properties": { "character_id": { "title": "Character Id", "type": "integer" }, "helped_setup": { "title": "Helped Setup", "type": "boolean" }, "sites": { "items": { "$ref": "#/components/schemas/SiteRangeSchema" }, "title": "Sites", "type": "array" }, "role_name": { "title": "Role Name", "type": "string" } }, "required": [ "character_id", "helped_setup", "sites", "role_name" ], "title": "ShareFormSchema", "type": "object" }, "SiteRangeSchema": { "properties": { "first": { "title": "First", "type": "integer" }, "last": { "title": "Last", "type": "integer" } }, "required": [ "first", "last" ], "title": "SiteRangeSchema", "type": "object" }, "SiteScaling": { "enum": [ "flat", "fabricator" ], "title": "SiteScaling", "type": "string" }, "EntryDetailsSchema": { "properties": { "id": { "title": "Id", "type": "integer" }, "created_at": { "format": "date-time", "title": "Created At", "type": "string" }, "created_by_character": { "anyOf": [ { "$ref": "#/components/schemas/EveCharacterSchema" }, { "type": "null" } ] }, "total_user_count": { "title": "Total User Count", "type": "integer" }, "estimated_total": { "title": "Estimated Total", "type": "integer" }, "estimated_total_after_tax": { "title": "Estimated Total After Tax", "type": "number" }, "actual_total_after_tax": { "title": "Actual Total After Tax", "type": "number" }, "actual_total_from_items": { "title": "Actual Total From Items", "type": "number" }, "funding_project": { "anyOf": [ { "$ref": "#/components/schemas/FundingProjectBasicSchema" }, { "type": "null" } ] }, "funding_percentage": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Funding Percentage" }, "site_scaling": { "$ref": "#/components/schemas/SiteScaling" }, "rotation_is_closed": { "title": "Rotation Is Closed", "type": "boolean" }, "user_can_edit": { "title": "User Can Edit", "type": "boolean" } }, "required": [ "id", "created_at", "created_by_character", "total_user_count", "estimated_total", "estimated_total_after_tax", "actual_total_after_tax", "actual_total_from_items", "funding_project", "funding_percentage", "site_scaling", "rotation_is_closed", "user_can_edit" ], "title": "EntryDetailsSchema", "type": "object" }, "EntryRoleSchema": { "properties": { "name": { "title": "Name", "type": "string" }, "value": { "title": "Value", "type": "integer" }, "role_approximate_percentage": { "title": "Role Approximate Percentage", "type": "number" } }, "required": [ "name", "value", "role_approximate_percentage" ], "title": "EntryRoleSchema", "type": "object" }, "EntryCharacterSchema": { "properties": { "user_main_character": { "anyOf": [ { "$ref": "#/components/schemas/EveCharacterSchema" }, { "type": "null" } ] }, "user_character": { "$ref": "#/components/schemas/EveCharacterSchema" }, "role_name": { "title": "Role Name", "type": "string" }, "sites": { "items": { "$ref": "#/components/schemas/SiteRangeSchema" }, "title": "Sites", "type": "array" }, "helped_setup": { "title": "Helped Setup", "type": "boolean" }, "estimated_share_total": { "title": "Estimated Share Total", "type": "number" }, "estimated_funding_amount": { "title": "Estimated Funding Amount", "type": "number" }, "actual_share_total": { "title": "Actual Share Total", "type": "number" }, "actual_funding_amount": { "title": "Actual Funding Amount", "type": "number" }, "actual_share_total_for_items": { "title": "Actual Share Total For Items", "type": "number" }, "actual_funding_amount_for_items": { "title": "Actual Funding Amount For Items", "type": "number" } }, "required": [ "user_main_character", "user_character", "role_name", "sites", "helped_setup", "estimated_share_total", "estimated_funding_amount", "actual_share_total", "actual_funding_amount", "actual_share_total_for_items", "actual_funding_amount_for_items" ], "title": "EntryCharacterSchema", "type": "object" }, "ExtendedEntryFormSchema": { "properties": { "estimated_total": { "title": "Estimated Total", "type": "integer" }, "funding_project_id": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Funding Project Id" }, "funding_percentage": { "anyOf": [ { "type": "integer" }, { "type": "null" } ], "title": "Funding Percentage" }, "site_scaling": { "allOf": [ { "$ref": "#/components/schemas/SiteScaling" } ], "default": "flat" }, "roles": { "items": { "$ref": "#/components/schemas/RoleFormSchema" }, "title": "Roles", "type": "array" }, "shares": { "items": { "$ref": "#/components/schemas/ExtendedShareFormSchema" }, "title": "Shares", "type": "array" }, "items": { "items": { "$ref": "#/components/schemas/ItemSearchResultSchema" }, "title": "Items", "type": "array" } }, "required": [ "estimated_total", "funding_project_id", "funding_percentage", "roles", "shares", "items" ], "title": "ExtendedEntryFormSchema", "type": "object" }, "ExtendedShareFormSchema": { "properties": { "character_id": { "title": "Character Id", "type": "integer" }, "helped_setup": { "title": "Helped Setup", "type": "boolean" }, "sites": { "items": { "$ref": "#/components/schemas/SiteRangeSchema" }, "title": "Sites", "type": "array" }, "role_name": { "title": "Role Name", "type": "string" }, "portrait_url": { "title": "Portrait Url", "type": "string" }, "character_name": { "title": "Character Name", "type": "string" }, "main_character_name": { "title": "Main Character Name", "type": "string" }, "main_character_portrait_url": { "title": "Main Character Portrait Url", "type": "string" } }, "required": [ "character_id", "helped_setup", "sites", "role_name", "portrait_url", "character_name", "main_character_name", "main_character_portrait_url" ], "title": "ExtendedShareFormSchema", "type": "object" }, "ItemSearchResultSchema": { "properties": { "id": { "title": "Id", "type": "integer" }, "icon_url": { "title": "Icon Url", "type": "string" }, "name": { "maxLength": 250, "title": "Name", "type": "string" }, "quantity": { "title": "Quantity", "type": "integer" }, "is_ignored": { "title": "Is Ignored", "type": "boolean" } }, "required": [ "id", "icon_url", "name", "quantity", "is_ignored" ], "title": "ItemSearchResultSchema", "type": "object" }, "ActivitySchema": { "properties": { "helped_setups": { "title": "Helped Setups", "type": "integer" }, "estimated_total": { "title": "Estimated Total", "type": "number" }, "actual_total": { "title": "Actual Total", "type": "number" } }, "required": [ "helped_setups", "estimated_total", "actual_total" ], "title": "ActivitySchema", "type": "object" }, "FundingProjectSchema": { "properties": { "id": { "title": "Id", "type": "integer" }, "name": { "title": "Name", "type": "string" }, "goal": { "title": "Goal", "type": "integer" }, "is_active": { "title": "Is Active", "type": "boolean" }, "created_at": { "format": "date-time", "title": "Created At", "type": "string" }, "completed_at": { "anyOf": [ { "format": "date-time", "type": "string" }, { "type": "null" } ], "title": "Completed At" }, "current_total": { "title": "Current Total", "type": "number" }, "estimated_total": { "title": "Estimated Total", "type": "number" }, "actual_percentage": { "title": "Actual Percentage", "type": "number" }, "estimated_missing_percentage": { "title": "Estimated Missing Percentage", "type": "number" }, "number_of_participants": { "title": "Number Of Participants", "type": "integer" } }, "required": [ "id", "name", "goal", "is_active", "created_at", "current_total", "estimated_total", "actual_percentage", "estimated_missing_percentage", "number_of_participants" ], "title": "FundingProjectSchema", "type": "object" }, "NewProjectSchema": { "properties": { "name": { "title": "Name", "type": "string" }, "goal": { "title": "Goal", "type": "integer" } }, "required": [ "name", "goal" ], "title": "NewProjectSchema", "type": "object" }, "PermissionsSchema": { "properties": { "main_character_id": { "title": "Main Character Id", "type": "integer" }, "access_pve": { "title": "Access Pve", "type": "boolean" }, "manage_entries": { "title": "Manage Entries", "type": "boolean" }, "manage_rotations": { "title": "Manage Rotations", "type": "boolean" }, "manage_funding_projects": { "title": "Manage Funding Projects", "type": "boolean" }, "is_superuser": { "title": "Is Superuser", "type": "boolean" }, "pve_only_mains": { "title": "Pve Only Mains", "type": "boolean" } }, "required": [ "main_character_id", "access_pve", "manage_entries", "manage_rotations", "manage_funding_projects", "is_superuser", "pve_only_mains" ], "title": "PermissionsSchema", "type": "object" }, "RatterSchema": { "properties": { "character": { "$ref": "#/components/schemas/EveCharacterSchema" }, "main_character": { "$ref": "#/components/schemas/EveCharacterSchema" }, "extra_chars": { "items": { "type": "string" }, "title": "Extra Chars", "type": "array" } }, "required": [ "character", "main_character", "extra_chars" ], "title": "RatterSchema", "type": "object" } }, "securitySchemes": { "CanAccessPVE": { "type": "apiKey", "in": "cookie", "name": "sessionid" }, "NeedsPermission": { "type": "apiKey", "in": "cookie", "name": "sessionid" } } }, "servers": [] }