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 (R64). Code takes them from here rather than from the spec/ submodule its repository keeps for the documents (R21):
go get github.com/altnovatrail/spec@v0.3.0
go.sum and the Go checksum database then hold the files to the bytes of that tag.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var Admission fs.FS = &part{&admissionFiles, "admission"}
Admission is the admission table as the release has it (R96): admission/ at its tag, with the text, VERSION, the table, its schemas, its examples and its test vectors (admission/README.md, section 3). Its root is admission/, so that the table is "admission-table.json".
var ConsentAge fs.FS = &part{&consentAgeFiles, "consent-age"}
ConsentAge is the table of the age of digital consent as the release has it (R134): consent-age/ at its tag, with the text, VERSION, the table, the schemas, the examples and the test vectors (consent-age/README.md, section 3). Its root is consent-age/, so that the table is "consent-age.yaml". api computes a learner's age category by it (consent-age/README.md, section 6).
var Deployment fs.FS = &part{&deploymentFiles, "deployment"}
Deployment is the format of the deployment configuration as the release has it (R85): deployment/ at its tag, with the text, VERSION, the schemas, the examples and the test vectors (deployment/README.md, section 3). Its root is deployment/, so that the schema of the file is "schemas/deployment.schema.json".
var Export fs.FS = &part{&exportFiles, "export"}
Export is the format of the export as the release has it (R135): export/ at its tag, with the text, VERSION, the schemas of the files of an export, the examples and the test vectors (export/README.md, section 3). Its root is export/, so that the schema of a profile's file is "schemas/profile.schema.json". api writes its part of an export by it (export/README.md, section 8).
var Format fs.FS = &part{&formatFiles, "format"}
Format is the module format as the release has it: format/ at its tag, with the text, VERSION, the schemas, the examples and the test vectors (format/README.md, section 3). 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 (R130): legal/ at its tag, with the text, VERSION, the passport, the versions of the texts, the schemas, the examples and the test vectors (legal/README.md, section 3). Its root is legal/, so that the passport is "legal.yaml" and a version of a text is "texts/privacy-policy/1.md". api serves the texts from it (legal/README.md, section 8).
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. |