Skip to content

Instantly share code, notes, and snippets.

@manchuwook
Created March 20, 2023 13:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save manchuwook/7cdf97481fb35131522541b1939d1cd9 to your computer and use it in GitHub Desktop.
Save manchuwook/7cdf97481fb35131522541b1939d1cd9 to your computer and use it in GitHub Desktop.
character.schema.json
"personalLife": {
"description": "Friends, allies, rivals, enemies, superiors, romantic partners, role models, influence among them all",
"type": "array",
"items": {
"type": "string"
}
},
"portrait": {
"type": "string"
},
"hasOccupation": {
"type": "string",
"description": "Are they employed and as what"
},
"professionalLife": {
"description": "Friends, allies, rivals, enemies, peers, subordinates, mentors, associates",
"type": "array",
"items": {
"type": "string"
}
},
"race": {
"type": "string",
"description": "Race of the character"
},
"resources": {
"type": "array",
"description": "What kind of possessions does the character claim",
"items": {
"type": "string"
}
},
"socialTraits": {
"type": "string"
},
"story": {
"description": "Quest ties, rumors, falsehoods, public story, real truths, important dates, common misconceptions",
"type": "array",
"items": {
"type": "string"
}
},
"positiveTraits": {
"type": "array",
"description": "Traits that can be viewed as positive",
"items": {
"$ref": "./positive-trait.schema.json"
}
},
"negativeTraits": {
"type": "array",
"description": "Traits that can be viewed as negative",
"items": {
"$ref": "./negative-trait.schema.json"
}
},
"selectedTraits": {
"type": "array",
"items": {
"type": "string",
"enum": [
"ADAPTABLE",
"ADVENTUROUS",
"AFFECTIONATE",
]
}
},
"subjectOf": {
"type": "string",
"description": "What topic does this character belong to"
},
"sameAs": {
"type": "string"
},
"image": {
"type": "string"
},
"alternateNames": {
"type": "array",
"description": "Alias or nickname of the character",
"items": {
"type": "string"
}
},
"seeks": {
"type": "string",
"description": "What goals, items, ideals does this character pursue"
},
"weight": {
"type": "number",
"description": "Weight in kilos or pounds"
},
"height": {
"type": "number",
"description": "Height in inches or meters"
},
"birthPlace": {
"type": "string",
"description": "Location of their birth or their hometown where they grew up"
},
"fears": {
"type": "array",
"description": "What does this character react to negatively",
"items": {
"type": "string"
}
},
"embracedBeliefs": {
"type": "array",
"description": "A deeply held conviction that has restraints, goals, and uncomfortable aspects",
"items": {
"$ref": "./belief.schema.json"
}
},
"woundResponses": {
"type": "array",
"description": "What happens when the character experiences trauma",
"items": {
"type": "string"
}
},
"triggers": {
"type": "array",
"description": "Emotional triggers that change their state or exemplify their negative or positive traits",
"items": {
"type": "string"
}
},
"developmentOpportunities": {
"type": "array",
"description": "Ways for the character to improve out of negative traits",
"items": {
"type": "string"
}
},
"tropes": {
"type": "array",
"description": "Tropes from [tvtropes.org wiki](https://tvtropes.org)",
"items": {
"type": "string",
"format": "uri",
"pattern": "https://tvtropes\\.org/pmwiki/pmwiki\\.php/[a-zA-Z]+/[a-zA-Z]+"
}
},
"energy": {
"type": "object",
"description": "Energy pool for expression of thought or emotion",
"properties": {
"available": {
"type": "integer",
"description": "Total available pool to draw from"
},
"spent": {
"type": "integer",
"description": "Expent energy on expressions of thought or emotion"
}
}
}
},
"required": [
"characterId"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment