|
|
@ -42,9 +42,9 @@ properties:
|
|
|
|
example: "mxc://example.org/aBcDeFgH"
|
|
|
|
example: "mxc://example.org/aBcDeFgH"
|
|
|
|
field_types:
|
|
|
|
field_types:
|
|
|
|
description: |-
|
|
|
|
description: |-
|
|
|
|
The type definitions for the fields defined in the `user_fields` and
|
|
|
|
The type definitions for the fields defined in `user_fields` and
|
|
|
|
`location_fields`. Each entry in those arrays MUST have an entry here. The
|
|
|
|
`location_fields`. Each entry in those arrays MUST have an entry here.
|
|
|
|
`string` key for this object is field name itself.
|
|
|
|
The `string` key for this object is the field name itself.
|
|
|
|
|
|
|
|
|
|
|
|
May be an empty object if no fields are defined.
|
|
|
|
May be an empty object if no fields are defined.
|
|
|
|
type: object
|
|
|
|
type: object
|
|
|
@ -60,7 +60,7 @@ properties:
|
|
|
|
may apply additional validation or filtering.
|
|
|
|
may apply additional validation or filtering.
|
|
|
|
type: string
|
|
|
|
type: string
|
|
|
|
placeholder:
|
|
|
|
placeholder:
|
|
|
|
description: An placeholder serving as a valid example of the field value.
|
|
|
|
description: A placeholder serving as a valid example of the field value.
|
|
|
|
type: string
|
|
|
|
type: string
|
|
|
|
required: ['regexp', 'placeholder']
|
|
|
|
required: ['regexp', 'placeholder']
|
|
|
|
example: {
|
|
|
|
example: {
|
|
|
|