local-file-catalog.json 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  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/local-file-catalog.json",
  4. "title": "Filesystem Component Catalog",
  5. "name": "local-file-catalog",
  6. "display_name": "Filesystem Component Catalog",
  7. "schemaspace": "component-catalogs",
  8. "schemaspace_id": "8dc89ca3-4b90-41fd-adb9-9510ad346620",
  9. "metadata_class_name": "elyra.pipeline.component_metadata.FilenameCatalogMetadata",
  10. "uihints": {
  11. "icon": "",
  12. "reference_url": "https://elyra.readthedocs.io/en/latest/user_guide/pipeline-components.html#filesystem-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": "local-file-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. "base_path": {
  58. "title": "Optional Base Directory",
  59. "description": "An optional base directory from which the given values of Paths can be resolved",
  60. "type": "string",
  61. "uihints": {
  62. "category": "Configuration"
  63. }
  64. },
  65. "paths": {
  66. "title": "Paths",
  67. "description": "A list of paths to individual component specification files in the local filesystem",
  68. "type": "array",
  69. "items": {
  70. "type": "string"
  71. },
  72. "uihints": {
  73. "category": "Configuration"
  74. }
  75. }
  76. },
  77. "required": ["runtime_type", "paths"]
  78. }
  79. },
  80. "required": ["schema_name", "display_name", "metadata"]
  81. }