JSON schemas
Exporting form payload metadata for validation or analysis.
Sample form schemas
{
'$schema': 'http://json-schema.org/draft-07/schema#',
'type': 'object',
'properties': {
'user_fname': {
'type': 'string',
'description': 'The first name of the user'
}
}
}{
'$schema': 'http://json-schema.org/draft-07/schema#',
'type': 'object',
'properties': {
'A choice': {
'oneOf': [
{'const': 'Value A'},
{'const': 'Value B'}
]
}
}
}Accessing the JSON schema for a flow
https://variant.formsort.com/flow-api/client/{CLIENT_ID}/flow/{FLOW_LABEL}/variant/{VARIANT_LABEL}/revision/{VARIANT_REVISION_UUID}/schema.jsonLast updated
Was this helpful?