Contract.sv Template Reference
Agreemint.click can parse custom templates with the appropriate data structure to be used with the Agreemint.click interface. You can download one of the example templates below:
- example.json - A comprehensive template
- essentials.json - A minimal starter template
- workforhire-en.json - The standard template
JSON
JSON is a structured data format that is both human-readable and machine-parsable. Here is an example of a basic JSON file structure:
{
"variable": "value",
"object": {
"variable": "value",
"array": [
"array 0 value",
"array 1 value",
"array 2 value"
],
"numberVariable": 45.000
},
"array": [
"item 1",
"item 2"
]
}When editing JSON files for Contract.sv templates, please adhere to these essential guidelines:
- Commas function as separators and must be placed after every variable, object, and array, except for the final element in a collection.
- For every opening character, there must be a corresponding closing character.
- Text values must always be enclosed in quotation marks.
- Line breaks are not permitted within variable values.
- Maintain consistent formatting with proper indentation.