local-directory-catalog.json 2.9 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-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/latest/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. "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": "Directories",
  59. "description": "A list of paths to directories in the local filesystem that each contain one or more component specification files",
  60. "type": "array",
  61. "items": {
  62. "type": "string"
  63. },
  64. "uihints": {
  65. "category": "Configuration"
  66. }
  67. },
  68. "include_subdirs": {
  69. "title": "Include Subdirectories",
  70. "description": "Indicates whether a recursive search for component specification files should be performed on subdirectories",
  71. "type": "boolean",
  72. "uihints": {
  73. "category": "Configuration"
  74. }
  75. }
  76. },
  77. "required": ["runtime_type", "paths"]
  78. }
  79. },
  80. "required": ["schema_name", "display_name", "metadata"]
  81. }