Option
Full representation of a single poll option. Top-level fields vary by option type and are included conditionally depending on the poll's visibility settings and your access level (admin vs. member); type-specific configuration is grouped under `settings`.
Properties
| Name | Type | Description |
|---|---|---|
| id | string | Option public_id |
| admin_url | stringnull | Admin access only |
| public_url | string | |
| parent_option_id | stringnull | |
| type | string | Option STI class |
| content | stringnull | |
| subtitle | stringnull | |
| description | stringnull | |
| author_name | stringnull | |
| position | integernull | |
| state | stringnull | Collection polls only |
| rank | integernull | |
| rating | numbernull | |
| average_rating | numbernull | |
| best_rating | booleannull | |
| selected | booleannull | |
| child_option_type | stringnull | |
| data | objectnull | Option-type-specific payload (e.g. location_data for location options) |
| drawing_type | stringnull | |
| input_type | stringnull | Input options only |
| location_type | stringnull | |
| options_count | integernull | |
| paid | booleannull | |
| privacy_policy_accepted | booleannull | |
| processing | booleannull | |
| rotation | integernull | |
| terms_accepted | booleannull | |
| info_link | stringnull | |
| info_link_title | stringnull | |
| is_other_answer | boolean | The "other" option of a select input. |
| start_date | stringnull | |
| end_date | stringnull | |
| created_at | stringnull | |
| updated_at | stringnull | |
| video_thumb_path | stringnull | |
| vimeo_id | stringnull | |
| youtube_id | stringnull | |
| voter_count | integernull | |
| voting_category_option_ratings | array | Only for polls with `voting_categories`: the rating of the option per voting category. The rating fields follow the same visibility rules as the top-level ones. |
| settings | object | |
| attachment | object | |
| approval_state | stringnull | Admin access only |
| approval_state_updated_at | stringnull | Admin access only |
| archived | booleannull | Admin access only |
| fraudulent_count | integernull | Admin access only |
| state_change_message | stringnull | Admin access only |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/pollunit-com/json-schema/pollunit-com-option-schema.json",
"title": "Option",
"description": "Full representation of a single poll option. Top-level fields vary by option type and are included conditionally depending on the poll's visibility settings and your access level (admin vs. member); type-specific configuration is grouped under `settings`.",
"x-generated": "2026-11-21",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/pollunit-com-openapi.yml#/components/schemas/Option",
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Option public_id"
},
"admin_url": {
"type": [
"string",
"null"
],
"format": "uri",
"description": "Admin access only"
},
"public_url": {
"type": "string",
"format": "uri"
},
"parent_option_id": {
"type": [
"string",
"null"
]
},
"type": {
"type": "string",
"description": "Option STI class"
},
"content": {
"type": [
"string",
"null"
]
},
"subtitle": {
"type": [
"string",
"null"
]
},
"description": {
"type": [
"string",
"null"
]
},
"author_name": {
"type": [
"string",
"null"
]
},
"position": {
"type": [
"integer",
"null"
]
},
"state": {
"type": [
"string",
"null"
],
"enum": [
"incoming",
"investigation",
"planned",
"in_implementation",
"rejected",
"done"
],
"description": "Collection polls only"
},
"rank": {
"type": [
"integer",
"null"
]
},
"rating": {
"type": [
"number",
"null"
],
"format": "float"
},
"average_rating": {
"type": [
"number",
"null"
],
"format": "float"
},
"best_rating": {
"type": [
"boolean",
"null"
]
},
"selected": {
"type": [
"boolean",
"null"
]
},
"child_option_type": {
"type": [
"string",
"null"
]
},
"data": {
"type": [
"object",
"null"
],
"description": "Option-type-specific payload (e.g. location_data for location options)"
},
"drawing_type": {
"type": [
"string",
"null"
],
"enum": [
"free_sketch",
"sign",
"draw_on_image"
]
},
"input_type": {
"type": [
"string",
"null"
],
"description": "Input options only",
"enum": [
"text",
"textarea",
"email",
"url",
"select",
"radio",
"multi_select",
"checkbox",
"number",
"number_float",
"file",
"date",
"datetime"
]
},
"location_type": {
"type": [
"string",
"null"
],
"enum": [
"point",
"route",
"polygon",
"circle",
"rectangle",
"points"
]
},
"options_count": {
"type": [
"integer",
"null"
]
},
"paid": {
"type": [
"boolean",
"null"
]
},
"privacy_policy_accepted": {
"type": [
"boolean",
"null"
]
},
"processing": {
"type": [
"boolean",
"null"
]
},
"rotation": {
"type": [
"integer",
"null"
]
},
"terms_accepted": {
"type": [
"boolean",
"null"
]
},
"info_link": {
"type": [
"string",
"null"
]
},
"info_link_title": {
"type": [
"string",
"null"
]
},
"is_other_answer": {
"type": "boolean",
"description": "The \"other\" option of a select input."
},
"start_date": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"end_date": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"created_at": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"updated_at": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"video_thumb_path": {
"type": [
"string",
"null"
]
},
"vimeo_id": {
"type": [
"string",
"null"
]
},
"youtube_id": {
"type": [
"string",
"null"
]
},
"voter_count": {
"type": [
"integer",
"null"
]
},
"voting_category_option_ratings": {
"type": "array",
"description": "Only for polls with `voting_categories`: the rating of the option per voting category. The rating fields follow the same visibility rules as the top-level ones.",
"items": {
"type": "object",
"properties": {
"voting_category_id": {
"type": "integer"
},
"rating": {
"type": [
"number",
"null"
],
"format": "float"
},
"average_rating": {
"type": [
"number",
"null"
],
"format": "float"
},
"best_rating": {
"type": [
"boolean",
"null"
]
},
"selected": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"voting_category_id"
]
}
},
"settings": {
"$ref": "#/$defs/OptionSettings"
},
"attachment": {
"$ref": "#/$defs/OptionAttachment"
},
"approval_state": {
"type": [
"string",
"null"
],
"description": "Admin access only",
"enum": [
"unreviewed",
"approved",
"disapproved"
]
},
"approval_state_updated_at": {
"type": [
"string",
"null"
],
"format": "date-time",
"description": "Admin access only"
},
"archived": {
"type": [
"boolean",
"null"
],
"description": "Admin access only"
},
"fraudulent_count": {
"type": [
"integer",
"null"
],
"description": "Admin access only"
},
"state_change_message": {
"type": [
"string",
"null"
],
"description": "Admin access only"
}
},
"required": [
"id",
"type",
"public_url"
],
"$defs": {
"OptionAttachment": {
"type": [
"object",
"null"
],
"description": "URLs of the file uploaded to the option, returned by both the list and the show endpoint. Only present for option types that carry an uploaded file (image, photo, audio, drawing and advent calendar options); youtube/vimeo and uploaded-video options do not have it. The `attachment_url_*` keys are the processed derivatives that exist for this file, so which ones are returned depends on the uploaded file: images and videos get `large`, `thumb` and `social`, an audio file only gets `cover` if it has embedded cover art, and a file that is still processing has none at all. The whole object is omitted when none of its keys apply, e.g. an option without a file or a still-processing upload you have no download access to.",
"properties": {
"attachment_url_large": {
"type": [
"string",
"null"
],
"format": "uri",
"description": "Long edge resized to 1920px (webp)."
},
"attachment_url_thumb": {
"type": [
"string",
"null"
],
"format": "uri",
"description": "Width resized to 496px (webp)."
},
"attachment_url_social": {
"type": [
"string",
"null"
],
"format": "uri",
"description": "Long edge resized to 1200px (jpg), used for social media previews."
},
"attachment_url_cover": {
"type": [
"string",
"null"
],
"format": "uri",
"description": "Cover art extracted from an audio file."
},
"attachment_original_url": {
"type": [
"string",
"null"
],
"format": "uri",
"description": "The file as it was uploaded. Admin access only. For images and videos this falls back to the `large` derivative unless the account keeps source files."
}
}
},
"OptionSettings": {
"type": "object",
"description": "Option-type-specific configuration, grouped for readability.",
"properties": {
"allow_other_answer": {
"type": [
"boolean",
"null"
],
"description": "Select inputs only. Adds an \"other\" option with a free text answer."
},
"allowed_values": {
"type": [
"array",
"null"
],
"items": {
"type": "string"
}
},
"column_width": {
"type": [
"integer",
"null"
]
},
"correct_values": {
"type": [
"array",
"null"
],
"items": {
"type": "string"
},
"description": "Fields of quiz steps (`entry_quiz`) only, admin access only. Accepted answers; for checkboxes `1` (checked) or `0` (unchecked)."
},
"points_value": {
"type": [
"integer",
"null"
],
"description": "Fields of quiz steps (`entry_quiz`) only, admin access only. Points for a correct answer when `require_correct_answers` is false."
},
"dot_vote_icon": {
"type": [
"string",
"null"
],
"enum": [
"dot",
"heart",
"star",
"yes"
]
},
"mandatory": {
"type": [
"boolean",
"null"
]
},
"multiline": {
"type": [
"boolean",
"null"
]
},
"random_subset_size": {
"type": [
"integer",
"null"
],
"description": "Survey steps only. Each participant answers this many randomly chosen options."
},
"randomize_options": {
"type": [
"boolean",
"null"
]
},
"require_correct_answers": {
"type": [
"boolean",
"null"
],
"description": "Survey steps only."
},
"require_vote": {
"type": [
"boolean",
"null"
]
},
"show_as_list": {
"type": [
"boolean",
"null"
]
},
"single_rating_step": {
"type": "boolean",
"description": "Rating survey steps only. The step title is the question and one rating control is shown. Fixed after creation."
},
"survey_step_rating_method": {
"type": [
"string",
"null"
],
"enum": [
"average_by_voted",
"average_by_all_voters"
],
"description": "Survey steps only."
},
"survey_step_type": {
"type": [
"string",
"null"
],
"enum": [
"info",
"entry",
"rating",
"choice",
"drawing",
"location",
"entry_quiz"
]
},
"survey_step_vote_limit_per_option": {
"type": [
"integer",
"null"
]
},
"survey_step_vote_limit_per_option_min": {
"type": [
"integer",
"null"
]
},
"survey_step_vote_limit_per_voter": {
"type": [
"integer",
"null"
]
},
"survey_step_vote_type": {
"type": [
"string",
"null"
],
"enum": [
"Votes::BooleanVote",
"Votes::BooleanPlusVote",
"Votes::BooleanThumbVote",
"Votes::BooleanPlusThumbVote",
"Votes::BooleanHeartVote",
"Votes::RatingVote",
"Votes::DotVote",
"Votes::RangeVote",
"Votes::EmojiVote",
"Votes::SuperlativeVote",
"Votes::RankedVote",
"Votes::MatrixVotes::AgreementVote",
"Votes::MatrixVotes::BestVote",
"Votes::MatrixVotes::FrequencyVote",
"Votes::MatrixVotes::ImportanceVote",
"Votes::MatrixVotes::LikelihoodVote",
"Votes::MatrixVotes::LoveHateVote",
"Votes::MatrixVotes::SatisfactionVote",
"Votes::MatrixVotes::YesNoVote",
"Votes::MatrixVotes::CustomVote",
"Votes::FileVote",
"Votes::InputVote",
"Votes::LocationVote"
],
"description": "Survey steps only. The allowed subset depends on `survey_step_type`."
},
"voter_limit": {
"type": [
"integer",
"null"
]
}
}
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
curl "https://apis.io/api/v1/json-schemas/pollunit-com-option"
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.