local-directory-catalog.json 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. {
  2. "$schema": "https://raw.githubusercontent.com/elyra-ai/elyra/master/elyra/metadata/schemas/meta-schema.json",
  3. "$id": "https://raw.githubusercontent.com/elyra-ai/elyra/master/elyra/metadata/schemas/local-directory-catalog.json",
  4. "title": "Directory Component Catalog",
  5. "name": "local-directory-catalog",
  6. "display_name": "Directory Component Catalog",
  7. "schemaspace": "component-catalogs",
  8. "schemaspace_id": "8dc89ca3-4b90-41fd-adb9-9510ad346620",
  9. "metadata_class_name": "elyra.pipeline.component_metadata.DirectoryCatalogMetadata",
  10. "uihints": {
  11. "icon": "",
  12. "reference_url": "https://elyra.readthedocs.io/en/v3.8.0/user_guide/pipeline-components.html#directory-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-directory-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. "field_type": "dropdown",
  43. "category": "Runtime"
  44. }
  45. },
  46. "categories": {
  47. "title": "Category Names",
  48. "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)",
  49. "type": "array",
  50. "items": {
  51. "type": "string",
  52. "maxLength": 18
  53. },
  54. "uihints": {
  55. "field_type": "array",
  56. "category": "Component Categories"
  57. }
  58. },
  59. "paths": {
  60. "title": "Directories",
  61. "description": "A list of paths to directories in the local filesystem that each contain one or more component specification files",
  62. "type": "array",
  63. "items": {
  64. "type": "string"
  65. },
  66. "uihints": {
  67. "field_type": "array",
  68. "category": "Configuration"
  69. }
  70. },
  71. "include_subdirs": {
  72. "title": "Include Subdirectories",
  73. "description": "Indicates whether a recursive search for component specification files should be performed on subdirectories",
  74. "type": "boolean",
  75. "uihints": {
  76. "field_type": "boolean",
  77. "placeholder": "false",
  78. "category": "Configuration"
  79. }
  80. }
  81. },
  82. "required": ["runtime_type", "paths"]
  83. }
  84. },
  85. "required": ["schema_name", "display_name", "metadata"]
  86. }