Skip to content

Commit

Permalink
add legacy source tag
Browse files Browse the repository at this point in the history
  • Loading branch information
Spappz committed Feb 18, 2024
1 parent 46d169b commit 205b743
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions schema/source.json
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,10 @@
"misc": {
"type": "object",
"properties": {
"Legacy": {
"const": true,
"description": "This source targets the original Pathfinder 2e ruleset, as published in the Core Rulebook (2019), and not as published in Player Core (2023)."
},
"Official": {
"const": true,
"description": "This source was created and published by Paizo as 'official' Pathfinder 2e content (that is, it's official insofar that something can be 'official')."
Expand Down
6 changes: 6 additions & 0 deletions zod/source.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,12 @@ export const sourceTags = z
.optional(),
misc: z
.object({
Legacy: z
.literal(true)
.describe(
"This source targets the original Pathfinder 2e ruleset, as published in the Core Rulebook (2019), and not as published in Player Core (2023).",
)
.optional(),
Official: z
.literal(true)
.describe(
Expand Down

0 comments on commit 205b743

Please sign in to comment.