|
872 | 872 | "content": { |
873 | 873 | "application/json": { |
874 | 874 | "schema": { |
875 | | - "$ref": "#/components/schemas/APIReferenceList" |
| 875 | + "$ref": "#/components/schemas/ClassSpellList" |
876 | 876 | }, |
877 | 877 | "example": { |
878 | 878 | "count": 2, |
879 | 879 | "results": [ |
880 | 880 | { |
881 | 881 | "index": "power-word-kill", |
882 | | - "level": 9, |
883 | 882 | "name": "Power Word Kill", |
884 | 883 | "url": "/api/spells/power-word-kill" |
885 | 884 | }, |
886 | 885 | { |
887 | 886 | "index": "true-polymorph", |
888 | | - "level": 9, |
889 | 887 | "name": "True Polymorph", |
890 | 888 | "url": "/api/spells/true-polymorph" |
891 | 889 | } |
|
1250 | 1248 | "results": [ |
1251 | 1249 | { |
1252 | 1250 | "index": "dominate-monster", |
1253 | | - "level": 8, |
1254 | 1251 | "name": "Dominate Monster", |
1255 | 1252 | "url": "/api/spells/dominate-monster" |
1256 | 1253 | }, |
1257 | 1254 | { |
1258 | 1255 | "index": "earthquake", |
1259 | | - "level": 8, |
1260 | 1256 | "name": "Earthquake", |
1261 | 1257 | "url": "/api/spells/earthquake" |
1262 | 1258 | }, |
1263 | 1259 | { |
1264 | 1260 | "index": "incendiary-cloud", |
1265 | | - "level": 8, |
1266 | 1261 | "name": "Incendiary Cloud", |
1267 | 1262 | "url": "/api/spells/incendiary-cloud" |
1268 | 1263 | }, |
1269 | 1264 | { |
1270 | 1265 | "index": "power-word-stun", |
1271 | | - "level": 8, |
1272 | 1266 | "name": "Power Word Stun", |
1273 | 1267 | "url": "/api/spells/power-word-stun" |
1274 | 1268 | }, |
1275 | 1269 | { |
1276 | 1270 | "index": "sunburst", |
1277 | | - "level": 8, |
1278 | 1271 | "name": "Sunburst", |
1279 | 1272 | "url": "/api/spells/sunburst" |
1280 | 1273 | } |
|
1854 | 1847 | } |
1855 | 1848 | ], |
1856 | 1849 | "challenge_rating": 10, |
| 1850 | + "proficiency_bonus": 4, |
1857 | 1851 | "charisma": 18, |
1858 | 1852 | "condition_immunities": [], |
1859 | 1853 | "constitution": 15, |
|
2502 | 2496 | ], |
2503 | 2497 | "spell": { |
2504 | 2498 | "index": "burning-hands", |
2505 | | - "level" : 1, |
2506 | 2499 | "name": "Burning Hands", |
2507 | 2500 | "url": "/api/spells/burning-hands" |
2508 | 2501 | } |
|
2518 | 2511 | ], |
2519 | 2512 | "spell": { |
2520 | 2513 | "index": "command", |
2521 | | - "level": 1, |
2522 | 2514 | "name": "Command", |
2523 | 2515 | "url": "/api/spells/command" |
2524 | 2516 | } |
|
2534 | 2526 | ], |
2535 | 2527 | "spell": { |
2536 | 2528 | "index": "blindness-deafness", |
2537 | | - "level":2, |
2538 | 2529 | "name": "Blindness/Deafness", |
2539 | 2530 | "url": "/api/spells/blindness-deafness" |
2540 | 2531 | } |
|
2550 | 2541 | ], |
2551 | 2542 | "spell": { |
2552 | 2543 | "index": "scorching-ray", |
2553 | | - "level": 2, |
2554 | 2544 | "name": "Scorching Ray", |
2555 | 2545 | "url": "/api/spells/scorching-ray" |
2556 | 2546 | } |
|
2566 | 2556 | ], |
2567 | 2557 | "spell": { |
2568 | 2558 | "index": "fireball", |
2569 | | - "level": 3, |
2570 | 2559 | "name": "Fireball", |
2571 | 2560 | "url": "/api/spells/fireball" |
2572 | 2561 | } |
|
2582 | 2571 | ], |
2583 | 2572 | "spell": { |
2584 | 2573 | "index": "stinking-cloud", |
2585 | | - "level": 3, |
2586 | 2574 | "name": "Stinking Cloud", |
2587 | 2575 | "url": "/api/spells/stinking-cloud" |
2588 | 2576 | } |
|
2598 | 2586 | ], |
2599 | 2587 | "spell": { |
2600 | 2588 | "index": "fire-shield", |
2601 | | - "level": 4, |
2602 | 2589 | "name": "Fire Shield", |
2603 | 2590 | "url": "/api/spells/fire-shield" |
2604 | 2591 | } |
|
2614 | 2601 | ], |
2615 | 2602 | "spell": { |
2616 | 2603 | "index": "wall-of-fire", |
2617 | | - "level": 4, |
2618 | 2604 | "name": "Wall of Fire", |
2619 | 2605 | "url": "/api/spells/wall-of-fire" |
2620 | 2606 | } |
|
2630 | 2616 | ], |
2631 | 2617 | "spell": { |
2632 | 2618 | "index": "flame-strike", |
2633 | | - "level": 5, |
2634 | 2619 | "name": "Flame Strike", |
2635 | 2620 | "url": "/api/spells/flame-strike" |
2636 | 2621 | } |
|
2646 | 2631 | ], |
2647 | 2632 | "spell": { |
2648 | 2633 | "index": "hallow", |
2649 | | - "level": 5, |
2650 | 2634 | "name": "Hallow", |
2651 | 2635 | "url": "/api/spells/hallow" |
2652 | 2636 | } |
|
3616 | 3600 | "description": "Resource index for shorthand searching.", |
3617 | 3601 | "type": "string" |
3618 | 3602 | }, |
3619 | | - "level": { |
3620 | | - "description": "Level of the referenced resource.", |
3621 | | - "type": "integer" |
3622 | | - }, |
3623 | 3603 | "name": { |
3624 | 3604 | "description": "Name of the referenced resource.", |
3625 | 3605 | "type": "string" |
|
4160 | 4140 | { |
4161 | 4141 | "type": "object", |
4162 | 4142 | "properties": { |
| 4143 | + "image": { |
| 4144 | + "description": "The image url of the magic item.", |
| 4145 | + "type": "string" |
| 4146 | + }, |
4163 | 4147 | "equipment_category": { |
4164 | 4148 | "$ref": "#/components/schemas/APIReference" |
4165 | 4149 | }, |
|
5392 | 5376 | "description": "The sub-category of a monster used for classification of monsters.\"", |
5393 | 5377 | "type": "string" |
5394 | 5378 | }, |
5395 | | - "alignments": { |
| 5379 | + "alignment": { |
5396 | 5380 | "description": "A creature's general moral and personal attitudes.", |
5397 | | - "type": "string", |
5398 | | - "enum": [ |
5399 | | - "chaotic neutral", |
5400 | | - "chaotic evil", |
5401 | | - "chaotic good", |
5402 | | - "lawful neutral", |
5403 | | - "lawful evil", |
5404 | | - "lawful good", |
5405 | | - "neutral", |
5406 | | - "neutral evil", |
5407 | | - "neutral good", |
5408 | | - "any alignment", |
5409 | | - "unaligned" |
5410 | | - ] |
| 5381 | + "type": "string" |
5411 | 5382 | }, |
5412 | 5383 | "armor_class": { |
5413 | 5384 | "description": "The difficulty for a player to successfully deal damage to a monster.", |
|
5448 | 5419 | "minimum": 0, |
5449 | 5420 | "maximum": 21 |
5450 | 5421 | }, |
| 5422 | + "proficiency_bonus": { |
| 5423 | + "description": "A monster's proficiency bonus is the number added to ability checks, saving throws and attack rolls in which the monster is proficient, and is linked to the monster's challenge rating. This bonus has already been included in the monster's stats where applicable.", |
| 5424 | + "type": "number", |
| 5425 | + "minimum": 2, |
| 5426 | + "maximum": 9 |
| 5427 | + }, |
5451 | 5428 | "condition_immunities": { |
5452 | 5429 | "description": "A list of conditions that a monster is immune to.", |
5453 | 5430 | "type": "array", |
|
6184 | 6161 | } |
6185 | 6162 | } |
6186 | 6163 | ] |
| 6164 | + }, |
| 6165 | + "ClassLevelSpell": { |
| 6166 | + "description": "`ClassLevelSpell`\n", |
| 6167 | + "allOf": [ |
| 6168 | + { |
| 6169 | + "$ref": "#/components/schemas/APIReference" |
| 6170 | + }, |
| 6171 | + { |
| 6172 | + "type": "object", |
| 6173 | + "properties": { |
| 6174 | + "level": { |
| 6175 | + "type": "number", |
| 6176 | + "description": "The level of the spell slot used to cast the spell." |
| 6177 | + } |
| 6178 | + } |
| 6179 | + } |
| 6180 | + ] |
| 6181 | + }, |
| 6182 | + "ClassSpellList": { |
| 6183 | + "description": "`ClassSpellList`\n", |
| 6184 | + "type": "object", |
| 6185 | + "properties": { |
| 6186 | + "count": { |
| 6187 | + "description": "Total number of resources available.", |
| 6188 | + "type": "number" |
| 6189 | + }, |
| 6190 | + "results": { |
| 6191 | + "type": "array", |
| 6192 | + "items": { |
| 6193 | + "$ref": "#/components/schemas/ClassLevelSpell" |
| 6194 | + } |
| 6195 | + } |
| 6196 | + } |
6187 | 6197 | } |
6188 | 6198 | } |
6189 | 6199 | } |
|
0 commit comments