ShortAnswerFormFieldSpecification

This page describes the ShortAnswerFormFieldSpecification type.

This type is derived from https://schema.org/PropertyValueSpecification, which means that any of this type's properties within schema.org may also be used. Note however the properties on this page must be used in preference if a relevant property is available.

Properties

Required properties

Property

Expected Type

Description

@type

Text

Must always be present and set to "@type": "ShortAnswerFormFieldSpecification"

@id

URL

A unique URI-based identifier for the record.

@id properties are used as identifiers for compatibility with JSON-LD. The value of such a property must always be an absolute URI that provides a stable globally unique identifier for the resource, as described in RFC3986.

The primary purpose of the URI format in this context is to provide natural namespacing for the identifier. Hence, the URI itself may not resolve to a valid endpoint, but must use a domain name controlled by the resource owner (the organisation responsible for the OpenActive open data feed).

Example

"@id": "https://example.com/question1"

name

Text

Display label for the field.

Property

Expected Type

Description

description

Text

Descriptive help plain text for the field, which must not include HTML or other markup.

Optional properties

Property

Expected Type

Description

valueRequired

Boolean

Specifies that a value for the field is required to proceed with the booking.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution License (CC-BY V4.0), and code samples are licensed under the MIT License, for anyone to access, use and share; using attribution "OpenActive".