import { operation, buildingBase, buildingCommonMethods, buildingView, requestBodySchema, response200, response500, security, speciesSchema, statusSchema, tags, } from '../../chunks.ts'; const base = buildingBase('LibraryOfJith'); export const libraryOfJith = { ...buildingCommonMethods(base), ...buildingView(base), [`${base}/research_species`]: { post: { ...tags(base), ...security(), ...operation('Research species.', 'Returns species stats for any species in the game.'), ...requestBodySchema({ type: 'object', required: ['building_id', 'empire_id'], properties: { building_id: { type: 'integer', description: 'The unique id of the building.' }, empire_id: { type: 'integer', description: "The unique id of an empire you'd like to know more about.", }, }, }), responses: { ...response200('Returns species stats for any species in the game.', { type: 'object', required: ['species', 'status'], properties: { species: speciesSchema(), status: statusSchema() }, }), ...response500(), }, }, }, };