@hyperscale0/udl 3.0.2 → 3.2.0
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.
- package/CHANGELOG.md +8 -0
- package/LICENSE.md +356 -0
- package/NOTICE.md +8 -0
- package/dist/finance.js +2 -1
- package/dist/finance.js.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/reporting-validation.d.ts +8 -0
- package/dist/reporting-validation.d.ts.map +1 -0
- package/dist/reporting-validation.js +245 -0
- package/dist/reporting-validation.js.map +1 -0
- package/dist/reporting.d.ts +478 -0
- package/dist/reporting.d.ts.map +1 -0
- package/dist/reporting.js +170 -0
- package/dist/reporting.js.map +1 -0
- package/dist/schema.d.ts +1104 -3
- package/dist/schema.d.ts.map +1 -1
- package/dist/schema.js +60 -8
- package/dist/schema.js.map +1 -1
- package/dist/validation.d.ts.map +1 -1
- package/dist/validation.js +89 -12
- package/dist/validation.js.map +1 -1
- package/docs/README.md +26 -0
- package/package.json +5 -6
- package/spec/README.md +26 -0
- package/spec/udl.schema.json +1960 -4
- package/src/finance.ts +1 -1
- package/src/index.ts +6 -0
- package/src/reporting-validation.ts +381 -0
- package/src/reporting.ts +179 -0
- package/src/schema.ts +61 -8
- package/src/validation.ts +100 -10
- package/LICENSE +0 -661
- package/LICENSING.md +0 -50
- package/TRADEMARKS.md +0 -35
package/LICENSING.md
DELETED
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
# Licensing
|
|
2
|
-
|
|
3
|
-
The code in this repository is Copyright 2026 Hyperscale LLC and is licensed
|
|
4
|
-
under the GNU Affero General Public License version 3 only
|
|
5
|
-
(`AGPL-3.0-only`). The full text is in [`LICENSE`](./LICENSE).
|
|
6
|
-
|
|
7
|
-
## What the AGPL asks of you
|
|
8
|
-
|
|
9
|
-
Two obligations matter in practice.
|
|
10
|
-
|
|
11
|
-
**If you distribute a copy in object form**, modified or not, you make its
|
|
12
|
-
Corresponding Source available under the same license.
|
|
13
|
-
|
|
14
|
-
**If you run a modified copy as a network service**, section 13 applies: the
|
|
15
|
-
users interacting with it over the network get an offer of the source of the
|
|
16
|
-
version you are running. Running UDL unmodified behind your own service does
|
|
17
|
-
not trigger this. Changing the parser, the validator, or the canonical
|
|
18
|
-
serializer and then serving that change does.
|
|
19
|
-
|
|
20
|
-
Using `@hyperscale0/udl` as a library inside your own program is a combined
|
|
21
|
-
work under the AGPL. If that does not fit how you ship, take the commercial
|
|
22
|
-
license instead.
|
|
23
|
-
|
|
24
|
-
## Commercial license
|
|
25
|
-
|
|
26
|
-
Hyperscale LLC sells a commercial license to organisations that cannot accept
|
|
27
|
-
the AGPL, for the usual reasons: a proprietary product that links the library,
|
|
28
|
-
a hosted service you will not open, a procurement policy that refuses copyleft.
|
|
29
|
-
It grants the same code under ordinary commercial terms with no source
|
|
30
|
-
obligation.
|
|
31
|
-
|
|
32
|
-
Ask through <https://hyperscale0.ai>.
|
|
33
|
-
|
|
34
|
-
## The license covers code, not marks
|
|
35
|
-
|
|
36
|
-
"Hyperscale" and "UDL" are trademarks of Hyperscale LLC. A copyright license
|
|
37
|
-
says nothing about trademarks in either direction, so
|
|
38
|
-
[`TRADEMARKS.md`](./TRADEMARKS.md) draws that boundary.
|
|
39
|
-
|
|
40
|
-
## The format is not the implementation
|
|
41
|
-
|
|
42
|
-
UDL the format is separate from this implementation of it. The JSON Schema in
|
|
43
|
-
[`spec/`](./spec) is data describing a format, and anyone may write their own parser, validator,
|
|
44
|
-
or serializer against them, in any language, under any license, without
|
|
45
|
-
touching this code.
|
|
46
|
-
|
|
47
|
-
What you may then say about it is a trademark question, not a copyright one.
|
|
48
|
-
[`TRADEMARKS.md`](./TRADEMARKS.md) has the rule: claim compatibility with a UDL
|
|
49
|
-
version only when your implementation passes that version's published
|
|
50
|
-
conformance cases unmodified.
|
package/TRADEMARKS.md
DELETED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
# Trademarks
|
|
2
|
-
|
|
3
|
-
"Hyperscale" and "UDL" are trademarks of Hyperscale LLC.
|
|
4
|
-
|
|
5
|
-
The AGPL covers the code in this repository and nothing else. It grants no
|
|
6
|
-
rights to the marks, and it never mentions them: a copyright license says
|
|
7
|
-
nothing about trademarks either way. This file draws that boundary so nobody
|
|
8
|
-
has to guess where it sits.
|
|
9
|
-
|
|
10
|
-
What that means in practice:
|
|
11
|
-
|
|
12
|
-
- **Yes.** Say your project uses UDL, reads UDL, or is compatible with UDL.
|
|
13
|
-
Say it in your README, your docs, your talk, and your package description.
|
|
14
|
-
Fork this repository and keep the notices intact.
|
|
15
|
-
- **Yes.** Publish a UDL implementation in another language, and name it in a
|
|
16
|
-
way that describes what it does: `udl-rs`, `udl-parser`, `python-udl`.
|
|
17
|
-
- **No.** Name your project, company, or product in a way that suggests
|
|
18
|
-
Hyperscale LLC published it or endorses it. `@hyperscale0/*` on npm and the
|
|
19
|
-
`hyperscale0` GitHub organisation are ours.
|
|
20
|
-
- **No.** Use the marks or our logo in a way that implies affiliation,
|
|
21
|
-
sponsorship, or certification we have not given.
|
|
22
|
-
|
|
23
|
-
## Claiming compatibility
|
|
24
|
-
|
|
25
|
-
An independent implementation may say it "implements UDL version X" or "passes
|
|
26
|
-
the UDL conformance suite version X" only while it passes the published
|
|
27
|
-
conformance cases for that version, unmodified. The cases in
|
|
28
|
-
[`test/language.spec.ts`](./test/language.spec.ts) are the whole test: no skipped case, no edited
|
|
29
|
-
expectation, no local change to the document mutations.
|
|
30
|
-
|
|
31
|
-
That claim is a statement about your implementation, so keep the marks out of
|
|
32
|
-
its name and off its logo, and do not present it as endorsement or
|
|
33
|
-
certification by Hyperscale LLC. We certify nothing; the suite does.
|
|
34
|
-
|
|
35
|
-
If you are unsure, open an issue and ask. Nobody has ever regretted asking.
|