local-file-catalog.json 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  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-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/v3.8.0/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. "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. "base_path": {
  60. "title": "Optional Base Directory",
  61. "description": "An optional base directory from which the given values of Paths can be resolved",
  62. "type": "string",
  63. "uihints": {
  64. "category": "Configuration"
  65. }
  66. },
  67. "paths": {
  68. "title": "Paths",
  69. "description": "A list of paths to individual component specification files in the local filesystem",
  70. "type": "array",
  71. "items": {
  72. "type": "string"
  73. },
  74. "uihints": {
  75. "field_type": "array",
  76. "category": "Configuration"
  77. }
  78. }
  79. },
  80. "required": ["runtime_type", "paths"]
  81. }
  82. },
  83. "required": ["schema_name", "display_name", "metadata"]
  84. }