{
    "description": "A **custom field answer** stores arbitrary data about an applicant, answering the question posed by a **custom field**.",
    "links": [
        {
            "description": "Display an existing custom field answer.",
            "href": "/api/v1/user_identities/:user_identity_id/programs/:program_id/applicants_by_cas_id/:applicant_cas_id/custom_field_answers/:custom_field_id",
            "http_header": {
                "x-api-key": "0123456789abcdef0123456789abcdef"
            },
            "method": "GET",
            "rel": "self",
            "title": "Show"
        },
        {
            "description": "Store a **custom field** value.  If a value has not previously been stored, this *creates* an answer.  Otherwise, this *updates* an existing answer.",
            "href": "/api/v1/user_identities/:user_identity_id/programs/:program_id/applicants_by_cas_id/:applicant_cas_id/custom_field_answers/:custom_field_id",
            "http_header": {
                "x-api-key": "0123456789abcdef0123456789abcdef"
            },
            "method": "PUT",
            "rel": "update",
            "schema": {
                "properties": {
                    "custom_field_answer": {
                        "properties": {
                            "field_type": {
                                "description": "Type of data that the **custom field** stores.",
                                "enum": [
                                    "select"
                                ],
                                "example": "select",
                                "type": "string"
                            },
                            "value": {
                                "description": "The select value to be stored as an answer to the **custom field**.  The value must be one of the valid values configured on the custom field.",
                                "example": "Gryffindor",
                                "type": [
                                    "string",
                                    "null"
                                ]
                            }
                        },
                        "required": [
                            "field_type",
                            "value"
                        ],
                        "type": "object"
                    }
                },
                "type": "object"
            },
            "title": "Store"
        },
        {
            "description": "Clear an existing custom field answer.  (Same semantics as `PUT` with `\"value\": null`.)  This is a \"soft delete\" that tracks who made the change.",
            "href": "/api/v1/user_identities/:user_identity_id/programs/:program_id/applicants_by_cas_id/:applicant_cas_id/custom_field_answers/:custom_field_id",
            "http_header": {
                "x-api-key": "0123456789abcdef0123456789abcdef"
            },
            "method": "DELETE",
            "rel": "destroy",
            "targetSchema": {
                "properties": {
                    "custom_field_answer": {
                        "properties": {
                            "custom_field_id": {
                                "example": 4,
                                "type": "integer"
                            },
                            "field_type": {
                                "enum": [
                                    "select"
                                ],
                                "example": "select",
                                "type": "string"
                            },
                            "href": {
                                "example": "/api/v1/user_identities/1/programs/42023191739237/applicants_by_cas_id/3/custom_field_answers/4",
                                "pattern": "/api/v1/user_identities/\\d+/programs/\\d+/applicants_by_cas_id/\\d+/custom_field_answers/\\d+",
                                "type": "string"
                            },
                            "label": {
                                "example": "Preferred house",
                                "type": "string"
                            },
                            "value": {
                                "example": null,
                                "type": "null"
                            }
                        },
                        "type": "object"
                    }
                },
                "type": "object"
            },
            "title": "Destroy"
        }
    ],
    "properties": {
        "custom_field_answer": {
            "properties": {
                "custom_field_id": {
                    "description": "Unique identifier of the **custom field** that this answers.",
                    "example": 4,
                    "type": "integer"
                },
                "field_type": {
                    "description": "Type of data that the **custom field** stores.",
                    "enum": [
                        "select"
                    ],
                    "example": "select",
                    "type": "string"
                },
                "href": {
                    "description": "Hypertext reference to this resource.",
                    "example": "/api/v1/user_identities/1/programs/42023191739237/applicants_by_cas_id/3/custom_field_answers/4",
                    "pattern": "/api/v1/user_identities/\\d+/programs/\\d+/applicants_by_cas_id/\\d+/custom_field_answers/\\d+",
                    "type": "string"
                },
                "label": {
                    "description": "Human-readable label of the **custom field** that this answers.",
                    "example": "Preferred house",
                    "type": "string"
                },
                "value": {
                    "description": "The select value stored as an answer to the **custom field**.  The value must be one of the valid values configured on the custom field.",
                    "example": "Gryffindor",
                    "type": [
                        "string",
                        "null"
                    ]
                }
            },
            "type": "object"
        }
    },
    "title": "Custom Field Answer (Select)",
    "type": "object"
}