OpenStack Service Types Authority
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.

62 lines
2.0 KiB

  1. {
  2. "$schema": "http://json-schema.org/draft-04/schema#",
  3. "id": "https://specs.openstack.org/openstack/service-types-authority/_downloads/schema.json#",
  4. "type": "object",
  5. "required": ["services"],
  6. "additionalProperties": false,
  7. "properties": {
  8. "services": {
  9. "type": "array",
  10. "items": {
  11. "$ref": "#/definitions/service"
  12. }
  13. }
  14. },
  15. "definitions":{
  16. "service":{
  17. "properties": {
  18. "service_type": {
  19. "type":"string",
  20. "pattern":"^([a-z][a-z-]*[a-z]+|ec2-api)$",
  21. "description": "The unique identifier for the service to be used in the service catalog"
  22. },
  23. "project": {
  24. "type":"string",
  25. "pattern":"^([a-z][a-z-]*[a-z]+|ec2-api)$",
  26. "description": "The OpenStack project name that contains the definition of the API"
  27. },
  28. "api_reference": {
  29. "type":"string",
  30. "format": "url",
  31. "description": "A published API reference document for the API identified by this service type."
  32. },
  33. "api_reference_project": {
  34. "type":"string",
  35. "description": "Project where API reference is found, if not the same as the main project"
  36. },
  37. "description": {
  38. "type":"string",
  39. "description": "A short description about the service in question."
  40. },
  41. "aliases": {
  42. "type": "array",
  43. "items": {
  44. "type": "string"
  45. },
  46. "description": "An ordered list of historical aliases for this service type."
  47. },
  48. "secondary": {
  49. "type": "boolean",
  50. "description": "Is this a secondary service for a project?"
  51. }
  52. },
  53. "additionalProperties":false,
  54. "required":[
  55. "api_reference",
  56. "project",
  57. "service_type"
  58. ]
  59. }
  60. }
  61. }