cuvis-ai-schemas 0.1.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. cuvis_ai_schemas/__init__.py +5 -0
  2. cuvis_ai_schemas/discovery/__init__.py +6 -0
  3. cuvis_ai_schemas/enums/__init__.py +5 -0
  4. cuvis_ai_schemas/enums/types.py +30 -0
  5. cuvis_ai_schemas/execution/__init__.py +12 -0
  6. cuvis_ai_schemas/execution/context.py +41 -0
  7. cuvis_ai_schemas/execution/monitoring.py +83 -0
  8. cuvis_ai_schemas/extensions/__init__.py +3 -0
  9. cuvis_ai_schemas/extensions/ui/__init__.py +8 -0
  10. cuvis_ai_schemas/extensions/ui/port_display.py +159 -0
  11. cuvis_ai_schemas/grpc/__init__.py +3 -0
  12. cuvis_ai_schemas/grpc/v1/__init__.py +11 -0
  13. cuvis_ai_schemas/grpc/v1/cuvis_ai_pb2.py +240 -0
  14. cuvis_ai_schemas/grpc/v1/cuvis_ai_pb2.pyi +1046 -0
  15. cuvis_ai_schemas/grpc/v1/cuvis_ai_pb2_grpc.py +1290 -0
  16. cuvis_ai_schemas/pipeline/__init__.py +17 -0
  17. cuvis_ai_schemas/pipeline/config.py +238 -0
  18. cuvis_ai_schemas/pipeline/ports.py +48 -0
  19. cuvis_ai_schemas/plugin/__init__.py +6 -0
  20. cuvis_ai_schemas/plugin/config.py +118 -0
  21. cuvis_ai_schemas/plugin/manifest.py +95 -0
  22. cuvis_ai_schemas/training/__init__.py +40 -0
  23. cuvis_ai_schemas/training/callbacks.py +137 -0
  24. cuvis_ai_schemas/training/config.py +135 -0
  25. cuvis_ai_schemas/training/data.py +73 -0
  26. cuvis_ai_schemas/training/optimizer.py +94 -0
  27. cuvis_ai_schemas/training/run.py +198 -0
  28. cuvis_ai_schemas/training/scheduler.py +69 -0
  29. cuvis_ai_schemas/training/trainer.py +40 -0
  30. cuvis_ai_schemas-0.1.0.dist-info/METADATA +111 -0
  31. cuvis_ai_schemas-0.1.0.dist-info/RECORD +34 -0
  32. cuvis_ai_schemas-0.1.0.dist-info/WHEEL +5 -0
  33. cuvis_ai_schemas-0.1.0.dist-info/licenses/LICENSE +190 -0
  34. cuvis_ai_schemas-0.1.0.dist-info/top_level.txt +1 -0
@@ -0,0 +1,69 @@
1
+ """Scheduler configuration schema."""
2
+
3
+ from __future__ import annotations
4
+
5
+ from typing import TYPE_CHECKING, Any
6
+
7
+ from pydantic import BaseModel, ConfigDict, Field
8
+
9
+ if TYPE_CHECKING:
10
+ try:
11
+ from cuvis_ai_schemas.grpc.v1 import cuvis_ai_pb2
12
+ except ImportError:
13
+ cuvis_ai_pb2 = None # type: ignore[assignment]
14
+
15
+
16
+ class SchedulerConfig(BaseModel):
17
+ """Learning rate scheduler configuration."""
18
+
19
+ name: str | None = Field(
20
+ default=None, description="Scheduler type: cosine, step, exponential, plateau"
21
+ )
22
+ warmup_epochs: int = Field(default=0, ge=0, description="Number of warmup epochs")
23
+ min_lr: float = Field(default=1e-6, ge=0.0, description="Minimum learning rate")
24
+ t_max: int | None = Field(
25
+ default=None, ge=1, description="Maximum iterations (for cosine annealing)"
26
+ )
27
+ step_size: int | None = Field(
28
+ default=None, ge=1, description="Period of LR decay (for step scheduler)"
29
+ )
30
+ gamma: float | None = Field(
31
+ default=None, ge=0.0, le=1.0, description="Multiplicative factor of LR decay"
32
+ )
33
+ monitor: str | None = Field(
34
+ default=None, description="Metric to monitor (for plateau/reduce_on_plateau)"
35
+ )
36
+ mode: str = Field(default="min", description="min or max for monitored metrics")
37
+ factor: float = Field(
38
+ default=0.1,
39
+ ge=0.0,
40
+ le=1.0,
41
+ description="LR reduction factor for ReduceLROnPlateau",
42
+ )
43
+ patience: int = Field(default=10, ge=0, description="Patience for plateau scheduler")
44
+ threshold: float = Field(default=1e-4, ge=0.0, description="Plateau threshold")
45
+ threshold_mode: str = Field(default="rel", description="Plateau threshold mode")
46
+ cooldown: int = Field(default=0, ge=0, description="Cooldown epochs for plateau")
47
+ eps: float = Field(default=1e-8, ge=0.0, description="Minimum change in LR for plateau")
48
+ verbose: bool = Field(default=False, description="Verbose scheduler logging")
49
+
50
+ model_config = ConfigDict(extra="forbid", validate_assignment=True, populate_by_name=True)
51
+
52
+ def to_proto(self) -> Any:
53
+ """Convert to protobuf message (requires proto extra)."""
54
+ try:
55
+ from cuvis_ai_schemas.grpc.v1 import cuvis_ai_pb2
56
+ except ImportError as e:
57
+ raise ImportError(
58
+ "Proto support requires the 'proto' extra: pip install cuvis-ai-schemas[proto]"
59
+ ) from e
60
+
61
+ return cuvis_ai_pb2.SchedulerConfig(config_bytes=self.model_dump_json().encode("utf-8"))
62
+
63
+ @classmethod
64
+ def from_proto(cls, proto_config):
65
+ """Create from protobuf message (requires proto extra)."""
66
+ return cls.model_validate_json(proto_config.config_bytes.decode("utf-8"))
67
+
68
+
69
+ __all__ = ["SchedulerConfig"]
@@ -0,0 +1,40 @@
1
+ """Trainer configuration schema."""
2
+
3
+ from __future__ import annotations
4
+
5
+ from pydantic import BaseModel, ConfigDict, Field
6
+
7
+ from cuvis_ai_schemas.training.callbacks import CallbacksConfig
8
+
9
+
10
+ class TrainerConfig(BaseModel):
11
+ """Lightning Trainer configuration."""
12
+
13
+ max_epochs: int = Field(default=100, ge=1, description="Maximum number of epochs")
14
+ accelerator: str = Field(default="auto", description="Accelerator type")
15
+ devices: int | str | None = Field(default=None, description="Number of devices or IDs")
16
+ default_root_dir: str | None = Field(default=None, description="Root directory for outputs")
17
+ precision: str | int = Field(default="32-true", description="Precision mode")
18
+ accumulate_grad_batches: int = Field(default=1, ge=1, description="Accumulate gradients")
19
+ enable_progress_bar: bool = Field(default=True, description="Show progress bar")
20
+ enable_checkpointing: bool = Field(default=False, description="Enable checkpointing")
21
+ log_every_n_steps: int = Field(default=50, ge=1, description="Log frequency in steps")
22
+ val_check_interval: float | int | None = Field(
23
+ default=1.0, ge=0.0, description="Validation interval"
24
+ )
25
+ check_val_every_n_epoch: int | None = Field(
26
+ default=1, ge=1, description="Validate every n epochs"
27
+ )
28
+ gradient_clip_val: float | None = Field(
29
+ default=None, ge=0.0, description="Gradient clipping value"
30
+ )
31
+ deterministic: bool = Field(default=False, description="Deterministic training")
32
+ benchmark: bool = Field(default=False, description="Enable cudnn benchmark")
33
+ callbacks: CallbacksConfig | None = Field(
34
+ default=None, description="Callback configurations for trainer"
35
+ )
36
+
37
+ model_config = ConfigDict(extra="forbid", validate_assignment=True, populate_by_name=True)
38
+
39
+
40
+ __all__ = ["TrainerConfig"]
@@ -0,0 +1,111 @@
1
+ Metadata-Version: 2.4
2
+ Name: cuvis-ai-schemas
3
+ Version: 0.1.0
4
+ Summary: Lightweight schema definitions for cuvis-ai ecosystem
5
+ Author-email: "Cubert GmbH, Ulm, Germany" <SDK@cubert-gmbh.com>
6
+ License: Apache-2.0
7
+ Project-URL: Homepage, https://www.cubert-hyperspectral.com/
8
+ Project-URL: Repository, https://github.com/cubert-hyperspectral/cuvis-ai-schemas
9
+ Project-URL: Documentation, https://cubert-hyperspectral.github.io/cuvis-ai-schemas/
10
+ Project-URL: Issues, https://github.com/cubert-hyperspectral/cuvis-ai-schemas/issues
11
+ Classifier: Intended Audience :: Developers
12
+ Classifier: License :: OSI Approved :: Apache Software License
13
+ Classifier: Programming Language :: Python :: 3
14
+ Classifier: Programming Language :: Python :: 3.11
15
+ Classifier: Topic :: Scientific/Engineering
16
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
17
+ Requires-Python: <3.12,>=3.11
18
+ Description-Content-Type: text/markdown
19
+ License-File: LICENSE
20
+ Requires-Dist: pydantic<3.0.0,>=2.0.0
21
+ Requires-Dist: pyyaml>=6.0
22
+ Provides-Extra: proto
23
+ Requires-Dist: grpcio>=1.56.0; extra == "proto"
24
+ Requires-Dist: protobuf>=4.25.0; extra == "proto"
25
+ Requires-Dist: grpcio-tools>=1.56.0; extra == "proto"
26
+ Provides-Extra: torch
27
+ Requires-Dist: torch>=2.0.0; extra == "torch"
28
+ Requires-Dist: torchvision; extra == "torch"
29
+ Provides-Extra: numpy
30
+ Requires-Dist: numpy>=1.21.0; extra == "numpy"
31
+ Provides-Extra: lightning
32
+ Requires-Dist: pytorch-lightning>=2.0.0; extra == "lightning"
33
+ Provides-Extra: full
34
+ Requires-Dist: cuvis-ai-schemas[lightning,numpy,proto,torch]; extra == "full"
35
+ Provides-Extra: dev
36
+ Requires-Dist: ruff; extra == "dev"
37
+ Requires-Dist: pytest>=7.0.0; extra == "dev"
38
+ Requires-Dist: pytest-cov>=4.0.0; extra == "dev"
39
+ Requires-Dist: mypy>=1.8.0; extra == "dev"
40
+ Requires-Dist: types-protobuf; extra == "dev"
41
+ Requires-Dist: types-grpcio; extra == "dev"
42
+ Requires-Dist: types-PyYAML; extra == "dev"
43
+ Requires-Dist: interrogate>=1.7.0; extra == "dev"
44
+ Dynamic: license-file
45
+
46
+ # cuvis-ai-schemas
47
+
48
+ Lightweight schema definitions for the cuvis-ai ecosystem.
49
+
50
+ [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](LICENSE)
51
+ [![Python](https://img.shields.io/badge/python-3.11-blue.svg)](https://www.python.org/downloads/)
52
+
53
+ ## Overview
54
+
55
+ `cuvis-ai-schemas` is a centralized, dependency-light package of schema definitions used across the cuvis-ai ecosystem. It enables type-safe communication between services without heavy runtime requirements.
56
+
57
+ Key points:
58
+ - Minimal deps (pydantic + pyyaml)
59
+ - Full Pydantic validation
60
+ - Optional extras for proto, torch, numpy, lightning
61
+
62
+ ## Installation
63
+
64
+ ```bash
65
+ uv add cuvis-ai-schemas
66
+ uv add "cuvis-ai-schemas[proto]"
67
+ uv add "cuvis-ai-schemas[full]"
68
+ ```
69
+
70
+ Extras:
71
+ - `proto`: gRPC and protobuf support
72
+ - `torch`: PyTorch dtype handling (validation only)
73
+ - `numpy`: NumPy array support
74
+ - `lightning`: PyTorch Lightning training configs
75
+ - `full`: All features
76
+ - `dev`: Development dependencies
77
+
78
+ ## Usage
79
+
80
+ ```python
81
+ from cuvis_ai_schemas.pipeline import PipelineConfig, NodeConfig
82
+
83
+ pipeline = PipelineConfig(
84
+ nodes=[NodeConfig(id="node_1", class_name="DataLoader", params={"batch_size": 32})],
85
+ connections=[],
86
+ )
87
+
88
+ pipeline_json = pipeline.to_json()
89
+ pipeline = PipelineConfig.from_json(pipeline_json)
90
+ ```
91
+
92
+ ## Development
93
+
94
+ ```bash
95
+ uv sync --extra dev
96
+ uv run pytest tests/ -v
97
+ uv run ruff check cuvis_ai_schemas/ tests/
98
+ uv run ruff format cuvis_ai_schemas/ tests/
99
+ uv run mypy cuvis_ai_schemas/
100
+ ```
101
+
102
+ ## Contributing
103
+
104
+ Contributions are welcome. Please:
105
+ 1. Ensure tests pass
106
+ 2. Run ruff format and ruff check
107
+ 3. Keep type hints and update docs as needed
108
+
109
+ ## License
110
+
111
+ Licensed under the Apache License 2.0. See [LICENSE](LICENSE) for details.
@@ -0,0 +1,34 @@
1
+ cuvis_ai_schemas/__init__.py,sha256=cEoW_6VhQTDoZJ7s36fD-XucImqr7Mte9kgYc8U5czY,138
2
+ cuvis_ai_schemas/discovery/__init__.py,sha256=DZPwdfykdkiNYYdjr2GqaxXkuUWxqxSVDUy9QQvj7Sw,170
3
+ cuvis_ai_schemas/enums/__init__.py,sha256=v4RxrtLuZHQ9IbZF-9UEP-7WC2YrTU8eD9PaO8MmPiU,168
4
+ cuvis_ai_schemas/enums/types.py,sha256=Z3QI4Ot7ZQCx17d7R2P9cnVAYBNtbQF6jcv9NudfuQ8,706
5
+ cuvis_ai_schemas/execution/__init__.py,sha256=eEPDx3Dp4hnUcnmchM8OxsQFc4O00Yw27erQ73aK8_I,361
6
+ cuvis_ai_schemas/execution/context.py,sha256=cSfbqqnuVDv7qDW9av00WNnkBaR4L6oFiG6yEbCVhBw,1185
7
+ cuvis_ai_schemas/execution/monitoring.py,sha256=Ergy2-Y30rN6Mv8LJznN9zTaFKqiOs6r4h--G4pFGAc,2198
8
+ cuvis_ai_schemas/extensions/__init__.py,sha256=vra0q4YuJYhIlvOqUrAA9A5sCSrTQI5NBuo2NyyZmfQ,78
9
+ cuvis_ai_schemas/extensions/ui/__init__.py,sha256=BQxq_sO2yDeXW6GP8m0azwrEdPGzXhC0w5S9Z8YsIvM,202
10
+ cuvis_ai_schemas/extensions/ui/port_display.py,sha256=YeXlPcTA5KPhlzCXmuKJoi7tpLk3apy_B4HL_x53xd0,5692
11
+ cuvis_ai_schemas/grpc/__init__.py,sha256=ic0OaeiJ_hSTme3i-J4h4sbPWESt9aub-kT4j9kaUWg,67
12
+ cuvis_ai_schemas/grpc/v1/__init__.py,sha256=HWdAc1gI2PezL3t6auqyTu4L7qrX3A_q4_CVLVZavAA,316
13
+ cuvis_ai_schemas/grpc/v1/cuvis_ai_pb2.py,sha256=Hxcp-Jv8DV3OklIOzGzd0oLzQteeBum2KlQGvByqLyQ,31205
14
+ cuvis_ai_schemas/grpc/v1/cuvis_ai_pb2.pyi,sha256=6VmdJxOsPcglrae9BlnGleq2-E_4ByLwFXdjIdAsAT8,37546
15
+ cuvis_ai_schemas/grpc/v1/cuvis_ai_pb2_grpc.py,sha256=A6zmNedPvywG4XS_8uZYx5vkxhRkuA2WSSWmGSjqDxo,51711
16
+ cuvis_ai_schemas/pipeline/__init__.py,sha256=ujDyeGD0EF2lsn6AKmuzwGXMcMFVoZrtSdL2vNSbZsU,353
17
+ cuvis_ai_schemas/pipeline/config.py,sha256=sYRd5a8-m6H_-8E1Nya7FfjDwIhjidmSGX7ZRp_ukPo,7204
18
+ cuvis_ai_schemas/pipeline/ports.py,sha256=k8lNc7xgWgh-9k24kxK61LVIML_NAXKJ1ii-LvOEa4w,1419
19
+ cuvis_ai_schemas/plugin/__init__.py,sha256=Ou9dYcJt8boyYJs7NXds684t_KMJbbzXgvGXdPI4sAY,244
20
+ cuvis_ai_schemas/plugin/config.py,sha256=cBh4tt75z_WycirvFFlqwTCrzXU36hamV2hZy31c6K8,3777
21
+ cuvis_ai_schemas/plugin/manifest.py,sha256=nOLx_qkWtlSYCsaILZOatSFx-Rqq5AKjDZKbXy_Wr_k,2832
22
+ cuvis_ai_schemas/training/__init__.py,sha256=zqrwsjVKw1xTw4kXmaYZqCnxpBiUSbUgYhNxAQS8DVA,1016
23
+ cuvis_ai_schemas/training/callbacks.py,sha256=37TLPoJVMLx2HSJ9MCAgnmh_oxfM9eTokeHbGa7y0Wk,5347
24
+ cuvis_ai_schemas/training/config.py,sha256=pN2mXj2uqM4GJbjQREo6kHz_tz3U-fBBLHLPvgakAa4,5261
25
+ cuvis_ai_schemas/training/data.py,sha256=9eE1g7_XFyMsYajupmpaTTADx9kAQrLeG2XS1rNNcwY,2652
26
+ cuvis_ai_schemas/training/optimizer.py,sha256=H91MtWLuXVMsfzMnqzaA6FaZAan72tn3uP60eNV8H4c,2795
27
+ cuvis_ai_schemas/training/run.py,sha256=n8H0HFgdYv89zFUUkda3Uq13qKXJwFe1jewz03gFP04,7150
28
+ cuvis_ai_schemas/training/scheduler.py,sha256=08AHjnfwCxQXLaONj0ClnsawUuyhrNOU8rryf2eS38k,2747
29
+ cuvis_ai_schemas/training/trainer.py,sha256=kXMRfm2ZUFKNaRYDHht2DnGahaj9wsHVFzir4w0i2Nk,1836
30
+ cuvis_ai_schemas-0.1.0.dist-info/licenses/LICENSE,sha256=m9KVK0hEPXjQ4cu8W-_kuHdPbjMXZPyzmI4OPQL1xBk,10946
31
+ cuvis_ai_schemas-0.1.0.dist-info/METADATA,sha256=hkXIaWsMMqCSPI1e_2lEneVabbLYJBiEviut8IN5AyM,3766
32
+ cuvis_ai_schemas-0.1.0.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
33
+ cuvis_ai_schemas-0.1.0.dist-info/top_level.txt,sha256=-l9DD2FK3AVzo3ry6TOmsK9OmrXEDB6AX8y3K-n1agk,17
34
+ cuvis_ai_schemas-0.1.0.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (80.10.2)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+
@@ -0,0 +1,190 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ Copyright 2026 Cubert GmbH
179
+
180
+ Licensed under the Apache License, Version 2.0 (the "License");
181
+ you may not use this file except in compliance with the License.
182
+ You may obtain a copy of the License at
183
+
184
+ http://www.apache.org/licenses/LICENSE-2.0
185
+
186
+ Unless required by applicable law or agreed to in writing, software
187
+ distributed under the License is distributed on an "AS IS" BASIS,
188
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
189
+ See the License for the specific language governing permissions and
190
+ limitations under the License.
@@ -0,0 +1 @@
1
+ cuvis_ai_schemas