Published package / CLIR
org.usbif.power_delivery
v0.1.0USB-IF — публичная страница USB Power Delivery
A package can be printed as a standalone module in a general-purpose language that answers without the rules engine: an answer and its status, with no proof, hashes or canonical document. Everything on this page comes from the generation plan built with the index; the gallery computes nothing of its own.
Generation plan
The plan builds: the package can be printed as a module.
- plan format
- law-backend-plan/0.7
- capabilities
- base layer only
Checked against package scenarios
Not checked: the package scenarios have not been run against generated modules. A plan that builds does not yet show that the answers coincide.
Target languages
bslcsdarterlexgojavaktluaphppyrbrsscalaswiftts
./law dev backend corpus/clir/org-usbif-power-delivery.lawir.json --target ts --target py --target go --out DIR
Module interface
Questions are public relations with a producing rule; inputs are the facts a question reads. Function names follow the language: ask_… in Python, ask.… in TypeScript, Ask… in Go.
Questions · 3
| Name | Parameters | Meaning | Reads | Sources |
|---|---|---|---|---|
| pd_max_watts | text, dec | предельная мощность ревизии, ваттRU | no inputs | |
| pd_prior_cable_current_a | text, dec | ток кабеля, на котором держался прежний предел, амперRU | no inputs | |
| pd_requires_full_featured_type_c | text | предел достигается только полнофункциональным кабелем USB Type-CRU | no inputs |