adult
Optional Field
This field is optional, but omitting it may leave out functionality on Prisjakt for your offers
Description
Should be used for tagging products for an adult audience. Not used to describe age_group
, but for specific product types, such as sex toys.
Validation Rules
- Should be one of the examples in valid examples
Best Practices
Don´t
- Don't use adult to indicate
age_group
Example Values
Here are examples of how a valid adult value should look like in XML and CSV (with header) respectively.
- XML
- CSV
Valid Value
<g:adult>true</g:adult>
Click to show more valid XML examples
<g:adult>true</g:adult>
<g:adult>false</g:adult>
<g:adult>yes</g:adult>
<g:adult>no</g:adult>
<g:adult>YES</g:adult>
<g:adult>NO</g:adult>
<g:adult>tRuE</g:adult>
<g:adult>fAlSE</g:adult>
Valid Value
adult
true
Click to show more valid CSV examples
adult
true
adult
false
adult
yes
adult
no
adult
YES
adult
NO
adult
tRuE
adult
fAlSE
Error Codes
Below you will find possible error codes generated when validating this field alongside with an example in XML and CSV that would trigger the code. Please refer to the validation rules to understand the cause.
- XML
- CSV
<g:adult>unknown</g:adult>
danger
Properties
Property | Value | Description |
---|---|---|
Data Type | Boolean | Closest data type in code |
Nested | False | Defines if this field consists of one or more sub-fields |
Case Sensitive | False | If small or large letters matter for this field |
Repeatable | False | If you can supply multiple items of this field (it´s a list) |
Repeatable limit | 0 | If a list, this specifices the max number of items |
Changelog
📅 2022-12-07
Added
Initial definition