Схемы
Машиночитаемые версии контрактов: редактор или задача CI проверит файл ещё до того, как он попадёт к раннеру (программе, которая запускает пайпы). Каждая схема размещена на этом сайте по адресу из её $id.
| Схема | Что описывает | $id |
|---|---|---|
| cli-config-v0.1.schema.json | OpenFlange CLI execution configuration (v0.1) Schema of the JSON file named by OPENFLANGE_CONFIG, openflange.org/cli/v0.1. | https://openflange.org/schemas/cli-config-v0.1.schema.jsonОткрывается на этом сайте |
| error-v0.1.schema.json | OpenFlange structured error (v0.1) Structured error or warning object used by validation output, run reports and HTTP error bodies. | https://openflange.org/schemas/error-v0.1.schema.jsonОткрывается на этом сайте |
| http-pipe-definition-v0.1.schema.json | HTTP Pipe Protocol: pipe definition (v0.1) Response body of GET {base}/pipes/{pipeId}: the manifest frontmatter as JSON plus an optional revision. | https://openflange.org/schemas/http-pipe-definition-v0.1.schema.jsonОткрывается на этом сайте |
| http-pipe-list-v0.1.schema.json | HTTP Pipe Protocol: pipe list (v0.1) Response body of GET {base}/pipes. | https://openflange.org/schemas/http-pipe-list-v0.1.schema.jsonОткрывается на этом сайте |
| http-session-request-v0.1.schema.json | HTTP Pipe Protocol: session request (v0.1) Request body of POST {base}/pipes/{pipeId}/sessions. | https://openflange.org/schemas/http-session-request-v0.1.schema.jsonОткрывается на этом сайте |
| http-session-response-v0.1.schema.json | HTTP Pipe Protocol: session response (v0.1) 201 response body of POST {base}/pipes/{pipeId}/sessions. | https://openflange.org/schemas/http-session-response-v0.1.schema.jsonОткрывается на этом сайте |
| http-session-status-v0.1.schema.json | HTTP Pipe Protocol: session status (v0.1) Response body of GET {base}/sessions/{sessionId}; the authoritative outcome of a session. | https://openflange.org/schemas/http-session-status-v0.1.schema.jsonОткрывается на этом сайте |
| layout-v0.1.schema.json | OpenFlange pipeline layout (v0.1) Schema of pipeline.layout.yaml, openflange.org/layout/v0.1. Tool state only; ignored by runners. | https://openflange.org/schemas/layout-v0.1.schema.jsonОткрывается на этом сайте |
| lock-v0.1.schema.json | OpenFlange lockfile (v0.1) Schema of openflange.lock.yaml, openflange.org/lock/v0.1. | https://openflange.org/schemas/lock-v0.1.schema.jsonОткрывается на этом сайте |
| package-v0.1.schema.json | OpenFlange package index (v0.1) Schema of the optional root openflange.yaml package index, openflange.org/package/v0.1. | https://openflange.org/schemas/package-v0.1.schema.jsonОткрывается на этом сайте |
| pipe-v0.1.schema.json | OpenFlange pipe manifest frontmatter (v0.1) Schema of the YAML frontmatter of an OPENFLANGE.md pipe manifest, openflange.org/pipe/v0.1. A document that fails this schema is reported as E_MANIFEST. | https://openflange.org/schemas/pipe-v0.1.schema.jsonОткрывается на этом сайте |
| pipeline-v0.1.schema.json | OpenFlange pipeline file (v0.1) Schema of pipeline.yaml, openflange.org/pipeline/v0.1. Source grammar, references, direction, cycles and connectivity are checked by the compiler, not by this schema. | https://openflange.org/schemas/pipeline-v0.1.schema.jsonОткрывается на этом сайте |
| plan-v0.1.schema.json | OpenFlange execution plan (v0.1) JSON execution plan printed by openflange validate --plan --json. Informative shape; additional members are allowed. | https://openflange.org/schemas/plan-v0.1.schema.jsonОткрывается на этом сайте |
| registry-entry-v0.1.schema.json | OpenFlange registry entry (v0.1) Schema of a registry pipe entry, openflange.org/registry/v0.1 (public registry: pipes/$records/<publisher>~2F<name>.yaml). | https://openflange.org/schemas/registry-entry-v0.1.schema.jsonОткрывается на этом сайте |
| registry-facets-v0.1.schema.json | OpenFlange registry facets (v0.1) Schema of the generated facets.json: distinct filter values with counts. | https://openflange.org/schemas/registry-facets-v0.1.schema.jsonОткрывается на этом сайте |
| registry-index-v0.1.schema.json | OpenFlange registry index (v0.1) Schema of the generated index.json. Each line of index.ndjson validates against #/$defs/indexEntry. | https://openflange.org/schemas/registry-index-v0.1.schema.jsonОткрывается на этом сайте |
| registry-publisher-v0.1.schema.json | OpenFlange registry publisher (v0.1) Schema of a registry publisher record (public registry: publishers/$records/<publisher>.yaml). | https://openflange.org/schemas/registry-publisher-v0.1.schema.jsonОткрывается на этом сайте |
| run-report-v0.1.schema.json | OpenFlange run report (v0.1) JSON run report produced by a runner (openflange run --report). | https://openflange.org/schemas/run-report-v0.1.schema.jsonОткрывается на этом сайте |
| test-v0.1.schema.json | OpenFlange portable test file (v0.1) Schema of tests/*.test.yaml and openflange.test.yaml, openflange.org/test/v0.1. | https://openflange.org/schemas/test-v0.1.schema.jsonОткрывается на этом сайте |
| window-frame-v0.1.schema.json | OpenFlange window frame (v0.1, proposed) One line of a stream with media type application/x-ndjson; profile="openflange-windows". Maturity: proposed. | https://openflange.org/schemas/window-frame-v0.1.schema.jsonОткрывается на этом сайте |
Названия и описания взяты из самих файлов схем и приведены на английском языке.
Лицензия и диалект
Схемы распространяются по лицензии Apache-2.0 и используют диалект JSON Schema 2020-12. Они отдаются с заголовком Access-Control-Allow-Origin: *, чтобы их могли загружать инструменты в браузере.