schema.json 582 B

123456789101112131415161718192021222324
  1. {
  2. "$schema": "http://json-schema.org/schema",
  3. "id": "PostUpdateSchema",
  4. "type": "object",
  5. "properties": {
  6. "package": {
  7. "description": "The package to migrate.",
  8. "type": "string"
  9. },
  10. "collection": {
  11. "description": "The collection to load the migrations from.",
  12. "type": "string"
  13. },
  14. "from": {
  15. "description": "The version installed previously.",
  16. "type": "string"
  17. },
  18. "to": {
  19. "description": "The version to migrate to.",
  20. "type": "string"
  21. }
  22. },
  23. "required": ["package", "collection", "from", "to"]
  24. }