Files
nana-story/contracts/schema/character-card.schema.json
T
2026-07-28 12:51:00 +08:00

65 lines
1.1 KiB
JSON

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "CharacterCard",
"type": "object",
"required": [
"header",
"name",
"identity",
"personality",
"values",
"boundaries",
"style",
"initial_relationship",
"judgment_rules",
"skills",
"default_expression"
],
"properties": {
"header": {
"$ref": "resource-header.schema.json"
},
"name": {
"type": "string",
"minLength": 1
},
"identity": {
"type": "string",
"minLength": 1
},
"personality": {
"type": "array",
"items": {
"type": "string"
}
},
"values": {
"type": "array",
"items": {
"type": "string"
}
},
"boundaries": {
"type": "array",
"items": {
"type": "string"
}
},
"style": {
"type": "object"
},
"initial_relationship": {
"type": "object"
},
"judgment_rules": {
"type": "array"
},
"skills": {
"type": "array"
},
"default_expression": {
"type": "string"
}
}
}