cpld_c_drive_audit_config.schema.json 1.0 KB

12345678910111213141516171819202122232425262728
  1. {
  2. "$schema": "https://json-schema.org/draft/2020-12/schema",
  3. "$id": "https://local.invalid/schemas/cpld_c_drive_audit_config.schema.json",
  4. "title": "CPLD C-drive audit configuration",
  5. "type": "object",
  6. "properties": {
  7. "$schema": {"type": "string"},
  8. "schema": {"const": "cpld-c-drive-audit-config-v1"},
  9. "scan_roots": {
  10. "type": "array",
  11. "items": {
  12. "type": "object",
  13. "properties": {
  14. "path": {"type": "string", "minLength": 1},
  15. "scope": {"type": "string", "minLength": 1}
  16. },
  17. "required": ["path", "scope"],
  18. "additionalProperties": false
  19. }
  20. },
  21. "candidate_patterns": {"type": "array", "items": {"type": "string"}},
  22. "excluded_patterns": {"type": "array", "items": {"type": "string"}},
  23. "protected_patterns": {"type": "array", "items": {"type": "string"}},
  24. "max_files": {"type": "integer", "minimum": 1}
  25. },
  26. "required": ["schema", "scan_roots", "candidate_patterns", "excluded_patterns", "protected_patterns", "max_files"],
  27. "additionalProperties": false
  28. }