object.json 512 B

1234567891011121314151617181920212223242526272829
  1. {
  2. "type":"object",
  3. "$schema": "http://json-schema.org/draft-04/schema",
  4. "title" : "VCMI map object format",
  5. "description" : "Description of map object class",
  6. "required": [ "handler" ],
  7. "additionalProperties" : false,
  8. "properties":{
  9. "index": {
  10. "type":"number"
  11. },
  12. "lastReservedIndex" : {
  13. "type":"number"
  14. },
  15. "handler": {
  16. "type":"string"
  17. },
  18. "base": {
  19. "type" : "object"
  20. },
  21. "types": {
  22. "type":"object",
  23. "additionalProperties": {
  24. "$ref" : "objectType.json"
  25. }
  26. }
  27. }
  28. }