Skip to content

Instantly share code, notes, and snippets.

@thetallweeks
Created April 19, 2019 21:05
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thetallweeks/b9802fe36e706872b51308fd1b633eb2 to your computer and use it in GitHub Desktop.
Save thetallweeks/b9802fe36e706872b51308fd1b633eb2 to your computer and use it in GitHub Desktop.
{
"data_schema": {
"group": "",
"name": "String",
"title": "String",
"description": "String datatype inherited from Generic datatypes",
"type": "datatype.string",
"base_type": "datatype",
"inherits": "generic.datatype",
"version": "1.0.0",
"variable_type": true,
"property_schema": {
"properties": {
"value": {
"type": "string",
"title": "Value"
}
}
}
},
"view_schema": {
"group": "",
"name": "String",
"title": "String",
"description": "String datatype inherited from Generic datatypes",
"type": "datatype.string",
"base_type": "datatype",
"inherits": "generic.datatype",
"version": "1.0.0",
"variable_type": true,
"property_schema": {
"if": {
"properties": {
"scope": {
"enum": ["input"]
}
}
},
"then": {
"properties": {
"is_required": {
"lhv_invisible": "none"
}
}
},
"properties": {
"value": {
"type": "string",
"component": "textarea",
"title": "Value"
},
"is_required": {
"type": "boolean",
"component": "checkbox",
"title": "Required",
"lhv_invisible": "formAndData"
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment