123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- {
- "type": "object",
- "properties": {
- "events": {
- "type": "object",
- "additionalProperties": {
- "type": "array",
- "items": {
- "type": "object",
- "properties": {
- "name": {"type": "string"},
- "probability": {"type": "number"},
- "karma-probability-modifier": {"type": "number"},
- "explanations": {
- "type": "array",
- "items": {
- "type": "string",
- "minItems": 1
- }
- },
- "actions": {
- "type": "array",
- "items": {
- "type": "object",
- "minItems": 0,
- "properties": {
- "karma": {"type": "number"},
- "label": {"type": "string"},
- "description": {"type": "string"},
- "effects": {
- "type": "array",
- "items": {
- "type": "string",
- "minItems": 0
- }
- }
- },
- "required": [
- "karma",
- "description",
- "effects"
- ]
- }
- },
- "default-effects": {
- "type": "array",
- "items": {
- "type": "string",
- "minItems": 0
- }
- }
- },
- "required": [
- "name",
- "probability",
- "karma-probability-modifier",
- "explanations",
- "actions",
- "default-effects"
- ]
- }
- }
- }
- },
- "required": [
- "events"
- ]
- }
|