Repositorio del curso CCOM4030 el semestre B91 del proyecto Artesanías con el Instituto de Cultura

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  1. {
  2. "$schema" : "http://json-schema.org/draft-02/hyper-schema#",
  3. "id" : "http://json-schema.org/draft-02/schema#",
  4. "type" : "object",
  5. "properties" : {
  6. "type" : {
  7. "type" : ["string", "array"],
  8. "items" : {
  9. "type" : ["string", {"$ref" : "#"}]
  10. },
  11. "optional" : true,
  12. "uniqueItems" : true,
  13. "default" : "any"
  14. },
  15. "properties" : {
  16. "type" : "object",
  17. "additionalProperties" : {"$ref" : "#"},
  18. "optional" : true,
  19. "default" : {}
  20. },
  21. "items" : {
  22. "type" : [{"$ref" : "#"}, "array"],
  23. "items" : {"$ref" : "#"},
  24. "optional" : true,
  25. "default" : {}
  26. },
  27. "optional" : {
  28. "type" : "boolean",
  29. "optional" : true,
  30. "default" : false
  31. },
  32. "additionalProperties" : {
  33. "type" : [{"$ref" : "#"}, "boolean"],
  34. "optional" : true,
  35. "default" : {}
  36. },
  37. "requires" : {
  38. "type" : ["string", {"$ref" : "#"}],
  39. "optional" : true
  40. },
  41. "minimum" : {
  42. "type" : "number",
  43. "optional" : true
  44. },
  45. "maximum" : {
  46. "type" : "number",
  47. "optional" : true
  48. },
  49. "minimumCanEqual" : {
  50. "type" : "boolean",
  51. "optional" : true,
  52. "requires" : "minimum",
  53. "default" : true
  54. },
  55. "maximumCanEqual" : {
  56. "type" : "boolean",
  57. "optional" : true,
  58. "requires" : "maximum",
  59. "default" : true
  60. },
  61. "minItems" : {
  62. "type" : "integer",
  63. "optional" : true,
  64. "minimum" : 0,
  65. "default" : 0
  66. },
  67. "maxItems" : {
  68. "type" : "integer",
  69. "optional" : true,
  70. "minimum" : 0
  71. },
  72. "uniqueItems" : {
  73. "type" : "boolean",
  74. "optional" : true,
  75. "default" : false
  76. },
  77. "pattern" : {
  78. "type" : "string",
  79. "optional" : true,
  80. "format" : "regex"
  81. },
  82. "minLength" : {
  83. "type" : "integer",
  84. "optional" : true,
  85. "minimum" : 0,
  86. "default" : 0
  87. },
  88. "maxLength" : {
  89. "type" : "integer",
  90. "optional" : true
  91. },
  92. "enum" : {
  93. "type" : "array",
  94. "optional" : true,
  95. "minItems" : 1,
  96. "uniqueItems" : true
  97. },
  98. "title" : {
  99. "type" : "string",
  100. "optional" : true
  101. },
  102. "description" : {
  103. "type" : "string",
  104. "optional" : true
  105. },
  106. "format" : {
  107. "type" : "string",
  108. "optional" : true
  109. },
  110. "contentEncoding" : {
  111. "type" : "string",
  112. "optional" : true
  113. },
  114. "default" : {
  115. "type" : "any",
  116. "optional" : true
  117. },
  118. "divisibleBy" : {
  119. "type" : "number",
  120. "minimum" : 0,
  121. "minimumCanEqual" : false,
  122. "optional" : true,
  123. "default" : 1
  124. },
  125. "disallow" : {
  126. "type" : ["string", "array"],
  127. "items" : {"type" : "string"},
  128. "optional" : true,
  129. "uniqueItems" : true
  130. },
  131. "extends" : {
  132. "type" : [{"$ref" : "#"}, "array"],
  133. "items" : {"$ref" : "#"},
  134. "optional" : true,
  135. "default" : {}
  136. }
  137. },
  138. "optional" : true,
  139. "default" : {}
  140. }