diff --git a/src/spec/paths/empire.ts b/src/spec/paths/empire.ts index 203be67..d96f116 100644 --- a/src/spec/paths/empire.ts +++ b/src/spec/paths/empire.ts @@ -18,7 +18,7 @@ const profileMedalsSchema = { properties: { name: { type: 'string' }, image: { type: 'string' }, - date: { type: 'string', format: 'date-time' }, + date: { type: 'string' }, public: { type: 'integer', enum: [1, 0] }, times_earned: { type: 'integer' }, }, @@ -932,14 +932,14 @@ export const empire = { boosts: { type: 'object', properties: { - spy_training: { type: 'string', format: 'date-time' }, - ore: { type: 'string', format: 'date-time' }, - water: { type: 'string', format: 'date-time' }, - storage: { type: 'string', format: 'date-time' }, - food: { type: 'string', format: 'date-time' }, - happiness: { type: 'string', format: 'date-time' }, - building: { type: 'string', format: 'date-time' }, - energy: { type: 'string', format: 'date-time' }, + spy_training: { type: 'string' }, + ore: { type: 'string' }, + water: { type: 'string' }, + storage: { type: 'string' }, + food: { type: 'string' }, + happiness: { type: 'string' }, + building: { type: 'string' }, + energy: { type: 'string' }, }, required: [ 'spy_training', @@ -971,10 +971,7 @@ export const empire = { 'Spends 5 essentia, and boosts storage (all 5 types) on all planets for 7 days. If a boost is already underway, calling again will add 7 more days. Throws 1011.', { type: 'object', - properties: { - storage_boost: { type: 'string', format: 'date-time' }, - status: statusSchema(), - }, + properties: { storage_boost: { type: 'string' }, status: statusSchema() }, required: ['storage_boost', 'status'], } ), @@ -1005,10 +1002,7 @@ export const empire = { 'Spends 5 essentia, and boosts food production on all planets for 7 days. If a boost is already underway, calling again will add 7 more days. Throws 1011.', { type: 'object', - properties: { - food_boost: { type: 'string', format: 'date-time' }, - status: statusSchema(), - }, + properties: { food_boost: { type: 'string' }, status: statusSchema() }, required: ['food_boost', 'status'], } ), @@ -1039,10 +1033,7 @@ export const empire = { 'Spends 5 essentia, and boosts water production on all planets for 7 days. If a boost is already underway, calling again will add 7 more days. Throws 1011.', { type: 'object', - properties: { - water_boost: { type: 'string', format: 'date-time' }, - status: statusSchema(), - }, + properties: { water_boost: { type: 'string' }, status: statusSchema() }, required: ['water_boost', 'status'], } ), @@ -1073,10 +1064,7 @@ export const empire = { 'Spends 5 essentia, and boosts energy production on all planets for 7 days. If a boost is already underway, calling again will add 7 more days. Throws 1011.', { type: 'object', - properties: { - energy_boost: { type: 'string', format: 'date-time' }, - status: statusSchema(), - }, + properties: { energy_boost: { type: 'string' }, status: statusSchema() }, required: ['energy_boost', 'status'], } ), @@ -1107,10 +1095,7 @@ export const empire = { 'Spends 5 essentia, and boosts ore production on all planets for 7 days. If a boost is already underway, calling again will add 7 more days. Throws 1011.', { type: 'object', - properties: { - ore_boost: { type: 'string', format: 'date-time' }, - status: statusSchema(), - }, + properties: { ore_boost: { type: 'string' }, status: statusSchema() }, required: ['ore_boost', 'status'], } ), @@ -1141,10 +1126,7 @@ export const empire = { 'Spends 5 essentia, and boosts happiness production on all planets for 7 days. If a boost is already underway, calling again will add 7 more days. Throws 1011.', { type: 'object', - properties: { - happiness_boost: { type: 'string', format: 'date-time' }, - status: statusSchema(), - }, + properties: { happiness_boost: { type: 'string' }, status: statusSchema() }, required: ['happiness_boost', 'status'], } ), @@ -1175,10 +1157,7 @@ export const empire = { 'Spends 5 essentia, and boosts build queues on all planets for 7 days. If a boost is already underway, calling again will add 7 more days. It will not boost builds already under way, only new builds added to a build queue. Throws 1011.', { type: 'object', - properties: { - building_boost: { type: 'string', format: 'date-time' }, - status: statusSchema(), - }, + properties: { building_boost: { type: 'string' }, status: statusSchema() }, required: ['building_boost', 'status'], } ), @@ -1209,10 +1188,7 @@ export const empire = { 'Spends 5 essentia, and boosts spy training speed on all planets by 50% for 7 days. If a boost is already underway, calling again will add 7 more days. Unlike the other boosts, this one also boosts spies already in specialist training. Throws 1011.', { type: 'object', - properties: { - spy_training_boost: { type: 'string', format: 'date-time' }, - status: statusSchema(), - }, + properties: { spy_training_boost: { type: 'string' }, status: statusSchema() }, required: ['spy_training_boost', 'status'], } ), @@ -1419,7 +1395,7 @@ export const empire = { properties: { id: { type: 'integer' }, name: { type: 'string' }, - expiry: { type: 'string', format: 'date-time' }, + expiry: { type: 'string' }, }, }, },