JSON schema files
JSON schema files define the structure of a given set of JSON objects. Guidewire InsuranceSuite JSON Schema support covers a subset of the fourth draft of the JSON Schema standard.
JSON schema files have three uses. JSON schema files can be output targets for integration mappings. In addition, they can serve as input or output types for Swagger schemas. You can also use JSON schema files standalone to parse or serialize JSON objects.
File names
You write JSON Schema files in the JSON format. Place the files in a subdirectory of config/integration/schemas in Guidewire Studio.
- The <name> portion cannot contain the hyphen character or any other character that would render the portion an invalid file name. The portion also does not include the version number.
-
The <version> portion consists of one or more sequences of digits. Separate these sequences of digits with the period character. Optionally follow each sequence of digits with a hyphen and an arbitrary string.
- config/integration/schemas/gw/pl/admin/user-1.0.schema.json defines the schema named gw.pl.admin.user-1.0.
- config/integration/schemas/gw/pc/productmodel/productmodel-10.0.1-alpha.schema.json defines the schema named gw.pc.productmodel.productmodel-10.0.1-alpha.
See also
