Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

See here for details about the official JSON schema specification: https://json-schema.org/

For example lets , let's define a simple JSON document which that contains person data:

Code Block
languagejson
{
  "firstName": "Sam",
  "lastName": "Meyer",
  "age": 48,
  "gender": "male"
}

And now lets let's define a JSON Schema in order to formalize the rules for this person JSON document:

...

  • To define the widgets of a form in a Form Schema → Any Form Schema is a valid JSON Schema.

  • To define the schema for list columns in a List Schema → Any List Schema is a valid JSON Schema.

  • To define the schema of custom JSON documents and validate them whenever required using the command json.validate.

In order to get a full documentation of the JSON Schema specification, you should go to the official websites website at: https://json-schema.org.

...

A Form Schema is a JSON Schema which defines the validation, type and structure rules of widgets inside a PIPEFORCE Form. For more details see: Form Schema & Widgets (Model).

List Schema

A List Schema is a JSON Schema which defines the columns of a table (list) of a PIPEFORCE List. For more details see: List Framework.

Define and validate a JSON object

...

The type attribute inside a JSON schema , defines the required data type of an a JSON attribute. Possible values are:

...