capabilities_extracted.schema.json 1.2 KB

12345678910111213141516171819202122232425262728293031
  1. {
  2. "$schema": "http://json-schema.org/draft-07/schema#",
  3. "title": "capabilities_extracted.json 输出格式",
  4. "type": "object",
  5. "required": ["requirement", "extracted_capabilities-boundary"],
  6. "properties": {
  7. "requirement": { "type": "string", "minLength": 1 },
  8. "extracted_capabilities-boundary": {
  9. "type": "array",
  10. "minItems": 1,
  11. "items": {
  12. "type": "object",
  13. "required": ["id-ref", "name-ref", "description-ref", "criterion", "effects-boundary", "implements-boundary", "is_new-ref", "case_references-boundary"],
  14. "properties": {
  15. "id-ref": { "type": "string", "minLength": 1 },
  16. "name-ref": { "type": "string", "minLength": 1 },
  17. "description-ref": { "type": "string", "minLength": 1 },
  18. "criterion": { "type": "string", "minLength": 1 },
  19. "effects-boundary": { "type": "array", "items": { "type": "string" } },
  20. "implements-boundary": { "type": "array", "items": { "type": "string" } },
  21. "is_new-ref": { "type": "boolean" },
  22. "case_references-boundary": {
  23. "type": "array",
  24. "minItems": 1,
  25. "items": { "type": "string", "pattern": "^[a-z]+_[A-Za-z0-9_-]+$" }
  26. }
  27. }
  28. }
  29. }
  30. }
  31. }