You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
1.1KB

  1. {
  2. "type": "object",
  3. "description": "DDS Library Manifest",
  4. "additionalProperties": false,
  5. "patternProperties": {
  6. "^\\$": {}
  7. },
  8. "required": [
  9. "name"
  10. ],
  11. "properties": {
  12. "name": {
  13. "type": "string",
  14. "description": "The name of the library within the package.",
  15. "pattern": "^[A-z][A-z0-9_]*((\\.|-)[A-z0-9_]+)*$"
  16. },
  17. "uses": {
  18. "type": "array",
  19. "items": {
  20. "type": "string",
  21. "description": "A library that is used by this library. Should be of the form `namespace/name`.",
  22. "pattern": "^[A-z][A-z0-9_]*((\\.|-)[A-z0-9_]+)*/[A-z][A-z0-9_]*((\\.|-)[A-z0-9_]+)*$"
  23. }
  24. },
  25. "links": {
  26. "type": "array",
  27. "items": {
  28. "type": "string",
  29. "description": "A library that is linked to this library. Should be of the form `namespace/name`.",
  30. "pattern": "^[A-z][A-z0-9_]*((\\.|-)[A-z0-9_]+)*/[A-z][A-z0-9_]*((\\.|-)[A-z0-9_]+)*$"
  31. }
  32. }
  33. }
  34. }