Documentation
¶
Overview ¶
Package spec is what Go code of the NovaTrail platform takes from spec: its normative parts as files, at the tag of a release, which is the version of this module and which the importing module's go.mod pins. Code takes them from here rather than from the spec/ submodule its repository keeps for the documents (R21), so that go.sum and the Go checksum database hold the files to the bytes of that tag (R64).
Index ¶
Constants ¶
This section is empty.
Variables ¶
var Admission fs.FS = &part{&admissionFiles, "admission"}
Admission is the admission table as the release has it: admission/ at its tag, laid out as admission/README.md says. Its root is admission/, so that the table is "admission-table.json" (R96).
var ConsentAge fs.FS = &part{&consentAgeFiles, "consent-age"}
ConsentAge is the table of the age of digital consent as the release has it: consent-age/ at its tag, laid out as consent-age/README.md says, by which api computes a learner's age category. Its root is consent-age/, so that the table is "consent-age.yaml" (R134).
var Deployment fs.FS = &part{&deploymentFiles, "deployment"}
Deployment is the format of the deployment configuration as the release has it: deployment/ at its tag, laid out as deployment/README.md says. Its root is deployment/, so that the schema of the file is "schemas/deployment.schema.json" (R85).
var Export fs.FS = &part{&exportFiles, "export"}
Export is the format of the export as the release has it: export/ at its tag, laid out as export/README.md says, by which api writes its part of an export. Its root is export/, so that the schema of a profile's file is "schemas/profile.schema.json" (R135).
var Format fs.FS = &part{&formatFiles, "format"}
Format is the module format as the release has it: format/ at its tag, laid out as format/README.md says. Its root is format/, so that VERSION is "VERSION" and a schema is "schemas/task.schema.json".
var Legal fs.FS = &part{&legalFiles, "legal"}
Legal is the legal texts as the release has them: legal/ at its tag, laid out as legal/README.md says, from which api serves the texts. Its root is legal/, so that the passport is "legal.yaml" and a version of a text is "texts/privacy-policy/1.md" (R130).
Functions ¶
This section is empty.
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
contracts
module
|
|
|
types
|
|
|
admissionv0
Package admissionv0 holds the types of the admission table, major version 0, generated from the schemas of version 0.4 in admission/schemas by tools/types (R72 and R96 in spec's docs/decisions.md): the table, and the vectors of answers of the admission function.
|
Package admissionv0 holds the types of the admission table, major version 0, generated from the schemas of version 0.4 in admission/schemas by tools/types (R72 and R96 in spec's docs/decisions.md): the table, and the vectors of answers of the admission function. |
|
consentagev1
Package consentagev1 holds the types of the table of the age of digital consent, version 1 of the part, generated from the schemas in consent-age/schemas by tools/types (R72 and R134 in spec's docs/decisions.md): the table consent-age/consent-age.yaml, with the age of each country from a day on and the law that sets it, the vectors of reading and the vectors of the category.
|
Package consentagev1 holds the types of the table of the age of digital consent, version 1 of the part, generated from the schemas in consent-age/schemas by tools/types (R72 and R134 in spec's docs/decisions.md): the table consent-age/consent-age.yaml, with the age of each country from a day on and the law that sets it, the vectors of reading and the vectors of the category. |
|
deploymentv1
Package deploymentv1 holds the types of the deployment configuration, version 1, generated from the schemas in deployment/schemas by tools/types (R72 and R85 in spec's docs/decisions.md): the file /deployment.json, whose fields keep the names of R09 app, in camelCase, as their JSON tags, and the vectors of reading.
|
Package deploymentv1 holds the types of the deployment configuration, version 1, generated from the schemas in deployment/schemas by tools/types (R72 and R85 in spec's docs/decisions.md): the file /deployment.json, whose fields keep the names of R09 app, in camelCase, as their JSON tags, and the vectors of reading. |
|
exportv3
Package exportv3 holds the types of the format of the export, version 3 of the part, generated from the schemas in export/schemas by tools/types (R72 and R135 in spec's docs/decisions.md): the files of an export — the manifest, the account, a profile with every record of it, what a device holds of it and a stored work — and the vectors of reading.
|
Package exportv3 holds the types of the format of the export, version 3 of the part, generated from the schemas in export/schemas by tools/types (R72 and R135 in spec's docs/decisions.md): the files of an export — the manifest, the account, a profile with every record of it, what a device holds of it and a stored work — and the vectors of reading. |
|
formatv0
Package formatv0 holds the types of the module format, major version 0, generated from the schemas of version 0.4 in format/schemas by tools/types (R72 in spec's docs/decisions.md).
|
Package formatv0 holds the types of the module format, major version 0, generated from the schemas of version 0.4 in format/schemas by tools/types (R72 in spec's docs/decisions.md). |
|
formatv0/open
Package open holds the open view of each part of a module (format/README.md, section 6): the struct of each type the open view of a part reaches, by the name it has in formatv0, with the fields marked x-open alone, of version 0.4.
|
Package open holds the open view of each part of a module (format/README.md, section 6): the struct of each type the open view of a part reaches, by the name it has in formatv0, with the fields marked x-open alone, of version 0.4. |
|
legalv3
Package legalv3 holds the types of the legal texts, version 3 of the part, generated from the schemas in legal/schemas by tools/types (R72 and R130 in spec's docs/decisions.md): the passport legal/legal.yaml, with the texts, their versions and the sets of texts of the samples page, and the vectors of reading.
|
Package legalv3 holds the types of the legal texts, version 3 of the part, generated from the schemas in legal/schemas by tools/types (R72 and R130 in spec's docs/decisions.md): the passport legal/legal.yaml, with the texts, their versions and the sets of texts of the samples page, and the vectors of reading. |