This operation provides support for retrieving all the Content Fragment Models accessible to the current user, determined via the applied request authorization. By default this call will return a maximum of 50 items.
The caller can define other limits suited to their application (see the limit query
parameter), but the limit cannot be higher than 50. To ask for the next set of items
pass the value of the cursor provided in the response to the cursor query parameter.
A list of Content Fragment Models was successfully returned.
Bad Request. Indicates that the server cannot or will not process the request due to something that is perceived to be a client error. The Problem Details object will provide more information about the exact cause.
Forbidden. Indicates that the server understood the request but refuses to fulfil it.
Not Acceptable. Indicates that the target resource does not have a current representation that would be acceptable to the user agent, according to the proactive negotiation header fields received in the request.
Internal Server Error. Indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.
{- "items": [
- {
- "id": "L2NvbmYvd2tuZC1zaGFyZWQvc2V0dGluZ3MvZGFtL2NmbS9tb2RlbHMvYWR2ZW50dXJl",
- "path": "/conf/wknd-shared/settings/dam/cfm/models/adventure",
- "name": "Adventure"
}
]
}This operation allows creating one or more Content Fragment Models. The server will check
the content-fragment field types and validate if the passed models are present in the
request's payload or already available on the server.
A content-fragment field can also reference the model it belongs to
by listing that model's short path (/conf/<configurationFolder>/<name>) in the field's items.
The request payload to create one or more Content Fragment Models.
The Content Fragment Models were successfully created.
Bad Request. Indicates that the server cannot or will not process the request due to something that is perceived to be a client error. The Problem Details object will provide more information about the exact cause.
Forbidden. Indicates that the server understood the request but refuses to fulfil it.
Not Acceptable. Indicates that the target resource does not have a current representation that would be acceptable to the user agent, according to the proactive negotiation header fields received in the request.
Conflict. Indicates that the request could not be completed due to a conflict with the current state of the target resource.
Unsupported Media Type. Indicates that the origin server is refusing to service the request because the content is in a format not supported by this method on the target resource.
Internal Server Error. Indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.
A content-fragment field references the model it belongs to by listing
that model's short path (/conf/<configurationFolder>/<name>) in items.
The short path can be combined with regular Content Fragment Model IDs in the same items array.
{- "configurationFolder": "/conf/wknd",
- "models": [
- {
- "name": "Article Model",
- "technicalName": "article",
- "fields": [
- {
- "type": "text",
- "name": "title",
- "label": "Title",
- "required": true
}, - {
- "type": "content-fragment",
- "name": "relatedArticles",
- "label": "Related Articles",
- "multiple": true,
- "root": "/content/dam/wknd",
- "items": [
- "/conf/wknd/Article Model",
- "L2NvbmYvZ2xvYmFsL3NldHRpbmdzL2RhbS9jZm0vbW9kZWxzL3NpbXBsZS1jZg"
]
}
]
}
]
}{- "items": [
- {
- "id": "L2NvbmYvZ2xvYmFsL3NldHRpbmdzL2RhbS9jZm0vbW9kZWxzL2Etc2ltcGxlLWNmbQ",
- "path": "/conf/global/settings/dam/cfm/models/a-simple-cfm",
- "name": "A simple CFM"
}
]
}| If-None-Match | string The For more details, please head over to RFC9110. |
OK
Not Modified
Bad Request. Indicates that the server cannot or will not process the request due to something that is perceived to be a client error. The Problem Details object will provide more information about the exact cause.
Forbidden. Indicates that the server understood the request but refuses to fulfil it.
Not Found. Indicates that the origin server did not find a current representation for the target resource or is not willing to disclose that one exists.
Not Acceptable. Indicates that the target resource does not have a current representation that would be acceptable to the user agent, according to the proactive negotiation header fields received in the request.
Internal Server Error. Indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.
{- "id": "L2NvbmYvd2tuZC1zaGFyZWQvc2V0dGluZ3MvZGFtL2NmbS9tb2RlbHMvYWR2ZW50dXJl",
- "path": "/conf/wknd-shared/settings/dam/cfm/models/adventure",
- "name": "Adventure",
- "etag": "eddd95e986a7aff0500f0649bcf6604c",
- "description": "",
- "created": {
- "at": "2023-08-02T16:01:34.582+03:00",
- "by": "admin"
}, - "modified": {
- "at": "2022-06-01T10:17:43.668-07:00",
- "by": "admin"
}, - "locked": false,
- "status": "enabled",
- "previewStatus": "IN_SYNC",
- "fields": [
- {
- "type": "text",
- "name": "title",
- "label": "Title",
- "required": true,
- "multiple": false,
- "maxLength": 255,
- "validationType": "none"
}, - {
- "type": "text",
- "name": "slug",
- "label": "Slug",
- "description": "A short path to uniquely identify the Adventure. Can be used for pathing in client applications.",
- "required": true,
- "multiple": false,
- "maxLength": 255,
- "validationType": "custom",
- "customValidationRegex": "^[a-z0-9\\-_]{5,40}$",
- "customErrorMessage": "Slug must be at least 5 characters in length, lower case, using only letters and numbers and no spaces. Only special characters that can be used are dashes and underscore.."
}, - {
- "type": "long-text",
- "name": "description",
- "label": "Description",
- "description": "An overview of the trip.",
- "required": false,
- "multiple": false,
- "mimeType": "text/html"
}, - {
- "type": "enumeration",
- "name": "adventureType",
- "label": "Adventure Type",
- "required": false,
- "multiple": true,
- "hint": "select",
- "values": [
- {
- "key": "Day Trip",
- "value": "Day Trip"
}, - {
- "key": "Overnight Trip",
- "value": "Overnight Trip"
}, - {
- "key": "Training Session",
- "value": "Training Session"
}
], - "placeholder": "Select the type of adventure"
}, - {
- "type": "text",
- "name": "tripLength",
- "label": "Trip Length",
- "required": false,
- "multiple": false,
- "maxLength": 255,
- "validationType": "none"
}, - {
- "type": "enumeration",
- "name": "activity",
- "label": "Activity",
- "required": false,
- "multiple": true,
- "hint": "select",
- "values": [
- {
- "key": "Camping",
- "value": "Camping"
}, - {
- "key": "Surfing",
- "value": "Surfing"
}, - {
- "key": "Skiing",
- "value": "Skiing"
}, - {
- "key": "Cycling",
- "value": "Cycling"
}, - {
- "key": "Hiking",
- "value": "Hiking"
}, - {
- "key": "Skateboarding",
- "value": "Skateboarding"
}, - {
- "key": "Rock Climbing",
- "value": "Rock Climbing"
}, - {
- "key": "Running",
- "value": "Running"
}, - {
- "key": "Snowboarding",
- "value": "Snowboarding"
}, - {
- "key": "Social",
- "value": "Social"
}
], - "placeholder": "Select the activity"
}, - {
- "type": "number",
- "name": "groupSize",
- "label": "Group Size",
- "description": "Group size",
- "required": false,
- "multiple": false,
- "min": 1
}, - {
- "type": "enumeration",
- "name": "difficulty",
- "label": "Difficulty",
- "required": false,
- "multiple": true,
- "hint": "select",
- "values": [
- {
- "key": "Beginner",
- "value": "Beginner"
}, - {
- "key": "Intermediate",
- "value": "Intermediate"
}, - {
- "key": "Advanced",
- "value": "Advanced"
}, - {
- "key": "Expert",
- "value": "Expert"
}
], - "placeholder": "Select the difficulty level"
}, - {
- "type": "float-number",
- "name": "price",
- "label": "Price",
- "description": "Price of the Adventure",
- "required": false,
- "multiple": false,
- "defaultValue": 100
}, - {
- "type": "content-reference",
- "name": "primaryImage",
- "label": "Primary Image",
- "required": false,
- "multiple": false,
- "showThumbnail": false,
- "root": "/content/dam/wknd",
- "allowedContentTypes": [
- "image"
]
}, - {
- "type": "long-text",
- "name": "itinerary",
- "label": "Itinerary",
- "required": false,
- "multiple": false,
- "mimeType": "text/html"
}, - {
- "type": "long-text",
- "name": "gearList",
- "label": "What to Bring",
- "required": false,
- "multiple": false,
- "mimeType": "text/html"
}
], - "tags": [
- {
- "id": "wknd-shared:season/summer",
- "title": "Summer",
- "i18n": [ ],
- "titlePath": "WKND Shared : Season / Summer",
- "name": "summer",
- "path": "/content/cq:tags/wknd-shared/season/summer",
- "description": ""
}, - {
- "id": "wknd-shared:season/spring",
- "title": "Spring",
- "i18n": [ ],
- "titlePath": "WKND Shared : Season / Spring",
- "name": "spring",
- "path": "/content/cq:tags/wknd-shared/season/spring",
- "description": ""
}
], - "previewUrlPattern": "http://localhost:4502/${contentFragment.model.name}/${contentFragment.id}.html"
}This operation allows retrieving the headers for a Content Fragment Model, when a client needs to execute subsequent operations that
need to be consistent (e.g. check an ETag value, check if the model still exists, etc.).
| If-None-Match | string The For more details, please head over to RFC9110. |
OK
Not Modified
Bad Request
Forbidden
Not Found
Internal Server Error
This operation allows editing a Content Fragment Model. The changes are passed as JSON Patch documents.
Save conflicts are detected by leveraging conditional HTTP
requests. When a conflict occurs, the server will reply with a 412 response. It becomes the caller's
responsibility to resolve the conflict, either by accepting the values from the server, or by overwriting them.
| If-None-Match | string The For more details, please head over to RFC9110. |
| If-Match required | string The For more details, please head over to RFC9110. |
OK
Bad Request. Indicates that the server cannot or will not process the request due to something that is perceived to be a client error. The Problem Details object will provide more information about the exact cause.
Forbidden. Indicates that the server understood the request but refuses to fulfil it.
Not Found. Indicates that the origin server did not find a current representation for the target resource or is not willing to disclose that one exists.
Not Acceptable. Indicates that the target resource does not have a current representation that would be acceptable to the user agent, according to the proactive negotiation header fields received in the request.
Conflict. Indicates that the request could not be completed due to a conflict with the current state of the target resource.
Precondition Failed. Indicates that one or more conditions given in the request header fields evaluated to false when tested on the server.
Unsupported Media Type. Indicates that the origin server is refusing to service the request because the content is in a format not supported by this method on the target resource.
Precondition Required. Indicates that the origin server requires the request to be conditional.
Internal Server Error. Indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.
[- {
- "op": "add",
- "path": "/dc:title",
- "value": "Flower Photo"
}
]{- "id": "L2NvbmYvd2tuZC1zaGFyZWQvc2V0dGluZ3MvZGFtL2NmbS9tb2RlbHMvYWR2ZW50dXJl",
- "path": "/conf/wknd-shared/settings/dam/cfm/models/adventure",
- "name": "Name changed by PATCH CFM",
- "description": "",
- "created": {
- "at": "2023-08-02T16:01:34.582+03:00",
- "by": "admin"
}, - "modified": {
- "at": "2022-06-01T10:17:43.668-07:00",
- "by": "admin"
}, - "locked": false,
- "status": "enabled",
- "fields": [
- {
- "type": "text",
- "name": "title",
- "label": "Title",
- "required": true,
- "multiple": false,
- "maxLength": 255,
- "validationType": "none"
}, - {
- "type": "text",
- "name": "slug",
- "label": "Slug",
- "description": "A short path to uniquely identify the Adventure. Can be used for pathing in client applications.",
- "required": true,
- "multiple": false,
- "maxLength": 255,
- "validationType": "custom",
- "customValidationRegex": "^[a-z0-9\\-_]{5,40}$",
- "customErrorMessage": "Slug must be at least 5 characters in length, lower case, using only letters and numbers and no spaces. Only special characters that can be used are dashes and underscore.."
}, - {
- "type": "long-text",
- "name": "description",
- "label": "Description",
- "description": "An overview of the trip.",
- "required": false,
- "multiple": false,
- "mimeType": "text/html"
}, - {
- "type": "enumeration",
- "name": "adventureType",
- "label": "Adventure Type",
- "required": false,
- "multiple": true,
- "hint": "select",
- "values": [
- {
- "key": "Day Trip",
- "value": "Day Trip"
}, - {
- "key": "Overnight Trip",
- "value": "Overnight Trip"
}, - {
- "key": "Training Session",
- "value": "Training Session"
}
]
}, - {
- "type": "text",
- "name": "tripLength",
- "label": "Trip Length",
- "required": false,
- "multiple": false,
- "maxLength": 255,
- "validationType": "none"
}, - {
- "type": "enumeration",
- "name": "activity",
- "label": "Activity",
- "required": false,
- "multiple": true,
- "hint": "select",
- "values": [
- {
- "key": "Camping",
- "value": "Camping"
}, - {
- "key": "Surfing",
- "value": "Surfing"
}, - {
- "key": "Skiing",
- "value": "Skiing"
}, - {
- "key": "Cycling",
- "value": "Cycling"
}, - {
- "key": "Hiking",
- "value": "Hiking"
}, - {
- "key": "Skateboarding",
- "value": "Skateboarding"
}, - {
- "key": "Rock Climbing",
- "value": "Rock Climbing"
}, - {
- "key": "Running",
- "value": "Running"
}, - {
- "key": "Snowboarding",
- "value": "Snowboarding"
}, - {
- "key": "Social",
- "value": "Social"
}
]
}, - {
- "type": "number",
- "name": "groupSize",
- "label": "Group Size",
- "description": "Group size",
- "required": false,
- "multiple": false,
- "min": 1
}, - {
- "type": "enumeration",
- "name": "difficulty",
- "label": "Difficulty",
- "required": false,
- "multiple": true,
- "hint": "select",
- "values": [
- {
- "key": "Beginner",
- "value": "Beginner"
}, - {
- "key": "Intermediate",
- "value": "Intermediate"
}, - {
- "key": "Advanced",
- "value": "Advanced"
}, - {
- "key": "Expert",
- "value": "Expert"
}
]
}, - {
- "type": "float-number",
- "name": "price",
- "label": "Price",
- "description": "Price of the Adventure",
- "required": false,
- "multiple": false,
- "defaultValue": 100
}, - {
- "type": "content-reference",
- "name": "primaryImage",
- "label": "Primary Image",
- "required": false,
- "multiple": false,
- "showThumbnail": false,
- "root": "/content/dam/wknd",
- "allowedContentTypes": [
- "image"
]
}, - {
- "type": "long-text",
- "name": "itinerary",
- "label": "Itinerary",
- "required": false,
- "multiple": false,
- "mimeType": "text/html"
}, - {
- "type": "long-text",
- "name": "gearList",
- "label": "What to Bring",
- "required": false,
- "multiple": false,
- "mimeType": "text/html"
}
], - "tags": [
- {
- "id": "wknd-shared:season/summer",
- "title": "Summer",
- "i18n": [ ],
- "titlePath": "WKND Shared : Season / Summer",
- "name": "summer",
- "path": "/content/cq:tags/wknd-shared/season/summer",
- "description": ""
}, - {
- "id": "wknd-shared:season/spring",
- "title": "Spring",
- "i18n": [ ],
- "titlePath": "WKND Shared : Season / Spring",
- "name": "spring",
- "path": "/content/cq:tags/wknd-shared/season/spring",
- "description": ""
}
]
}| If-None-Match | string The For more details, please head over to RFC9110. |
| If-Match required | string The For more details, please head over to RFC9110. |
The delete operation completed successfully. The response body doesn't provide any content.
Bad Request. Indicates that the server cannot or will not process the request due to something that is perceived to be a client error. The Problem Details object will provide more information about the exact cause.
Forbidden. Indicates that the server understood the request but refuses to fulfil it.
Not Found. Indicates that the origin server did not find a current representation for the target resource or is not willing to disclose that one exists.
Conflict. Indicates that the request could not be completed due to a conflict with the current state of the target resource.
Precondition Failed. Indicates that one or more conditions given in the request header fields evaluated to false when tested on the server.
Precondition Required. Indicates that the origin server requires the request to be conditional.
Internal Server Error. Indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.
{- "title": "Bad Request",
- "status": 400,
- "detail": "Bad request, please check that you have provided the correct parameters and that they are valid."
}This operation starts an AEM workflow for publishing Content Fragment Models.
Request parameters to publish content fragment models.
OK
Bad Request. Indicates that the server cannot or will not process the request due to something that is perceived to be a client error. The Problem Details object will provide more information about the exact cause.
Not Found. Indicates that the origin server did not find a current representation for the target resource or is not willing to disclose that one exists.
Not Acceptable. Indicates that the target resource does not have a current representation that would be acceptable to the user agent, according to the proactive negotiation header fields received in the request.
Unsupported Media Type. Indicates that the origin server is refusing to service the request because the content is in a format not supported by this method on the target resource.
Internal Server Error. Indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.
{- "ids": [
- "L2NvbmYvd2tuZC1zaGFyZWQvc2V0dGluZ3MvZGFtL2NmbS9tb2RlbHMvYXJ0aWNsZQ==",
- "L2NvbmYvd2tuZC1zaGFyZWQvc2V0dGluZ3MvZGFtL2NmbS9tb2RlbHMvYWR2ZW50dXJl"
], - "filterAllowedModelIdsByStatus": [
- "DRAFT",
- "ENABLED"
], - "workflowModelId": "/etc/workflow/models/scheduled_model_activation_with_references",
- "workflowTitle": "Workflow Title",
- "scheduledTime": 1635244063701
}{- "workflowInstanceId": "/var/workflow/instances/server0/2022-01-21/scheduled_activation_with_references_23",
- "items": [
- {
- "path": "/content/dam/fragment",
- "status": "SUCCESS_TRIGGERED"
}, - {
- "path": "/content/dam/missing_fragment",
- "status": "ERROR_NOT_FOUND"
}, - {
- "path": "/content/dam/referenced_fragment",
- "status": "ERROR_REFERENCED"
}
]
}OK
Bad Request. Indicates that the server cannot or will not process the request due to something that is perceived to be a client error. The Problem Details object will provide more information about the exact cause.
Not Acceptable. Indicates that the target resource does not have a current representation that would be acceptable to the user agent, according to the proactive negotiation header fields received in the request.
Unsupported Media Type. Indicates that the origin server is refusing to service the request because the content is in a format not supported by this method on the target resource.
Internal Server Error. Indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.
{- "ids": [
- "string"
]
}{- "items": [
- {
- "id": "string",
- "scheduledPublicationStatus": {
- "action": "PUBLISH",
- "status": "PENDING",
- "scheduledBy": "admin",
- "scheduledDate": "2023-08-04T12:11:09.120Z"
}
}
]
}A response containing a UI schema
Bad Request. Indicates that the server cannot or will not process the request due to something that is perceived to be a client error. The Problem Details object will provide more information about the exact cause.
Not Found. Indicates that the origin server did not find a current representation for the target resource or is not willing to disclose that one exists.
Not Acceptable. Indicates that the target resource does not have a current representation that would be acceptable to the user agent, according to the proactive negotiation header fields received in the request.
Internal Server Error. Indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.
{- "uiSchema": {
- "type": "HorizontalLayout",
- "elements": [
- {
- "type": "Control",
- "label": "Source",
- "scope": "#/properties/source"
}, - {
- "type": "Control",
- "label": "Image",
- "scope": "#/properties/image"
}, - {
- "type": "Control",
- "label": "Video",
- "scope": "#/properties/video"
}, - {
- "type": "Control",
- "label": "Image",
- "scope": "#/properties/image"
}
]
}, - "staticSchema": {
- "type": "object",
- "properties": {
- "source": {
- "type": "boolean",
- "description": "media source"
}, - "image": {
- "type": "string",
- "description": "image source"
}, - "video": {
- "type": "string",
- "description": "video source"
}
}, - "required": [
- "source"
]
}
}| X-Adobe-Accept-Unsupported-API required | integer The |
| If-Match required | string The For more details, please head over to RFC9110. |
object (Element) Common base interface for any UI schema element. | |
Array of objects (Constraint) |
The UI schema was successfully updated.
Bad Request. Indicates that the server cannot or will not process the request due to something that is perceived to be a client error. The Problem Details object will provide more information about the exact cause.
Forbidden. Indicates that the server understood the request but refuses to fulfil it.
Not Found. Indicates that the origin server did not find a current representation for the target resource or is not willing to disclose that one exists.
Not Acceptable. Indicates that the target resource does not have a current representation that would be acceptable to the user agent, according to the proactive negotiation header fields received in the request.
Precondition Failed. Indicates that one or more conditions given in the request header fields evaluated to false when tested on the server.
Unsupported Media Type. Indicates that the origin server is refusing to service the request because the content is in a format not supported by this method on the target resource.
Precondition Required. Indicates that the origin server requires the request to be conditional.
Internal Server Error. Indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.
{- "uiSchema": {
- "type": "Categorization",
- "elements": [
- {
- "type": "Category",
- "label": "Personal Information",
- "elements": [
- {
- "type": "Control",
- "scope": "#/properties/firstName"
}, - {
- "type": "Control",
- "scope": "#/properties/secondName"
}
]
}, - {
- "type": "Category",
- "label": "Address",
- "elements": [
- {
- "type": "Control",
- "scope": "#/properties/address/properties/street"
}, - {
- "type": "Control",
- "scope": "#/properties/address/properties/streetNumber"
}
]
}
]
}
}{- "title": "Bad Request",
- "status": 400,
- "detail": "Bad request, please check that you have provided the correct parameters and that they are valid."
}This operation copies the Content Fragment Model from one location to another.
The Content Fragment Model was successfully copied.
Bad Request. Indicates that the server cannot or will not process the request due to something that is perceived to be a client error. The Problem Details object will provide more information about the exact cause.
Forbidden. Indicates that the server understood the request but refuses to fulfil it.
Not Found. Indicates that the origin server did not find a current representation for the target resource or is not willing to disclose that one exists.
Not Acceptable. Indicates that the target resource does not have a current representation that would be acceptable to the user agent, according to the proactive negotiation header fields received in the request.
Unsupported Media Type. Indicates that the origin server is refusing to service the request because the content is in a format not supported by this method on the target resource.
Internal Server Error. Indicates that the server encountered an unexpected condition that prevented it from fulfilling the request.
{- "parentPath": "string",
- "name": "string"
}{- "id": "L2NvbmYvd2tuZC1zaGFyZWQvc2V0dGluZ3MvZGFtL2NmbS9tb2RlbHMvYWR2ZW50dXJl",
- "path": "/conf/wknd-shared/settings/dam/cfm/models/adventure",
- "name": "Adventure",
- "etag": "eddd95e986a7aff0500f0649bcf6604c",
- "description": "",
- "created": {
- "at": "2023-08-02T16:01:34.582+03:00",
- "by": "admin"
}, - "modified": {
- "at": "2022-06-01T10:17:43.668-07:00",
- "by": "admin"
}, - "locked": false,
- "status": "enabled",
- "previewStatus": "IN_SYNC",
- "fields": [
- {
- "type": "text",
- "name": "title",
- "label": "Title",
- "required": true,
- "multiple": false,
- "maxLength": 255,
- "validationType": "none"
}, - {
- "type": "text",
- "name": "slug",
- "label": "Slug",
- "description": "A short path to uniquely identify the Adventure. Can be used for pathing in client applications.",
- "required": true,
- "multiple": false,
- "maxLength": 255,
- "validationType": "custom",
- "customValidationRegex": "^[a-z0-9\\-_]{5,40}$",
- "customErrorMessage": "Slug must be at least 5 characters in length, lower case, using only letters and numbers and no spaces. Only special characters that can be used are dashes and underscore.."
}, - {
- "type": "long-text",
- "name": "description",
- "label": "Description",
- "description": "An overview of the trip.",
- "required": false,
- "multiple": false,
- "mimeType": "text/html"
}, - {
- "type": "enumeration",
- "name": "adventureType",
- "label": "Adventure Type",
- "required": false,
- "multiple": true,
- "hint": "select",
- "values": [
- {
- "key": "Day Trip",
- "value": "Day Trip"
}, - {
- "key": "Overnight Trip",
- "value": "Overnight Trip"
}, - {
- "key": "Training Session",
- "value": "Training Session"
}
], - "placeholder": "Select the type of adventure"
}, - {
- "type": "text",
- "name": "tripLength",
- "label": "Trip Length",
- "required": false,
- "multiple": false,
- "maxLength": 255,
- "validationType": "none"
}, - {
- "type": "enumeration",
- "name": "activity",
- "label": "Activity",
- "required": false,
- "multiple": true,
- "hint": "select",
- "values": [
- {
- "key": "Camping",
- "value": "Camping"
}, - {
- "key": "Surfing",
- "value": "Surfing"
}, - {
- "key": "Skiing",
- "value": "Skiing"
}, - {
- "key": "Cycling",
- "value": "Cycling"
}, - {
- "key": "Hiking",
- "value": "Hiking"
}, - {
- "key": "Skateboarding",
- "value": "Skateboarding"
}, - {
- "key": "Rock Climbing",
- "value": "Rock Climbing"
}, - {
- "key": "Running",
- "value": "Running"
}, - {
- "key": "Snowboarding",
- "value": "Snowboarding"
}, - {
- "key": "Social",
- "value": "Social"
}
], - "placeholder": "Select the activity"
}, - {
- "type": "number",
- "name": "groupSize",
- "label": "Group Size",
- "description": "Group size",
- "required": false,
- "multiple": false,
- "min": 1
}, - {
- "type": "enumeration",
- "name": "difficulty",
- "label": "Difficulty",
- "required": false,
- "multiple": true,
- "hint": "select",
- "values": [
- {
- "key": "Beginner",
- "value": "Beginner"
}, - {
- "key": "Intermediate",
- "value": "Intermediate"
}, - {
- "key": "Advanced",
- "value": "Advanced"
}, - {
- "key": "Expert",
- "value": "Expert"
}
], - "placeholder": "Select the difficulty level"
}, - {
- "type": "float-number",
- "name": "price",
- "label": "Price",
- "description": "Price of the Adventure",
- "required": false,
- "multiple": false,
- "defaultValue": 100
}, - {
- "type": "content-reference",
- "name": "primaryImage",
- "label": "Primary Image",
- "required": false,
- "multiple": false,
- "showThumbnail": false,
- "root": "/content/dam/wknd",
- "allowedContentTypes": [
- "image"
]
}, - {
- "type": "long-text",
- "name": "itinerary",
- "label": "Itinerary",
- "required": false,
- "multiple": false,
- "mimeType": "text/html"
}, - {
- "type": "long-text",
- "name": "gearList",
- "label": "What to Bring",
- "required": false,
- "multiple": false,
- "mimeType": "text/html"
}
], - "tags": [
- {
- "id": "wknd-shared:season/summer",
- "title": "Summer",
- "i18n": [ ],
- "titlePath": "WKND Shared : Season / Summer",
- "name": "summer",
- "path": "/content/cq:tags/wknd-shared/season/summer",
- "description": ""
}, - {
- "id": "wknd-shared:season/spring",
- "title": "Spring",
- "i18n": [ ],
- "titlePath": "WKND Shared : Season / Spring",
- "name": "spring",
- "path": "/content/cq:tags/wknd-shared/season/spring",
- "description": ""
}
], - "previewUrlPattern": "http://localhost:4502/${contentFragment.model.name}/${contentFragment.id}.html"
}