roms_schema.json 796 B

1234567891011121314151617181920212223242526272829
  1. {
  2. "$schema": "http://json-schema.org/draft-07/schema#",
  3. "type": "object",
  4. "patternProperties": {
  5. "^esp32.*$": {
  6. "anyOf": [
  7. {
  8. "type": "array",
  9. "items": {
  10. "type": "object",
  11. "properties": {
  12. "rev": {
  13. "type": "integer",
  14. "minimum": 0,
  15. "description": "Chip revision/ROM revision number"
  16. },
  17. "build_date_str_addr": {
  18. "type": "string",
  19. "description": "The ROM build date string address to compare between ROM elf file and chip ROM memory",
  20. "pattern": "^0x[0-9a-fA-F]{8}$"
  21. }
  22. },
  23. "required": ["rev", "build_date_str_addr"]
  24. }
  25. }
  26. ]
  27. }
  28. }
  29. }