extract_capabilities.schema.json 888 B

1234567891011121314151617181920212223242526
  1. {
  2. "$schema": "http://json-schema.org/draft-07/schema#",
  3. "title": "extract_capabilities_output",
  4. "type": "object",
  5. "required": ["abilities-boundary"],
  6. "properties": {
  7. "abilities-boundary": {
  8. "type": "array",
  9. "minItems": 1,
  10. "items": {
  11. "type": "object",
  12. "required": ["ability_id-ref", "ability_name", "ability_description", "case_references-boundary"],
  13. "properties": {
  14. "ability_id-ref": { "type": "string", "pattern": "^[A-Z]{2,3}-[0-9]{2,3}$" },
  15. "ability_name": { "type": "string", "minLength": 4, "maxLength": 20 },
  16. "ability_description": { "type": "string", "minLength": 1 },
  17. "case_references-boundary": {
  18. "type": "array",
  19. "minItems": 1,
  20. "items": { "type": "string", "pattern": "^[a-z]+_[A-Za-z0-9_-]+$" }
  21. }
  22. }
  23. }
  24. }
  25. }
  26. }