this repo has no description
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

Adding ancestry features to the schema

+69
+69
schema/schema.json
··· 319 319 "name" 320 320 ] 321 321 } 322 + }, 323 + "ancestryFeature": { 324 + "type": "array", 325 + "items": { 326 + "type": "object", 327 + "properties": { 328 + "id": { 329 + "type": "string", 330 + "description": "The ID to reference this feature by" 331 + }, 332 + "name": { 333 + "type": "string", 334 + "description": "The name of the feature" 335 + }, 336 + "description": { 337 + "type": "string", 338 + "description": "The description of the feature" 339 + }, 340 + "effect": { 341 + "oneOf": [ 342 + { 343 + "type": "object", 344 + "properties": { 345 + "type": { 346 + "const": "giveItem" 347 + }, 348 + "id": { 349 + "type": "string", 350 + "description": "The ID of the item given" 351 + } 352 + }, 353 + "required": [ 354 + "type", 355 + "id" 356 + ] 357 + }, 358 + { 359 + "type": "object", 360 + "properties": { 361 + "type": { 362 + "const": "giveSense" 363 + }, 364 + "id": { 365 + "type": "string", 366 + "description": "The ID of the sense given" 367 + }, 368 + "distance": { 369 + "type": "number", 370 + "description": "The distance at which this sense functions until, measured in squares" 371 + } 372 + }, 373 + "required": [ 374 + "type", 375 + "id" 376 + ] 377 + } 378 + ] 379 + } 380 + }, 381 + "required": [ 382 + "id", 383 + "name", 384 + "description", 385 + "effect" 386 + ] 387 + } 322 388 } 323 389 }, 324 390 "properties": { ··· 354 420 }, 355 421 "speed": { 356 422 "$ref": "#/$defs/speed" 423 + }, 424 + "ancestryFeature": { 425 + "$ref": "#/$defs/ancestryFeature" 357 426 } 358 427 }, 359 428 "required": [