url-catalog.json 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. {
  2. "$schema": "https://raw.githubusercontent.com/elyra-ai/elyra/main/elyra/metadata/schemas/meta-schema.json",
  3. "$id": "https://raw.githubusercontent.com/elyra-ai/elyra/main/elyra/metadata/schemas/url-catalog.json",
  4. "title": "URL Component Catalog",
  5. "name": "url-catalog",
  6. "display_name": "URL Component Catalog",
  7. "schemaspace": "component-catalogs",
  8. "schemaspace_id": "8dc89ca3-4b90-41fd-adb9-9510ad346620",
  9. "metadata_class_name": "elyra.pipeline.component_metadata.UrlCatalogMetadata",
  10. "uihints": {
  11. "icon": "",
  12. "reference_url": "https://elyra.readthedocs.io/en/latest/user_guide/pipeline-components.html#url-component-catalog"
  13. },
  14. "properties": {
  15. "schema_name": {
  16. "title": "Schema Name",
  17. "description": "The schema associated with this instance",
  18. "type": "string",
  19. "const": "url-catalog"
  20. },
  21. "display_name": {
  22. "title": "Display Name",
  23. "description": "Display name of this Component Catalog",
  24. "type": "string",
  25. "minLength": 1
  26. },
  27. "metadata": {
  28. "description": "Additional data specific to this metadata",
  29. "type": "object",
  30. "properties": {
  31. "description": {
  32. "title": "Description",
  33. "description": "Description of this Component Catalog",
  34. "type": "string"
  35. },
  36. "runtime_type": {
  37. "title": "Runtime Type",
  38. "description": "The type of runtime associated with this Component Catalog",
  39. "type": "string",
  40. "enum": ["KUBEFLOW_PIPELINES", "APACHE_AIRFLOW"],
  41. "uihints": {
  42. "category": "Runtime"
  43. }
  44. },
  45. "categories": {
  46. "title": "Category Names",
  47. "description": "Category names associated with this Component Catalog (the components defined in this registry will be organized in the component palette according to these categories)",
  48. "type": "array",
  49. "items": {
  50. "type": "string",
  51. "maxLength": 18
  52. },
  53. "uihints": {
  54. "category": "Component Categories"
  55. }
  56. },
  57. "paths": {
  58. "title": "URLs",
  59. "description": "A list of URLs to individual component specification files",
  60. "type": "array",
  61. "items": {
  62. "type": "string",
  63. "format": "uri"
  64. },
  65. "uihints": {
  66. "category": "Configuration",
  67. "items": {
  68. "ui:placeholder": "https://host:port/path/component_file"
  69. }
  70. }
  71. },
  72. "auth_id": {
  73. "title": "User Id",
  74. "description": "User id that has read access for the specified URL resources",
  75. "type": "string",
  76. "minLength": 1,
  77. "uihints": {
  78. "category": "Source credentials"
  79. }
  80. },
  81. "auth_password": {
  82. "title": "Password",
  83. "description": "Password or API key for the specified user id",
  84. "type": "string",
  85. "minLength": 1,
  86. "uihints": {
  87. "ui:field": "password",
  88. "category": "Source credentials"
  89. }
  90. }
  91. },
  92. "required": ["runtime_type", "paths"]
  93. }
  94. },
  95. "required": ["schema_name", "display_name", "metadata"]
  96. }