17#ifndef A11_FLOW_SCHEMA_H_
18#define A11_FLOW_SCHEMA_H_
24#include <nlohmann/json_fwd.hpp>
81 std::string_view
name);
Definition boundary.cc:32
nlohmann::json DtoToJsonSchema(const DtoPlan &dto, const Program &program)
The JSON Schema a struct describes.
Definition schema.cc:711
SchemaImport JsonSchemaToDtos(const nlohmann::json &schema, std::string_view name)
The shapes schema describes, named name where it does not name itself.
Definition schema.cc:728
constexpr std::string_view kFlowOrderKey
The extension key holding a shape's fields in declaration order.
Definition schema.h:103
constexpr std::string_view kSchemaFormat
The format field of the schema envelope.
Definition schema.h:91
std::string DtoToFlow(const DtoPlan &dto)
One shape as the Flow text that declares it.
Definition schema.cc:747
constexpr std::string_view kFlowTypeKey
The extension key that says which Flow type a string really is.
Definition schema.h:94
One compiled struct: a shape a port may be typed with.
Definition plan.h:80
The shapes a JSON Schema describes, and what would not fit.
Definition schema.h:55
std::vector< DtoPlan > dtos
The shape the schema itself is, followed by every $defs entry it named.
Definition schema.h:62
std::vector< Diagnostic > diagnostics
What did not map, as diagnostics rather than a refusal.
Definition schema.h:71
std::string dto
Which shape schema is asked about; every one of them when empty.
Definition main.cc:78