Created
February 7, 2017 06:20
-
-
Save clarkbab/b7cb6b9768d87d860ebcb35aa172b89d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"meta": { | |
"total-pages": 5 | |
}, | |
"links": { | |
"self": "http://example.com/field_types?page[number]=2&page[size]=30", | |
"first": "http://example.com/field_types?page[number]=1&page[size]=30", | |
"prev": "http://example.com/field_types?page[number]=1&page[size]=30", | |
"next": "http://example.com/field_types?page[number]=3&page[size]=30", | |
"last": "http://example.com/field_types?page[number]=5&page[size]=30" | |
}, | |
"data": [ | |
{ | |
"type": "field_types", | |
"uuid": "401616f6-55f6-4702-afbb-66a5e490a6a8", | |
"attributes": { | |
"name": "text", | |
"properties": { | |
"field_name": { | |
"title": "Field Name", | |
"description": "This is name of the field as shown to the user.", | |
"type": "text" | |
}, | |
"min_characters": { | |
"title": "Minimum Characters", | |
"description": "This is the minimum number of characters that must be entered.", | |
"type": "number" | |
}, | |
"max_characters": { | |
"title": "Maximum Characters", | |
"description": "This is the maximum number of characters that must be entered.", | |
"type": "number" | |
}, | |
"allowed_values": { | |
"title": "Allowed Values", | |
"description": "These are the allowed values for the input.", | |
"type": "array" | |
}, | |
"default": { | |
"title": "Default Text", | |
"description": "This is the text that appears before any user input.", | |
"type": "text" | |
}, | |
"required": { | |
"title": "Required", | |
"description": "Is the field required?", | |
"type": "boolean" | |
} | |
} | |
} | |
}, | |
{ | |
"type": "field_types", | |
"uuid": "e757854b-73bf-43c1-aeec-fbfb04d0a96b", | |
"attributes": { | |
"name": "number", | |
"properties": { | |
"field_name": { | |
"title": "Field Name", | |
"description": "This is name of the field as shown to the user.", | |
"type": "text" | |
}, | |
"min_number": { | |
"title": "Minimum Number", | |
"description": "This is the minimum number that must be entered.", | |
"type": "number" | |
}, | |
"exclusive_min": { | |
"title": "Exclusive Minimum?", | |
"description": "Is the minimum value exclusive?", | |
"type": "boolean" | |
}, | |
"max_number": { | |
"title": "Maximum Number", | |
"description": "This is the maximum number that must be entered.", | |
"type": "number" | |
}, | |
"exclusive_max": { | |
"title": "Exclusive Maximum", | |
"description": "Is the maximum value exclusive?", | |
"type": "boolean" | |
}, | |
"allowed_values": { | |
"title": "Allowed Values", | |
"description": "These are the allowed values for the input.", | |
"type": "array" | |
}, | |
"default": { | |
"title": "Default Number", | |
"description": "This is the number that appears before any user input.", | |
"type": "number" | |
}, | |
"required": { | |
"title": "Required", | |
"description": "Is the field required?", | |
"type": "boolean" | |
} | |
} | |
} | |
}, | |
{ | |
"type": "field_types", | |
"uuid": "0d77a62c-6dc6-43c4-8672-244226add85e", | |
"attributes": { | |
"name": "datetime", | |
"properties": { | |
"field_name": { | |
"title": "Field Name", | |
"description": "This is name of the field as shown to the user.", | |
"type": "text" | |
}, | |
"min_date": { | |
"title": "Minimum Date", | |
"description": "This is the minimum date that must be entered.", | |
"type": "text" | |
}, | |
"exclusive_min": { | |
"title": "Exclusive Minimum?", | |
"description": "Is the minimum value exclusive?", | |
"type": "boolean" | |
}, | |
"max_date": { | |
"title": "Maximum Date", | |
"description": "This is the maximum date that must be entered.", | |
"type": "text" | |
}, | |
"exclusive_max": { | |
"title": "Exclusive Maximum", | |
"description": "Is the maximum value exclusive?", | |
"type": "boolean" | |
}, | |
"show_date": { | |
"title": "Show Date?", | |
"description": "Should the date portion of the datetime be displayed?", | |
"type": "boolean" | |
}, | |
"show_time": { | |
"title": "Show Time?", | |
"description": "Should the time portion of the datetime be displayed?", | |
"type": "boolean" | |
}, | |
"allowed_values": { | |
"title": "Allowed Values", | |
"description": "These are the allowed values for the input.", | |
"type": "array" | |
}, | |
"default": { | |
"title": "Default Date", | |
"description": "This is the date that appears before any user input.", | |
"type": "string" | |
}, | |
"required": { | |
"title": "Required", | |
"description": "Is the field required?", | |
"type": "boolean" | |
} | |
} | |
} | |
}, | |
{ | |
"type": "field_types", | |
"uuid": "96fd26d0-bbe1-4065-a6ba-c47a67099286", | |
"attributes": { | |
"name": "multitext", | |
"properties": { | |
"field_name": { | |
"title": "Field Name", | |
"description": "This is name of the field as shown to the user.", | |
"type": "text" | |
}, | |
"min_characters": { | |
"title": "Minimum Characters", | |
"description": "This is the minimum number of characters for each entry.", | |
"type": "number" | |
}, | |
"max_characters": { | |
"title": "Maximum Characters", | |
"description": "This is the maximum number of characters for each entry.", | |
"type": "number" | |
}, | |
"allowed_values": { | |
"title": "Allowed Values", | |
"description": "These are the allowed values for the input.", | |
"type": "array" | |
}, | |
"required": { | |
"title": "Required", | |
"description": "Is the field required?", | |
"type": "boolean" | |
} | |
} | |
} | |
} | |
] | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment