From 2367838e73c5f8d5988ee277f2df7843a81eaf82 Mon Sep 17 00:00:00 2001 From: jwen Date: Tue, 21 Aug 2018 16:10:03 -0700 Subject: [PATCH] Change @id format uri to uri-reference --- .../campaign/mutationevent.schema.json | 2 +- .../orchestration/reportingevent.schema.json | 81 +++---- .../reportingeventmetrics.schema.json | 42 ++-- .../reportingexternalevent.schema.json | 6 +- .../eligibility-rule.schema.json | 2 +- .../filter-expression.schema.json | 110 +++++---- .../offer-activity.schema.json | 2 +- .../offer-management/offer-filter.schema.json | 2 +- .../offer-placement.schema.json | 2 +- .../offer-management/offer.schema.json | 2 +- .../offer-management/tag.schema.json | 2 +- .../target/activity/activityevent.schema.json | 2 +- .../activityevent/context.schema.json | 2 +- .../activityevent/eventscope.schema.json | 2 +- .../activityevent/optionevent.schema.json | 2 +- .../activityevent/segmentevent.schema.json | 2 +- extensions/aem/user.schema.json | 8 +- extensions/ims/organization.schema.json | 8 +- extensions/ims/user.schema.json | 8 +- schemas/assets/aggregated-asset.schema.json | 17 +- schemas/assets/artboard.schema.json | 8 +- schemas/assets/asset.schema.json | 213 ++++++++---------- schemas/assets/copyright-owner.schema.json | 8 +- schemas/assets/font.schema.json | 49 ++-- schemas/assets/image.schema.json | 47 ++-- .../assets/language-alternative.schema.json | 11 +- schemas/assets/layer-group.schema.json | 11 +- schemas/assets/layer.schema.json | 14 +- schemas/assets/rectangular.schema.json | 11 +- schemas/assets/resource-event.schema.json | 24 +- .../variable-unit-rectangular.schema.json | 14 +- schemas/assets/video.schema.json | 14 +- schemas/channels/adm.schema.json | 41 ++-- schemas/channels/agency.schema.json | 44 ++-- schemas/channels/apns.schema.json | 41 ++-- schemas/channels/application.schema.json | 5 +- schemas/channels/baidu.schema.json | 41 ++-- schemas/channels/channel.schema.json | 56 ++--- schemas/channels/direct-mail.schema.json | 41 ++-- schemas/channels/email.schema.json | 41 ++-- schemas/channels/facebook-feed.schema.json | 44 ++-- schemas/channels/fax.schema.json | 41 ++-- schemas/channels/gcm.schema.json | 41 ++-- schemas/channels/line.schema.json | 41 ++-- schemas/channels/mobile-app.schema.json | 44 ++-- schemas/channels/mpns.schema.json | 41 ++-- schemas/channels/phone.schema.json | 41 ++-- schemas/channels/sms.schema.json | 41 ++-- schemas/channels/twitter-feed.schema.json | 44 ++-- schemas/channels/web.schema.json | 44 ++-- schemas/channels/wechat.schema.json | 41 ++-- schemas/channels/wns.schema.json | 41 ++-- schemas/common/address.schema.json | 20 +- schemas/common/auditable.schema.json | 21 +- .../descriptors/schemadescriptor.schema.json | 2 +- schemas/common/eventenvelope.schema.json | 14 +- schemas/common/extensible.schema.json | 10 +- schemas/common/geo.schema.json | 24 +- schemas/common/geounit.schema.json | 11 +- schemas/common/identity-provider.schema.json | 14 +- schemas/common/organization.schema.json | 34 +-- schemas/common/orgunit.schema.json | 11 +- schemas/common/page.schema.json | 24 +- schemas/common/principal.schema.json | 17 +- schemas/common/selfservice.schema.json | 81 +++---- .../content/component-container.schema.json | 16 +- .../content/componentized-page.schema.json | 32 +-- schemas/content/content.schema.json | 19 +- schemas/content/page-component.schema.json | 8 +- schemas/content/product.schema.json | 51 ++--- schemas/content/productlistitem.schema.json | 34 ++- schemas/content/repository.schema.json | 12 +- schemas/context/advertising-break.schema.json | 4 +- ...ertising-timed-asset-reference.schema.json | 4 +- ...ising-timed-asset-view-details.schema.json | 8 +- schemas/context/advertising.schema.json | 5 +- schemas/context/adviewability.schema.json | 69 ++---- schemas/context/application.schema.json | 20 +- .../beacon-interaction-details.schema.json | 11 +- schemas/context/browserdetails.schema.json | 26 +-- schemas/context/commerce.schema.json | 27 +-- schemas/context/device.schema.json | 29 +-- schemas/context/direct-marketing.schema.json | 20 +- schemas/context/emailaddress.schema.json | 17 +- schemas/context/enduserids.schema.json | 14 +- schemas/context/environment.schema.json | 42 ++-- schemas/context/experienceevent.schema.json | 56 ++--- .../geo-interaction-details.schema.json | 5 +- schemas/context/identity.schema.json | 23 +- .../context/implementationdetails.schema.json | 5 +- schemas/context/marketing.schema.json | 8 +- .../media-timed-asset-reference.schema.json | 4 +- ...media-timed-asset-view-details.schema.json | 4 +- ...-timed-chapter-asset-reference.schema.json | 4 +- ...dia-timed-chapter-view-details.schema.json | 2 +- .../context/media-timed-chapter.schema.json | 2 +- schemas/context/media-timed-qoe.schema.json | 2 +- schemas/context/media-timed.schema.json | 2 +- schemas/context/media.schema.json | 2 +- schemas/context/namespace.schema.json | 11 +- schemas/context/optinout.schema.json | 18 +- schemas/context/person-name.schema.json | 17 +- schemas/context/person.schema.json | 15 +- schemas/context/phonenumber.schema.json | 20 +- schemas/context/place.schema.json | 23 +- schemas/context/placecontext.schema.json | 7 +- schemas/context/poi-detail.schema.json | 2 +- schemas/context/poi-interaction.schema.json | 8 +- schemas/context/profile.schema.json | 60 +++-- .../context/profilestitchidentity.schema.json | 79 ++++--- .../context/pushnotificationtoken.schema.json | 17 +- schemas/context/search.schema.json | 2 +- schemas/context/segmentidentity.schema.json | 13 +- schemas/context/segmentmembership.schema.json | 28 ++- .../context/segmentmembershipitem.schema.json | 6 +- schemas/context/subscription.schema.json | 35 +-- schemas/context/webinfo.schema.json | 11 +- schemas/context/webinteraction.schema.json | 12 +- schemas/context/webpagedetails.schema.json | 21 +- schemas/context/webreferrer.schema.json | 20 +- schemas/data/application-closes.schema.json | 22 +- schemas/data/bitrate-average.schema.json | 2 +- schemas/data/bitrate-changes.schema.json | 2 +- schemas/data/bounces.schema.json | 19 +- schemas/data/buffer-time.schema.json | 2 +- schemas/data/buffers.schema.json | 2 +- schemas/data/cart-abandons.schema.json | 19 +- schemas/data/checkouts.schema.json | 19 +- schemas/data/clicks.schema.json | 16 +- schemas/data/completes.schema.json | 16 +- schemas/data/conversions.schema.json | 9 +- schemas/data/datasource.schema.json | 20 +- schemas/data/discount.schema.json | 21 +- schemas/data/drop-before-starts.schema.json | 2 +- schemas/data/dropped-frames.schema.json | 2 +- schemas/data/errors.schema.json | 2 +- schemas/data/feature-usages.schema.json | 20 +- schemas/data/federated.schema.json | 2 +- schemas/data/first-launches.schema.json | 22 +- schemas/data/firstquartiles.schema.json | 16 +- schemas/data/impressions.schema.json | 16 +- schemas/data/installs.schema.json | 22 +- schemas/data/launches.schema.json | 20 +- schemas/data/linkclicks.schema.json | 21 +- schemas/data/measure.schema.json | 22 +- schemas/data/measuredadnotvisible.schema.json | 9 +- schemas/data/measuredmuted.schema.json | 9 +- .../data/measuredwindowinactive.schema.json | 9 +- schemas/data/media-segment-views.schema.json | 2 +- schemas/data/metricdefinition.schema.json | 34 ++- schemas/data/midpoints.schema.json | 16 +- schemas/data/mirror-pages.schema.json | 19 +- schemas/data/non-deliverables.schema.json | 22 +- schemas/data/not-sent.schema.json | 19 +- schemas/data/opens.schema.json | 19 +- schemas/data/order.schema.json | 16 +- schemas/data/pageviews.schema.json | 19 +- schemas/data/pause-time.schema.json | 2 +- schemas/data/pauses.schema.json | 2 +- schemas/data/paymentitem.schema.json | 19 +- schemas/data/poi-entries.schema.json | 21 +- schemas/data/poi-exits.schema.json | 19 +- schemas/data/product-list-adds.schema.json | 22 +- schemas/data/product-list-opens.schema.json | 22 +- .../data/product-list-removals.schema.json | 19 +- schemas/data/product-list-reopens.schema.json | 19 +- schemas/data/product-list-views.schema.json | 19 +- schemas/data/product-views.schema.json | 19 +- schemas/data/progress10.schema.json | 2 +- schemas/data/progress95.schema.json | 2 +- schemas/data/purchases.schema.json | 19 +- schemas/data/resumes.schema.json | 2 +- schemas/data/save-for-laters.schema.json | 19 +- schemas/data/sends.schema.json | 22 +- schemas/data/stall-time.schema.json | 2 +- schemas/data/stalls.schema.json | 2 +- schemas/data/starts.schema.json | 16 +- schemas/data/thirdquartiles.schema.json | 16 +- schemas/data/time-played.schema.json | 2 +- schemas/data/time-to-start.schema.json | 2 +- schemas/data/total-time-played.schema.json | 2 +- schemas/data/unmeasurableiframe.schema.json | 9 +- schemas/data/unmeasurableother.schema.json | 9 +- schemas/data/unsubscriptions.schema.json | 22 +- schemas/data/upgrades.schema.json | 20 +- schemas/data/user-complaints.schema.json | 22 +- ...viewabilityeligibleimpressions.schema.json | 9 +- schemas/data/viewablecompletes.schema.json | 9 +- .../data/viewablefirstquartiles.schema.json | 9 +- schemas/data/viewableimpressions.schema.json | 9 +- schemas/data/viewablemidpoints.schema.json | 9 +- .../data/viewablethirdquartiles.schema.json | 13 +- .../activity-streams-2/id.schema.json | 2 +- .../schema/geocoordinates.schema.json | 2 +- 194 files changed, 1810 insertions(+), 1991 deletions(-) mode change 100755 => 100644 extensions/adobe/experience/campaign/orchestration/reportingevent.schema.json mode change 100755 => 100644 extensions/adobe/experience/campaign/orchestration/reportingeventmetrics.schema.json diff --git a/extensions/adobe/experience/campaign/mutationevent.schema.json b/extensions/adobe/experience/campaign/mutationevent.schema.json index 10592aa39..b319c2d01 100644 --- a/extensions/adobe/experience/campaign/mutationevent.schema.json +++ b/extensions/adobe/experience/campaign/mutationevent.schema.json @@ -16,7 +16,7 @@ "@id": { "title": "Identifier", "type": "string", - "format": "uri", + "format": "uri-reference", "description": "The unique identifier for the ExperienceEvent." }, "xdm:dataSource": { diff --git a/extensions/adobe/experience/campaign/orchestration/reportingevent.schema.json b/extensions/adobe/experience/campaign/orchestration/reportingevent.schema.json old mode 100755 new mode 100644 index d29fb290f..d088ffd26 --- a/extensions/adobe/experience/campaign/orchestration/reportingevent.schema.json +++ b/extensions/adobe/experience/campaign/orchestration/reportingevent.schema.json @@ -5,8 +5,7 @@ "you may not use this file except in compliance with the License. You may obtain a copy", "of the License at https://creativecommons.org/licenses/by/4.0/" ], - "$id": - "https://ns.adobe.com/experience/campaign/orchestration/reportingevent", + "$id": "https://ns.adobe.com/experience/campaign/orchestration/reportingevent", "$schema": "http://json-schema.org/draft-06/schema#", "title": "User journey reporting event", "type": "object", @@ -29,25 +28,27 @@ "title": "Unique identifier of data entity", "type": "string", "format": "uri", - "description": - "The identifier for the data entity used for data enrichment" + "description": "The identifier for the data entity used for data enrichment" }, "xdm:orgUnit": { "title": "Organizational Unit", "$ref": "https://ns.adobe.com/xdm/common/orgunit", - "description": - "The unit within the organization owning this journey version." + "description": "The unit within the organization owning this journey version." }, "xdm:flowControlType": { "title": "Flow control", "type": "string", "description": "Flow control in the journey triggered by the event.", - "enum": ["end", "jump", "timer", "condition"], + "enum": [ + "end", + "jump", + "timer", + "condition" + ], "meta:enum": { "end": "if the 'end' step has been reached, if this step exists", "jump": "if a jump has been taken", - "timer": - "if a transition has been applied, implying a scheduler notification", + "timer": "if a transition has been applied, implying a scheduler notification", "condition": "if a conditional step has been processed" } }, @@ -55,21 +56,17 @@ "title": "Unique identifier for the flow control", "type": "string", "format": "uri", - "description": - "The identifier of the flow control in a journey version" + "description": "The identifier of the flow control in a journey version" }, "xdm:eventMetrics": { "title": "Metrics to be reported", - "$ref": - "https://ns.adobe.com/experience/campaign/orchestration/reportingeventmetrics", - "description": - "The metrics for actions performed during this observation." + "$ref": "https://ns.adobe.com/experience/campaign/orchestration/reportingeventmetrics", + "description": "The metrics for actions performed during this observation." }, "https://ns.adobe.com/experience/campaign/orchestrationAction": { "title": "Action on step transition", "type": "object", - "description": - "Action taken during a step transition happening for an user in state machine", + "description": "Action taken during a step transition happening for an user in state machine", "properties": { "xdm:actionID": { "title": "Action identifier", @@ -82,30 +79,21 @@ "type": "string", "description": "The type of action to be performed.", "meta:enum": { - "scheduled_notification": - "This action type allows to specify scheduled notifications and wait for the notifications as incoming events for steps", - "http_call": - "This action type is for a HTTP call on an external system", - "action_with_personalization": - "This action type describes an action with personalization that will be resolved at runtime for each voyager instance", - "parameterized_action": - "This action type describes an action with parameterization", - "send_journey_notification": - "This action type is to send notification for another journey", - "acs_writer": - "The ACS writer action performs REST calls to an Adobe campaign standard instance to write data", - "acs_message_center": - "The ACS message center action performs REST calls to an Adobe campaign standard instance to send messages with Message Center" + "scheduled_notification": "This action type allows to specify scheduled notifications and wait for the notifications as incoming events for steps", + "http_call": "This action type is for a HTTP call on an external system", + "action_with_personalization": "This action type describes an action with personalization that will be resolved at runtime for each voyager instance", + "parameterized_action": "This action type describes an action with parameterization", + "send_journey_notification": "This action type is to send notification for another journey", + "acs_writer": "The ACS writer action performs REST calls to an Adobe campaign standard instance to write data", + "acs_message_center": "The ACS message center action performs REST calls to an Adobe campaign standard instance to send messages with Message Center" } } } }, "https://ns.adobe.com/experience/campaign/orchestrationExternalEvent": { "title": "external event received", - "$ref": - "https://ns.adobe.com/experience/campaign/orchestration/reportingexternalevent", - "description": - "External event received, triggering the state transition" + "$ref": "https://ns.adobe.com/experience/campaign/orchestration/reportingexternalevent", + "description": "External event received, triggering the state transition" }, "https://ns.adobe.com/experience/campaign/journey": { "title": "Journey for users", @@ -115,28 +103,29 @@ "@id": { "title": "Journey unique identifier", "type": "string", - "format": "uri", - "description": - "The unique identifier of the journey created by the marketer." + "format": "uri-reference", + "description": "The unique identifier of the journey created by the marketer." } }, - "required": ["@id"] + "required": [ + "@id" + ] }, "https://ns.adobe.com/experience/campaign/journeyVersion": { "title": "Journey version", "type": "object", - "description": - "Schema for describing the version of a journey, where version holds the state machine", + "description": "Schema for describing the version of a journey, where version holds the state machine", "properties": { "@id": { "title": "Journey version identifier", "type": "string", - "format": "uri", - "description": - "The unique identifier denoting the version of journey on which the user is active" + "format": "uri-reference", + "description": "The unique identifier denoting the version of journey on which the user is active" } }, - "required": ["@id"] + "required": [ + "@id" + ] } } } @@ -153,4 +142,4 @@ } ], "meta:status": "stabilizing" -} +} \ No newline at end of file diff --git a/extensions/adobe/experience/campaign/orchestration/reportingeventmetrics.schema.json b/extensions/adobe/experience/campaign/orchestration/reportingeventmetrics.schema.json old mode 100755 new mode 100644 index 1a23dd0d9..9955071fd --- a/extensions/adobe/experience/campaign/orchestration/reportingeventmetrics.schema.json +++ b/extensions/adobe/experience/campaign/orchestration/reportingeventmetrics.schema.json @@ -5,14 +5,14 @@ "you may not use this file except in compliance with the License. You may obtain a copy", "of the License at https://creativecommons.org/licenses/by/4.0/" ], - "$id": - "https://ns.adobe.com/experience/campaign/orchestration/reportingeventmetrics", + "$id": "https://ns.adobe.com/experience/campaign/orchestration/reportingeventmetrics", "$schema": "http://json-schema.org/draft-06/schema#", "title": "User journey reporting event metrics", "type": "object", - "meta:extends": ["https://ns.adobe.com/xdm/data/metrics"], - "description": - "For state transitions, we capture certain metrics along with the dimensions. This schema hold the metrics associated with reporting of state transition", + "meta:extends": [ + "https://ns.adobe.com/xdm/data/metrics" + ], + "description": "For state transitions, we capture certain metrics along with the dimensions. This schema hold the metrics associated with reporting of state transition", "definitions": { "reportingeventmetrics": { "properties": { @@ -29,26 +29,22 @@ "https://ns.adobe.com/experience/campaign/orchestrationErrorInJourneyInstance": { "title": "Error in Journey Instance", "$ref": "https://ns.adobe.com/xdm/data/measure", - "description": - "Set to 1 when an error is raised in a journey instance" + "description": "Set to 1 when an error is raised in a journey instance" }, "https://ns.adobe.com/experience/campaign/orchestrationErrorInEventProcessing": { "title": "Eroor in step processing", "$ref": "https://ns.adobe.com/xdm/data/measure", - "description": - "Set to 1 when an error occurs during an event processing, that is during a step processing" + "description": "Set to 1 when an error occurs during an event processing, that is during a step processing" }, "https://ns.adobe.com/experience/campaign/orchestrationErrorInActionExecution": { "title": "Error in action execution", "$ref": "https://ns.adobe.com/xdm/data/measure", - "description": - "Set to 1 when an error occurs during an action execution" + "description": "Set to 1 when an error occurs during an action execution" }, "https://ns.adobe.com/experience/campaign/orchestrationErrorInJumpActionExecution": { "title": "Error in jump action", "$ref": "https://ns.adobe.com/xdm/data/measure", - "description": - "Set to 1 when an error occurs during the jump action execution" + "description": "Set to 1 when an error occurs during the jump action execution" }, "https://ns.adobe.com/experience/campaign/orchestrationErrorInEnrichment": { "title": "Error in enrichment", @@ -58,38 +54,32 @@ "https://ns.adobe.com/experience/campaign/orchestrationExecutedEvent": { "title": "Event processed", "$ref": "https://ns.adobe.com/xdm/data/measure", - "description": - "Set to 1 when an event as triggered a transition in a journey instance" + "description": "Set to 1 when an event as triggered a transition in a journey instance" }, "https://ns.adobe.com/experience/campaign/orchestrationExecutedAction": { "title": "Action executed", "$ref": "https://ns.adobe.com/xdm/data/measure", - "description": - "Set to 1 when an action is executed successfully in a journey instance" + "description": "Set to 1 when an action is executed successfully in a journey instance" }, "https://ns.adobe.com/experience/campaign/orchestrationExecutedFlowControl": { "title": "Flow control executed", "$ref": "https://ns.adobe.com/xdm/data/measure", - "description": - "Set to 1 when an action is executed successfully in a journey instance" + "description": "Set to 1 when an action is executed successfully in a journey instance" }, "https://ns.adobe.com/experience/campaign/orchestrationExecutedJumpAction": { "title": "Executed jump action", "$ref": "https://ns.adobe.com/xdm/data/measure", - "description": - "Set to 1 when a jump action is executed successfully in a journey instance" + "description": "Set to 1 when a jump action is executed successfully in a journey instance" }, "https://ns.adobe.com/experience/campaign/orchestrationExecutedEnrichment": { "title": "Enrichment made successfully ", "$ref": "https://ns.adobe.com/xdm/data/measure", - "description": - "Set to 1 when an enrichment is executed successfully in a journey instance" + "description": "Set to 1 when an enrichment is executed successfully in a journey instance" }, "https://ns.adobe.com/experience/campaign/orchestrationJumpToJourney": { "title": "Jump action executed successfully", "$ref": "https://ns.adobe.com/xdm/data/measure", - "description": - "Set to 1 when a jump to another journey instance is made" + "description": "Set to 1 when a jump to another journey instance is made" } } } @@ -100,4 +90,4 @@ } ], "meta:status": "stabilizing" -} +} \ No newline at end of file diff --git a/extensions/adobe/experience/campaign/orchestration/reportingexternalevent.schema.json b/extensions/adobe/experience/campaign/orchestration/reportingexternalevent.schema.json index b0fec1eae..f8bd97047 100644 --- a/extensions/adobe/experience/campaign/orchestration/reportingexternalevent.schema.json +++ b/extensions/adobe/experience/campaign/orchestration/reportingexternalevent.schema.json @@ -9,7 +9,9 @@ "$schema": "http://json-schema.org/draft-06/schema#", "title": "external event received", "type": "object", - "meta:extends": ["https://ns.adobe.com/xdm/context/experienceevent"], + "meta:extends": [ + "https://ns.adobe.com/xdm/context/experienceevent" + ], "description": "", "definitions": { "reportingexternalevent": { @@ -34,4 +36,4 @@ } ], "meta:status": "stabilizing" -} +} \ No newline at end of file diff --git a/extensions/adobe/experience/offer-management/eligibility-rule.schema.json b/extensions/adobe/experience/offer-management/eligibility-rule.schema.json index 910aaa9d0..9d49f4422 100644 --- a/extensions/adobe/experience/offer-management/eligibility-rule.schema.json +++ b/extensions/adobe/experience/offer-management/eligibility-rule.schema.json @@ -18,7 +18,7 @@ "properties": { "@id": { "type": "string", - "format": "uri", + "format": "uri-reference", "title": "ID", "description": "The unique identifier of the EligibilityRule. This identifier is assigned by clients or services that use the repository and is not generated by the repository itself. This @id must be unique within a repository container for objects that are not the same, otherwise it is interpreted as referring to the same object. The @id is used in link relationships. For example an Offer's selection constraint object references an EligibilityRule object." diff --git a/extensions/adobe/experience/offer-management/filter-expression/filter-expression.schema.json b/extensions/adobe/experience/offer-management/filter-expression/filter-expression.schema.json index 7da0ecb0b..650bd427d 100644 --- a/extensions/adobe/experience/offer-management/filter-expression/filter-expression.schema.json +++ b/extensions/adobe/experience/offer-management/filter-expression/filter-expression.schema.json @@ -111,7 +111,6 @@ "one": "There exists one and only one." } }, - "function-application-content": { "type": "object", "title": "N-ary function application", @@ -127,7 +126,10 @@ "$ref": "#/definitions/function-type" } }, - "required": ["nodeType", "fnName"] + "required": [ + "nodeType", + "fnName" + ] }, { "oneOf": [ @@ -184,7 +186,7 @@ "type": "string", "const": "and" }, - "params" : { + "params": { "type": "array", "items": { "$ref": "#/definitions/node-content" @@ -204,7 +206,7 @@ "type": "string", "const": "or" }, - "params" : { + "params": { "type": "array", "items": { "$ref": "#/definitions/node-content" @@ -224,7 +226,7 @@ "type": "string", "const": "=" }, - "params" : { + "params": { "type": "array", "items": { "$ref": "#/definitions/node-content" @@ -245,7 +247,7 @@ "type": "string", "const": "!=" }, - "params" : { + "params": { "type": "array", "items": { "$ref": "#/definitions/node-content" @@ -266,7 +268,7 @@ "type": "string", "const": ">" }, - "params" : { + "params": { "type": "array", "items": { "$ref": "#/definitions/node-content" @@ -287,7 +289,7 @@ "type": "string", "const": ">=" }, - "params" : { + "params": { "type": "array", "items": { "$ref": "#/definitions/node-content" @@ -308,7 +310,7 @@ "type": "string", "const": "<=" }, - "params" : { + "params": { "type": "array", "items": { "$ref": "#/definitions/node-content" @@ -329,7 +331,7 @@ "type": "string", "const": "<" }, - "params" : { + "params": { "type": "array", "items": { "$ref": "#/definitions/node-content" @@ -350,7 +352,7 @@ "type": "string", "const": "in" }, - "params" : { + "params": { "type": "array", "items": { "$ref": "#/definitions/node-content" @@ -371,7 +373,7 @@ "type": "string", "const": "notIn" }, - "params" : { + "params": { "type": "array", "items": { "$ref": "#/definitions/node-content" @@ -392,7 +394,7 @@ "type": "string", "const": "isNull" }, - "params" : { + "params": { "type": "array", "items": { "$ref": "#/definitions/node-content" @@ -413,7 +415,7 @@ "type": "string", "const": "isNotNull" }, - "params" : { + "params": { "type": "array", "items": { "$ref": "#/definitions/node-content" @@ -434,7 +436,7 @@ "type": "string", "const": "=" }, - "params" : { + "params": { "type": "array", "items": { "$ref": "#/definitions/node-content" @@ -455,7 +457,7 @@ "type": "string", "const": "notEqualTo" }, - "params" : { + "params": { "type": "array", "items": { "$ref": "#/definitions/node-content" @@ -466,7 +468,6 @@ }, "additionalProperties": false }, - "function-creation-content": { "type": "object", "title": "Function creation", @@ -479,7 +480,7 @@ "type": "string", "const": "fnCreate" }, - "params" : { + "params": { "type": "array", "items": { "type": "object", @@ -488,7 +489,9 @@ "type": "string" } }, - "required": ["varName"] + "required": [ + "varName" + ] }, "minItems": 1 }, @@ -496,11 +499,14 @@ "$ref": "#/definitions/function-application-content" } }, - "required": ["nodeType", "params", "body"] + "required": [ + "nodeType", + "params", + "body" + ] } ] }, - "field-lookup-content": { "type": "object", "title": "Field accessor", @@ -520,12 +526,14 @@ "$ref": "#/definitions/node-content" } }, - "required": ["nodeType", "fieldName"], + "required": [ + "nodeType", + "fieldName" + ], "additionalProperties": false } ] }, - "literal-content": { "type": "object", "title": "Literal", @@ -542,7 +550,10 @@ "$ref": "#/definitions/literal-type" } }, - "required": ["nodeType", "literalType"] + "required": [ + "nodeType", + "literalType" + ] }, { "oneOf": [ @@ -578,7 +589,7 @@ "type": "string", "const": "String" }, - "value" : { + "value": { "type": "string" } }, @@ -594,7 +605,7 @@ "type": "string", "const": "Number" }, - "value" : { + "value": { "type": "number" } }, @@ -610,7 +621,7 @@ "type": "string", "const": "Integer" }, - "value" : { + "value": { "type": "integer" } }, @@ -626,7 +637,7 @@ "type": "string", "const": "Boolean" }, - "value" : { + "value": { "type": "boolean" } }, @@ -642,7 +653,7 @@ "type": "string", "const": "List" }, - "value" : { + "value": { "type": "array" } }, @@ -658,7 +669,7 @@ "type": "string", "const": "XDMObject" }, - "value" : { + "value": { "type": "string" } }, @@ -674,13 +685,12 @@ "type": "string", "const": "QueryString" }, - "value" : { + "value": { "type": "string" } }, "additionalProperties": false }, - "quantification-content": { "type": "object", "title": "Apply a quantification", @@ -704,12 +714,15 @@ "minItems": 1 } }, - "required": ["nodeType", "quantifier", "variables"], + "required": [ + "nodeType", + "quantifier", + "variables" + ], "additionalProperties": false } ] }, - "select-expression-content": { "type": "object", "title": "Object tree evaluation", @@ -730,12 +743,14 @@ "minItems": 1 } }, - "required": ["nodeType", "variables"], + "required": [ + "nodeType", + "variables" + ], "additionalProperties": false } ] }, - "variable-domain-content": { "type": "object", "title": "Define a variable and its domain", @@ -759,7 +774,11 @@ "$ref": "#/definitions/node-content" } }, - "required": ["nodeType", "varName", "from"], + "required": [ + "nodeType", + "varName", + "from" + ], "additionalProperties": false } ] @@ -781,12 +800,14 @@ "pattern": "^[_A-Za-z0-9]+$" } }, - "required": ["nodeType", "varName"], + "required": [ + "nodeType", + "varName" + ], "additionalProperties": false } ] }, - "function-content-model-instances": { "type": "object", "title": "Reference all instances of a given model", @@ -811,12 +832,15 @@ "minItems": 1 } }, - "required": ["nodeType", "fnName", "params"], + "required": [ + "nodeType", + "fnName", + "params" + ], "additionalProperties": false } ] }, - "node-content": { "allOf": [ { @@ -826,7 +850,9 @@ "$ref": "#/definitions/node-type" } }, - "required": ["nodeType"] + "required": [ + "nodeType" + ] }, { "oneOf": [ diff --git a/extensions/adobe/experience/offer-management/offer-activity.schema.json b/extensions/adobe/experience/offer-management/offer-activity.schema.json index 054776050..124bcb87b 100644 --- a/extensions/adobe/experience/offer-management/offer-activity.schema.json +++ b/extensions/adobe/experience/offer-management/offer-activity.schema.json @@ -18,7 +18,7 @@ "properties": { "@id": { "type": "string", - "format": "uri", + "format": "uri-reference", "title": "ID", "description": "The unique identifier of the offer activity. This @id must be unique across for objects that are not semantically the same, otherwise it is interpreted as referring to the same object. " diff --git a/extensions/adobe/experience/offer-management/offer-filter.schema.json b/extensions/adobe/experience/offer-management/offer-filter.schema.json index d1013c080..10eb3771f 100644 --- a/extensions/adobe/experience/offer-management/offer-filter.schema.json +++ b/extensions/adobe/experience/offer-management/offer-filter.schema.json @@ -18,7 +18,7 @@ "properties": { "@id": { "type": "string", - "format": "uri", + "format": "uri-reference", "title": "ID", "description": "The unique identifier of the filter. This @id must be unique within a repository container for objects that are not the same, otherwise it is interpreted as referring to the same object." diff --git a/extensions/adobe/experience/offer-management/offer-placement.schema.json b/extensions/adobe/experience/offer-management/offer-placement.schema.json index 594d27cd1..28edc6329 100644 --- a/extensions/adobe/experience/offer-management/offer-placement.schema.json +++ b/extensions/adobe/experience/offer-management/offer-placement.schema.json @@ -18,7 +18,7 @@ "properties": { "@id": { "type": "string", - "format": "uri", + "format": "uri-reference", "title": "ID", "description": "The unique identifier of the placement. This identifier is assigned by clients or services that use the repository and is not generated by the repository itself. This @id must be unique within a repository container for objects that are not the same, otherwise it is interpreted as referring to the same object." diff --git a/extensions/adobe/experience/offer-management/offer.schema.json b/extensions/adobe/experience/offer-management/offer.schema.json index 94279c145..d51037475 100644 --- a/extensions/adobe/experience/offer-management/offer.schema.json +++ b/extensions/adobe/experience/offer-management/offer.schema.json @@ -18,7 +18,7 @@ "properties": { "@id": { "type": "string", - "format": "uri", + "format": "uri-reference", "title": "ID", "description": "The unique identifier of the offer. It must be unique within a repository container for objects that are not the same, otherwise it is interpreted as referring to the same object." diff --git a/extensions/adobe/experience/offer-management/tag.schema.json b/extensions/adobe/experience/offer-management/tag.schema.json index 3982c4079..5281b5609 100644 --- a/extensions/adobe/experience/offer-management/tag.schema.json +++ b/extensions/adobe/experience/offer-management/tag.schema.json @@ -18,7 +18,7 @@ "properties": { "@id": { "type": "string", - "format": "uri", + "format": "uri-reference", "title": "ID", "description": "The unique identifier of the Tag. This identifier is assigned by clients or services that use the repository and is not generated by the repository itself. This @id must be unique within a repository container for objects that are not the same, otherwise it is interpreted as referring to the same object." diff --git a/extensions/adobe/experience/target/activity/activityevent.schema.json b/extensions/adobe/experience/target/activity/activityevent.schema.json index 1b822672e..b24d521ae 100644 --- a/extensions/adobe/experience/target/activity/activityevent.schema.json +++ b/extensions/adobe/experience/target/activity/activityevent.schema.json @@ -77,4 +77,4 @@ } ], "meta:status": "experimental" -} +} \ No newline at end of file diff --git a/extensions/adobe/experience/target/activity/activityevent/context.schema.json b/extensions/adobe/experience/target/activity/activityevent/context.schema.json index b99ca0295..5050c98da 100644 --- a/extensions/adobe/experience/target/activity/activityevent/context.schema.json +++ b/extensions/adobe/experience/target/activity/activityevent/context.schema.json @@ -56,4 +56,4 @@ } ], "meta:status": "experimental" -} +} \ No newline at end of file diff --git a/extensions/adobe/experience/target/activity/activityevent/eventscope.schema.json b/extensions/adobe/experience/target/activity/activityevent/eventscope.schema.json index f14e17c81..7df1a009a 100644 --- a/extensions/adobe/experience/target/activity/activityevent/eventscope.schema.json +++ b/extensions/adobe/experience/target/activity/activityevent/eventscope.schema.json @@ -26,4 +26,4 @@ } }, "meta:status": "experimental" -} +} \ No newline at end of file diff --git a/extensions/adobe/experience/target/activity/activityevent/optionevent.schema.json b/extensions/adobe/experience/target/activity/activityevent/optionevent.schema.json index 4793fa1b9..c2e1475b6 100644 --- a/extensions/adobe/experience/target/activity/activityevent/optionevent.schema.json +++ b/extensions/adobe/experience/target/activity/activityevent/optionevent.schema.json @@ -75,4 +75,4 @@ } ], "meta:status": "experimental" -} +} \ No newline at end of file diff --git a/extensions/adobe/experience/target/activity/activityevent/segmentevent.schema.json b/extensions/adobe/experience/target/activity/activityevent/segmentevent.schema.json index afd41af24..cf405b649 100644 --- a/extensions/adobe/experience/target/activity/activityevent/segmentevent.schema.json +++ b/extensions/adobe/experience/target/activity/activityevent/segmentevent.schema.json @@ -34,4 +34,4 @@ } ], "meta:status": "experimental" -} +} \ No newline at end of file diff --git a/extensions/aem/user.schema.json b/extensions/aem/user.schema.json index a22c5a909..265583131 100644 --- a/extensions/aem/user.schema.json +++ b/extensions/aem/user.schema.json @@ -8,15 +8,13 @@ "$schema": "http://json-schema.org/draft-06/schema#", "$id": "https://ns.adobe.com/experience/aem/user", "title": "AEM User", - "description": - "This model represents an [AEM User](https://jackrabbit.apache.org/api/2.8/org/apache/jackrabbit/api/security/user/User.html). The associated principal with this AEM User is the principal returned by [`User.getPrincipal()`](https://jackrabbit.apache.org/api/2.8/org/apache/jackrabbit/api/security/user/Authorizable.html#getPrincipal()).", + "description": "This model represents an [AEM User](https://jackrabbit.apache.org/api/2.8/org/apache/jackrabbit/api/security/user/User.html). The associated principal with this AEM User is the principal returned by [`User.getPrincipal()`](https://jackrabbit.apache.org/api/2.8/org/apache/jackrabbit/api/security/user/Authorizable.html#getPrincipal()).", "definitions": { "user": { "type": "object", "properties": { "id": { - "description": - "The value of `User.getPrincipal().getName()`. This identifier is unique and persistent per AEM repository, with one caveat, that this identifier could be reassigned.", + "description": "The value of `User.getPrincipal().getName()`. This identifier is unique and persistent per AEM repository, with one caveat, that this identifier could be reassigned.", "type": "string" }, "type": { @@ -34,4 +32,4 @@ "$ref": "#/definitions/user" } ] -} +} \ No newline at end of file diff --git a/extensions/ims/organization.schema.json b/extensions/ims/organization.schema.json index 0de7ff3fd..33cb66033 100644 --- a/extensions/ims/organization.schema.json +++ b/extensions/ims/organization.schema.json @@ -8,8 +8,7 @@ "$schema": "http://json-schema.org/draft-06/schema#", "$id": "https://ns.adobe.com/adobecloudplatform/ims/organization", "title": "IMS Organization", - "description": - "This model represents a IMS Organization. The IMS organization prinicpal is a organization account under Adobe's identity management system (IMS).", + "description": "This model represents a IMS Organization. The IMS organization prinicpal is a organization account under Adobe's identity management system (IMS).", "definitions": { "organization": { "type": "object", @@ -19,8 +18,7 @@ "const": "ims" }, "id": { - "description": - "Principal id identifies an organization in IMS. It is a unique and persitent identifier which is allocated at the time the organization is created in the system. An organization's admin can find this value by logging into the [adminconsole](https://adminconsole.adobe.com) and parsing the resource URL they are redirected to.", + "description": "Principal id identifies an organization in IMS. It is a unique and persitent identifier which is allocated at the time the organization is created in the system. An organization's admin can find this value by logging into the [adminconsole](https://adminconsole.adobe.com) and parsing the resource URL they are redirected to.", "type": "string" }, "type": { @@ -38,4 +36,4 @@ "$ref": "#/definitions/organization" } ] -} +} \ No newline at end of file diff --git a/extensions/ims/user.schema.json b/extensions/ims/user.schema.json index d970a4bdd..740f5e264 100644 --- a/extensions/ims/user.schema.json +++ b/extensions/ims/user.schema.json @@ -8,8 +8,7 @@ "$schema": "http://json-schema.org/draft-06/schema#", "$id": "https://ns.adobe.com/adobecloudplatform/ims/user", "title": "IMS User", - "description": - "This model represents an authenticated IMS User. The IMS user prinicpal is a user account under Adobe's identity management system (IMS).", + "description": "This model represents an authenticated IMS User. The IMS user prinicpal is a user account under Adobe's identity management system (IMS).", "definitions": { "user": { "type": "object", @@ -19,8 +18,7 @@ "const": "ims" }, "id": { - "description": - "Principal id identifies a user account in IMS. Its value is equivalent to the standard claim, `sub` as mentioned in the [openid connect 1.0 standard claims](http://openid.net/specs/openid-connect-core-1_0.html#StandardClaim). This value can be obtained by fetching the [userinfo resource](http://openid.net/specs/openid-connect-core-1_0.html#UserInfo) for a particular user [in IMS](https://wiki.corp.adobe.com/display/ims/IMS+API+-+userinfo).", + "description": "Principal id identifies a user account in IMS. Its value is equivalent to the standard claim, `sub` as mentioned in the [openid connect 1.0 standard claims](http://openid.net/specs/openid-connect-core-1_0.html#StandardClaim). This value can be obtained by fetching the [userinfo resource](http://openid.net/specs/openid-connect-core-1_0.html#UserInfo) for a particular user [in IMS](https://wiki.corp.adobe.com/display/ims/IMS+API+-+userinfo).", "type": "string" }, "type": { @@ -38,4 +36,4 @@ "$ref": "#/definitions/user" } ] -} +} \ No newline at end of file diff --git a/schemas/assets/aggregated-asset.schema.json b/schemas/assets/aggregated-asset.schema.json index 2b4dd9c08..1395ff224 100644 --- a/schemas/assets/aggregated-asset.schema.json +++ b/schemas/assets/aggregated-asset.schema.json @@ -9,20 +9,17 @@ "$id": "https://ns.adobe.com/xdm/assets/aggregated-asset", "title": "Aggregated Asset", "type": "object", - "description": - "This schema aggregates all asset sub-schemas that are supported by XDM.", + "description": "This schema aggregates all asset sub-schemas that are supported by XDM.", "additionalProperties": true, "allOf": [ { "$ref": "http://ns.adobe.com/adobecloud/core/1.0/asset#/definitions/asset" }, { - "$ref": - "http://ns.adobe.com/adobecloud/core/1.0#/definitions/common-properties" + "$ref": "http://ns.adobe.com/adobecloud/core/1.0#/definitions/common-properties" }, { - "$ref": - "http://ns.adobe.com/adobecloud/core/1.0#/definitions/date-properties" + "$ref": "http://ns.adobe.com/adobecloud/core/1.0#/definitions/date-properties" }, { "$ref": "https://ns.adobe.com/xdm/external/hal/resource#/definitions/hal" @@ -31,15 +28,13 @@ "$ref": "https://ns.adobe.com/xdm/content/content#/definitions/content" }, { - "$ref": - "https://ns.adobe.com/xdm/assets/copyright-owner#/definitions/copyright" + "$ref": "https://ns.adobe.com/xdm/assets/copyright-owner#/definitions/copyright" }, { "$ref": "https://ns.adobe.com/xdm/assets/asset#/definitions/asset" }, { - "$ref": - "https://ns.adobe.com/xdm/assets/rectangular#/definitions/rectangular" + "$ref": "https://ns.adobe.com/xdm/assets/rectangular#/definitions/rectangular" }, { "$ref": "https://ns.adobe.com/xdm/assets/image#/definitions/image" @@ -49,4 +44,4 @@ } ], "meta:status": "experimental" -} +} \ No newline at end of file diff --git a/schemas/assets/artboard.schema.json b/schemas/assets/artboard.schema.json index 74e8235a6..45a146a3d 100644 --- a/schemas/assets/artboard.schema.json +++ b/schemas/assets/artboard.schema.json @@ -17,8 +17,7 @@ "properties": { "xdm:name": { "type": "string", - "description": - "Name of the artboard. This would be visible to the user and users can specify names that can help them uniquely identfiy different Artboards." + "description": "Name of the artboard. This would be visible to the user and users can specify names that can help them uniquely identfiy different Artboards." } } } @@ -28,9 +27,8 @@ "$ref": "#/definitions/artboard" }, { - "$ref": - "https://ns.adobe.com/xdm/assets/variable-unit-rectangular#/definitions/rectangular" + "$ref": "https://ns.adobe.com/xdm/assets/variable-unit-rectangular#/definitions/rectangular" } ], "meta:status": "experimental" -} +} \ No newline at end of file diff --git a/schemas/assets/asset.schema.json b/schemas/assets/asset.schema.json index cdd66389f..77e714dbc 100644 --- a/schemas/assets/asset.schema.json +++ b/schemas/assets/asset.schema.json @@ -17,8 +17,7 @@ "http://ns.adobe.com/adobecloud/core/1.0/asset", "https://ns.adobe.com/xdm/content/content" ], - "description": - "A digital asset, is anything that exists in a binary format and comes with the right to use. Content that does not possess that right is not considered an asset. Digital assets include but are not exclusive to: digital documents, audible content, motion picture, and other relevant digital content that is currently in circulation or production.", + "description": "A digital asset, is anything that exists in a binary format and comes with the right to use. Content that does not possess that right is not considered an asset. Digital assets include but are not exclusive to: digital documents, audible content, motion picture, and other relevant digital content that is currently in circulation or production.", "definitions": { "asset": { "properties": { @@ -26,11 +25,11 @@ "type": "string", "title": "Document ID", "meta:immutable": true, - "description": - "It takes the value of xmpMM:DocumentID present in the [XMP packet of the asset](http://wwwimages.adobe.com/content/dam/Adobe/en/devnet/xmp/pdfs/XMP%20SDK%20Release%20cc-2014-12/XMPSpecificationPart1.pdf). For the assets having no XMP packet this property won't be populated. \n\nThe value is a GUID, capital A-F, 8-4-4-12, preceded by the string `uuid:`", - "examples": ["uuid:00112233-4455-6677-8899-AABBCCDDEEFF"], - "pattern": - "^uuid:[A-Fa-f0-9]{8}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{12}$" + "description": "It takes the value of xmpMM:DocumentID present in the [XMP packet of the asset](http://wwwimages.adobe.com/content/dam/Adobe/en/devnet/xmp/pdfs/XMP%20SDK%20Release%20cc-2014-12/XMPSpecificationPart1.pdf). For the assets having no XMP packet this property won't be populated. \n\nThe value is a GUID, capital A-F, 8-4-4-12, preceded by the string `uuid:`", + "examples": [ + "uuid:00112233-4455-6677-8899-AABBCCDDEEFF" + ], + "pattern": "^uuid:[A-Fa-f0-9]{8}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{12}$" }, "xdm:aliasIDs": { "type": "array", @@ -41,26 +40,22 @@ "system": { "title": "External System", "type": "string", - "description": - "A string used to identify the external systems like google, facebook etc." + "description": "A string used to identify the external systems like google, facebook etc." }, "id": { "type": "string", "title": "External ID", - "description": - "An ID under which external systems track the asset." + "description": "An ID under which external systems track the asset." } } }, - "description": - "List of IDs under which external systems track the asset. Example of external systems : google, facebook etc." + "description": "List of IDs under which external systems track the asset. Example of external systems : google, facebook etc." }, "xmp:createDate": { "title": "Date Created", "type": "string", "format": "date-time", - "description": - "The date and time the resource was created. It will be taken from within the asset." + "description": "The date and time the resource was created. It will be taken from within the asset." }, "dc:creator": { "title": "Creator", @@ -68,23 +63,20 @@ "items": { "type": "string" }, - "description": - "An entity primarily responsible for making the resource. Examples of a creator include a person, an organization, or a service. Typically, the name of a creator should be used to indicate the entity.\n\nXMP usage is a list of creators. Entities should be listed in order of decreasing precedence, if such order is significant." + "description": "An entity primarily responsible for making the resource. Examples of a creator include a person, an organization, or a service. Typically, the name of a creator should be used to indicate the entity.\n\nXMP usage is a list of creators. Entities should be listed in order of decreasing precedence, if such order is significant." }, "xmp:creatorTool": { "title": "Creator Tool", "type": "string", "meta:usereditable": false, - "description": - "Name of the application which authored the asset. It takes the value present in `xmp:CreatorTool` property in XMP.\nIt is recommended that the value use this format convention:\nOrganization Software_name Version (token;token;...)\n- Organization: The name of the company or organization providing the software, no SPACEs.\n- Software_name: The full name of the software, SPACEs allowed.\n- version: The version of the software, no SPACEs.\n- tokens: Can be used to identify an operating system, plug-in, or more detailed version information." + "description": "Name of the application which authored the asset. It takes the value present in `xmp:CreatorTool` property in XMP.\nIt is recommended that the value use this format convention:\nOrganization Software_name Version (token;token;...)\n- Organization: The name of the company or organization providing the software, no SPACEs.\n- Software_name: The full name of the software, SPACEs allowed.\n- version: The version of the software, no SPACEs.\n- tokens: Can be used to identify an operating system, plug-in, or more detailed version information." }, "xmp:modifyDate": { "title": "Mofification Date", "type": "string", "meta:usereditable": false, "format": "date-time", - "description": - "The date and time when asset was last modified. The Date Time property should conform to ISO 8601 standard. An example form is \"2004-10-23T12:00:00-06:00\". Opposed to `repositoryLastModifiedDate`, this is the time when the asset was last modified locally, with or without knowledge of the repository." + "description": "The date and time when asset was last modified. The Date Time property should conform to ISO 8601 standard. An example form is \"2004-10-23T12:00:00-06:00\". Opposed to `repositoryLastModifiedDate`, this is the time when the asset was last modified locally, with or without knowledge of the repository." }, "xdm:milestone": { "title": "Milestone", @@ -105,45 +97,39 @@ }, "xmpRights:webStatement": { "type": "string", - "description": - "A Web URL for a statement of the ownership and usage rights for this resource. This is a normal (non-URI) simple value because of historical usage.", - "examples": ["http://creativecommons.org/licenses/by/4.0/"] + "description": "A Web URL for a statement of the ownership and usage rights for this resource. This is a normal (non-URI) simple value because of historical usage.", + "examples": [ + "http://creativecommons.org/licenses/by/4.0/" + ] }, "dc:rights": { "title": "Rights", "type": "array", "items": { - "$ref": - "https://ns.adobe.com/xdm/assets/language-alternative#/definitions/language-alternative" + "$ref": "https://ns.adobe.com/xdm/assets/language-alternative#/definitions/language-alternative" }, - "description": - "Information about rights held in and over the resource.\nWe can live without mentioning locale if only one entry is there. Default locale is en_us.\nLocale codes should follow IETF BCP 47 standard." + "description": "Information about rights held in and over the resource.\nWe can live without mentioning locale if only one entry is there. Default locale is en_us.\nLocale codes should follow IETF BCP 47 standard." }, "xmpRights:marked": { "title": "Marked", "type": "boolean", - "description": - "When true, indicates that this is a rights-managed resource. When false, indicates that this is a public-domain resource. Omit if the state is unknown." + "description": "When true, indicates that this is a rights-managed resource. When false, indicates that this is a public-domain resource. Omit if the state is unknown." }, "xmpRights:usageTerms": { "type": "array", "title": "Usage Terms", "items": { - "$ref": - "https://ns.adobe.com/xdm/assets/language-alternative#/definitions/language-alternative" + "$ref": "https://ns.adobe.com/xdm/assets/language-alternative#/definitions/language-alternative" }, - "description": - "A collection of text instructions on how a resource can be legally used, given in a variety of languages." + "description": "A collection of text instructions on how a resource can be legally used, given in a variety of languages." }, "plus:copyrightOwner": { "title": "Copyright Owners", "type": "array", "items": { - "$ref": - "https://ns.adobe.com/xdm/assets/copyright-owner#/definitions/copyright" + "$ref": "https://ns.adobe.com/xdm/assets/copyright-owner#/definitions/copyright" }, - "description": - "Owner or owners of the copyright in the licensed asset." + "description": "Owner or owners of the copyright in the licensed asset." }, "photoshop:credit": { "title": "Credit", @@ -154,73 +140,64 @@ "type": "string", "title": "License", "format": "uri", - "description": - "A license is a set of requests/permissions to users of a Work, e.g. a copyright license, the public domain, information for distributors." + "description": "A license is a set of requests/permissions to users of a Work, e.g. a copyright license, the public domain, information for distributors." }, "cc:attributionUrl": { "title": "Attribution URL", "format": "uri", "type": "string", - "description": - "For licenses that require attribution, such as some Creative Commons licenses, a URL that identifies the user to which a work should be attributed. When publishing to Behance, we link to the user's profile page." + "description": "For licenses that require attribution, such as some Creative Commons licenses, a URL that identifies the user to which a work should be attributed. When publishing to Behance, we link to the user's profile page." }, "cc:attributionName": { "title": "Attribution Name", "type": "string", - "description": - "For licenses that require attribution, such as some Creative Commons licenses, the user to which a work is attributed. When publishing to Behance, this is taken from the user's Behance profile information." + "description": "For licenses that require attribution, such as some Creative Commons licenses, the user to which a work is attributed. When publishing to Behance, this is taken from the user's Behance profile information." }, "xmpMM:manageUI": { "title": "Manage UI", "format": "uri", "type": "string", - "description": - "A URI that can be used to access information about the managed resource through a web browser." + "description": "A URI that can be used to access information about the managed resource through a web browser." }, "xmpMM:manageTo": { "title": "Manage To", "type": "string", "format": "uri", - "description": - "A URI identifying the managed resource to the asset management system; the presence of this property is the formal indication that this resource is managed. The form and content of this URI is private to the asset management system." + "description": "A URI identifying the managed resource to the asset management system; the presence of this property is the formal indication that this resource is managed. The form and content of this URI is private to the asset management system." }, "xmpMM:history": { "meta:usereditable": false, "type": "array", "title": "History", "items": { - "$ref": - "https://ns.adobe.com/xdm/assets/resource-event#/definitions/resource-event" + "$ref": "https://ns.adobe.com/xdm/assets/resource-event#/definitions/resource-event" }, - "description": - "High-level actions that resulted in the creation of this asset. It is intended to give human readers a description of the steps taken to make the changes from the previous version to this one. The list should be at an abstract level; it is not intended to be an exhaustive keystroke or other detailed history. The description should be sufficient for metadata management, as well as for workflow enhancement." + "description": "High-level actions that resulted in the creation of this asset. It is intended to give human readers a description of the steps taken to make the changes from the previous version to this one. The list should be at an abstract level; it is not intended to be an exhaustive keystroke or other detailed history. The description should be sufficient for metadata management, as well as for workflow enhancement." }, "dc:title": { "title": "Title", "type": "array", "items": { - "$ref": - "https://ns.adobe.com/xdm/assets/language-alternative#/definitions/language-alternative" + "$ref": "https://ns.adobe.com/xdm/assets/language-alternative#/definitions/language-alternative" }, - "description": - "A name given to the resource. Typically, a Title will be a name by which the resource is formally known." + "description": "A name given to the resource. Typically, a Title will be a name by which the resource is formally known." }, "dc:description": { "type": "array", "title": "Description", "items": { - "$ref": - "https://ns.adobe.com/xdm/assets/language-alternative#/definitions/language-alternative" + "$ref": "https://ns.adobe.com/xdm/assets/language-alternative#/definitions/language-alternative" }, - "description": - "An account of the content of the resource. Description may include but is not limited to: an abstract, table of contents, reference to a graphical representation of content or a free-text account of the content." + "description": "An account of the content of the resource. Description may include but is not limited to: an abstract, table of contents, reference to a graphical representation of content or a free-text account of the content." }, "xdm:notSafe": { "title": "NSFW State", - "description": - "Indicates if the content is SFW (safe for work). Safe is value 0 or missing value. NSFW is value 1.", + "description": "Indicates if the content is SFW (safe for work). Safe is value 0 or missing value. NSFW is value 1.", "type": "integer", - "enum": [0, 1], + "enum": [ + 0, + 1 + ], "meta:enum": { "0": "The content is safe for work", "1": "The content is not safe for work" @@ -232,20 +209,21 @@ "title": "Language", "items": { "type": "string", - "pattern": - "^(((([A-Za-z]{2,3}(-([A-Za-z]{3}(-[A-Za-z]{3}){0,2}))?)|[A-Za-z]{4}|[A-Za-z]{5,8})(-([A-Za-z]{4}))?(-([A-Za-z]{2}|[0-9]{3}))?(-([A-Za-z0-9]{5,8}|[0-9][A-Za-z0-9]{3}))*(-([0-9A-WY-Za-wy-z](-[A-Za-z0-9]{2,8})+))*(-(x(-[A-Za-z0-9]{1,8})+))?)|(x(-[A-Za-z0-9]{1,8})+)|((en-GB-oed|i-ami|i-bnn|i-default|i-enochian|i-hak|i-klingon|i-lux|i-mingo|i-navajo|i-pwn|i-tao|i-tay|i-tsu|sgn-BE-FR|sgn-BE-NL|sgn-CH-DE)|(art-lojban|cel-gaulish|no-bok|no-nyn|zh-guoyu|zh-hakka|zh-min|zh-min-nan|zh-xiang)))$" + "pattern": "^(((([A-Za-z]{2,3}(-([A-Za-z]{3}(-[A-Za-z]{3}){0,2}))?)|[A-Za-z]{4}|[A-Za-z]{5,8})(-([A-Za-z]{4}))?(-([A-Za-z]{2}|[0-9]{3}))?(-([A-Za-z0-9]{5,8}|[0-9][A-Za-z0-9]{3}))*(-([0-9A-WY-Za-wy-z](-[A-Za-z0-9]{2,8})+))*(-(x(-[A-Za-z0-9]{1,8})+))?)|(x(-[A-Za-z0-9]{1,8})+)|((en-GB-oed|i-ami|i-bnn|i-default|i-enochian|i-hak|i-klingon|i-lux|i-mingo|i-navajo|i-pwn|i-tao|i-tay|i-tsu|sgn-BE-FR|sgn-BE-NL|sgn-CH-DE)|(art-lojban|cel-gaulish|no-bok|no-nyn|zh-guoyu|zh-hakka|zh-min|zh-min-nan|zh-xiang)))$" }, - "description": - "The language or languages of the resource.\nLanguages are specified in language code as defined in [IETF RFC 3066](https://www.ietf.org/rfc/rfc3066.txt), which is part of BCP 47, which is used elsewhere in XDM.", - "examples": ["\n", "pt-BR", "es-ES"] + "description": "The language or languages of the resource.\nLanguages are specified in language code as defined in [IETF RFC 3066](https://www.ietf.org/rfc/rfc3066.txt), which is part of BCP 47, which is used elsewhere in XDM.", + "examples": [ + "\n", + "pt-BR", + "es-ES" + ] }, "xmpTPg:NPages": { "meta:usereditable": false, "title": "Number of pages", "type": "integer", "minimum": 0, - "description": - "The number of pages in the document (including any in contained documents)." + "description": "The number of pages in the document (including any in contained documents)." }, "exif:gpsAltitude": { "meta:usereditable": false, @@ -257,35 +235,43 @@ "meta:usereditable": false, "type": "integer", "title": "GPS Altitude Reference", - "enum": [0, 1], + "enum": [ + 0, + 1 + ], "meta:enum": { "0": "The `exif:gpsAltitude` specifies a value above sea level", "1": "The `exif:gpsAltitude` specifies a value below sea level" }, - "description": - "GPS tag 5, 0x5. Indicates whether the altitude is above or below sea level." + "description": "GPS tag 5, 0x5. Indicates whether the altitude is above or below sea level." }, "exif:gpsLatitude": { "meta:usereditable": false, "type": "string", "title": "GPS Latitude", "pattern": "^[\\d]{1,3},[\\d]{1,2}(,[\\d]{1,2}|.[\\d]+)[NS]$", - "description": - "GPS tag 2, 0x02 (position) and 1, 0x01 (North/South). Indicates latitude. A Text value in the form “DDD,MM,SSk” or “DDD,MM.mmk”, where:\n* DDD is a number of degrees\n* MM is a number of minutes\n* SS is a number of seconds\n* mm is a fraction of minutes\n* k is a single character N or S, indicating a direction (north, south)\nLeading zeros are not necessary for the for DDD, MM, and SS values. The DDD,MM.mmk form should be used when any of the native Exif component rational values has a denominator other than 1. There can be any number of fractional digits." + "description": "GPS tag 2, 0x02 (position) and 1, 0x01 (North/South). Indicates latitude. A Text value in the form “DDD,MM,SSk” or “DDD,MM.mmk”, where:\n* DDD is a number of degrees\n* MM is a number of minutes\n* SS is a number of seconds\n* mm is a fraction of minutes\n* k is a single character N or S, indicating a direction (north, south)\nLeading zeros are not necessary for the for DDD, MM, and SS values. The DDD,MM.mmk form should be used when any of the native Exif component rational values has a denominator other than 1. There can be any number of fractional digits." }, "exif:gpsLongitude": { "meta:usereditable": false, "type": "string", "title": "GPS Longitude", "pattern": "^[\\d]{1,3},[\\d]{1,2}(,[\\d]{1,2}|.[\\d]+)[EW]$", - "description": - "GPS tag 4, 0x04 (position) and 3, 0x03 (East/West). Indicates longitude. A Text value in the form “DDD,MM,SSk” or “DDD,MM.mmk”, where:\n* DDD is a number of degrees\n* MM is a number of minutes\n* SS is a number of seconds\n* mm is a fraction of minutes\n* k is a single character E or W, indicating a direction (east, west)\nLeading zeros are not necessary for the for DDD, MM, and SS values. The DDD,MM.mmk form should be used when any of the native Exif component rational values has a denominator other than 1. There can be any number of fractional digits." + "description": "GPS tag 4, 0x04 (position) and 3, 0x03 (East/West). Indicates longitude. A Text value in the form “DDD,MM,SSk” or “DDD,MM.mmk”, where:\n* DDD is a number of degrees\n* MM is a number of minutes\n* SS is a number of seconds\n* mm is a fraction of minutes\n* k is a single character E or W, indicating a direction (east, west)\nLeading zeros are not necessary for the for DDD, MM, and SS values. The DDD,MM.mmk form should be used when any of the native Exif component rational values has a denominator other than 1. There can be any number of fractional digits." }, "xmp:rating": { "meta:usereditable": true, "type": "integer", "title": "Rating", - "enum": [-1, 0, 1, 2, 3, 4, 5], + "enum": [ + -1, + 0, + 1, + 2, + 3, + 4, + 5 + ], "meta:enum": { "0": "", "1": "⭑", @@ -295,8 +281,7 @@ "5": "⭑⭑⭑⭑⭑", "-1": "rejected" }, - "description": - "A user-assigned editable rating for this file. The value shall be -1 or in the range [0..5], where -1 indicates “rejected” and 0 indicates “unrated”. If xmp:Rating is not present, a value of 0 should be assumed. NOTE: Anticipated usage is for a typical “star rating” UI, with the addition of a notion of rejection." + "description": "A user-assigned editable rating for this file. The value shall be -1 or in the range [0..5], where -1 indicates “rejected” and 0 indicates “unrated”. If xmp:Rating is not present, a value of 0 should be assumed. NOTE: Anticipated usage is for a typical “star rating” UI, with the addition of a notion of rejection." }, "dc:subject": { "title": "Subject", @@ -304,8 +289,7 @@ "items": { "type": "string" }, - "description": - "Set of descriptive phrases or keywords that describe the content of the resource. These keywords are part of the XMP metadata of the asset. Compare this with the `keyword` and `machineKeywords` properties, which provide more structure and context." + "description": "Set of descriptive phrases or keywords that describe the content of the resource. These keywords are part of the XMP metadata of the asset. Compare this with the `keyword` and `machineKeywords` properties, which provide more structure and context." }, "xmp:keywords": { "type": "array", @@ -313,36 +297,35 @@ "items": { "$schema": "http://json-schema.org/draft-06/schema#", "title": "Keyword", - "description": - "The `Keyword` schema describes a keyword in a list of keywords, with specific locale and importance relative to other keywords in the same list.", + "description": "The `Keyword` schema describes a keyword in a list of keywords, with specific locale and importance relative to other keywords in the same list.", "properties": { "value": { "title": "Value", - "description": - "The keyword itself. A keyword can be considered like a tag, i.e. a short description of the content of the asset.", + "description": "The keyword itself. A keyword can be considered like a tag, i.e. a short description of the content of the asset.", "type": "string" }, "localeCode": { "type": "string", - "pattern": - "^(((([A-Za-z]{2,3}(-([A-Za-z]{3}(-[A-Za-z]{3}){0,2}))?)|[A-Za-z]{4}|[A-Za-z]{5,8})(-([A-Za-z]{4}))?(-([A-Za-z]{2}|[0-9]{3}))?(-([A-Za-z0-9]{5,8}|[0-9][A-Za-z0-9]{3}))*(-([0-9A-WY-Za-wy-z](-[A-Za-z0-9]{2,8})+))*(-(x(-[A-Za-z0-9]{1,8})+))?)|(x(-[A-Za-z0-9]{1,8})+)|((en-GB-oed|i-ami|i-bnn|i-default|i-enochian|i-hak|i-klingon|i-lux|i-mingo|i-navajo|i-pwn|i-tao|i-tay|i-tsu|sgn-BE-FR|sgn-BE-NL|sgn-CH-DE)|(art-lojban|cel-gaulish|no-bok|no-nyn|zh-guoyu|zh-hakka|zh-min|zh-min-nan|zh-xiang)))$", - "description": - "Language of the keyword. The locale code should follow [RFC BCP 47](https://tools.ietf.org/html/bcp47)", - "examples": ["en-US", "de-CH"] + "pattern": "^(((([A-Za-z]{2,3}(-([A-Za-z]{3}(-[A-Za-z]{3}){0,2}))?)|[A-Za-z]{4}|[A-Za-z]{5,8})(-([A-Za-z]{4}))?(-([A-Za-z]{2}|[0-9]{3}))?(-([A-Za-z0-9]{5,8}|[0-9][A-Za-z0-9]{3}))*(-([0-9A-WY-Za-wy-z](-[A-Za-z0-9]{2,8})+))*(-(x(-[A-Za-z0-9]{1,8})+))?)|(x(-[A-Za-z0-9]{1,8})+)|((en-GB-oed|i-ami|i-bnn|i-default|i-enochian|i-hak|i-klingon|i-lux|i-mingo|i-navajo|i-pwn|i-tao|i-tay|i-tsu|sgn-BE-FR|sgn-BE-NL|sgn-CH-DE)|(art-lojban|cel-gaulish|no-bok|no-nyn|zh-guoyu|zh-hakka|zh-min|zh-min-nan|zh-xiang)))$", + "description": "Language of the keyword. The locale code should follow [RFC BCP 47](https://tools.ietf.org/html/bcp47)", + "examples": [ + "en-US", + "de-CH" + ] }, "importance": { "type": "number", "title": "Importance", "minimum": 0, "maximum": 1, - "description": - "The importance of the keyword on a scale from zero to one. If required repository will infer it as per its policies and add it for the keywords" + "description": "The importance of the keyword on a scale from zero to one. If required repository will infer it as per its policies and add it for the keywords" } }, - "required": ["value"] + "required": [ + "value" + ] }, - "description": - "The `keywords` property is used to track human-assigned descriptive phrases like keywords or tags of an asset. Rather than a plan list of tags, it is a structured set of keywords, where keywords can have an explicit importance ranking and a locale. This allows the management of multi-lingual keywords for a given asset. For machine-generated keywords, use the `machineKeywords` property. " + "description": "The `keywords` property is used to track human-assigned descriptive phrases like keywords or tags of an asset. Rather than a plan list of tags, it is a structured set of keywords, where keywords can have an explicit importance ranking and a locale. This allows the management of multi-lingual keywords for a given asset. For machine-generated keywords, use the `machineKeywords` property. " }, "xmp:machineKeywords": { "meta:usereditable": false, @@ -355,44 +338,36 @@ "type": "number", "minimum": 0, "maximum": 1, - "description": - "Confidence of the algorithm that this keyword is applicable to the asset. Confidence values are numbers between zero and one. A value of .95 indicates that the algorithm expects less than 5% of all tags with the same confidence value to be mis-applied, i.e. not to be a proper description of the asset." + "description": "Confidence of the algorithm that this keyword is applicable to the asset. Confidence values are numbers between zero and one. A value of .95 indicates that the algorithm expects less than 5% of all tags with the same confidence value to be mis-applied, i.e. not to be a proper description of the asset." }, "algorithm": { "type": "string", - "description": - "Name of the algorithm which generated the keyword." + "description": "Name of the algorithm which generated the keyword." }, "value": { "type": "string", - "description": - "The keyword itself. A keyword can be considered like a tag, i.e. a short description of the content of the asset." + "description": "The keyword itself. A keyword can be considered like a tag, i.e. a short description of the content of the asset." }, "localeCode": { "type": "string", - "pattern": - "^(((([A-Za-z]{2,3}(-([A-Za-z]{3}(-[A-Za-z]{3}){0,2}))?)|[A-Za-z]{4}|[A-Za-z]{5,8})(-([A-Za-z]{4}))?(-([A-Za-z]{2}|[0-9]{3}))?(-([A-Za-z0-9]{5,8}|[0-9][A-Za-z0-9]{3}))*(-([0-9A-WY-Za-wy-z](-[A-Za-z0-9]{2,8})+))*(-(x(-[A-Za-z0-9]{1,8})+))?)|(x(-[A-Za-z0-9]{1,8})+)|((en-GB-oed|i-ami|i-bnn|i-default|i-enochian|i-hak|i-klingon|i-lux|i-mingo|i-navajo|i-pwn|i-tao|i-tay|i-tsu|sgn-BE-FR|sgn-BE-NL|sgn-CH-DE)|(art-lojban|cel-gaulish|no-bok|no-nyn|zh-guoyu|zh-hakka|zh-min|zh-min-nan|zh-xiang)))$", - "description": - "Language of the keyword. The locale code should follow [RFC BCP47](https://tools.ietf.org/html/bcp47)" + "pattern": "^(((([A-Za-z]{2,3}(-([A-Za-z]{3}(-[A-Za-z]{3}){0,2}))?)|[A-Za-z]{4}|[A-Za-z]{5,8})(-([A-Za-z]{4}))?(-([A-Za-z]{2}|[0-9]{3}))?(-([A-Za-z0-9]{5,8}|[0-9][A-Za-z0-9]{3}))*(-([0-9A-WY-Za-wy-z](-[A-Za-z0-9]{2,8})+))*(-(x(-[A-Za-z0-9]{1,8})+))?)|(x(-[A-Za-z0-9]{1,8})+)|((en-GB-oed|i-ami|i-bnn|i-default|i-enochian|i-hak|i-klingon|i-lux|i-mingo|i-navajo|i-pwn|i-tao|i-tay|i-tsu|sgn-BE-FR|sgn-BE-NL|sgn-CH-DE)|(art-lojban|cel-gaulish|no-bok|no-nyn|zh-guoyu|zh-hakka|zh-min|zh-min-nan|zh-xiang)))$", + "description": "Language of the keyword. The locale code should follow [RFC BCP47](https://tools.ietf.org/html/bcp47)" } } }, - "description": - "The `machineKeywords` property is used to track machine-assigned descriptive phrases like keywords or tags of an asset. Rather than a plan list of tags, it is a structured set of keywords, where keywords can have an explicit confidence ranking and a locale. For human-defined keywords, use the `keywords` property. " + "description": "The `machineKeywords` property is used to track machine-assigned descriptive phrases like keywords or tags of an asset. Rather than a plan list of tags, it is a structured set of keywords, where keywords can have an explicit confidence ranking and a locale. For human-defined keywords, use the `keywords` property. " }, "xmp:fonts": { "title": "Fonts", "meta:usereditable": false, - "description": - "This is a list of fonts and typefaces that are used in the document. The order of fonts does not matter.", + "description": "This is a list of fonts and typefaces that are used in the document. The order of fonts does not matter.", "type": "array", "items": { "$ref": "https://ns.adobe.com/xdm/assets/font#/definitions/font" } }, "xmp:layers": { - "$ref": - "https://ns.adobe.com/xdm/assets/layer-group#/definitions/layer-group" + "$ref": "https://ns.adobe.com/xdm/assets/layer-group#/definitions/layer-group" }, "xmp:artboards": { "title": "Artboards", @@ -400,8 +375,7 @@ "items": { "$ref": "https://ns.adobe.com/xdm/assets/artboard" }, - "description": - "Contains the artboards that are being used in the document. A document can have multiple artboards." + "description": "Contains the artboards that are being used in the document. A document can have multiple artboards." } } } @@ -411,12 +385,10 @@ "$ref": "http://ns.adobe.com/adobecloud/core/1.0/asset#/definitions/asset" }, { - "$ref": - "http://ns.adobe.com/adobecloud/core/1.0#/definitions/common-properties" + "$ref": "http://ns.adobe.com/adobecloud/core/1.0#/definitions/common-properties" }, { - "$ref": - "http://ns.adobe.com/adobecloud/core/1.0#/definitions/date-properties" + "$ref": "http://ns.adobe.com/adobecloud/core/1.0#/definitions/date-properties" }, { "$ref": "https://ns.adobe.com/xdm/external/hal/resource#/definitions/hal" @@ -425,8 +397,7 @@ "$ref": "https://ns.adobe.com/xdm/content/content#/definitions/content" }, { - "$ref": - "https://ns.adobe.com/xdm/assets/copyright-owner#/definitions/copyright" + "$ref": "https://ns.adobe.com/xdm/assets/copyright-owner#/definitions/copyright" }, { "$ref": "#/definitions/asset" @@ -444,4 +415,4 @@ "repo:size" ], "meta:status": "experimental" -} +} \ No newline at end of file diff --git a/schemas/assets/copyright-owner.schema.json b/schemas/assets/copyright-owner.schema.json index 690d9086d..e229f0f40 100644 --- a/schemas/assets/copyright-owner.schema.json +++ b/schemas/assets/copyright-owner.schema.json @@ -9,16 +9,14 @@ "$id": "https://ns.adobe.com/xdm/assets/copyright-owner", "title": "Copyright Owner", "type": "object", - "description": - "Describes the owner of a copyrighted work through name and ID", + "description": "Describes the owner of a copyrighted work through name and ID", "definitions": { "copyright": { "properties": { "plus:copyrightOwnerID": { "title": "Copyright Owner ID", "type": "string", - "description": - "ID of the copyright owner.\nIf the PLUS-ID being stored in this property is registered with the PLUS Coalition, it should be expressed as a URL. For example: http://plus-id.org/PLUS-ID" + "description": "ID of the copyright owner.\nIf the PLUS-ID being stored in this property is registered with the PLUS Coalition, it should be expressed as a URL. For example: http://plus-id.org/PLUS-ID" }, "plus:copyrightOwnerName": { "title": "Copyright Owner Name", @@ -29,4 +27,4 @@ } }, "meta:status": "stabilizing" -} +} \ No newline at end of file diff --git a/schemas/assets/font.schema.json b/schemas/assets/font.schema.json index 0501d8522..acb64fb9b 100644 --- a/schemas/assets/font.schema.json +++ b/schemas/assets/font.schema.json @@ -18,8 +18,7 @@ "type": "array", "name": "Child Font Files", "meta:usereditable": false, - "description": - "The list of file names for the font files that make up a composite font. See also `composite`, `fontFace`.", + "description": "The list of file names for the font files that make up a composite font. See also `composite`, `fontFace`.", "items": { "type": "string" } @@ -28,58 +27,63 @@ "type": "boolean", "name": "Composite", "meta:usereditable": false, - "description": - "`true` for composite fonts. See also `childFontFiles`." + "description": "`true` for composite fonts. See also `childFontFiles`." }, "xdm:fontFace": { "type": "string", "name": "Font Face", "meta:usereditable": false, - "description": - "The name of the typeface, i.e. the specific weight or instance of the fontFamily. For example: Bold, Italic" + "description": "The name of the typeface, i.e. the specific weight or instance of the fontFamily. For example: Bold, Italic" }, "xdm:fontFamily": { "type": "string", "name": "Font Family", "meta:usereditable": false, - "description": - "Complete collection of typefaces in different weights and classifications, but having the same point size, and designed to work together. For example, a Times Roman font family may include Times Roman Bold, Times Roman Extra Bold, Times Roman Italic, Times Roman Bold Italic, Times Roman Condensed, etc., all in the same size." + "description": "Complete collection of typefaces in different weights and classifications, but having the same point size, and designed to work together. For example, a Times Roman font family may include Times Roman Bold, Times Roman Extra Bold, Times Roman Italic, Times Roman Bold Italic, Times Roman Condensed, etc., all in the same size." }, "xdm:fontFileName": { "type": "string", "name": "Font File Name", "meta:usereditable": false, - "description": - "The font file name (not a complete path). For example: `Times New Roman.otf`. Some products are not storing file extension information. XMP spec is open about specifics of the file name. If font information is stored in multiple files, use the semicolon separator to store file names. For example: `zx___.mmm; zx__.pfm`", - "examples": ["zx___.mmm", "zx__.pfm"] + "description": "The font file name (not a complete path). For example: `Times New Roman.otf`. Some products are not storing file extension information. XMP spec is open about specifics of the file name. If font information is stored in multiple files, use the semicolon separator to store file names. For example: `zx___.mmm; zx__.pfm`", + "examples": [ + "zx___.mmm", + "zx__.pfm" + ] }, "xdm:fontName": { "type": "string", "name": "Font Name", "meta:usereditable": false, - "description": - "PostScript name of the font. For example: `TimesNewRomanPS-BoldItalicMT`. `font_name` is manadatory to identify the font used in an asset but an asset may not have a `font` property if it has only images/vector arts (no text)." + "description": "PostScript name of the font. For example: `TimesNewRomanPS-BoldItalicMT`. `font_name` is manadatory to identify the font used in an asset but an asset may not have a `font` property if it has only images/vector arts (no text)." }, "xdm:fontType": { "type": "string", "name": "Font Type", "meta:usereditable": false, - "description": - "The font type, such as TrueType, Type 1, OpenType, and so on. `font_type` is manadatory to identify font category but an asset may not have a `font` property if it has only images/vector arts (no text).", - "meta:enum": ["TrueType", "Type 1", "OpenType"] + "description": "The font type, such as TrueType, Type 1, OpenType, and so on. `font_type` is manadatory to identify font category but an asset may not have a `font` property if it has only images/vector arts (no text).", + "meta:enum": [ + "TrueType", + "Type 1", + "OpenType" + ] }, "xdm:versionString": { "type": "string", "meta:usereditable": false, - "enum": ["version", "nameId 5", "CIDFontVersion", ""], + "enum": [ + "version", + "nameId 5", + "CIDFontVersion", + "" + ], "meta:enum": { "version": "for Type1 fonts", "nameId 5": "for Apple TrueType and OpenType", "CIDFontVersion": "for CID fonts", "": "for bitmap fonts" }, - "description": - "The Adobe CoolType font engine allows two fonts with the same PostScript name and different technologies to be used at the same time, but not if they are from different versions. So even without this data for a given document you will have unique font data. However, the version can tell you if the font has changed metrics, glyph forms or other important information. This is useful for comparing fonts in two documents or fonts in a document to those in your system." + "description": "The Adobe CoolType font engine allows two fonts with the same PostScript name and different technologies to be used at the same time, but not if they are from different versions. So even without this data for a given document you will have unique font data. However, the version can tell you if the font has changed metrics, glyph forms or other important information. This is useful for comparing fonts in two documents or fonts in a document to those in your system." } } } @@ -89,6 +93,9 @@ "$ref": "#/definitions/font" } ], - "required": ["xdm:fontName", "xdm:fontType"], + "required": [ + "xdm:fontName", + "xdm:fontType" + ], "meta:status": "experimental" -} +} \ No newline at end of file diff --git a/schemas/assets/image.schema.json b/schemas/assets/image.schema.json index 3273acaeb..bd36111ec 100644 --- a/schemas/assets/image.schema.json +++ b/schemas/assets/image.schema.json @@ -19,14 +19,12 @@ "https://ns.adobe.com/xdm/assets/asset", "https://ns.adobe.com/xdm/assets/rectangular" ], - "description": - "The Image class is for raster and vector image assets, including JPEG, PNG, SVG files", + "description": "The Image class is for raster and vector image assets, including JPEG, PNG, SVG files", "definitions": { "rational": { "$id": "https://ns.adobe.com/xdm/assets/image/rational", "title": "Rational", - "description": - "A representation of rational numbers as fractions of denominator and numerator.", + "description": "A representation of rational numbers as fractions of denominator and numerator.", "properties": { "tiff:numerator": { "title": "Numerator", @@ -43,7 +41,10 @@ "type": "integer" } }, - "required": ["tiff:numerator", "tiff:denominator"] + "required": [ + "tiff:numerator", + "tiff:denominator" + ] }, "image": { "properties": { @@ -51,8 +52,7 @@ "type": "integer", "meta:usereditable": false, "title": "Orientation", - "description": - "The orientation of the image. Following values are permitted:\n- `1` = Horizontal (normal)\n- `2` = Mirror horizontal\n- `3` = Rotate 180 degrees\n- `4` = Mirror vertical\n- `5` = Mirror horizontal and rotate 270 degrees clockwise\n- `6` = Rotate 90 degrees clockwise\n- `7` = Mirror horizontal and rotate 90 degrees clockwise\n- `8` = Rotate 270 degrees clockwise", + "description": "The orientation of the image. Following values are permitted:\n- `1` = Horizontal (normal)\n- `2` = Mirror horizontal\n- `3` = Rotate 180 degrees\n- `4` = Mirror vertical\n- `5` = Mirror horizontal and rotate 270 degrees clockwise\n- `6` = Rotate 90 degrees clockwise\n- `7` = Mirror horizontal and rotate 90 degrees clockwise\n- `8` = Rotate 270 degrees clockwise", "minimum": 1, "maximum": 8, "meta:enum": { @@ -69,8 +69,7 @@ "tiff:XResolution": { "title": "X-Resolution", "meta:usereditable": false, - "description": - "Horizontal resolution in pixels per `resolutionUnit`.", + "description": "Horizontal resolution in pixels per `resolutionUnit`.", "type": "object", "allOf": [ { @@ -92,10 +91,12 @@ "tiff:resolutionUnit": { "meta:usereditable": false, "title": "Resolution Unit", - "description": - "Unit used for `XResolution` and `YRresolution`. Possible values are 2 (inches) and 3 (centimeters).", + "description": "Unit used for `XResolution` and `YRresolution`. Possible values are 2 (inches) and 3 (centimeters).", "type": "integer", - "enum": [2, 3], + "enum": [ + 2, + 3 + ], "meta:enum": { "2": "inches", "3": "centimeters" @@ -104,10 +105,18 @@ "photoshop:colorMode": { "meta:usereditable": false, "title": "Color Mode", - "description": - "The color mode or image mode determines how colors combine based on the number of channels in a color model. Different color modes result in different levels of color detail and file size. For instance, use CMYK color mode for images in a full-color print brochure, and use RGB color mode for images in web or e-mail to reduce file size while maintaining color integrity.", + "description": "The color mode or image mode determines how colors combine based on the number of channels in a color model. Different color modes result in different levels of color detail and file size. For instance, use CMYK color mode for images in a full-color print brochure, and use RGB color mode for images in web or e-mail to reduce file size while maintaining color integrity.", "type": "integer", - "enum": [0, 1, 2, 3, 4, 7, 8, 9], + "enum": [ + 0, + 1, + 2, + 3, + 4, + 7, + 8, + 9 + ], "meta:enum": { "0": "Bitmap", "1": "Gray scale", @@ -123,8 +132,7 @@ "meta:usereditable": false, "type": "string", "title": "ICC Profile", - "description": - "The [ICC color profile](http://www.color.org/iccprofile.xalter), such as AppleRGB, AdobeRGB1998.", + "description": "The [ICC color profile](http://www.color.org/iccprofile.xalter), such as AppleRGB, AdobeRGB1998.", "meta:enum": [ "ColorMatchRGB", "AppleRGB", @@ -154,8 +162,7 @@ "$ref": "https://ns.adobe.com/xdm/assets/asset#/definitions/asset" }, { - "$ref": - "https://ns.adobe.com/xdm/assets/rectangular#/definitions/rectangular" + "$ref": "https://ns.adobe.com/xdm/assets/rectangular#/definitions/rectangular" }, { "$ref": "#/definitions/image" @@ -173,4 +180,4 @@ "repo:etag" ], "meta:status": "experimental" -} +} \ No newline at end of file diff --git a/schemas/assets/language-alternative.schema.json b/schemas/assets/language-alternative.schema.json index 5e452c7f2..6556158c3 100644 --- a/schemas/assets/language-alternative.schema.json +++ b/schemas/assets/language-alternative.schema.json @@ -9,8 +9,7 @@ "$id": "https://ns.adobe.com/xdm/assets/language-alternative", "title": "Language Alternative", "type": "object", - "description": - "A tuple in a set of language alternatives, i.e. pairs of localized text and their locale, that are equivalent in meaning.", + "description": "A tuple in a set of language alternatives, i.e. pairs of localized text and their locale, that are equivalent in meaning.", "definitions": { "language-alternative": { "properties": { @@ -19,14 +18,12 @@ "type": "string" }, "xml:lang": { - "title": - "The locale of the language alternative. Locales are expressed following [RFC BCP47](https://tools.ietf.org/html/bcp47)", + "title": "The locale of the language alternative. Locales are expressed following [RFC BCP47](https://tools.ietf.org/html/bcp47)", "type": "string", - "pattern": - "^(((([A-Za-z]{2,3}(-([A-Za-z]{3}(-[A-Za-z]{3}){0,2}))?)|[A-Za-z]{4}|[A-Za-z]{5,8})(-([A-Za-z]{4}))?(-([A-Za-z]{2}|[0-9]{3}))?(-([A-Za-z0-9]{5,8}|[0-9][A-Za-z0-9]{3}))*(-([0-9A-WY-Za-wy-z](-[A-Za-z0-9]{2,8})+))*(-(x(-[A-Za-z0-9]{1,8})+))?)|(x(-[A-Za-z0-9]{1,8})+)|((en-GB-oed|i-ami|i-bnn|i-default|i-enochian|i-hak|i-klingon|i-lux|i-mingo|i-navajo|i-pwn|i-tao|i-tay|i-tsu|sgn-BE-FR|sgn-BE-NL|sgn-CH-DE)|(art-lojban|cel-gaulish|no-bok|no-nyn|zh-guoyu|zh-hakka|zh-min|zh-min-nan|zh-xiang)))$" + "pattern": "^(((([A-Za-z]{2,3}(-([A-Za-z]{3}(-[A-Za-z]{3}){0,2}))?)|[A-Za-z]{4}|[A-Za-z]{5,8})(-([A-Za-z]{4}))?(-([A-Za-z]{2}|[0-9]{3}))?(-([A-Za-z0-9]{5,8}|[0-9][A-Za-z0-9]{3}))*(-([0-9A-WY-Za-wy-z](-[A-Za-z0-9]{2,8})+))*(-(x(-[A-Za-z0-9]{1,8})+))?)|(x(-[A-Za-z0-9]{1,8})+)|((en-GB-oed|i-ami|i-bnn|i-default|i-enochian|i-hak|i-klingon|i-lux|i-mingo|i-navajo|i-pwn|i-tao|i-tay|i-tsu|sgn-BE-FR|sgn-BE-NL|sgn-CH-DE)|(art-lojban|cel-gaulish|no-bok|no-nyn|zh-guoyu|zh-hakka|zh-min|zh-min-nan|zh-xiang)))$" } } } }, "meta:status": "stabilizing" -} +} \ No newline at end of file diff --git a/schemas/assets/layer-group.schema.json b/schemas/assets/layer-group.schema.json index 60d0d2e1c..6c0fdd71f 100644 --- a/schemas/assets/layer-group.schema.json +++ b/schemas/assets/layer-group.schema.json @@ -17,13 +17,11 @@ "xdm:name": { "type": "string", "title": "Name", - "description": - "Name of the Layer Group. This will be visible to the user and users can specify names that can help them to identify different Layer Groups" + "description": "Name of the Layer Group. This will be visible to the user and users can specify names that can help them to identify different Layer Groups" }, "xdm:layers": { "name": "Layers", - "description": - "The layers or layer groups contained in this layer group.", + "description": "The layers or layer groups contained in this layer group.", "type": "array", "items": { "anyOf": [ @@ -31,8 +29,7 @@ "$ref": "#/definitions/layer-group" }, { - "$ref": - "https://ns.adobe.com/xdm/assets/layer#/definitions/layer" + "$ref": "https://ns.adobe.com/xdm/assets/layer#/definitions/layer" } ] } @@ -46,4 +43,4 @@ } ], "meta:status": "experimental" -} +} \ No newline at end of file diff --git a/schemas/assets/layer.schema.json b/schemas/assets/layer.schema.json index e03671d4e..def877cb1 100644 --- a/schemas/assets/layer.schema.json +++ b/schemas/assets/layer.schema.json @@ -17,21 +17,18 @@ "xdm:name": { "type": "string", "title": "Name", - "description": - "Name of the Layer. This will be visible to the user and users can specify names that can help them to identify different Layers" + "description": "Name of the Layer. This will be visible to the user and users can specify names that can help them to identify different Layers" }, "xdm:visible": { "type": "boolean", "title": "Visible", - "description": - "Indicates if a layer is visible in the document. `visible = true` - Layer is visible and `false` - Layer is hidden. Visibility is not to be confused with opacity, which is a layer effect." + "description": "Indicates if a layer is visible in the document. `visible = true` - Layer is visible and `false` - Layer is hidden. Visibility is not to be confused with opacity, which is a layer effect." }, "xdm:style": { "type": "string", "name": "Style", "meta:usereditable": false, - "description": - "A layer style is one or more effects applied to a layer or layer group. You can apply one of the preset styles provided with Photoshop or create a custom style. Photoshop provides a variety of effects—such as shadows, glows, and bevels—that change the appearance of a layer’s contents in a non-distructive way. Layer effects are linked to the layer contents. When you move or edit the contents of the layer, the same effects are applied to the modified contents. For example, if you apply a drop shadow to a text layer and then add new text, the shadow is added automatically to the new text." + "description": "A layer style is one or more effects applied to a layer or layer group. You can apply one of the preset styles provided with Photoshop or create a custom style. Photoshop provides a variety of effects—such as shadows, glows, and bevels—that change the appearance of a layer’s contents in a non-distructive way. Layer effects are linked to the layer contents. When you move or edit the contents of the layer, the same effects are applied to the modified contents. For example, if you apply a drop shadow to a text layer and then add new text, the shadow is added automatically to the new text." } } } @@ -41,9 +38,8 @@ "$ref": "#/definitions/layer" }, { - "$ref": - "https://ns.adobe.com/xdm/assets/variable-unit-rectangular#/definitions/rectangular" + "$ref": "https://ns.adobe.com/xdm/assets/variable-unit-rectangular#/definitions/rectangular" } ], "meta:status": "experimental" -} +} \ No newline at end of file diff --git a/schemas/assets/rectangular.schema.json b/schemas/assets/rectangular.schema.json index d90617e29..8373adeba 100644 --- a/schemas/assets/rectangular.schema.json +++ b/schemas/assets/rectangular.schema.json @@ -9,8 +9,7 @@ "$id": "https://ns.adobe.com/xdm/assets/rectangular", "title": "Simple Rectangular Area", "type": "object", - "description": - "Properties that apply to images, videos, and other rectangular media. It represents a rectangular area on a pixel-based surface, but without any indication of origin.", + "description": "Properties that apply to images, videos, and other rectangular media. It represents a rectangular area on a pixel-based surface, but without any indication of origin.", "definitions": { "rectangular": { "properties": { @@ -24,8 +23,7 @@ }, "tiff:imageLength": { "title": "Length", - "description": - "Height in pixels. To maintain continuity with the XMP and TIFF standards, the height of an image or video is specified in the property `imageLength`. The duration of the video (also commonly called length) is specified in the property `extent`", + "description": "Height in pixels. To maintain continuity with the XMP and TIFF standards, the height of an image or video is specified in the property `imageLength`. The duration of the video (also commonly called length) is specified in the property `extent`", "type": "integer", "meta:usereditable": false, "minimum": 0, @@ -33,8 +31,7 @@ }, "xdm:aspectRatio": { "title": "Aspect Ratio", - "description": - "Describes the proportional relationship between the width and the height. To determine the aspect ratio, divide width by height. Media that have an aspect ratio smaller than one are in landscape format, media that have an aspect ratio greater than one are in portrait format.", + "description": "Describes the proportional relationship between the width and the height. To determine the aspect ratio, divide width by height. Media that have an aspect ratio smaller than one are in landscape format, media that have an aspect ratio greater than one are in portrait format.", "type": "number", "minimum": 0, "meta:usereditable": false, @@ -44,4 +41,4 @@ } }, "meta:status": "stabilizing" -} +} \ No newline at end of file diff --git a/schemas/assets/resource-event.schema.json b/schemas/assets/resource-event.schema.json index 9d0e7427b..0d7f8dd89 100644 --- a/schemas/assets/resource-event.schema.json +++ b/schemas/assets/resource-event.schema.json @@ -16,8 +16,7 @@ "properties": { "stEvt:action": { "title": "Action", - "description": - "The action that occurred. Defined values are: converted, copied, created, cropped, edited, filtered, formatted, version_updated, printed, published, managed, produced, resized, and saved. New values should be verbs in the past tense.", + "description": "The action that occurred. Defined values are: converted, copied, created, cropped, edited, filtered, formatted, version_updated, printed, published, managed, produced, resized, and saved. New values should be verbs in the past tense.", "meta:enum": [ "converted", "copied", @@ -37,17 +36,16 @@ }, "stEvt:changed": { "title": "Changed", - "description": - "A semicolon-delimited list of the parts of the resource that were changed since the previous event history. If not present, presumed to be undefined. When tracking changes and the scope of the changed components is unknown, it should be assumed that anything might have changed.", + "description": "A semicolon-delimited list of the parts of the resource that were changed since the previous event history. If not present, presumed to be undefined. When tracking changes and the scope of the changed components is unknown, it should be assumed that anything might have changed.", "type": "string" }, "stEvt:instanceID": { "title": "Instance ID", - "description": - "The value of the `instanceID` property for the modified (output) resource. The value is a GUID, capital A-F, 8-4-4-12", - "examples": ["00112233-4455-6677-8899-AABBCCDDEEFF"], - "pattern": - "^[A-Fa-f0-9]{8}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{12}$", + "description": "The value of the `instanceID` property for the modified (output) resource. The value is a GUID, capital A-F, 8-4-4-12", + "examples": [ + "00112233-4455-6677-8899-AABBCCDDEEFF" + ], + "pattern": "^[A-Fa-f0-9]{8}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{12}$", "type": "string" }, "stEvt:parameters": { @@ -57,14 +55,12 @@ }, "stEvt:softwareAgent": { "title": "Software Agent", - "description": - "The software agent (program) that performed the action.\nIt is recommended that the value use this format convention:\nOrganization Software_name Version (token;token;...)\n- Organization: The name of the company or organization providing the software, no SPACEs.\n- Software_name: The full name of the software, SPACEs allowed.\n- version: The version of the software, no SPACEs.\n- tokens: Can be used to identify an operating system, plug-in, or more detailed version information.", + "description": "The software agent (program) that performed the action.\nIt is recommended that the value use this format convention:\nOrganization Software_name Version (token;token;...)\n- Organization: The name of the company or organization providing the software, no SPACEs.\n- Software_name: The full name of the software, SPACEs allowed.\n- version: The version of the software, no SPACEs.\n- tokens: Can be used to identify an operating system, plug-in, or more detailed version information.", "type": "string" }, "stEvt:when": { "title": "When", - "description": - "Timestamp of when the action occurred. For events that create or write to a file, this should be the approximate modification time of the file.", + "description": "Timestamp of when the action occurred. For events that create or write to a file, this should be the approximate modification time of the file.", "format": "date-time", "type": "string" } @@ -77,4 +73,4 @@ } ], "meta:status": "experimental" -} +} \ No newline at end of file diff --git a/schemas/assets/variable-unit-rectangular.schema.json b/schemas/assets/variable-unit-rectangular.schema.json index 73d2baf5c..6a69a1abb 100644 --- a/schemas/assets/variable-unit-rectangular.schema.json +++ b/schemas/assets/variable-unit-rectangular.schema.json @@ -10,8 +10,7 @@ "title": "Rectangular Object (measured in variable unit)", "type": "object", "meta:extensible": true, - "description": - "This is an abstract schema for objects of rectangular dimensions and position, with a user-specified unit of measurement. Examples include `Artboard` and `Layer`.", + "description": "This is an abstract schema for objects of rectangular dimensions and position, with a user-specified unit of measurement. Examples include `Artboard` and `Layer`.", "definitions": { "rectangular": { "properties": { @@ -19,15 +18,13 @@ "type": "integer", "title": "Origin X", "meta:usereditable": false, - "description": - "Origin X position - Base system is cartesian, relative to master page and origin in top, left (X increasing to right, Y increasing downwards)" + "description": "Origin X position - Base system is cartesian, relative to master page and origin in top, left (X increasing to right, Y increasing downwards)" }, "xdm:originY": { "type": "integer", "title": "Origin Y", "meta:usereditable": false, - "description": - "Origin Y position - Base system is cartesian, relative to master page and origin in top, left (X increasing to right, Y increasing downwards)" + "description": "Origin Y position - Base system is cartesian, relative to master page and origin in top, left (X increasing to right, Y increasing downwards)" }, "xdm:width": { "title": "Width", @@ -48,11 +45,10 @@ "meta:usereditable": false, "type": "string", "default": "pixel", - "description": - "Unit used for artboard coordinates (`originX`, `originY`, `width` and `height`). For example: `inch`, `mm`, `pixel`, `pica`, `point` (default is `pixel`)" + "description": "Unit used for artboard coordinates (`originX`, `originY`, `width` and `height`). For example: `inch`, `mm`, `pixel`, `pica`, `point` (default is `pixel`)" } } } }, "meta:status": "experimental" -} +} \ No newline at end of file diff --git a/schemas/assets/video.schema.json b/schemas/assets/video.schema.json index 03fc1c5a2..1a4a1c165 100644 --- a/schemas/assets/video.schema.json +++ b/schemas/assets/video.schema.json @@ -19,8 +19,7 @@ "https://ns.adobe.com/xdm/assets/asset", "https://ns.adobe.com/xdm/assets/rectangular" ], - "description": - "The Video class is for video assets, i.e. assets that consist of moving pictures and, optionally, sound.", + "description": "The Video class is for video assets, i.e. assets that consist of moving pictures and, optionally, sound.", "definitions": { "video": { "properties": { @@ -28,8 +27,7 @@ "title": "Duration", "meta:usereditable": false, "type": "integer", - "description": - "The duration of the video in milliseconds. This property is inspired by `dc:extent`. However, `dc:extent` does not specify units. `core:extent` is always an integer and describes the duration in milliseconds.", + "description": "The duration of the video in milliseconds. This property is inspired by `dc:extent`. However, `dc:extent` does not specify units. `core:extent` is always an integer and describes the duration in milliseconds.", "example": 8880000 }, "xmpDM:videoFrameRate": { @@ -37,8 +35,7 @@ "title": "Frame Rate", "meta:usereditable": false, "pattern": "((f\\d+(s\\d+)?)|PAL|NTSC|24)", - "description": - "The video frame rate in frames per second (FPS). Predefined values include: \n -`24`\n -`NTSC`\n -`PAL`\n Other values must include `f` and the integer value of the frame rate. Optionally, `s` and the integer value of the rate basis may be included.\n\nThese examples show common video and audio frame rates:\n- Film at 24 fps (frame rate = 24, rate basis = 1): `f24`\n- Speech-to-text in milliseconds (frame rate = 1000, rate basis = 1): `f1000`\n- NTSC at 29.97 fps (frame rate = 30000, rate basis = 1001): `f30000s1001`" + "description": "The video frame rate in frames per second (FPS). Predefined values include: \n -`24`\n -`NTSC`\n -`PAL`\n Other values must include `f` and the integer value of the frame rate. Optionally, `s` and the integer value of the rate basis may be included.\n\nThese examples show common video and audio frame rates:\n- Film at 24 fps (frame rate = 24, rate basis = 1): `f24`\n- Speech-to-text in milliseconds (frame rate = 1000, rate basis = 1): `f1000`\n- NTSC at 29.97 fps (frame rate = 30000, rate basis = 1001): `f30000s1001`" } } } @@ -48,8 +45,7 @@ "$ref": "https://ns.adobe.com/xdm/assets/asset#/definitions/asset" }, { - "$ref": - "https://ns.adobe.com/xdm/assets/rectangular#/definitions/rectangular" + "$ref": "https://ns.adobe.com/xdm/assets/rectangular#/definitions/rectangular" }, { "$ref": "#/definitions/video" @@ -67,4 +63,4 @@ "repo:etag" ], "meta:status": "experimental" -} +} \ No newline at end of file diff --git a/schemas/channels/adm.schema.json b/schemas/channels/adm.schema.json index 16b0d8243..c5462c815 100644 --- a/schemas/channels/adm.schema.json +++ b/schemas/channels/adm.schema.json @@ -20,42 +20,32 @@ "properties": { "@id": { "type": "string", - "format": "uri", + "format": "uri-reference", "const": "https://ns.adobe.com/xdm/channels/adm", - "description": - "The ID uniquely identifies the channel. Each specific experience channel defines a constant `@id`." + "description": "The ID uniquely identifies the channel. Each specific experience channel defines a constant `@id`." }, "xdm:mode": { "type": "string", "const": "push", "description": "How experiences are delivered in this channel.", "meta:enum": { - "push": - "The publisher of an experience can initiate an experience by sending a message into the channel. Most `push` channels involve some form of subscription or opt-in.", - "pull": - "The consumer can initiate an experience by requesting a location in the channel. Most `pull` channels give publishers some control how the experience is then delivered.", - "bidirectional": - "Both `push` and `pull` interaction modes are supported by the channel." + "push": "The publisher of an experience can initiate an experience by sending a message into the channel. Most `push` channels involve some form of subscription or opt-in.", + "pull": "The consumer can initiate an experience by requesting a location in the channel. Most `pull` channels give publishers some control how the experience is then delivered.", + "bidirectional": "Both `push` and `pull` interaction modes are supported by the channel." } }, "@type": { "type": "string", "format": "uri", - "description": - "The `@type` property is used to provide a rough classification of channels with similar properties.", + "description": "The `@type` property is used to provide a rough classification of channels with similar properties.", "const": "https://ns.adobe.com/xdm/channel-types/mobile", "meta:enum": { - "https://ns.adobe.com/xdm/channel-types/web": - "The world wide web, including mobile web", - "https://ns.adobe.com/xdm/channel-types/social": - "Social media platforms", - "https://ns.adobe.com/xdm/channel-types/mobile": - "Mobile applications", - "https://ns.adobe.com/xdm/channel-types/messaging": - "Instant Messaging", + "https://ns.adobe.com/xdm/channel-types/web": "The world wide web, including mobile web", + "https://ns.adobe.com/xdm/channel-types/social": "Social media platforms", + "https://ns.adobe.com/xdm/channel-types/mobile": "Mobile applications", + "https://ns.adobe.com/xdm/channel-types/messaging": "Instant Messaging", "https://ns.adobe.com/xdm/channel-types/email": "E-Mail", - "https://ns.adobe.com/xdm/channel-types/offline": - "Non-Digital experience channels" + "https://ns.adobe.com/xdm/channel-types/offline": "Non-Digital experience channels" } }, "xdm:contentTypes": { @@ -71,8 +61,7 @@ "xdm:locationTypes": { "type": "array", "const": [], - "description": - "The types of locations (virtual places) that this channel consists of and can deliver content to." + "description": "The types of locations (virtual places) that this channel consists of and can deliver content to." } } } @@ -88,6 +77,8 @@ "$ref": "#/definitions/channel" } ], - "required": ["@id"], + "required": [ + "@id" + ], "meta:status": "experimental" -} +} \ No newline at end of file diff --git a/schemas/channels/agency.schema.json b/schemas/channels/agency.schema.json index efede51a7..a28820f69 100644 --- a/schemas/channels/agency.schema.json +++ b/schemas/channels/agency.schema.json @@ -8,8 +8,7 @@ "$id": "https://ns.adobe.com/xdm/channels/agency", "$schema": "http://json-schema.org/draft-06/schema#", "title": "E-Mail", - "description": - "The marketing experience is handed-off to an external agency. This channel has no specific mechanism and is designed for descriptive purposes only. Such as, to define experiences for which you want to keep a trace of the population targeted in an external tool", + "description": "The marketing experience is handed-off to an external agency. This channel has no specific mechanism and is designed for descriptive purposes only. Such as, to define experiences for which you want to keep a trace of the population targeted in an external tool", "meta:extensible": true, "meta:extends": [ "https://ns.adobe.com/xdm/channels/channel#/definitions/channel" @@ -21,42 +20,32 @@ "properties": { "@id": { "type": "string", - "format": "uri", + "format": "uri-reference", "const": "https://ns.adobe.com/xdm/channels/agency", - "description": - "The ID uniquely identifies the channel. Each specific experience channel defines a constant `@id`." + "description": "The ID uniquely identifies the channel. Each specific experience channel defines a constant `@id`." }, "xdm:mode": { "type": "string", "const": "bidirectional", "description": "How experiences are delivered in this channel.", "meta:enum": { - "push": - "The publisher of an experience can initiate an experience by sending a message into the channel. Most `push` channels involve some form of subscription or opt-in.", - "pull": - "The consumer can initiate an experience by requesting a location in the channel. Most `pull` channels give publishers some control how the experience is then delivered.", - "bidirectional": - "Both `push` and `pull` interaction modes are supported by the channel." + "push": "The publisher of an experience can initiate an experience by sending a message into the channel. Most `push` channels involve some form of subscription or opt-in.", + "pull": "The consumer can initiate an experience by requesting a location in the channel. Most `pull` channels give publishers some control how the experience is then delivered.", + "bidirectional": "Both `push` and `pull` interaction modes are supported by the channel." } }, "@type": { "type": "string", "format": "uri", - "description": - "The `@type` property is used to provide a rough classification of channels with similar properties.", + "description": "The `@type` property is used to provide a rough classification of channels with similar properties.", "const": "https://ns.adobe.com/xdm/channel-types/offline", "meta:enum": { - "https://ns.adobe.com/xdm/channel-types/web": - "The world wide web, including mobile web", - "https://ns.adobe.com/xdm/channel-types/social": - "Social media platforms", - "https://ns.adobe.com/xdm/channel-types/mobile": - "Mobile applications", - "https://ns.adobe.com/xdm/channel-types/messaging": - "Instant Messaging", + "https://ns.adobe.com/xdm/channel-types/web": "The world wide web, including mobile web", + "https://ns.adobe.com/xdm/channel-types/social": "Social media platforms", + "https://ns.adobe.com/xdm/channel-types/mobile": "Mobile applications", + "https://ns.adobe.com/xdm/channel-types/messaging": "Instant Messaging", "https://ns.adobe.com/xdm/channel-types/email": "E-Mail", - "https://ns.adobe.com/xdm/channel-types/offline": - "Non-Digital experience channels" + "https://ns.adobe.com/xdm/channel-types/offline": "Non-Digital experience channels" } }, "xdm:contentTypes": { @@ -72,8 +61,7 @@ "xdm:locationTypes": { "type": "array", "const": [], - "description": - "The types of locations (virtual places) that this channel consists of and can deliver content to." + "description": "The types of locations (virtual places) that this channel consists of and can deliver content to." } } } @@ -89,6 +77,8 @@ "$ref": "#/definitions/channel" } ], - "required": ["@id"], + "required": [ + "@id" + ], "meta:status": "experimental" -} +} \ No newline at end of file diff --git a/schemas/channels/apns.schema.json b/schemas/channels/apns.schema.json index f616e242b..c91f3c7b6 100644 --- a/schemas/channels/apns.schema.json +++ b/schemas/channels/apns.schema.json @@ -20,42 +20,32 @@ "properties": { "@id": { "type": "string", - "format": "uri", + "format": "uri-reference", "const": "https://ns.adobe.com/xdm/channels/apns", - "description": - "The ID uniquely identifies the channel. Each specific experience channel defines a constant `@id`." + "description": "The ID uniquely identifies the channel. Each specific experience channel defines a constant `@id`." }, "xdm:mode": { "type": "string", "const": "push", "description": "How experiences are delivered in this channel.", "meta:enum": { - "push": - "The publisher of an experience can initiate an experience by sending a message into the channel. Most `push` channels involve some form of subscription or opt-in.", - "pull": - "The consumer can initiate an experience by requesting a location in the channel. Most `pull` channels give publishers some control how the experience is then delivered.", - "bidirectional": - "Both `push` and `pull` interaction modes are supported by the channel." + "push": "The publisher of an experience can initiate an experience by sending a message into the channel. Most `push` channels involve some form of subscription or opt-in.", + "pull": "The consumer can initiate an experience by requesting a location in the channel. Most `pull` channels give publishers some control how the experience is then delivered.", + "bidirectional": "Both `push` and `pull` interaction modes are supported by the channel." } }, "@type": { "type": "string", "format": "uri", - "description": - "The `@type` property is used to provide a rough classification of channels with similar properties.", + "description": "The `@type` property is used to provide a rough classification of channels with similar properties.", "const": "https://ns.adobe.com/xdm/channel-types/mobile", "meta:enum": { - "https://ns.adobe.com/xdm/channel-types/web": - "The world wide web, including mobile web", - "https://ns.adobe.com/xdm/channel-types/social": - "Social media platforms", - "https://ns.adobe.com/xdm/channel-types/mobile": - "Mobile applications", - "https://ns.adobe.com/xdm/channel-types/messaging": - "Instant Messaging", + "https://ns.adobe.com/xdm/channel-types/web": "The world wide web, including mobile web", + "https://ns.adobe.com/xdm/channel-types/social": "Social media platforms", + "https://ns.adobe.com/xdm/channel-types/mobile": "Mobile applications", + "https://ns.adobe.com/xdm/channel-types/messaging": "Instant Messaging", "https://ns.adobe.com/xdm/channel-types/email": "E-Mail", - "https://ns.adobe.com/xdm/channel-types/offline": - "Non-Digital experience channels" + "https://ns.adobe.com/xdm/channel-types/offline": "Non-Digital experience channels" } }, "xdm:contentTypes": { @@ -71,8 +61,7 @@ "xdm:locationTypes": { "type": "array", "const": [], - "description": - "The types of locations (virtual places) that this channel consists of and can deliver content to." + "description": "The types of locations (virtual places) that this channel consists of and can deliver content to." } } } @@ -88,6 +77,8 @@ "$ref": "#/definitions/channel" } ], - "required": ["@id"], + "required": [ + "@id" + ], "meta:status": "experimental" -} +} \ No newline at end of file diff --git a/schemas/channels/application.schema.json b/schemas/channels/application.schema.json index dc116aa41..0bf0d59d9 100644 --- a/schemas/channels/application.schema.json +++ b/schemas/channels/application.schema.json @@ -9,8 +9,7 @@ "$schema": "http://json-schema.org/draft-06/schema#", "title": "Application", "type": "object", - "description": - "An application that accepts messages or emit events (Facebook page, Mobile App, ...).\n", + "description": "An application that accepts messages or emit events (Facebook page, Mobile App, ...).\n", "definitions": { "application": { "properties": { @@ -38,4 +37,4 @@ } ], "meta:status": "experimental" -} +} \ No newline at end of file diff --git a/schemas/channels/baidu.schema.json b/schemas/channels/baidu.schema.json index ddfea5ee3..b6a896055 100644 --- a/schemas/channels/baidu.schema.json +++ b/schemas/channels/baidu.schema.json @@ -20,42 +20,32 @@ "properties": { "@id": { "type": "string", - "format": "uri", + "format": "uri-reference", "const": "https://ns.adobe.com/xdm/channels/baidu", - "description": - "The ID uniquely identifies the channel. Each specific experience channel defines a constant `@id`." + "description": "The ID uniquely identifies the channel. Each specific experience channel defines a constant `@id`." }, "xdm:mode": { "type": "string", "const": "push", "description": "How experiences are delivered in this channel.", "meta:enum": { - "push": - "The publisher of an experience can initiate an experience by sending a message into the channel. Most `push` channels involve some form of subscription or opt-in.", - "pull": - "The consumer can initiate an experience by requesting a location in the channel. Most `pull` channels give publishers some control how the experience is then delivered.", - "bidirectional": - "Both `push` and `pull` interaction modes are supported by the channel." + "push": "The publisher of an experience can initiate an experience by sending a message into the channel. Most `push` channels involve some form of subscription or opt-in.", + "pull": "The consumer can initiate an experience by requesting a location in the channel. Most `pull` channels give publishers some control how the experience is then delivered.", + "bidirectional": "Both `push` and `pull` interaction modes are supported by the channel." } }, "@type": { "type": "string", "format": "uri", - "description": - "The `@type` property is used to provide a rough classification of channels with similar properties.", + "description": "The `@type` property is used to provide a rough classification of channels with similar properties.", "const": "https://ns.adobe.com/xdm/channel-types/mobile", "meta:enum": { - "https://ns.adobe.com/xdm/channel-types/web": - "The world wide web, including mobile web", - "https://ns.adobe.com/xdm/channel-types/social": - "Social media platforms", - "https://ns.adobe.com/xdm/channel-types/mobile": - "Mobile applications", - "https://ns.adobe.com/xdm/channel-types/messaging": - "Instant Messaging", + "https://ns.adobe.com/xdm/channel-types/web": "The world wide web, including mobile web", + "https://ns.adobe.com/xdm/channel-types/social": "Social media platforms", + "https://ns.adobe.com/xdm/channel-types/mobile": "Mobile applications", + "https://ns.adobe.com/xdm/channel-types/messaging": "Instant Messaging", "https://ns.adobe.com/xdm/channel-types/email": "E-Mail", - "https://ns.adobe.com/xdm/channel-types/offline": - "Non-Digital experience channels" + "https://ns.adobe.com/xdm/channel-types/offline": "Non-Digital experience channels" } }, "xdm:contentTypes": { @@ -71,8 +61,7 @@ "xdm:locationTypes": { "type": "array", "const": [], - "description": - "The types of locations (virtual places) that this channel consists of and can deliver content to." + "description": "The types of locations (virtual places) that this channel consists of and can deliver content to." } } } @@ -88,6 +77,8 @@ "$ref": "#/definitions/channel" } ], - "required": ["@id"], + "required": [ + "@id" + ], "meta:status": "experimental" -} +} \ No newline at end of file diff --git a/schemas/channels/channel.schema.json b/schemas/channels/channel.schema.json index 0776f2d4b..ce34bd2a5 100644 --- a/schemas/channels/channel.schema.json +++ b/schemas/channels/channel.schema.json @@ -17,40 +17,34 @@ "properties": { "@id": { "type": "string", - "format": "uri", - "description": - "The ID uniquely identifies the channel. Each specific experience channel defines a constant `@id`." + "format": "uri-reference", + "description": "The ID uniquely identifies the channel. Each specific experience channel defines a constant `@id`." }, "xdm:mode": { "type": "string", - "enum": ["push", "pull", "bidirectional"], + "enum": [ + "push", + "pull", + "bidirectional" + ], "description": "How experiences are delivered in this channel.", "meta:enum": { - "push": - "The publisher of an experience can initiate an experience by sending a message into the channel. Most `push` channels involve some form of subscription or opt-in.", - "pull": - "The consumer can initiate an experience by requesting a location in the channel. Most `pull` channels give publishers some control how the experience is then delivered.", - "bidirectional": - "Both `push` and `pull` interaction modes are supported by the channel." + "push": "The publisher of an experience can initiate an experience by sending a message into the channel. Most `push` channels involve some form of subscription or opt-in.", + "pull": "The consumer can initiate an experience by requesting a location in the channel. Most `pull` channels give publishers some control how the experience is then delivered.", + "bidirectional": "Both `push` and `pull` interaction modes are supported by the channel." } }, "@type": { "type": "string", "format": "uri", - "description": - "The `@type` property is used to provide a rough classification of channels with similar properties.", + "description": "The `@type` property is used to provide a rough classification of channels with similar properties.", "meta:enum": { - "https://ns.adobe.com/xdm/channel-types/web": - "The world wide web, including mobile web", - "https://ns.adobe.com/xdm/channel-types/social": - "Social media platforms", - "https://ns.adobe.com/xdm/channel-types/mobile": - "Mobile applications", - "https://ns.adobe.com/xdm/channel-types/messaging": - "Instant Messaging", + "https://ns.adobe.com/xdm/channel-types/web": "The world wide web, including mobile web", + "https://ns.adobe.com/xdm/channel-types/social": "Social media platforms", + "https://ns.adobe.com/xdm/channel-types/mobile": "Mobile applications", + "https://ns.adobe.com/xdm/channel-types/messaging": "Instant Messaging", "https://ns.adobe.com/xdm/channel-types/email": "E-Mail", - "https://ns.adobe.com/xdm/channel-types/offline": - "Non-Digital experience channels" + "https://ns.adobe.com/xdm/channel-types/offline": "Non-Digital experience channels" } }, "xdm:contentTypes": { @@ -58,8 +52,7 @@ "items": { "type": "string", "format": "uri", - "description": - "The `@type` of an XDM-defined content type that is supported by this channel." + "description": "The `@type` of an XDM-defined content type that is supported by this channel." }, "description": "The content types that this channel can deliver." }, @@ -68,8 +61,7 @@ "items": { "type": "string", "format": "uri", - "description": - "The `@type` of an XDM-defined metric that is supported by this channel." + "description": "The `@type` of an XDM-defined metric that is supported by this channel." }, "description": "The metrics that can be collected in this channel." }, @@ -78,11 +70,9 @@ "items": { "type": "string", "format": "uri", - "description": - "The `@type` of an XDM-defined location (virtual place) that this channel can contain." + "description": "The `@type` of an XDM-defined location (virtual place) that this channel can contain." }, - "description": - "The types of locations (virtual places) that this channel consists of and can deliver content to." + "description": "The types of locations (virtual places) that this channel consists of and can deliver content to." } } } @@ -95,6 +85,8 @@ "$ref": "#/definitions/channel" } ], - "required": ["@id"], + "required": [ + "@id" + ], "meta:status": "experimental" -} +} \ No newline at end of file diff --git a/schemas/channels/direct-mail.schema.json b/schemas/channels/direct-mail.schema.json index 8a050bb4a..3bcceb8ff 100644 --- a/schemas/channels/direct-mail.schema.json +++ b/schemas/channels/direct-mail.schema.json @@ -20,42 +20,32 @@ "properties": { "@id": { "type": "string", - "format": "uri", + "format": "uri-reference", "const": "https://ns.adobe.com/xdm/channels/direct-mail", - "description": - "The ID uniquely identifies the channel. Each specific experience channel defines a constant `@id`." + "description": "The ID uniquely identifies the channel. Each specific experience channel defines a constant `@id`." }, "xdm:mode": { "type": "string", "const": "push", "description": "How experiences are delivered in this channel.", "meta:enum": { - "push": - "The publisher of an experience can initiate an experience by sending a message into the channel. Most `push` channels involve some form of subscription or opt-in.", - "pull": - "The consumer can initiate an experience by requesting a location in the channel. Most `pull` channels give publishers some control how the experience is then delivered.", - "bidirectional": - "Both `push` and `pull` interaction modes are supported by the channel." + "push": "The publisher of an experience can initiate an experience by sending a message into the channel. Most `push` channels involve some form of subscription or opt-in.", + "pull": "The consumer can initiate an experience by requesting a location in the channel. Most `pull` channels give publishers some control how the experience is then delivered.", + "bidirectional": "Both `push` and `pull` interaction modes are supported by the channel." } }, "@type": { "type": "string", "format": "uri", - "description": - "The `@type` property is used to provide a rough classification of channels with similar properties.", + "description": "The `@type` property is used to provide a rough classification of channels with similar properties.", "const": "https://ns.adobe.com/xdm/channel-types/offline", "meta:enum": { - "https://ns.adobe.com/xdm/channel-types/web": - "The world wide web, including mobile web", - "https://ns.adobe.com/xdm/channel-types/social": - "Social media platforms", - "https://ns.adobe.com/xdm/channel-types/mobile": - "Mobile applications", - "https://ns.adobe.com/xdm/channel-types/messaging": - "Instant Messaging", + "https://ns.adobe.com/xdm/channel-types/web": "The world wide web, including mobile web", + "https://ns.adobe.com/xdm/channel-types/social": "Social media platforms", + "https://ns.adobe.com/xdm/channel-types/mobile": "Mobile applications", + "https://ns.adobe.com/xdm/channel-types/messaging": "Instant Messaging", "https://ns.adobe.com/xdm/channel-types/email": "E-Mail", - "https://ns.adobe.com/xdm/channel-types/offline": - "Non-Digital experience channels" + "https://ns.adobe.com/xdm/channel-types/offline": "Non-Digital experience channels" } }, "xdm:contentTypes": { @@ -71,8 +61,7 @@ "xdm:locationTypes": { "type": "array", "const": [], - "description": - "The types of locations (virtual places) that this channel consists of and can deliver content to." + "description": "The types of locations (virtual places) that this channel consists of and can deliver content to." } } } @@ -88,6 +77,8 @@ "$ref": "#/definitions/channel" } ], - "required": ["@id"], + "required": [ + "@id" + ], "meta:status": "experimental" -} +} \ No newline at end of file diff --git a/schemas/channels/email.schema.json b/schemas/channels/email.schema.json index d1dbd10d8..134fc12d0 100644 --- a/schemas/channels/email.schema.json +++ b/schemas/channels/email.schema.json @@ -20,42 +20,32 @@ "properties": { "@id": { "type": "string", - "format": "uri", + "format": "uri-reference", "const": "https://ns.adobe.com/xdm/channels/email", - "description": - "The ID uniquely identifies the channel. Each specific experience channel defines a constant `@id`." + "description": "The ID uniquely identifies the channel. Each specific experience channel defines a constant `@id`." }, "xdm:mode": { "type": "string", "const": "push", "description": "How experiences are delivered in this channel.", "meta:enum": { - "push": - "The publisher of an experience can initiate an experience by sending a message into the channel. Most `push` channels involve some form of subscription or opt-in.", - "pull": - "The consumer can initiate an experience by requesting a location in the channel. Most `pull` channels give publishers some control how the experience is then delivered.", - "bidirectional": - "Both `push` and `pull` interaction modes are supported by the channel." + "push": "The publisher of an experience can initiate an experience by sending a message into the channel. Most `push` channels involve some form of subscription or opt-in.", + "pull": "The consumer can initiate an experience by requesting a location in the channel. Most `pull` channels give publishers some control how the experience is then delivered.", + "bidirectional": "Both `push` and `pull` interaction modes are supported by the channel." } }, "@type": { "type": "string", "format": "uri", - "description": - "The `@type` property is used to provide a rough classification of channels with similar properties.", + "description": "The `@type` property is used to provide a rough classification of channels with similar properties.", "const": "https://ns.adobe.com/xdm/channel-types/email", "meta:enum": { - "https://ns.adobe.com/xdm/channel-types/web": - "The world wide web, including mobile web", - "https://ns.adobe.com/xdm/channel-types/social": - "Social media platforms", - "https://ns.adobe.com/xdm/channel-types/mobile": - "Mobile applications", - "https://ns.adobe.com/xdm/channel-types/messaging": - "Instant Messaging", + "https://ns.adobe.com/xdm/channel-types/web": "The world wide web, including mobile web", + "https://ns.adobe.com/xdm/channel-types/social": "Social media platforms", + "https://ns.adobe.com/xdm/channel-types/mobile": "Mobile applications", + "https://ns.adobe.com/xdm/channel-types/messaging": "Instant Messaging", "https://ns.adobe.com/xdm/channel-types/email": "E-Mail", - "https://ns.adobe.com/xdm/channel-types/offline": - "Non-Digital experience channels" + "https://ns.adobe.com/xdm/channel-types/offline": "Non-Digital experience channels" } }, "xdm:contentTypes": { @@ -71,8 +61,7 @@ "xdm:locationTypes": { "type": "array", "const": [], - "description": - "The types of locations (virtual places) that this channel consists of and can deliver content to." + "description": "The types of locations (virtual places) that this channel consists of and can deliver content to." } } } @@ -88,6 +77,8 @@ "$ref": "#/definitions/channel" } ], - "required": ["@id"], + "required": [ + "@id" + ], "meta:status": "experimental" -} +} \ No newline at end of file diff --git a/schemas/channels/facebook-feed.schema.json b/schemas/channels/facebook-feed.schema.json index 50c9b5978..cae6a5aa5 100644 --- a/schemas/channels/facebook-feed.schema.json +++ b/schemas/channels/facebook-feed.schema.json @@ -8,8 +8,7 @@ "$id": "https://ns.adobe.com/xdm/channels/facebook-feed", "$schema": "http://json-schema.org/draft-06/schema#", "title": "Facebook News Feed", - "description": - "The Facebook News Feed. This does not include Facebook Messenger, or Facebook App pages.", + "description": "The Facebook News Feed. This does not include Facebook Messenger, or Facebook App pages.", "meta:extensible": true, "meta:extends": [ "https://ns.adobe.com/xdm/channels/channel#/definitions/channel" @@ -21,42 +20,32 @@ "properties": { "@id": { "type": "string", - "format": "uri", + "format": "uri-reference", "const": "https://ns.adobe.com/xdm/channels/facebook-feed", - "description": - "The ID uniquely identifies the channel. Each specific experience channel defines a constant `@id`." + "description": "The ID uniquely identifies the channel. Each specific experience channel defines a constant `@id`." }, "xdm:mode": { "type": "string", "const": "pull", "description": "How experiences are delivered in this channel.", "meta:enum": { - "push": - "The publisher of an experience can initiate an experience by sending a message into the channel. Most `push` channels involve some form of subscription or opt-in.", - "pull": - "The consumer can initiate an experience by requesting a location in the channel. Most `pull` channels give publishers some control how the experience is then delivered.", - "bidirectional": - "Both `push` and `pull` interaction modes are supported by the channel." + "push": "The publisher of an experience can initiate an experience by sending a message into the channel. Most `push` channels involve some form of subscription or opt-in.", + "pull": "The consumer can initiate an experience by requesting a location in the channel. Most `pull` channels give publishers some control how the experience is then delivered.", + "bidirectional": "Both `push` and `pull` interaction modes are supported by the channel." } }, "@type": { "type": "string", "format": "uri", - "description": - "The `@type` property is used to provide a rough classification of channels with similar properties.", + "description": "The `@type` property is used to provide a rough classification of channels with similar properties.", "const": "https://ns.adobe.com/xdm/channel-types/social", "meta:enum": { - "https://ns.adobe.com/xdm/channel-types/web": - "The world wide web, including mobile web", - "https://ns.adobe.com/xdm/channel-types/social": - "Social media platforms", - "https://ns.adobe.com/xdm/channel-types/mobile": - "Mobile applications", - "https://ns.adobe.com/xdm/channel-types/messaging": - "Instant Messaging", + "https://ns.adobe.com/xdm/channel-types/web": "The world wide web, including mobile web", + "https://ns.adobe.com/xdm/channel-types/social": "Social media platforms", + "https://ns.adobe.com/xdm/channel-types/mobile": "Mobile applications", + "https://ns.adobe.com/xdm/channel-types/messaging": "Instant Messaging", "https://ns.adobe.com/xdm/channel-types/email": "E-Mail", - "https://ns.adobe.com/xdm/channel-types/offline": - "Non-Digital experience channels" + "https://ns.adobe.com/xdm/channel-types/offline": "Non-Digital experience channels" } }, "xdm:contentTypes": { @@ -72,8 +61,7 @@ "xdm:locationTypes": { "type": "array", "const": [], - "description": - "The types of locations (virtual places) that this channel consists of and can deliver content to." + "description": "The types of locations (virtual places) that this channel consists of and can deliver content to." } } } @@ -89,6 +77,8 @@ "$ref": "#/definitions/channel" } ], - "required": ["@id"], + "required": [ + "@id" + ], "meta:status": "experimental" -} +} \ No newline at end of file diff --git a/schemas/channels/fax.schema.json b/schemas/channels/fax.schema.json index 6d41f6e03..a928d80aa 100644 --- a/schemas/channels/fax.schema.json +++ b/schemas/channels/fax.schema.json @@ -20,42 +20,32 @@ "properties": { "@id": { "type": "string", - "format": "uri", + "format": "uri-reference", "const": "https://ns.adobe.com/xdm/channels/fax", - "description": - "The ID uniquely identifies the channel. Each specific experience channel defines a constant `@id`." + "description": "The ID uniquely identifies the channel. Each specific experience channel defines a constant `@id`." }, "xdm:mode": { "type": "string", "const": "push", "description": "How experiences are delivered in this channel.", "meta:enum": { - "push": - "The publisher of an experience can initiate an experience by sending a message into the channel. Most `push` channels involve some form of subscription or opt-in.", - "pull": - "The consumer can initiate an experience by requesting a location in the channel. Most `pull` channels give publishers some control how the experience is then delivered.", - "bidirectional": - "Both `push` and `pull` interaction modes are supported by the channel." + "push": "The publisher of an experience can initiate an experience by sending a message into the channel. Most `push` channels involve some form of subscription or opt-in.", + "pull": "The consumer can initiate an experience by requesting a location in the channel. Most `pull` channels give publishers some control how the experience is then delivered.", + "bidirectional": "Both `push` and `pull` interaction modes are supported by the channel." } }, "@type": { "type": "string", "format": "uri", - "description": - "The `@type` property is used to provide a rough classification of channels with similar properties.", + "description": "The `@type` property is used to provide a rough classification of channels with similar properties.", "const": "https://ns.adobe.com/xdm/channel-types/offline", "meta:enum": { - "https://ns.adobe.com/xdm/channel-types/web": - "The world wide web, including mobile web", - "https://ns.adobe.com/xdm/channel-types/social": - "Social media platforms", - "https://ns.adobe.com/xdm/channel-types/mobile": - "Mobile applications", - "https://ns.adobe.com/xdm/channel-types/messaging": - "Instant Messaging", + "https://ns.adobe.com/xdm/channel-types/web": "The world wide web, including mobile web", + "https://ns.adobe.com/xdm/channel-types/social": "Social media platforms", + "https://ns.adobe.com/xdm/channel-types/mobile": "Mobile applications", + "https://ns.adobe.com/xdm/channel-types/messaging": "Instant Messaging", "https://ns.adobe.com/xdm/channel-types/email": "E-Mail", - "https://ns.adobe.com/xdm/channel-types/offline": - "Non-Digital experience channels" + "https://ns.adobe.com/xdm/channel-types/offline": "Non-Digital experience channels" } }, "xdm:contentTypes": { @@ -71,8 +61,7 @@ "xdm:locationTypes": { "type": "array", "const": [], - "description": - "The types of locations (virtual places) that this channel consists of and can deliver content to." + "description": "The types of locations (virtual places) that this channel consists of and can deliver content to." } } } @@ -88,6 +77,8 @@ "$ref": "#/definitions/channel" } ], - "required": ["@id"], + "required": [ + "@id" + ], "meta:status": "experimental" -} +} \ No newline at end of file diff --git a/schemas/channels/gcm.schema.json b/schemas/channels/gcm.schema.json index 113178d25..dc05ad298 100644 --- a/schemas/channels/gcm.schema.json +++ b/schemas/channels/gcm.schema.json @@ -20,42 +20,32 @@ "properties": { "@id": { "type": "string", - "format": "uri", + "format": "uri-reference", "const": "https://ns.adobe.com/xdm/channels/gcm", - "description": - "The ID uniquely identifies the channel. Each specific experience channel defines a constant `@id`." + "description": "The ID uniquely identifies the channel. Each specific experience channel defines a constant `@id`." }, "xdm:mode": { "type": "string", "const": "push", "description": "How experiences are delivered in this channel.", "meta:enum": { - "push": - "The publisher of an experience can initiate an experience by sending a message into the channel. Most `push` channels involve some form of subscription or opt-in.", - "pull": - "The consumer can initiate an experience by requesting a location in the channel. Most `pull` channels give publishers some control how the experience is then delivered.", - "bidirectional": - "Both `push` and `pull` interaction modes are supported by the channel." + "push": "The publisher of an experience can initiate an experience by sending a message into the channel. Most `push` channels involve some form of subscription or opt-in.", + "pull": "The consumer can initiate an experience by requesting a location in the channel. Most `pull` channels give publishers some control how the experience is then delivered.", + "bidirectional": "Both `push` and `pull` interaction modes are supported by the channel." } }, "@type": { "type": "string", "format": "uri", - "description": - "The `@type` property is used to provide a rough classification of channels with similar properties.", + "description": "The `@type` property is used to provide a rough classification of channels with similar properties.", "const": "https://ns.adobe.com/xdm/channel-types/mobile", "meta:enum": { - "https://ns.adobe.com/xdm/channel-types/web": - "The world wide web, including mobile web", - "https://ns.adobe.com/xdm/channel-types/social": - "Social media platforms", - "https://ns.adobe.com/xdm/channel-types/mobile": - "Mobile applications", - "https://ns.adobe.com/xdm/channel-types/messaging": - "Instant Messaging", + "https://ns.adobe.com/xdm/channel-types/web": "The world wide web, including mobile web", + "https://ns.adobe.com/xdm/channel-types/social": "Social media platforms", + "https://ns.adobe.com/xdm/channel-types/mobile": "Mobile applications", + "https://ns.adobe.com/xdm/channel-types/messaging": "Instant Messaging", "https://ns.adobe.com/xdm/channel-types/email": "E-Mail", - "https://ns.adobe.com/xdm/channel-types/offline": - "Non-Digital experience channels" + "https://ns.adobe.com/xdm/channel-types/offline": "Non-Digital experience channels" } }, "xdm:contentTypes": { @@ -71,8 +61,7 @@ "xdm:locationTypes": { "type": "array", "const": [], - "description": - "The types of locations (virtual places) that this channel consists of and can deliver content to." + "description": "The types of locations (virtual places) that this channel consists of and can deliver content to." } } } @@ -88,6 +77,8 @@ "$ref": "#/definitions/channel" } ], - "required": ["@id"], + "required": [ + "@id" + ], "meta:status": "experimental" -} +} \ No newline at end of file diff --git a/schemas/channels/line.schema.json b/schemas/channels/line.schema.json index 681352b24..1bceb78dc 100644 --- a/schemas/channels/line.schema.json +++ b/schemas/channels/line.schema.json @@ -20,42 +20,32 @@ "properties": { "@id": { "type": "string", - "format": "uri", + "format": "uri-reference", "const": "https://ns.adobe.com/xdm/channels/line", - "description": - "The ID uniquely identifies the channel. Each specific experience channel defines a constant `@id`." + "description": "The ID uniquely identifies the channel. Each specific experience channel defines a constant `@id`." }, "xdm:mode": { "type": "string", "const": "push", "description": "How experiences are delivered in this channel.", "meta:enum": { - "push": - "The publisher of an experience can initiate an experience by sending a message into the channel. Most `push` channels involve some form of subscription or opt-in.", - "pull": - "The consumer can initiate an experience by requesting a location in the channel. Most `pull` channels give publishers some control how the experience is then delivered.", - "bidirectional": - "Both `push` and `pull` interaction modes are supported by the channel." + "push": "The publisher of an experience can initiate an experience by sending a message into the channel. Most `push` channels involve some form of subscription or opt-in.", + "pull": "The consumer can initiate an experience by requesting a location in the channel. Most `pull` channels give publishers some control how the experience is then delivered.", + "bidirectional": "Both `push` and `pull` interaction modes are supported by the channel." } }, "@type": { "type": "string", "format": "uri", - "description": - "The `@type` property is used to provide a rough classification of channels with similar properties.", + "description": "The `@type` property is used to provide a rough classification of channels with similar properties.", "const": "https://ns.adobe.com/xdm/channel-types/messaging", "meta:enum": { - "https://ns.adobe.com/xdm/channel-types/web": - "The world wide web, including mobile web", - "https://ns.adobe.com/xdm/channel-types/social": - "Social media platforms", - "https://ns.adobe.com/xdm/channel-types/mobile": - "Mobile applications", - "https://ns.adobe.com/xdm/channel-types/messaging": - "Instant Messaging", + "https://ns.adobe.com/xdm/channel-types/web": "The world wide web, including mobile web", + "https://ns.adobe.com/xdm/channel-types/social": "Social media platforms", + "https://ns.adobe.com/xdm/channel-types/mobile": "Mobile applications", + "https://ns.adobe.com/xdm/channel-types/messaging": "Instant Messaging", "https://ns.adobe.com/xdm/channel-types/email": "E-Mail", - "https://ns.adobe.com/xdm/channel-types/offline": - "Non-Digital experience channels" + "https://ns.adobe.com/xdm/channel-types/offline": "Non-Digital experience channels" } }, "xdm:contentTypes": { @@ -71,8 +61,7 @@ "xdm:locationTypes": { "type": "array", "const": [], - "description": - "The types of locations (virtual places) that this channel consists of and can deliver content to." + "description": "The types of locations (virtual places) that this channel consists of and can deliver content to." } } } @@ -88,6 +77,8 @@ "$ref": "#/definitions/channel" } ], - "required": ["@id"], + "required": [ + "@id" + ], "meta:status": "experimental" -} +} \ No newline at end of file diff --git a/schemas/channels/mobile-app.schema.json b/schemas/channels/mobile-app.schema.json index 2a92dffb2..b53fc3a48 100644 --- a/schemas/channels/mobile-app.schema.json +++ b/schemas/channels/mobile-app.schema.json @@ -8,8 +8,7 @@ "$id": "https://ns.adobe.com/xdm/channels/mobile-app", "$schema": "http://json-schema.org/draft-06/schema#", "title": "Web", - "description": - "Native mobile applications that are installed through an app store.", + "description": "Native mobile applications that are installed through an app store.", "meta:extensible": true, "meta:extends": [ "https://ns.adobe.com/xdm/channels/channel#/definitions/channel" @@ -21,42 +20,32 @@ "properties": { "@id": { "type": "string", - "format": "uri", + "format": "uri-reference", "const": "https://ns.adobe.com/xdm/channels/mobile-app", - "description": - "The ID uniquely identifies the channel. Each specific experience channel defines a constant `@id`." + "description": "The ID uniquely identifies the channel. Each specific experience channel defines a constant `@id`." }, "xdm:mode": { "type": "string", "const": "pull", "description": "How experiences are delivered in this channel.", "meta:enum": { - "push": - "The publisher of an experience can initiate an experience by sending a message into the channel. Most `push` channels involve some form of subscription or opt-in.", - "pull": - "The consumer can initiate an experience by requesting a location in the channel. Most `pull` channels give publishers some control how the experience is then delivered.", - "bidirectional": - "Both `push` and `pull` interaction modes are supported by the channel." + "push": "The publisher of an experience can initiate an experience by sending a message into the channel. Most `push` channels involve some form of subscription or opt-in.", + "pull": "The consumer can initiate an experience by requesting a location in the channel. Most `pull` channels give publishers some control how the experience is then delivered.", + "bidirectional": "Both `push` and `pull` interaction modes are supported by the channel." } }, "@type": { "type": "string", "format": "uri", - "description": - "The `@type` property is used to provide a rough classification of channels with similar properties.", + "description": "The `@type` property is used to provide a rough classification of channels with similar properties.", "const": "https://ns.adobe.com/xdm/channel-types/mobile", "meta:enum": { - "https://ns.adobe.com/xdm/channel-types/web": - "The world wide web, including mobile web", - "https://ns.adobe.com/xdm/channel-types/social": - "Social media platforms", - "https://ns.adobe.com/xdm/channel-types/mobile": - "Mobile applications", - "https://ns.adobe.com/xdm/channel-types/messaging": - "Instant Messaging", + "https://ns.adobe.com/xdm/channel-types/web": "The world wide web, including mobile web", + "https://ns.adobe.com/xdm/channel-types/social": "Social media platforms", + "https://ns.adobe.com/xdm/channel-types/mobile": "Mobile applications", + "https://ns.adobe.com/xdm/channel-types/messaging": "Instant Messaging", "https://ns.adobe.com/xdm/channel-types/email": "E-Mail", - "https://ns.adobe.com/xdm/channel-types/offline": - "Non-Digital experience channels" + "https://ns.adobe.com/xdm/channel-types/offline": "Non-Digital experience channels" } }, "xdm:contentTypes": { @@ -72,8 +61,7 @@ "xdm:locationTypes": { "type": "array", "const": [], - "description": - "The types of locations (virtual places) that this channel consists of and can deliver content to." + "description": "The types of locations (virtual places) that this channel consists of and can deliver content to." } } } @@ -89,6 +77,8 @@ "$ref": "#/definitions/channel" } ], - "required": ["@id"], + "required": [ + "@id" + ], "meta:status": "experimental" -} +} \ No newline at end of file diff --git a/schemas/channels/mpns.schema.json b/schemas/channels/mpns.schema.json index 6ae96ae98..52d5a2eeb 100644 --- a/schemas/channels/mpns.schema.json +++ b/schemas/channels/mpns.schema.json @@ -20,42 +20,32 @@ "properties": { "@id": { "type": "string", - "format": "uri", + "format": "uri-reference", "const": "https://ns.adobe.com/xdm/channels/mpns", - "description": - "The ID uniquely identifies the channel. Each specific experience channel defines a constant `@id`." + "description": "The ID uniquely identifies the channel. Each specific experience channel defines a constant `@id`." }, "xdm:mode": { "type": "string", "const": "push", "description": "How experiences are delivered in this channel.", "meta:enum": { - "push": - "The publisher of an experience can initiate an experience by sending a message into the channel. Most `push` channels involve some form of subscription or opt-in.", - "pull": - "The consumer can initiate an experience by requesting a location in the channel. Most `pull` channels give publishers some control how the experience is then delivered.", - "bidirectional": - "Both `push` and `pull` interaction modes are supported by the channel." + "push": "The publisher of an experience can initiate an experience by sending a message into the channel. Most `push` channels involve some form of subscription or opt-in.", + "pull": "The consumer can initiate an experience by requesting a location in the channel. Most `pull` channels give publishers some control how the experience is then delivered.", + "bidirectional": "Both `push` and `pull` interaction modes are supported by the channel." } }, "@type": { "type": "string", "format": "uri", - "description": - "The `@type` property is used to provide a rough classification of channels with similar properties.", + "description": "The `@type` property is used to provide a rough classification of channels with similar properties.", "const": "https://ns.adobe.com/xdm/channel-types/mobile", "meta:enum": { - "https://ns.adobe.com/xdm/channel-types/web": - "The world wide web, including mobile web", - "https://ns.adobe.com/xdm/channel-types/social": - "Social media platforms", - "https://ns.adobe.com/xdm/channel-types/mobile": - "Mobile applications", - "https://ns.adobe.com/xdm/channel-types/messaging": - "Instant Messaging", + "https://ns.adobe.com/xdm/channel-types/web": "The world wide web, including mobile web", + "https://ns.adobe.com/xdm/channel-types/social": "Social media platforms", + "https://ns.adobe.com/xdm/channel-types/mobile": "Mobile applications", + "https://ns.adobe.com/xdm/channel-types/messaging": "Instant Messaging", "https://ns.adobe.com/xdm/channel-types/email": "E-Mail", - "https://ns.adobe.com/xdm/channel-types/offline": - "Non-Digital experience channels" + "https://ns.adobe.com/xdm/channel-types/offline": "Non-Digital experience channels" } }, "xdm:contentTypes": { @@ -71,8 +61,7 @@ "xdm:locationTypes": { "type": "array", "const": [], - "description": - "The types of locations (virtual places) that this channel consists of and can deliver content to." + "description": "The types of locations (virtual places) that this channel consists of and can deliver content to." } } } @@ -88,6 +77,8 @@ "$ref": "#/definitions/channel" } ], - "required": ["@id"], + "required": [ + "@id" + ], "meta:status": "experimental" -} +} \ No newline at end of file diff --git a/schemas/channels/phone.schema.json b/schemas/channels/phone.schema.json index 9414a61f4..dd6331dad 100644 --- a/schemas/channels/phone.schema.json +++ b/schemas/channels/phone.schema.json @@ -20,42 +20,32 @@ "properties": { "@id": { "type": "string", - "format": "uri", + "format": "uri-reference", "const": "https://ns.adobe.com/xdm/channels/phone", - "description": - "The ID uniquely identifies the channel. Each specific experience channel defines a constant `@id`." + "description": "The ID uniquely identifies the channel. Each specific experience channel defines a constant `@id`." }, "xdm:mode": { "type": "string", "const": "bidirectional", "description": "How experiences are delivered in this channel.", "meta:enum": { - "push": - "The publisher of an experience can initiate an experience by sending a message into the channel. Most `push` channels involve some form of subscription or opt-in.", - "pull": - "The consumer can initiate an experience by requesting a location in the channel. Most `pull` channels give publishers some control how the experience is then delivered.", - "bidirectional": - "Both `push` and `pull` interaction modes are supported by the channel." + "push": "The publisher of an experience can initiate an experience by sending a message into the channel. Most `push` channels involve some form of subscription or opt-in.", + "pull": "The consumer can initiate an experience by requesting a location in the channel. Most `pull` channels give publishers some control how the experience is then delivered.", + "bidirectional": "Both `push` and `pull` interaction modes are supported by the channel." } }, "@type": { "type": "string", "format": "uri", - "description": - "The `@type` property is used to provide a rough classification of channels with similar properties.", + "description": "The `@type` property is used to provide a rough classification of channels with similar properties.", "const": "https://ns.adobe.com/xdm/channel-types/offline", "meta:enum": { - "https://ns.adobe.com/xdm/channel-types/web": - "The world wide web, including mobile web", - "https://ns.adobe.com/xdm/channel-types/social": - "Social media platforms", - "https://ns.adobe.com/xdm/channel-types/mobile": - "Mobile applications", - "https://ns.adobe.com/xdm/channel-types/messaging": - "Instant Messaging", + "https://ns.adobe.com/xdm/channel-types/web": "The world wide web, including mobile web", + "https://ns.adobe.com/xdm/channel-types/social": "Social media platforms", + "https://ns.adobe.com/xdm/channel-types/mobile": "Mobile applications", + "https://ns.adobe.com/xdm/channel-types/messaging": "Instant Messaging", "https://ns.adobe.com/xdm/channel-types/email": "E-Mail", - "https://ns.adobe.com/xdm/channel-types/offline": - "Non-Digital experience channels" + "https://ns.adobe.com/xdm/channel-types/offline": "Non-Digital experience channels" } }, "xdm:contentTypes": { @@ -71,8 +61,7 @@ "xdm:locationTypes": { "type": "array", "const": [], - "description": - "The types of locations (virtual places) that this channel consists of and can deliver content to." + "description": "The types of locations (virtual places) that this channel consists of and can deliver content to." } } } @@ -88,6 +77,8 @@ "$ref": "#/definitions/channel" } ], - "required": ["@id"], + "required": [ + "@id" + ], "meta:status": "experimental" -} +} \ No newline at end of file diff --git a/schemas/channels/sms.schema.json b/schemas/channels/sms.schema.json index 84fa8e00c..46f45f4c6 100644 --- a/schemas/channels/sms.schema.json +++ b/schemas/channels/sms.schema.json @@ -20,42 +20,32 @@ "properties": { "@id": { "type": "string", - "format": "uri", + "format": "uri-reference", "const": "https://ns.adobe.com/xdm/channels/sms", - "description": - "The ID uniquely identifies the channel. Each specific experience channel defines a constant `@id`." + "description": "The ID uniquely identifies the channel. Each specific experience channel defines a constant `@id`." }, "xdm:mode": { "type": "string", "const": "push", "description": "How experiences are delivered in this channel.", "meta:enum": { - "push": - "The publisher of an experience can initiate an experience by sending a message into the channel. Most `push` channels involve some form of subscription or opt-in.", - "pull": - "The consumer can initiate an experience by requesting a location in the channel. Most `pull` channels give publishers some control how the experience is then delivered.", - "bidirectional": - "Both `push` and `pull` interaction modes are supported by the channel." + "push": "The publisher of an experience can initiate an experience by sending a message into the channel. Most `push` channels involve some form of subscription or opt-in.", + "pull": "The consumer can initiate an experience by requesting a location in the channel. Most `pull` channels give publishers some control how the experience is then delivered.", + "bidirectional": "Both `push` and `pull` interaction modes are supported by the channel." } }, "@type": { "type": "string", "format": "uri", - "description": - "The `@type` property is used to provide a rough classification of channels with similar properties.", + "description": "The `@type` property is used to provide a rough classification of channels with similar properties.", "const": "https://ns.adobe.com/xdm/channel-types/messaging", "meta:enum": { - "https://ns.adobe.com/xdm/channel-types/web": - "The world wide web, including mobile web", - "https://ns.adobe.com/xdm/channel-types/social": - "Social media platforms", - "https://ns.adobe.com/xdm/channel-types/mobile": - "Mobile applications", - "https://ns.adobe.com/xdm/channel-types/messaging": - "Instant Messaging", + "https://ns.adobe.com/xdm/channel-types/web": "The world wide web, including mobile web", + "https://ns.adobe.com/xdm/channel-types/social": "Social media platforms", + "https://ns.adobe.com/xdm/channel-types/mobile": "Mobile applications", + "https://ns.adobe.com/xdm/channel-types/messaging": "Instant Messaging", "https://ns.adobe.com/xdm/channel-types/email": "E-Mail", - "https://ns.adobe.com/xdm/channel-types/offline": - "Non-Digital experience channels" + "https://ns.adobe.com/xdm/channel-types/offline": "Non-Digital experience channels" } }, "xdm:contentTypes": { @@ -71,8 +61,7 @@ "xdm:locationTypes": { "type": "array", "const": [], - "description": - "The types of locations (virtual places) that this channel consists of and can deliver content to." + "description": "The types of locations (virtual places) that this channel consists of and can deliver content to." } } } @@ -88,6 +77,8 @@ "$ref": "#/definitions/channel" } ], - "required": ["@id"], + "required": [ + "@id" + ], "meta:status": "experimental" -} +} \ No newline at end of file diff --git a/schemas/channels/twitter-feed.schema.json b/schemas/channels/twitter-feed.schema.json index 6f4c905b1..503f1c1d8 100644 --- a/schemas/channels/twitter-feed.schema.json +++ b/schemas/channels/twitter-feed.schema.json @@ -8,8 +8,7 @@ "$id": "https://ns.adobe.com/xdm/channels/twitter-feed", "$schema": "http://json-schema.org/draft-06/schema#", "title": "Twitter Feed", - "description": - "The Twitter Feed, i.e. the stream of user-generated tweets. This does not include Twitter direct messages.", + "description": "The Twitter Feed, i.e. the stream of user-generated tweets. This does not include Twitter direct messages.", "meta:extensible": true, "meta:extends": [ "https://ns.adobe.com/xdm/channels/channel#/definitions/channel" @@ -21,42 +20,32 @@ "properties": { "@id": { "type": "string", - "format": "uri", + "format": "uri-reference", "const": "https://ns.adobe.com/xdm/channels/twitter-feed", - "description": - "The ID uniquely identifies the channel. Each specific experience channel defines a constant `@id`." + "description": "The ID uniquely identifies the channel. Each specific experience channel defines a constant `@id`." }, "xdm:mode": { "type": "string", "const": "pull", "description": "How experiences are delivered in this channel.", "meta:enum": { - "push": - "The publisher of an experience can initiate an experience by sending a message into the channel. Most `push` channels involve some form of subscription or opt-in.", - "pull": - "The consumer can initiate an experience by requesting a location in the channel. Most `pull` channels give publishers some control how the experience is then delivered.", - "bidirectional": - "Both `push` and `pull` interaction modes are supported by the channel." + "push": "The publisher of an experience can initiate an experience by sending a message into the channel. Most `push` channels involve some form of subscription or opt-in.", + "pull": "The consumer can initiate an experience by requesting a location in the channel. Most `pull` channels give publishers some control how the experience is then delivered.", + "bidirectional": "Both `push` and `pull` interaction modes are supported by the channel." } }, "@type": { "type": "string", "format": "uri", - "description": - "The `@type` property is used to provide a rough classification of channels with similar properties.", + "description": "The `@type` property is used to provide a rough classification of channels with similar properties.", "const": "https://ns.adobe.com/xdm/channel-types/social", "meta:enum": { - "https://ns.adobe.com/xdm/channel-types/web": - "The world wide web, including mobile web", - "https://ns.adobe.com/xdm/channel-types/social": - "Social media platforms", - "https://ns.adobe.com/xdm/channel-types/mobile": - "Mobile applications", - "https://ns.adobe.com/xdm/channel-types/messaging": - "Instant Messaging", + "https://ns.adobe.com/xdm/channel-types/web": "The world wide web, including mobile web", + "https://ns.adobe.com/xdm/channel-types/social": "Social media platforms", + "https://ns.adobe.com/xdm/channel-types/mobile": "Mobile applications", + "https://ns.adobe.com/xdm/channel-types/messaging": "Instant Messaging", "https://ns.adobe.com/xdm/channel-types/email": "E-Mail", - "https://ns.adobe.com/xdm/channel-types/offline": - "Non-Digital experience channels" + "https://ns.adobe.com/xdm/channel-types/offline": "Non-Digital experience channels" } }, "xdm:contentTypes": { @@ -72,8 +61,7 @@ "xdm:locationTypes": { "type": "array", "const": [], - "description": - "The types of locations (virtual places) that this channel consists of and can deliver content to." + "description": "The types of locations (virtual places) that this channel consists of and can deliver content to." } } } @@ -89,6 +77,8 @@ "$ref": "#/definitions/channel" } ], - "required": ["@id"], + "required": [ + "@id" + ], "meta:status": "experimental" -} +} \ No newline at end of file diff --git a/schemas/channels/web.schema.json b/schemas/channels/web.schema.json index f0d264abb..d198029f1 100644 --- a/schemas/channels/web.schema.json +++ b/schemas/channels/web.schema.json @@ -8,8 +8,7 @@ "$id": "https://ns.adobe.com/xdm/channels/web", "$schema": "http://json-schema.org/draft-06/schema#", "title": "Web", - "description": - "The world wide web and mobile web. Pages delivered via HTTP to a web browser or in-app browser.", + "description": "The world wide web and mobile web. Pages delivered via HTTP to a web browser or in-app browser.", "meta:extensible": true, "meta:extends": [ "https://ns.adobe.com/xdm/channels/channel#/definitions/channel" @@ -21,42 +20,32 @@ "properties": { "@id": { "type": "string", - "format": "uri", + "format": "uri-reference", "const": "https://ns.adobe.com/xdm/channels/web", - "description": - "The ID uniquely identifies the channel. Each specific experience channel defines a constant `@id`." + "description": "The ID uniquely identifies the channel. Each specific experience channel defines a constant `@id`." }, "xdm:mode": { "type": "string", "const": "pull", "description": "How experiences are delivered in this channel.", "meta:enum": { - "push": - "The publisher of an experience can initiate an experience by sending a message into the channel. Most `push` channels involve some form of subscription or opt-in.", - "pull": - "The consumer can initiate an experience by requesting a location in the channel. Most `pull` channels give publishers some control how the experience is then delivered.", - "bidirectional": - "Both `push` and `pull` interaction modes are supported by the channel." + "push": "The publisher of an experience can initiate an experience by sending a message into the channel. Most `push` channels involve some form of subscription or opt-in.", + "pull": "The consumer can initiate an experience by requesting a location in the channel. Most `pull` channels give publishers some control how the experience is then delivered.", + "bidirectional": "Both `push` and `pull` interaction modes are supported by the channel." } }, "@type": { "type": "string", "format": "uri", - "description": - "The `@type` property is used to provide a rough classification of channels with similar properties.", + "description": "The `@type` property is used to provide a rough classification of channels with similar properties.", "const": "https://ns.adobe.com/xdm/channel-types/web", "meta:enum": { - "https://ns.adobe.com/xdm/channel-types/web": - "The world wide web, including mobile web", - "https://ns.adobe.com/xdm/channel-types/social": - "Social media platforms", - "https://ns.adobe.com/xdm/channel-types/mobile": - "Mobile applications", - "https://ns.adobe.com/xdm/channel-types/messaging": - "Instant Messaging", + "https://ns.adobe.com/xdm/channel-types/web": "The world wide web, including mobile web", + "https://ns.adobe.com/xdm/channel-types/social": "Social media platforms", + "https://ns.adobe.com/xdm/channel-types/mobile": "Mobile applications", + "https://ns.adobe.com/xdm/channel-types/messaging": "Instant Messaging", "https://ns.adobe.com/xdm/channel-types/email": "E-Mail", - "https://ns.adobe.com/xdm/channel-types/offline": - "Non-Digital experience channels" + "https://ns.adobe.com/xdm/channel-types/offline": "Non-Digital experience channels" } }, "xdm:contentTypes": { @@ -72,8 +61,7 @@ "xdm:locationTypes": { "type": "array", "const": [], - "description": - "The types of locations (virtual places) that this channel consists of and can deliver content to." + "description": "The types of locations (virtual places) that this channel consists of and can deliver content to." } } } @@ -89,6 +77,8 @@ "$ref": "#/definitions/channel" } ], - "required": ["@id"], + "required": [ + "@id" + ], "meta:status": "experimental" -} +} \ No newline at end of file diff --git a/schemas/channels/wechat.schema.json b/schemas/channels/wechat.schema.json index 400abf3f8..ecfb7ed75 100644 --- a/schemas/channels/wechat.schema.json +++ b/schemas/channels/wechat.schema.json @@ -20,42 +20,32 @@ "properties": { "@id": { "type": "string", - "format": "uri", + "format": "uri-reference", "const": "https://ns.adobe.com/xdm/channels/wechat", - "description": - "The ID uniquely identifies the channel. Each specific experience channel defines a constant `@id`." + "description": "The ID uniquely identifies the channel. Each specific experience channel defines a constant `@id`." }, "xdm:mode": { "type": "string", "const": "push", "description": "How experiences are delivered in this channel.", "meta:enum": { - "push": - "The publisher of an experience can initiate an experience by sending a message into the channel. Most `push` channels involve some form of subscription or opt-in.", - "pull": - "The consumer can initiate an experience by requesting a location in the channel. Most `pull` channels give publishers some control how the experience is then delivered.", - "bidirectional": - "Both `push` and `pull` interaction modes are supported by the channel." + "push": "The publisher of an experience can initiate an experience by sending a message into the channel. Most `push` channels involve some form of subscription or opt-in.", + "pull": "The consumer can initiate an experience by requesting a location in the channel. Most `pull` channels give publishers some control how the experience is then delivered.", + "bidirectional": "Both `push` and `pull` interaction modes are supported by the channel." } }, "@type": { "type": "string", "format": "uri", - "description": - "The `@type` property is used to provide a rough classification of channels with similar properties.", + "description": "The `@type` property is used to provide a rough classification of channels with similar properties.", "const": "https://ns.adobe.com/xdm/channel-types/messaging", "meta:enum": { - "https://ns.adobe.com/xdm/channel-types/web": - "The world wide web, including mobile web", - "https://ns.adobe.com/xdm/channel-types/social": - "Social media platforms", - "https://ns.adobe.com/xdm/channel-types/mobile": - "Mobile applications", - "https://ns.adobe.com/xdm/channel-types/messaging": - "Instant Messaging", + "https://ns.adobe.com/xdm/channel-types/web": "The world wide web, including mobile web", + "https://ns.adobe.com/xdm/channel-types/social": "Social media platforms", + "https://ns.adobe.com/xdm/channel-types/mobile": "Mobile applications", + "https://ns.adobe.com/xdm/channel-types/messaging": "Instant Messaging", "https://ns.adobe.com/xdm/channel-types/email": "E-Mail", - "https://ns.adobe.com/xdm/channel-types/offline": - "Non-Digital experience channels" + "https://ns.adobe.com/xdm/channel-types/offline": "Non-Digital experience channels" } }, "xdm:contentTypes": { @@ -71,8 +61,7 @@ "xdm:locationTypes": { "type": "array", "const": [], - "description": - "The types of locations (virtual places) that this channel consists of and can deliver content to." + "description": "The types of locations (virtual places) that this channel consists of and can deliver content to." } } } @@ -88,6 +77,8 @@ "$ref": "#/definitions/channel" } ], - "required": ["@id"], + "required": [ + "@id" + ], "meta:status": "experimental" -} +} \ No newline at end of file diff --git a/schemas/channels/wns.schema.json b/schemas/channels/wns.schema.json index 98c0c3128..879fc28ba 100644 --- a/schemas/channels/wns.schema.json +++ b/schemas/channels/wns.schema.json @@ -20,42 +20,32 @@ "properties": { "@id": { "type": "string", - "format": "uri", + "format": "uri-reference", "const": "https://ns.adobe.com/xdm/channels/wns", - "description": - "The ID uniquely identifies the channel. Each specific experience channel defines a constant `@id`." + "description": "The ID uniquely identifies the channel. Each specific experience channel defines a constant `@id`." }, "xdm:mode": { "type": "string", "const": "push", "description": "How experiences are delivered in this channel.", "meta:enum": { - "push": - "The publisher of an experience can initiate an experience by sending a message into the channel. Most `push` channels involve some form of subscription or opt-in.", - "pull": - "The consumer can initiate an experience by requesting a location in the channel. Most `pull` channels give publishers some control how the experience is then delivered.", - "bidirectional": - "Both `push` and `pull` interaction modes are supported by the channel." + "push": "The publisher of an experience can initiate an experience by sending a message into the channel. Most `push` channels involve some form of subscription or opt-in.", + "pull": "The consumer can initiate an experience by requesting a location in the channel. Most `pull` channels give publishers some control how the experience is then delivered.", + "bidirectional": "Both `push` and `pull` interaction modes are supported by the channel." } }, "@type": { "type": "string", "format": "uri", - "description": - "The `@type` property is used to provide a rough classification of channels with similar properties.", + "description": "The `@type` property is used to provide a rough classification of channels with similar properties.", "const": "https://ns.adobe.com/xdm/channel-types/mobile", "meta:enum": { - "https://ns.adobe.com/xdm/channel-types/web": - "The world wide web, including mobile web", - "https://ns.adobe.com/xdm/channel-types/social": - "Social media platforms", - "https://ns.adobe.com/xdm/channel-types/mobile": - "Mobile applications", - "https://ns.adobe.com/xdm/channel-types/messaging": - "Instant Messaging", + "https://ns.adobe.com/xdm/channel-types/web": "The world wide web, including mobile web", + "https://ns.adobe.com/xdm/channel-types/social": "Social media platforms", + "https://ns.adobe.com/xdm/channel-types/mobile": "Mobile applications", + "https://ns.adobe.com/xdm/channel-types/messaging": "Instant Messaging", "https://ns.adobe.com/xdm/channel-types/email": "E-Mail", - "https://ns.adobe.com/xdm/channel-types/offline": - "Non-Digital experience channels" + "https://ns.adobe.com/xdm/channel-types/offline": "Non-Digital experience channels" } }, "xdm:contentTypes": { @@ -71,8 +61,7 @@ "xdm:locationTypes": { "type": "array", "const": [], - "description": - "The types of locations (virtual places) that this channel consists of and can deliver content to." + "description": "The types of locations (virtual places) that this channel consists of and can deliver content to." } } } @@ -88,6 +77,8 @@ "$ref": "#/definitions/channel" } ], - "required": ["@id"], + "required": [ + "@id" + ], "meta:status": "experimental" -} +} \ No newline at end of file diff --git a/schemas/common/address.schema.json b/schemas/common/address.schema.json index e08f7331d..d19c44fb2 100644 --- a/schemas/common/address.schema.json +++ b/schemas/common/address.schema.json @@ -14,16 +14,14 @@ "http://schema.org/GeoCoordinates", "https://ns.adobe.com/xdm/common/geo" ], - "description": - "A postal address. Address could relate to a person's home, work, preferred store location etc.", + "description": "A postal address. Address could relate to a person's home, work, preferred store location etc.", "definitions": { "address": { "properties": { "xdm:primary": { "title": "Primary", "type": "boolean", - "description": - "Primary address indicator. A Profile can have only one `primary` address at a given point of time.\n" + "description": "Primary address indicator. A Profile can have only one `primary` address at a given point of time.\n" }, "xdm:label": { "title": "Label", @@ -33,8 +31,7 @@ "xdm:street1": { "title": "Street 1", "type": "string", - "description": - "Primary Street level information, apartment number, street number and street name." + "description": "Primary Street level information, apartment number, street number and street name." }, "xdm:street2": { "title": "Street 2", @@ -54,8 +51,7 @@ "xdm:region": { "title": "Region", "type": "string", - "description": - "The region, county, or district portion of the address." + "description": "The region, county, or district portion of the address." }, "xdm:postOfficeBox": { "title": "Post Office Box", @@ -66,8 +62,7 @@ "xdm:country": { "title": "Country", "type": "string", - "description": - "The name of the government-administered territory. Other than `xdm:countryCode`, this is a free-form field that can have the country name in any language." + "description": "The name of the government-administered territory. Other than `xdm:countryCode`, this is a free-form field that can have the country name in any language." }, "xdm:status": { "title": "Status", @@ -91,8 +86,7 @@ "title": "Last Verified Date", "type": "string", "format": "date", - "description": - "The date that the address was last verified as still belonging to the person." + "description": "The date that the address was last verified as still belonging to the person." } } } @@ -112,4 +106,4 @@ } ], "meta:status": "stabilizing" -} +} \ No newline at end of file diff --git a/schemas/common/auditable.schema.json b/schemas/common/auditable.schema.json index 5d33c10b0..6c91ecd90 100644 --- a/schemas/common/auditable.schema.json +++ b/schemas/common/auditable.schema.json @@ -9,10 +9,11 @@ "$schema": "http://json-schema.org/draft-06/schema#", "title": "Audit Trail", "type": "object", - "meta:extends": ["http://ns.adobe.com/adobecloud/core/1.0"], + "meta:extends": [ + "http://ns.adobe.com/adobecloud/core/1.0" + ], "meta:abstract": true, - "description": - "Inheriting this schema using `allOf` indicates that the data record is auditable, i.e. it can be determined when the record has last been modified and by whom.", + "description": "Inheriting this schema using `allOf` indicates that the data record is auditable, i.e. it can be determined when the record has last been modified and by whom.", "definitions": { "auditlog": { "properties": { @@ -24,22 +25,19 @@ "xdm:repositoryLastModifiedBy": { "title": "Modified by User Identifier", "type": "string", - "description": - "User id who last modified the entity.\nAt creation time, `modifiedByUser` is set as `createdByUser`.\n" + "description": "User id who last modified the entity.\nAt creation time, `modifiedByUser` is set as `createdByUser`.\n" }, "xdm:createdByBatchID": { "title": "Created by Batch Identifier", "type": "string", "format": "uri", - "description": - "The Data Set Files in Catalog Services which has been originating the creation of the entity.\n" + "description": "The Data Set Files in Catalog Services which has been originating the creation of the entity.\n" }, "xdm:modifiedByBatchID": { "title": "Modified by Batch Identifier", "type": "string", "format": "uri", - "description": - "The last Data Set Files in Catalog Services which has modified the entity.\nAt creation time, `modifiedByBatchID` is set as `createdByBatchID`.\n" + "description": "The last Data Set Files in Catalog Services which has modified the entity.\nAt creation time, `modifiedByBatchID` is set as `createdByBatchID`.\n" } } } @@ -49,9 +47,8 @@ "$ref": "#/definitions/auditlog" }, { - "$ref": - "http://ns.adobe.com/adobecloud/core/1.0#/definitions/date-properties" + "$ref": "http://ns.adobe.com/adobecloud/core/1.0#/definitions/date-properties" } ], "meta:status": "experimental" -} +} \ No newline at end of file diff --git a/schemas/common/descriptors/schemadescriptor.schema.json b/schemas/common/descriptors/schemadescriptor.schema.json index aa801b54a..4dea5415d 100644 --- a/schemas/common/descriptors/schemadescriptor.schema.json +++ b/schemas/common/descriptors/schemadescriptor.schema.json @@ -19,7 +19,7 @@ "@id": { "title": "Identifier", "type": "string", - "format": "uri", + "format": "uri-reference", "description": "The unique identifier for the schema descriptor. This property is required when the descriptor is defined outside of the applicable schema, but is optional when applied via 'meta:descriptors'" }, diff --git a/schemas/common/eventenvelope.schema.json b/schemas/common/eventenvelope.schema.json index 53b3fa4d8..f04624d05 100644 --- a/schemas/common/eventenvelope.schema.json +++ b/schemas/common/eventenvelope.schema.json @@ -8,18 +8,14 @@ "$schema": "http://json-schema.org/draft-06/schema#", "$id": "https://ns.adobe.com/xdm/common/eventenvelope", "title": "EventEnvelope", - "meta:extends": - "https://ns.adobe.com/xdm/external/activity-streams-2/activity", - "description": - "An `EventEnvelope` is a type of `Activity` (in the sense of [W3C Activity Streams 2.0](https://www.w3.org/TR/activitystreams-core/) that applies to digital experiences in general, and to entities of the Experience Data Model in particular. It is being used to track or audit changes to core entities like assets, pages, or campaigns, but also to track observed interactions of consumers of digital experiences. These observed interactions can range from simple technical loading, to passive consumption, to active engagement. Through the `EventEnvelope`, a varied set of observable entities can be tracked in a common way, enabling the establishment of publish-subscribe or event bus systems that dispatch `EventEnvelopes` based on the metadata that is part of the envelope, without having to inspect the payload `object`.", + "meta:extends": "https://ns.adobe.com/xdm/external/activity-streams-2/activity", + "description": "An `EventEnvelope` is a type of `Activity` (in the sense of [W3C Activity Streams 2.0](https://www.w3.org/TR/activitystreams-core/) that applies to digital experiences in general, and to entities of the Experience Data Model in particular. It is being used to track or audit changes to core entities like assets, pages, or campaigns, but also to track observed interactions of consumers of digital experiences. These observed interactions can range from simple technical loading, to passive consumption, to active engagement. Through the `EventEnvelope`, a varied set of observable entities can be tracked in a common way, enabling the establishment of publish-subscribe or event bus systems that dispatch `EventEnvelopes` based on the metadata that is part of the envelope, without having to inspect the payload `object`.", "definitions": { "extra-properties": { "properties": { "xdm:objectType": { - "description": - "This is the type of the `object` that has been emitting this event. The value of this field MUST be exactly same as the value of the `object.type` field. Making the type available in the event envelope allows routing systems to dispatch events based on the object type without inspecting the object itself.", - "$ref": - "https://ns.adobe.com/xdm/external/activity-streams-2/type#/definitions/type" + "description": "This is the type of the `object` that has been emitting this event. The value of this field MUST be exactly same as the value of the `object.type` field. Making the type available in the event envelope allows routing systems to dispatch events based on the object type without inspecting the object itself.", + "$ref": "https://ns.adobe.com/xdm/external/activity-streams-2/type#/definitions/type" } } } @@ -44,4 +40,4 @@ } ], "meta:status": "experimental" -} +} \ No newline at end of file diff --git a/schemas/common/extensible.schema.json b/schemas/common/extensible.schema.json index 0cdcfeb8a..5d3951117 100644 --- a/schemas/common/extensible.schema.json +++ b/schemas/common/extensible.schema.json @@ -205,7 +205,9 @@ } }, "additionalProperties": false, - "required": ["xdm"] + "required": [ + "xdm" + ] } }, "patternProperties": { @@ -240,7 +242,9 @@ "^iptc4xmpExt:.*$": {}, ".+://.+": {} }, - "required": ["@context"], + "required": [ + "@context" + ], "additionalProperties": false } ] @@ -252,4 +256,4 @@ } ], "meta:status": "stabilizing" -} +} \ No newline at end of file diff --git a/schemas/common/geo.schema.json b/schemas/common/geo.schema.json index fd9f991fc..00295c79a 100644 --- a/schemas/common/geo.schema.json +++ b/schemas/common/geo.schema.json @@ -9,7 +9,9 @@ "$schema": "http://json-schema.org/draft-06/schema#", "type": "object", "meta:extensible": true, - "meta:extends": ["http://schema.org/GeoCoordinates"], + "meta:extends": [ + "http://schema.org/GeoCoordinates" + ], "title": "Geo", "description": "The geographic related data where an event was observed.", "definitions": { @@ -19,15 +21,17 @@ "title": "Country code", "type": "string", "pattern": "^[A-Z]{2}$", - "description": - "The two-character [ISO 3166-1 alpha-2](https://datahub.io/core/country-list) code for the country." + "description": "The two-character [ISO 3166-1 alpha-2](https://datahub.io/core/country-list) code for the country." }, "xdm:stateProvince": { "title": "State or province", "type": "string", - "description": - "The state, or province portion of the observation. The format follows the [ISO 3166-2 (country and subdivision)][http://www.unece.org/cefact/locode/subdivisions.html] standard.", - "examples": ["US-CA", "DE-BB", "JP-13"], + "description": "The state, or province portion of the observation. The format follows the [ISO 3166-2 (country and subdivision)][http://www.unece.org/cefact/locode/subdivisions.html] standard.", + "examples": [ + "US-CA", + "DE-BB", + "JP-13" + ], "pattern": "([A-Z]{2}-[A-Z0-9]{1,3}|)" }, "xdm:city": { @@ -38,8 +42,7 @@ "xdm:postalCode": { "title": "Postal code", "type": "string", - "description": - "The postal code of the location. Postal codes are not available for all countries. In some countries, this will only contain part of the postal code." + "description": "The postal code of the location. Postal codes are not available for all countries. In some countries, this will only contain part of the postal code." }, "xdm:dmaID": { "title": "Designated Market Area", @@ -49,8 +52,7 @@ "xdm:msaID": { "title": "Metropolitan Statistical Area", "type": "integer", - "description": - "The Metropolitan Statistical Area in the USA where the observation occurred." + "description": "The Metropolitan Statistical Area in the USA where the observation occurred." } } } @@ -64,4 +66,4 @@ } ], "meta:status": "experimental" -} +} \ No newline at end of file diff --git a/schemas/common/geounit.schema.json b/schemas/common/geounit.schema.json index d8ece97ff..bbb3bacac 100644 --- a/schemas/common/geounit.schema.json +++ b/schemas/common/geounit.schema.json @@ -17,9 +17,8 @@ "@id": { "title": "Identifier", "type": "string", - "format": "uri", - "description": - "The ID associated with this geographical unit." + "format": "uri-reference", + "description": "The ID associated with this geographical unit." }, "xdm:label": { "title": "Label of the geographical unit.", @@ -27,7 +26,9 @@ "description": "The user-friendly name for the geographical unit." } }, - "required": ["@id"] + "required": [ + "@id" + ] } }, "allOf": [ @@ -36,4 +37,4 @@ } ], "meta:status": "experimental" -} +} \ No newline at end of file diff --git a/schemas/common/identity-provider.schema.json b/schemas/common/identity-provider.schema.json index ac77ad109..c65557147 100644 --- a/schemas/common/identity-provider.schema.json +++ b/schemas/common/identity-provider.schema.json @@ -9,16 +9,14 @@ "$id": "https://ns.adobe.com/xdm/common/identity-provider", "title": "Identity Provider", "meta:extensible": true, - "description": - "An identity provider (abbreviated IdP) is a system entity that creates, maintains, and manages identity information for principals while providing authentication services to relying party applications within a federation or distributed network. An identity provider offers subject authentication as a service.", + "description": "An identity provider (abbreviated IdP) is a system entity that creates, maintains, and manages identity information for principals while providing authentication services to relying party applications within a federation or distributed network. An identity provider offers subject authentication as a service.", "definitions": { "name": { "properties": { "@id": { "type": "string", - "format": "uri", - "description": - "A unique (uniqueness is defined on the same lines as defined [here](https://tools.ietf.org/html/rfc8141#section-5)) and persistent identifier for the identity provider. Ideally, this identifier should be a [URI](https://tools.ietf.org/html/rfc3986)." + "format": "uri-reference", + "description": "A unique (uniqueness is defined on the same lines as defined [here](https://tools.ietf.org/html/rfc8141#section-5)) and persistent identifier for the identity provider. Ideally, this identifier should be a [URI](https://tools.ietf.org/html/rfc3986)." } } } @@ -29,6 +27,8 @@ "$ref": "#/definitions/name" } ], - "required": ["@id"], + "required": [ + "@id" + ], "meta:status": "experimental" -} +} \ No newline at end of file diff --git a/schemas/common/organization.schema.json b/schemas/common/organization.schema.json index d6824b9f3..2eb5b5ab1 100644 --- a/schemas/common/organization.schema.json +++ b/schemas/common/organization.schema.json @@ -16,7 +16,7 @@ "@id": { "title": "Organization ID", "type": "string", - "format": "uri", + "format": "uri-reference", "description": "A unique identifier for the organization." }, "xdm:legalName": { @@ -37,8 +37,7 @@ "xdm:industry": { "title": "Industry", "type": "string", - "description": - "The the industry that this organization is a part of. This is a free-form field, and it is advisable to use a structured value for queries or to use the `xdm:classifier` property." + "description": "The the industry that this organization is a part of. This is a free-form field, and it is advisable to use a structured value for queries or to use the `xdm:classifier` property." }, "xdm:website": { "title": "Web Site", @@ -49,8 +48,7 @@ "xdm:marketSegment": { "title": "Market Segment", "type": "string", - "description": - "The named market segment that the organization participates in. This is a free-form field, and it is advisable to use a structured value for queries or to use the `xdm:identifier` property." + "description": "The named market segment that the organization participates in. This is a free-form field, and it is advisable to use a structured value for queries or to use the `xdm:identifier` property." }, "xdm:location": { "title": "Location", @@ -62,8 +60,7 @@ "type": "number", "minimum": 0, "maximum": 1, - "description": - "The calculated score or star rating for this organization. `1` indicates the maximum possible rating, `0` the minumum possible rating." + "description": "The calculated score or star rating for this organization. `1` indicates the maximum possible rating, `0` the minumum possible rating." }, "xdm:identifier": { "title": "Organization Identifier", @@ -81,29 +78,23 @@ "examples": [ { "https://ns.adobe.com/xdm/external/dnb": "1234", - "https://ns.adobe.com/xdm/external/angellist": - "https://angel.co/adobe" + "https://ns.adobe.com/xdm/external/angellist": "https://angel.co/adobe" } ], - "description": - "This object contains unambiguous identifiers for the organization. Each key is the URI of an identification service, each value is the unique ID (or preferrably URI) of the organization as defined by the identification service." + "description": "This object contains unambiguous identifiers for the organization. Each key is the URI of an identification service, each value is the unique ID (or preferrably URI) of the organization as defined by the identification service." }, "xdm:classifier": { "title": "Market/Industry Classifier", "type": "object", "meta:keys": { - "https://ns.adobe.com/xdm/external/isic4": - "International Standard of Industrial Classification of All Economic Activities (ISIC)", - "https://ns.adobe.com/xdm/external/sic": - "Standard Industrial Classification", - "https://ns.adobe.com/xdm/external/naics": - "North American Industry Classification System" + "https://ns.adobe.com/xdm/external/isic4": "International Standard of Industrial Classification of All Economic Activities (ISIC)", + "https://ns.adobe.com/xdm/external/sic": "Standard Industrial Classification", + "https://ns.adobe.com/xdm/external/naics": "North American Industry Classification System" }, "patternProperties": { ".+://.+": { "type": "string", - "description": - "ID of the market or industry according to the service." + "description": "ID of the market or industry according to the service." } }, "examples": [ @@ -112,8 +103,7 @@ "https://ns.adobe.com/xdm/external/naics": "1234" } ], - "description": - "This object contains unambiguous classifiers for the organization. Each key is the URI of an classification service or standard, each value is the unique ID (or preferrably URI) of the organization as defined by the classification service." + "description": "This object contains unambiguous classifiers for the organization. Each key is the URI of an classification service or standard, each value is the unique ID (or preferrably URI) of the organization as defined by the classification service." } } } @@ -124,4 +114,4 @@ } ], "meta:status": "stabilizing" -} +} \ No newline at end of file diff --git a/schemas/common/orgunit.schema.json b/schemas/common/orgunit.schema.json index 5e06f56e6..a5cf268b7 100644 --- a/schemas/common/orgunit.schema.json +++ b/schemas/common/orgunit.schema.json @@ -17,9 +17,8 @@ "@id": { "title": "Identifier", "type": "string", - "format": "uri", - "description": - "The ID associated with this organizational unit." + "format": "uri-reference", + "description": "The ID associated with this organizational unit." }, "xdm:label": { "title": "Label of the organizational unit.", @@ -27,7 +26,9 @@ "description": "The user-friendly name for the organizational unit." } }, - "required": ["@id"] + "required": [ + "@id" + ] } }, "allOf": [ @@ -36,4 +37,4 @@ } ], "meta:status": "experimental" -} +} \ No newline at end of file diff --git a/schemas/common/page.schema.json b/schemas/common/page.schema.json index dc36ce59f..d9db0d31a 100644 --- a/schemas/common/page.schema.json +++ b/schemas/common/page.schema.json @@ -9,22 +9,19 @@ "$schema": "http://json-schema.org/draft-06/schema#", "title": "Page", "type": "object", - "description": - "Page object contains paging information for related resource when resource result is paginated.", + "description": "Page object contains paging information for related resource when resource result is paginated.", "definitions": { "page": { "properties": { "orderBy": { "title": "Order by property", "type": "string", - "description": - "The `orderBy` parameter specifies the comma-separated (no spaces after comma) list of properties by which the resource should be sorted. The properties by which to sort are listed in priority order. The first property is used for primary sorting, the second property to resolve ties in primary sorting, etc. The name of a property may be prefixed with a `+` to indicate ascending ordering or `-` to indicate descending ordering by that property. If the property name is not prefixed the result is sorted in asceding order. If `orderBy` is not given or does not name a property supported to sort by, the order is indeterminate and the service may return the elements in any order." + "description": "The `orderBy` parameter specifies the comma-separated (no spaces after comma) list of properties by which the resource should be sorted. The properties by which to sort are listed in priority order. The first property is used for primary sorting, the second property to resolve ties in primary sorting, etc. The name of a property may be prefixed with a `+` to indicate ascending ordering or `-` to indicate descending ordering by that property. If the property name is not prefixed the result is sorted in asceding order. If `orderBy` is not given or does not name a property supported to sort by, the order is indeterminate and the service may return the elements in any order." }, "start": { "title": "First value", "type": "string", - "description": - "The first value, in sorted order, of the orderby property on this page." + "description": "The first value, in sorted order, of the orderby property on this page." }, "next": { "title": "Next page start value", @@ -34,14 +31,12 @@ "property": { "title": "Filter properties", "type": "string", - "description": - "The list of properties by which the result is filtered, if any.\nThis list is comma-separated (no spaces after comma). The resulting list will only include entries for which the filtered property has been defined. " + "description": "The list of properties by which the result is filtered, if any.\nThis list is comma-separated (no spaces after comma). The resulting list will only include entries for which the filtered property has been defined. " }, "type": { "title": "Filter type value", "type": "string", - "description": - "The applied type filtering value, if any. Unlike `property` which allows to filter for presence of any property, `type` filters only for the specific value of the `type` attribute, i.e. the media type. This is a literal filter without any globbing or pattern matching." + "description": "The applied type filtering value, if any. Unlike `property` which allows to filter for presence of any property, `type` filters only for the specific value of the `type` attribute, i.e. the media type. This is a literal filter without any globbing or pattern matching." }, "count": { "title": "Number of items", @@ -57,6 +52,11 @@ "$ref": "#/definitions/page" } ], - "required": ["orderBy", "start", "next", "count"], + "required": [ + "orderBy", + "start", + "next", + "count" + ], "meta:status": "experimental" -} +} \ No newline at end of file diff --git a/schemas/common/principal.schema.json b/schemas/common/principal.schema.json index e093b5100..ed7755d17 100644 --- a/schemas/common/principal.schema.json +++ b/schemas/common/principal.schema.json @@ -8,8 +8,7 @@ "$schema": "http://json-schema.org/draft-06/schema#", "$id": "https://ns.adobe.com/xdm/common/principal", "title": "Principal", - "description": - "This model represents a principal in an access control system. Principals are entities that have been authenticated against an identity provider.", + "description": "This model represents a principal in an access control system. Principals are entities that have been authenticated against an identity provider.", "type": "object", "meta:extensible": false, "properties": { @@ -19,16 +18,18 @@ }, "@id": { "type": "string", - "description": - "A unique (uniqueness is defined on the same lines as defined [here](https://tools.ietf.org/html/rfc8141#section-5)) and persistent identifier for the principal. Ideally, this identifier should be a [URI](https://tools.ietf.org/html/rfc3986)." + "description": "A unique (uniqueness is defined on the same lines as defined [here](https://tools.ietf.org/html/rfc8141#section-5)) and persistent identifier for the principal. Ideally, this identifier should be a [URI](https://tools.ietf.org/html/rfc3986)." }, "@type": { "type": "string", "format": "uri", - "description": - "The type of the principal. Acts as a processing hint to the client. Ideally, each value should be identified as a [URI](https://tools.ietf.org/html/rfc3986)." + "description": "The type of the principal. Acts as a processing hint to the client. Ideally, each value should be identified as a [URI](https://tools.ietf.org/html/rfc3986)." } }, - "required": ["xdm:provider", "@id", "@type"], + "required": [ + "xdm:provider", + "@id", + "@type" + ], "meta:status": "experimental" -} +} \ No newline at end of file diff --git a/schemas/common/selfservice.schema.json b/schemas/common/selfservice.schema.json index 29e4b76b8..bc77ed41f 100644 --- a/schemas/common/selfservice.schema.json +++ b/schemas/common/selfservice.schema.json @@ -8,152 +8,128 @@ "$schema": "http://json-schema.org/draft-06/schema#", "$id": "https://ns.adobe.com/xdm/common/selfservice", "title": "Customer Managed Environment", - "description": - "A Customer Managed Environment is an environment that allows a system integration or deployer to manage applications. This is also known as selfservice.", + "description": "A Customer Managed Environment is an environment that allows a system integration or deployer to manage applications. This is also known as selfservice.", "type": "object", "definitions": { "selfservice": { "properties": { "xdm:tenant": { "name": "Tenant", - "description": - "A description of a customer having a agreement to use a specific set of services (see `xdm:service`). A tenant will typically have a URI which can be used to reference the tenant, and should be resovable by an identity provider.", + "description": "A description of a customer having a agreement to use a specific set of services (see `xdm:service`). A tenant will typically have a URI which can be used to reference the tenant, and should be resovable by an identity provider.", "type": "string", "format": "uri" }, "xdm:applicationOwner": { "name": "Application Owner", - "description": - "An application owner, distinct from a tenant (`xdm:tenant`), owns an application (see `xdm:application`) and manages its state. The application owner may be a individual user or roll. Typically the application owner will be a member of the tenant, however that is not a requirement.", + "description": "An application owner, distinct from a tenant (`xdm:tenant`), owns an application (see `xdm:application`) and manages its state. The application owner may be a individual user or roll. Typically the application owner will be a member of the tenant, however that is not a requirement.", "type": "string", "format": "uri" }, "xdm:application": { "name": "Application", - "description": - "A set of code, content, and data that together implement an experience. Some applications do not allow a system integrator, partner or customer to perform customisation. Other applications may allow customisation on a per instance basis. These may be applications managed by the system integrator, partner or customer. An application be defined by a uri referencing the definition of the application.", + "description": "A set of code, content, and data that together implement an experience. Some applications do not allow a system integrator, partner or customer to perform customisation. Other applications may allow customisation on a per instance basis. These may be applications managed by the system integrator, partner or customer. An application be defined by a uri referencing the definition of the application.", "type": "string", "format": "uri" }, "xdm:environment": { "name": "Environment", - "description": - "A tenant (see `xdm:tenant`) may work with 1..n environments where the application (see `xdm:application`) runs. Each environment serves a purpose in the CI/CD chain providing a structure whereby changes to the application can be rolled out. Typically the owner of the application manages transitions between environments. A system integratior, partner or customer may be the owner of the application expecially where the application has been extended and customised. An environment may have a uri referencing the definition of the environment. ", + "description": "A tenant (see `xdm:tenant`) may work with 1..n environments where the application (see `xdm:application`) runs. Each environment serves a purpose in the CI/CD chain providing a structure whereby changes to the application can be rolled out. Typically the owner of the application manages transitions between environments. A system integratior, partner or customer may be the owner of the application expecially where the application has been extended and customised. An environment may have a uri referencing the definition of the environment. ", "type": "string", "meta:enum": { - "dev": - "A development environment for engineering teams to develop and test against prior to releasing to the QE teams.", - "qe": - "A deployment provisioned to statisfy the Quality Engineering process", - "stage": - "A final deployment environment before production. Typically used to perform final testing and give a reference deployment to the last production deployment", - "beta": - "A production deployment environment used to introduce end users of the `application` to new features.", + "dev": "A development environment for engineering teams to develop and test against prior to releasing to the QE teams.", + "qe": "A deployment provisioned to statisfy the Quality Engineering process", + "stage": "A final deployment environment before production. Typically used to perform final testing and give a reference deployment to the last production deployment", + "beta": "A production deployment environment used to introduce end users of the `application` to new features.", "prod": "The production deployment environment" } }, "xdm:cluster": { "name": "Cluster", - "description": - "A group of instances deployed within a environment (see `xdm:environment` ) as part of a topology (see `xdm:topology`) that deliver a service within an application (see `xdm:application`) often using a single source of persistence. A topology may have one or more clusters (see `xdm:cluster`). A service (see `xdm:service`) is typically delivered by a single cluster. Members of the cluster are typically stateless and disposable, meaning they are created and destroyed to maintain a suitable cluster size to deliver the service against the agreed SLA. A cluster will have a uri refencing the definition of the cluster, including parameters defining its scaling behaviour.", + "description": "A group of instances deployed within a environment (see `xdm:environment` ) as part of a topology (see `xdm:topology`) that deliver a service within an application (see `xdm:application`) often using a single source of persistence. A topology may have one or more clusters (see `xdm:cluster`). A service (see `xdm:service`) is typically delivered by a single cluster. Members of the cluster are typically stateless and disposable, meaning they are created and destroyed to maintain a suitable cluster size to deliver the service against the agreed SLA. A cluster will have a uri refencing the definition of the cluster, including parameters defining its scaling behaviour.", "type": "string", "format": "uri" }, "xdm:CICDPipeline": { "name": "CI/CD Pipeline", - "description": - "A Continuous Deployment Continuous Integration pipeline (xdm:CICDPipeline) is used to deploy an application (see `xdm:application`) conforming to a defined topology (see `xdm:topology`) into an environment (see `xdm:environment`). The pipleline runs a standard process that understands the definingion of the topology, environment and application. The pipeline is a shared resource used by many applications and tenants (see `xdm:tenant`), although special tenants may have customised pipelines. A pipleline will have a URI which defines the API.", + "description": "A Continuous Deployment Continuous Integration pipeline (xdm:CICDPipeline) is used to deploy an application (see `xdm:application`) conforming to a defined topology (see `xdm:topology`) into an environment (see `xdm:environment`). The pipleline runs a standard process that understands the definingion of the topology, environment and application. The pipeline is a shared resource used by many applications and tenants (see `xdm:tenant`), although special tenants may have customised pipelines. A pipleline will have a URI which defines the API.", "type": "string", "format": "uri" }, "xdm:service": { "name": "Service", - "description": - "An application (see `xdm:application`) consists of one or more services, deployed into a topology (see `xdm:topology`) and implemented as a cluster (see `xdm:cluster`). The service will generally expose an API to consumers however that service may be private to the application. The implimentation of a service my be changed without changing the specification of the service. A service will have a URI defining it.", + "description": "An application (see `xdm:application`) consists of one or more services, deployed into a topology (see `xdm:topology`) and implemented as a cluster (see `xdm:cluster`). The service will generally expose an API to consumers however that service may be private to the application. The implimentation of a service my be changed without changing the specification of the service. A service will have a URI defining it.", "type": "string", "format": "uri" }, "xdm:topology": { "name": "Topology", - "description": - "A topology is a logical group of services (see `xdm:service`) and their implementations that together form an application (see `xdm:application`). The topology may consist of services and service implementations at different layers throughout an application. Some services within a topology may be satisfied by shared components, for instance many applications may share an edge traffic load balancer. A service will have a URI defining it.", + "description": "A topology is a logical group of services (see `xdm:service`) and their implementations that together form an application (see `xdm:application`). The topology may consist of services and service implementations at different layers throughout an application. Some services within a topology may be satisfied by shared components, for instance many applications may share an edge traffic load balancer. A service will have a URI defining it.", "type": "string", "format": "uri" }, "xdm:codeRepository": { "name": "Code Repository", - "description": - "A Code Repostitory stores the application (see `xdm:application`) code and any definitions for topologies (see `xdm:topology`), services (see `xdm:service`), clusters (see `xdm:cluster`) and environments (see `(see `xdm:environment`). The CI/CD Pipeline (see `xdm:CICDPipeline`) will read the Code repository to perform integration and deploy the application.", + "description": "A Code Repostitory stores the application (see `xdm:application`) code and any definitions for topologies (see `xdm:topology`), services (see `xdm:service`), clusters (see `xdm:cluster`) and environments (see `(see `xdm:environment`). The CI/CD Pipeline (see `xdm:CICDPipeline`) will read the Code repository to perform integration and deploy the application.", "type": "string", "format": "uri" }, "xdm:provisioning": { "name": "Provisioning", - "description": - "Provisioning is the operation which sets up everything required to allow a tenant (see `xdm:tenant`) to deploy an application (see `xdm:application`). This includes setting up the Code Repository (see `xdm:codeRepository`), and allocating any resources that the CI/CD pipeline (see `xdm:CICDPipeline`) might require to deploy the application. Provisioning will ensure that any costs or charges are appropriately registerd as being related to the tenant so that billing systems can ensure the tenant is billed. Where the infrastrucutre is dedicated to the tenant, provisioning will ensure that sufficient infratructure is available when the first deployment (see `xdm:deployment`) is being performed. If the infratructure is to be provisioned from a pool, provisioning will ensure that the pool is notified of the level of future demand. Provisioning will understand any legal or juristrictional requirements and constraints that the tenant may have expressed in the contract and ensure that those requiremetns and constraints are satisfied.", + "description": "Provisioning is the operation which sets up everything required to allow a tenant (see `xdm:tenant`) to deploy an application (see `xdm:application`). This includes setting up the Code Repository (see `xdm:codeRepository`), and allocating any resources that the CI/CD pipeline (see `xdm:CICDPipeline`) might require to deploy the application. Provisioning will ensure that any costs or charges are appropriately registerd as being related to the tenant so that billing systems can ensure the tenant is billed. Where the infrastrucutre is dedicated to the tenant, provisioning will ensure that sufficient infratructure is available when the first deployment (see `xdm:deployment`) is being performed. If the infratructure is to be provisioned from a pool, provisioning will ensure that the pool is notified of the level of future demand. Provisioning will understand any legal or juristrictional requirements and constraints that the tenant may have expressed in the contract and ensure that those requiremetns and constraints are satisfied.", "type": "string", "format": "uri" }, "xdm:deployment": { "name": "Deployment", - "description": - "Deployment is the final act of deploying an application (see `xdm:application`) into an environment (see `xdm:environment`) prior to going live in that enviroment. This should be achieved via an automated process working from specifcation and configuration stored in the codeRepository (see `xdm:codeRepository`). Some applications may require the installation of packages directly into a service (see `xdm:service`) or API provided by the application. Where this is the case the deployment process must be capable of supporting that style of deployment and must not make the application or any of its parts available to serve requests while the deployment is incomplete. The deployment process should include stepts to validate that the depoloyment was sucessfull. Deployment is not the same as provisioning (see `xdm:provisioning`), which is a pre-requisite for deployment. Typically a deployment will be perfomed every time changes in the code repository needs to be made available in the environment` Typically the deployment process is implemented by the CICDPipeline (see `xdm:CICDPipeline`)", + "description": "Deployment is the final act of deploying an application (see `xdm:application`) into an environment (see `xdm:environment`) prior to going live in that enviroment. This should be achieved via an automated process working from specifcation and configuration stored in the codeRepository (see `xdm:codeRepository`). Some applications may require the installation of packages directly into a service (see `xdm:service`) or API provided by the application. Where this is the case the deployment process must be capable of supporting that style of deployment and must not make the application or any of its parts available to serve requests while the deployment is incomplete. The deployment process should include stepts to validate that the depoloyment was sucessfull. Deployment is not the same as provisioning (see `xdm:provisioning`), which is a pre-requisite for deployment. Typically a deployment will be perfomed every time changes in the code repository needs to be made available in the environment` Typically the deployment process is implemented by the CICDPipeline (see `xdm:CICDPipeline`)", "type": "string", "format": "uri" }, "xdm:artifact": { "name": "Artifact", - "description": - "An artifact is a package forming the implementation of a service (see `xdm:service`). It is is stored in the artifactRepository (see `xdm:artifactRepository`) publised to the artifactRepository by the CICDPipeline (see `xdm:CICDPipeline`). An artifact has a version. Once an artifact with a version is published it becomes immutable. A version may be a unique string such as a SHA identifying a commit in a Git repository, or a semantic version number. Which is chosen depends on the prefered versioning mechanism.", + "description": "An artifact is a package forming the implementation of a service (see `xdm:service`). It is is stored in the artifactRepository (see `xdm:artifactRepository`) publised to the artifactRepository by the CICDPipeline (see `xdm:CICDPipeline`). An artifact has a version. Once an artifact with a version is published it becomes immutable. A version may be a unique string such as a SHA identifying a commit in a Git repository, or a semantic version number. Which is chosen depends on the prefered versioning mechanism.", "type": "string", "format": "uri" }, "xdm:artifactRepository": { "name": "Artifact Repository", - "description": - "An artifact repository stores released binaries including artifacts (see `xdm:artifact`) either from vendors or created by the CICDPipeline (see `xdm:CICDPipeline`). These artifacts are used by the deployment pipleine to deploy an application (see `xdm:application`) into an environment (see `xdm:environment`). The artifactRepository will allow many versions of an artifact to exist and will be organised in a way that will allow artifacts specific to a tenant (see `xdm:tenant`), application, topology (see `xdm:topology`) and environment to be stored. The artifact repsitory must not be used to store any sensitive data.", + "description": "An artifact repository stores released binaries including artifacts (see `xdm:artifact`) either from vendors or created by the CICDPipeline (see `xdm:CICDPipeline`). These artifacts are used by the deployment pipleine to deploy an application (see `xdm:application`) into an environment (see `xdm:environment`). The artifactRepository will allow many versions of an artifact to exist and will be organised in a way that will allow artifacts specific to a tenant (see `xdm:tenant`), application, topology (see `xdm:topology`) and environment to be stored. The artifact repsitory must not be used to store any sensitive data.", "type": "string", "format": "uri" }, "xdm:selfServiceAPI": { "name": "Self Service API", - "description": - "The Self Serivce API is a well defined API that will, using the model defined in XDM expose to a suitably authorised client a service implemenation that allows that client to one or more applications (see `xdm:application`) within a tenant (see `xdm:tenant`). The API must maintain tenant boundaries, as defined and controlled by an identity provider.", + "description": "The Self Serivce API is a well defined API that will, using the model defined in XDM expose to a suitably authorised client a service implemenation that allows that client to one or more applications (see `xdm:application`) within a tenant (see `xdm:tenant`). The API must maintain tenant boundaries, as defined and controlled by an identity provider.", "type": "string", "format": "uri" }, "xdm:selfServiceUI": { "name": "Self Service UI", - "description": - "A User interface or potal containg all the functionality of the selfServiceAPI (see `xdm:selfServiceAPI`) presented for use byt a human in a web browsesr interface. Typically this UI will use the selfServiceAPI and be implemented as a browser applicaiton or SPA.", + "description": "A User interface or potal containg all the functionality of the selfServiceAPI (see `xdm:selfServiceAPI`) presented for use byt a human in a web browsesr interface. Typically this UI will use the selfServiceAPI and be implemented as a browser applicaiton or SPA.", "type": "string", "format": "uri" }, "xdm:selfServiceBuild": { "name": "Build", - "description": - "The process by which the CICDPipeline (see `xdm:CICDPipeline`) creates a artifact (see `xdm:artifact`). How the build is performed and what the build creates depends on the source code stored in the codeRepository , which will also contain instructions to perform the build. In the case of a java artifact, the build would typically be performed by maven or gradle. In the case of a docker image, the build might be performed by make.", + "description": "The process by which the CICDPipeline (see `xdm:CICDPipeline`) creates a artifact (see `xdm:artifact`). How the build is performed and what the build creates depends on the source code stored in the codeRepository , which will also contain instructions to perform the build. In the case of a java artifact, the build would typically be performed by maven or gradle. In the case of a docker image, the build might be performed by make.", "type": "string", "format": "uri" }, "xdm:runningInstance": { "name": "Instance", - "description": - "An instance is 1 copy of a service (see `xdm:service`) implementation running within a cluster (see `xdm:cluster`) within a topology (see `xdm:topology`) deployed to an environment (see `xdm:environment`) as an application (see `xdm:application`) for a tenant (see `xdm:tenant`). Where the application is a java application, deployed to a provisioned virtual machine, the instance will be the java process, however where the application has been deployed as part of a container based application the instance will be the running container.", + "description": "An instance is 1 copy of a service (see `xdm:service`) implementation running within a cluster (see `xdm:cluster`) within a topology (see `xdm:topology`) deployed to an environment (see `xdm:environment`) as an application (see `xdm:application`) for a tenant (see `xdm:tenant`). Where the application is a java application, deployed to a provisioned virtual machine, the instance will be the java process, however where the application has been deployed as part of a container based application the instance will be the running container.", "type": "string", "format": "uri" }, "xdm:qualityGateState": { "name": "Quality Gate", - "description": - "The customer CICDPipeline (see `xdm:CICDPipeline`) defines a number of quality gates that will determine the success or fail of the entire process. If any Pass property being false indicates the quality gate has failed.", + "description": "The customer CICDPipeline (see `xdm:CICDPipeline`) defines a number of quality gates that will determine the success or fail of the entire process. If any Pass property being false indicates the quality gate has failed.", "type": "object", "properties": { "*Pass": { "type": "boolean", "name": "*Pass", - "description": - "A quality gate test, false means it failed, true means it passed." + "description": "A quality gate test, false means it failed, true means it passed." } } } @@ -165,8 +141,13 @@ "$ref": "#/definitions/selfservice" }, { - "required": ["id", "xdm:tenant", "xdm:application", "xdm:environment"] + "required": [ + "id", + "xdm:tenant", + "xdm:application", + "xdm:environment" + ] } ], "meta:status": "experimental" -} +} \ No newline at end of file diff --git a/schemas/content/component-container.schema.json b/schemas/content/component-container.schema.json index e76ffe0ad..b04ee6775 100644 --- a/schemas/content/component-container.schema.json +++ b/schemas/content/component-container.schema.json @@ -17,8 +17,7 @@ "@type": { "type": "string", "format": "uri", - "description": - "Type of the container. Acts as processing hint for the client." + "description": "Type of the container. Acts as processing hint for the client." }, "xdm:items": { "type": "object", @@ -28,8 +27,7 @@ "$ref": "#/definitions/container" }, { - "$ref": - "https://ns.adobe.com/xdm/content/page-component#/definitions/component" + "$ref": "https://ns.adobe.com/xdm/content/page-component#/definitions/component" } ] }, @@ -39,8 +37,7 @@ "items": { "type": "string" }, - "description": - "Defines the order of the items in the container. Can be omitted if the order is not important." + "description": "Defines the order of the items in the container. Can be omitted if the order is not important." } } } @@ -50,6 +47,9 @@ "$ref": "#/definitions/container" } ], - "required": ["@type", "xdm:items"], + "required": [ + "@type", + "xdm:items" + ], "meta:status": "experimental" -} +} \ No newline at end of file diff --git a/schemas/content/componentized-page.schema.json b/schemas/content/componentized-page.schema.json index 928b5a645..d67f97d7c 100644 --- a/schemas/content/componentized-page.schema.json +++ b/schemas/content/componentized-page.schema.json @@ -42,13 +42,11 @@ "properties": { "repo:path": { "type": "string", - "description": - "Shows the hierarchy of the page. The path semantics should be same as that defined in [RFC 3986](https://tools.ietf.org/html/rfc3986#section-3.3). In case a repository is not path based then it can return the information which will help in browsing. It could be just an document id, or something like `{catalog}/{id}` in case of a document database." + "description": "Shows the hierarchy of the page. The path semantics should be same as that defined in [RFC 3986](https://tools.ietf.org/html/rfc3986#section-3.3). In case a repository is not path based then it can return the information which will help in browsing. It could be just an document id, or something like `{catalog}/{id}` in case of a document database." }, "repo:name": { "type": "string", - "description": - "Name of the page in the repository. This could be a file name or any name provided by the repository to the page." + "description": "Name of the page in the repository. This could be a file name or any name provided by the repository to the page." }, "dc:title": { "type": "string", @@ -56,13 +54,11 @@ }, "xdm:shortTitle": { "type": "string", - "description": - "Short title of the page that is suitable to be displayed in navigation links." + "description": "Short title of the page that is suitable to be displayed in navigation links." }, "xdm:unlisted": { "type": "boolean", - "description": - "Indicates if this page should be hidden by default in navigational collections." + "description": "Indicates if this page should be hidden by default in navigational collections." }, "xdm:template": { "type": "string", @@ -71,22 +67,18 @@ }, "xdm:language": { "type": "string", - "pattern": - "^(((([A-Za-z]{2,3}(-([A-Za-z]{3}(-[A-Za-z]{3}){0,2}))?)|[A-Za-z]{4}|[A-Za-z]{5,8})(-([A-Za-z]{4}))?(-([A-Za-z]{2}|[0-9]{3}))?(-([A-Za-z0-9]{5,8}|[0-9][A-Za-z0-9]{3}))*(-([0-9A-WY-Za-wy-z](-[A-Za-z0-9]{2,8})+))*(-(x(-[A-Za-z0-9]{1,8})+))?)|(x(-[A-Za-z0-9]{1,8})+)|((en-GB-oed|i-ami|i-bnn|i-default|i-enochian|i-hak|i-klingon|i-lux|i-mingo|i-navajo|i-pwn|i-tao|i-tay|i-tsu|sgn-BE-FR|sgn-BE-NL|sgn-CH-DE)|(art-lojban|cel-gaulish|no-bok|no-nyn|zh-guoyu|zh-hakka|zh-min|zh-min-nan|zh-xiang)))$", - "description": - "Specifies the language of this page. the language property should conform to BPC 47, for example `en-GB`" + "pattern": "^(((([A-Za-z]{2,3}(-([A-Za-z]{3}(-[A-Za-z]{3}){0,2}))?)|[A-Za-z]{4}|[A-Za-z]{5,8})(-([A-Za-z]{4}))?(-([A-Za-z]{2}|[0-9]{3}))?(-([A-Za-z0-9]{5,8}|[0-9][A-Za-z0-9]{3}))*(-([0-9A-WY-Za-wy-z](-[A-Za-z0-9]{2,8})+))*(-(x(-[A-Za-z0-9]{1,8})+))?)|(x(-[A-Za-z0-9]{1,8})+)|((en-GB-oed|i-ami|i-bnn|i-default|i-enochian|i-hak|i-klingon|i-lux|i-mingo|i-navajo|i-pwn|i-tao|i-tay|i-tsu|sgn-BE-FR|sgn-BE-NL|sgn-CH-DE)|(art-lojban|cel-gaulish|no-bok|no-nyn|zh-guoyu|zh-hakka|zh-min|zh-min-nan|zh-xiang)))$", + "description": "Specifies the language of this page. the language property should conform to BPC 47, for example `en-GB`" }, "xdm:navOrder": { "type": "integer", "minimum": 0, - "description": - "When this page is shown in a collection of pages, use `nav_order` to sort. The smallest `nav_order` should be the first item in the sorted collection." + "description": "When this page is shown in a collection of pages, use `nav_order` to sort. The smallest `nav_order` should be the first item in the sorted collection." } } }, "residuals": { - "description": - "Defines the set of residual properties allowed on a page or component.", + "description": "Defines the set of residual properties allowed on a page or component.", "additionalProperties": { "anyOf": [ { @@ -108,16 +100,14 @@ "type": "boolean" }, { - "$ref": - "https://ns.adobe.com/xdm/content/page-component#/definitions/component" + "$ref": "https://ns.adobe.com/xdm/content/page-component#/definitions/component" }, { - "$ref": - "https://ns.adobe.com/xdm/content/component-container#/definitions/container" + "$ref": "https://ns.adobe.com/xdm/content/component-container#/definitions/container" } ] } } }, "meta:status": "experimental" -} +} \ No newline at end of file diff --git a/schemas/content/content.schema.json b/schemas/content/content.schema.json index c6b8ae7d2..10903e648 100644 --- a/schemas/content/content.schema.json +++ b/schemas/content/content.schema.json @@ -22,22 +22,19 @@ "properties": { "@id": { "type": "string", - "format": "uri", - "description": - "A unique identifier given to every addressable piece of content in a given repository." + "format": "uri-reference", + "description": "A unique identifier given to every addressable piece of content in a given repository." }, "xdm:repositoryCreatedBy": { "type": "string", "meta:immutable": true, "meta:usereditable": false, - "description": - "ID of the user who initiated the action that caused the resource to be created in the repository." + "description": "ID of the user who initiated the action that caused the resource to be created in the repository." }, "xdm:repositoryLastModifiedBy": { "type": "string", "meta:usereditable": false, - "description": - "ID of the user who initiated the action that most recently caused the resource to be modified in the repository." + "description": "ID of the user who initiated the action that most recently caused the resource to be modified in the repository." } } } @@ -47,12 +44,10 @@ "$ref": "http://ns.adobe.com/adobecloud/core/1.0/asset#/definitions/asset" }, { - "$ref": - "http://ns.adobe.com/adobecloud/core/1.0#/definitions/common-properties" + "$ref": "http://ns.adobe.com/adobecloud/core/1.0#/definitions/common-properties" }, { - "$ref": - "http://ns.adobe.com/adobecloud/core/1.0#/definitions/date-properties" + "$ref": "http://ns.adobe.com/adobecloud/core/1.0#/definitions/date-properties" }, { "$ref": "https://ns.adobe.com/xdm/external/hal/resource#/definitions/hal" @@ -62,4 +57,4 @@ } ], "meta:status": "experimental" -} +} \ No newline at end of file diff --git a/schemas/content/page-component.schema.json b/schemas/content/page-component.schema.json index 4fc069226..a87861730 100644 --- a/schemas/content/page-component.schema.json +++ b/schemas/content/page-component.schema.json @@ -17,8 +17,7 @@ "@type": { "type": "string", "format": "uri", - "description": - "Type of the component. Acts as processing hint for the client." + "description": "Type of the component. Acts as processing hint for the client." } } } @@ -28,9 +27,8 @@ "$ref": "#/definitions/component" }, { - "$ref": - "https://ns.adobe.com/xdm/content/componentized-page#/definitions/residuals" + "$ref": "https://ns.adobe.com/xdm/content/componentized-page#/definitions/residuals" } ], "meta:status": "experimental" -} +} \ No newline at end of file diff --git a/schemas/content/product.schema.json b/schemas/content/product.schema.json index d65588b67..cc9bb0347 100644 --- a/schemas/content/product.schema.json +++ b/schemas/content/product.schema.json @@ -9,23 +9,20 @@ "$schema": "http://json-schema.org/draft-06/schema#", "title": "Product", "type": "object", - "description": - "XDM product variant, master product and key attributes of product in the product catalog.", + "description": "XDM product variant, master product and key attributes of product in the product catalog.", "definitions": { "product": { "properties": { "@id": { "title": "Identifier", "type": "string", - "format": "uri", - "description": - "The internal unique ID of the variant in the commerce backend system." + "format": "uri-reference", + "description": "The internal unique ID of the variant in the commerce backend system." }, "xdm:SKU": { "title": "SKU", "type": "string", - "description": - "The unique SKU (Stock Keeping Unit) of the variant assigned by the vendor." + "description": "The unique SKU (Stock Keeping Unit) of the variant assigned by the vendor." }, "xdm:name": { "title": "Name", @@ -40,8 +37,7 @@ "xdm:category": { "title": "Category", "type": "string", - "description": - "Primary categorization (category) name of the Master/variant." + "description": "Primary categorization (category) name of the Master/variant." }, "xdm:department": { "title": "Department", @@ -57,14 +53,12 @@ "title": "Master Product Identifier", "type": "string", "format": "uri", - "description": - "The internal unique ID of the product in the commerce backend system." + "description": "The internal unique ID of the product in the commerce backend system." }, "xdm:masterProductSKU": { "title": "Master Product SKU", "type": "string", - "description": - "The unique SKU (Stock Keeping Unit) of the master product assigned by the vendor or manufacturer(to update)." + "description": "The unique SKU (Stock Keeping Unit) of the master product assigned by the vendor or manufacturer(to update)." }, "xdm:masterProductName": { "title": "Master Product Name", @@ -100,15 +94,13 @@ "xdm:unitOfMeasure": { "title": "Unit of Measure", "type": "string", - "description": - "Standard unit of measure of the variant. Denotes the units for the size measurement." + "description": "Standard unit of measure of the variant. Denotes the units for the size measurement." }, "xdm:countryOfOrigin": { "title": "Country of Origin", "type": "string", "pattern": "^[A-Z]{2}$", - "description": - "The two-character [ISO 3166-1 alpha-2](https://datahub.io/core/country-list) code for the country of origin of the product as defined by customs requirements." + "description": "The two-character [ISO 3166-1 alpha-2](https://datahub.io/core/country-list) code for the country of origin of the product as defined by customs requirements." }, "xdm:COGS": { "title": "Cost of Good Sold", @@ -118,43 +110,40 @@ "xdm:listPrice": { "title": "List Price", "type": "number", - "description": - "Default price of the product before sales and discounting. In the `currencyCode` currency." + "description": "Default price of the product before sales and discounting. In the `currencyCode` currency." }, "xdm:currencyCode": { "title": "Currency Code", "type": "string", - "examples": ["USD", "EUR"], + "examples": [ + "USD", + "EUR" + ], "pattern": "^[A-Z]{3}$", - "description": - "The ISO 4217 alphabetic currency code used for cost and pricing, including `listPrice` and `COGS`." + "description": "The ISO 4217 alphabetic currency code used for cost and pricing, including `listPrice` and `COGS`." }, "xdm:originalSaleDate": { "title": "Original Sale Date", "type": "string", "format": "date", - "description": - "First date the product was made available for sale. The time using RFC3339 with a stated timezone offset such as \"2001-07-04T12:08:56-07:00\". An example formatting pattern is \"yyyy-MM-dd'T'HH:mm:ssXXX\"." + "description": "First date the product was made available for sale. The time using RFC3339 with a stated timezone offset such as \"2001-07-04T12:08:56-07:00\". An example formatting pattern is \"yyyy-MM-dd'T'HH:mm:ssXXX\"." }, "xdm:productCreateDate": { "title": "Product Creation Date", "format": "date", "type": "string", - "description": - "The date when this product variant was created. The time using RFC3339 with a stated timezone offset such as \"2001-07-04T12:08:56-07:00\". An example formatting pattern is \"yyyy-MM-dd'T'HH:mm:ssXXX\"." + "description": "The date when this product variant was created. The time using RFC3339 with a stated timezone offset such as \"2001-07-04T12:08:56-07:00\". An example formatting pattern is \"yyyy-MM-dd'T'HH:mm:ssXXX\"." }, "xdm:productLastModified": { "title": "Product Last Modified", "format": "date", "type": "string", - "description": - "The date when this product variant was last modified. The time using RFC3339 with a stated timezone offset such as \"2001-07-04T12:08:56-07:00\". An example formatting pattern is \"yyyy-MM-dd'T'HH:mm:ssXXX\"." + "description": "The date when this product variant was last modified. The time using RFC3339 with a stated timezone offset such as \"2001-07-04T12:08:56-07:00\". An example formatting pattern is \"yyyy-MM-dd'T'HH:mm:ssXXX\"." }, "xdm:productURL": { "title": "Product URL", "type": "string", - "description": - "The URL for the primary Product View of the product variant page." + "description": "The URL for the primary Product View of the product variant page." }, "xdm:manufacturerName": { "title": "Manufacturer Name", @@ -178,4 +167,4 @@ } ], "meta:status": "experimental" -} +} \ No newline at end of file diff --git a/schemas/content/productlistitem.schema.json b/schemas/content/productlistitem.schema.json index 6ace80dd9..f95b4420a 100644 --- a/schemas/content/productlistitem.schema.json +++ b/schemas/content/productlistitem.schema.json @@ -9,23 +9,20 @@ "$schema": "http://json-schema.org/draft-06/schema#", "title": "Product List Item", "type": "object", - "description": - "The product list item is a list item representing a product selected by a customer with specific options and pricing that are for that usage context at a specific point of time and may differ from the product record. For example the product record contains details from the product information system that are consistent for all customers, where the product list item has the actual price offered to the customer at that time which may vary due to sales campaigns or seasonal pricing.", + "description": "The product list item is a list item representing a product selected by a customer with specific options and pricing that are for that usage context at a specific point of time and may differ from the product record. For example the product record contains details from the product information system that are consistent for all customers, where the product list item has the actual price offered to the customer at that time which may vary due to sales campaigns or seasonal pricing.", "definitions": { "productlistitem": { "properties": { "xdm:SKU": { "title": "SKU", "type": "string", - "description": - "Stock Keeping Unit, the unique identifier for a product defined by the vendor." + "description": "Stock Keeping Unit, the unique identifier for a product defined by the vendor." }, "@id": { "title": "Line Item ID.", "type": "string", - "format": "uri", - "description": - "The line item identifier for this product entry. The product itself is identified through `xdm:product`." + "format": "uri-reference", + "description": "The line item identifier for this product entry. The product itself is identified through `xdm:product`." }, "xdm:product": { "title": "Product", @@ -36,28 +33,27 @@ "xdm:name": { "title": "Name", "type": "string", - "description": - "The display name for the product as presented to the user for this product view." + "description": "The display name for the product as presented to the user for this product view." }, "xdm:productAddMethod": { "title": "Product Add Method", "type": "string", - "description": - "The method that was used to add a product item to the list by the visitor. Set with product list add metrics." + "description": "The method that was used to add a product item to the list by the visitor. Set with product list add metrics." }, "xdm:currencyCode": { "title": "Currency Code", "type": "string", - "examples": ["USD", "EUR"], + "examples": [ + "USD", + "EUR" + ], "pattern": "^[A-Z]{3}$", - "description": - "The ISO 4217 alphabetic currency code used for pricing the product." + "description": "The ISO 4217 alphabetic currency code used for pricing the product." }, "xdm:quantity": { "title": "Quantity", "type": "integer", - "description": - "The number of units the customer has indicated they require of the product." + "description": "The number of units the customer has indicated they require of the product." }, "xdm:priceTotal": { "title": "Price Total", @@ -65,7 +61,9 @@ "description": "The total price for the product line item." } }, - "required": ["xdm:SKU"] + "required": [ + "xdm:SKU" + ] } }, "allOf": [ @@ -74,4 +72,4 @@ } ], "meta:status": "experimental" -} +} \ No newline at end of file diff --git a/schemas/content/repository.schema.json b/schemas/content/repository.schema.json index e305a3de0..74bba1df2 100644 --- a/schemas/content/repository.schema.json +++ b/schemas/content/repository.schema.json @@ -8,18 +8,18 @@ "$schema": "http://json-schema.org/draft-06/schema#", "$id": "https://ns.adobe.com/xdm/content/repository", "title": "Content Repository", - "description": - "A Content Repository that is compliant with the Adobe Cloud Platform API specification.", + "description": "A Content Repository that is compliant with the Adobe Cloud Platform API specification.", "type": "object", "properties": { "xdm:root": { "name": "Root resource", - "decription": - "The location of the root resource of the repository. The root resource is of significance because it defines the entry point into the repository, in an hypermedia sense.", + "decription": "The location of the root resource of the repository. The root resource is of significance because it defines the entry point into the repository, in an hypermedia sense.", "type": "string", "format": "uri" } }, - "required": ["xdm:root"], + "required": [ + "xdm:root" + ], "meta:status": "experimental" -} +} \ No newline at end of file diff --git a/schemas/context/advertising-break.schema.json b/schemas/context/advertising-break.schema.json index f0ea354fb..e594eebfb 100644 --- a/schemas/context/advertising-break.schema.json +++ b/schemas/context/advertising-break.schema.json @@ -16,7 +16,7 @@ "properties": { "@id": { "title": "Ad Break ID", - "format": "uri", + "format": "uri-reference", "type": "string", "description": "Identifier of the ad break." }, @@ -43,4 +43,4 @@ } ], "meta:status": "experimental" -} +} \ No newline at end of file diff --git a/schemas/context/advertising-timed-asset-reference.schema.json b/schemas/context/advertising-timed-asset-reference.schema.json index 6bb2b3772..b29dfd678 100644 --- a/schemas/context/advertising-timed-asset-reference.schema.json +++ b/schemas/context/advertising-timed-asset-reference.schema.json @@ -17,7 +17,7 @@ "@id": { "title": "Ad ID", "type": "string", - "format": "uri", + "format": "uri-reference", "description": "Identifier of the ad asset provided by Media Analytics customers." }, "dc:title": { @@ -46,4 +46,4 @@ } ], "meta:status": "experimental" -} +} \ No newline at end of file diff --git a/schemas/context/advertising-timed-asset-view-details.schema.json b/schemas/context/advertising-timed-asset-view-details.schema.json index 2bc5996d6..8efa837a2 100644 --- a/schemas/context/advertising-timed-asset-view-details.schema.json +++ b/schemas/context/advertising-timed-asset-view-details.schema.json @@ -25,9 +25,9 @@ "description": "The index of the ad inside the parent ad break. The first ad has index 0, the second 1, and so on." }, "xdm:adBreak": { - "title": "Ad Break", - "description": "Details about how a timed advertising is being inserted into a timed media.", - "$ref": "https://ns.adobe.com/xdm/context/advertising-break" + "title": "Ad Break", + "description": "Details about how a timed advertising is being inserted into a timed media.", + "$ref": "https://ns.adobe.com/xdm/context/advertising-break" } }, "required": [ @@ -44,4 +44,4 @@ } ], "meta:status": "experimental" -} +} \ No newline at end of file diff --git a/schemas/context/advertising.schema.json b/schemas/context/advertising.schema.json index 58fe2e298..f845c0059 100644 --- a/schemas/context/advertising.schema.json +++ b/schemas/context/advertising.schema.json @@ -17,8 +17,7 @@ "xdm:adViewability": { "title": "MRC Viewability", "$ref": "https://ns.adobe.com/xdm/context/adviewability", - "description": - "The runtime measured viewability specific details such as player volume, library version, window status, viewport/ad measured dimensions, etc." + "description": "The runtime measured viewability specific details such as player volume, library version, window status, viewport/ad measured dimensions, etc." }, "xdm:adAssetReference": { "title": "Ad Asset Reference", @@ -85,4 +84,4 @@ } ], "meta:status": "stabilizing" -} +} \ No newline at end of file diff --git a/schemas/context/adviewability.schema.json b/schemas/context/adviewability.schema.json index 057e8e23d..bae6c6471 100644 --- a/schemas/context/adviewability.schema.json +++ b/schemas/context/adviewability.schema.json @@ -17,133 +17,110 @@ "xdm:adUnitDepth": { "title": "Ad Unit Depth", "type": "integer", - "description": - "Publishers may embed ad units inside containers/iFrames in order limit the ad's access solely to the code of the page. This describes how many 'containers' or iFrames the ad unit is displayed inside of.", + "description": "Publishers may embed ad units inside containers/iFrames in order limit the ad's access solely to the code of the page. This describes how many 'containers' or iFrames the ad unit is displayed inside of.", "minimum": 0 }, "xdm:viewportHeight": { "title": "Viewport Height", "type": "integer", - "description": - "The vertical size (in pixels) of the window the experience was displayed inside measured at runtime. For a web view event, the browser viewport height.", + "description": "The vertical size (in pixels) of the window the experience was displayed inside measured at runtime. For a web view event, the browser viewport height.", "minimum": 0 - }, "xdm:viewportWidth": { "title": "Viewport Width", "type": "integer", - "description": - "The horizontal size (in pixels) of the window the experience was displayed inside measured at runtime. For a web view event, the browser viewport width.", + "description": "The horizontal size (in pixels) of the window the experience was displayed inside measured at runtime. For a web view event, the browser viewport width.", "minimum": 0 }, "xdm:adHeight": { "title": "Ad Height", "type": "integer", - "description": - "The number of vertical pixels of the player, measured at runtime. This can be larger than the size of the ad if the player has extra controls or thumbnails.", + "description": "The number of vertical pixels of the player, measured at runtime. This can be larger than the size of the ad if the player has extra controls or thumbnails.", "minimum": 0 }, "xdm:adWidth": { "title": "Ad Width", "type": "integer", - "description": - "The number of horizontal pixels of the player, measured at runtime. This can be larger than the size of the ad if the player has extra controls or thumbnails.", + "description": "The number of horizontal pixels of the player, measured at runtime. This can be larger than the size of the ad if the player has extra controls or thumbnails.", "minimum": 0 }, "xdm:playerVolume": { "title": "Player Volume Percentage", "type": "integer", - "description": - "The player volume percentage, measured at runtime where 0 is muted and 100 is maximum volume.", + "description": "The player volume percentage, measured at runtime where 0 is muted and 100 is maximum volume.", "minimum": 0, "maximum": 100 }, "xdm:measurementEligible": { "title": "Viewability Measurement Eligible", "type": "boolean", - "description": - "Whether or not the ad was eligible to viewability measurement. An ad is eligible if the unit has a supported creative format and tag type." + "description": "Whether or not the ad was eligible to viewability measurement. An ad is eligible if the unit has a supported creative format and tag type." }, "xdm:implementationDetails": { "title": "Viewabiltity implementation details", "$ref": "https://ns.adobe.com/xdm/context/implementationdetails", - "description": - "The name and version of the library instrumented to measure viewability metrics." + "description": "The name and version of the library instrumented to measure viewability metrics." }, "xdm:viewable": { "title": "Viewable Ad", "type": "boolean", - "description": - "Display ads are considered viewable when at least 50% of the ad is visible for at least 1 second. Video ads are considered viewable when at least 50% of the ad is visible while the video is playing for at least 2 consecutive seconds. All viewable ads are measurable, because you can't confirm that an ad has met the criteria for viewability unless it can be measured." + "description": "Display ads are considered viewable when at least 50% of the ad is visible for at least 1 second. Video ads are considered viewable when at least 50% of the ad is visible while the video is playing for at least 2 consecutive seconds. All viewable ads are measurable, because you can't confirm that an ad has met the criteria for viewability unless it can be measured." }, "xdm:activeWindow": { "title": "Active Window", "type": "boolean", - "description": - "Indicates whether ad was shown on active window on users' device." + "description": "Indicates whether ad was shown on active window on users' device." }, "xdm:percentViewable": { "title": "Percent Viewable", "type": "integer", - "description": - "Percent of pixels in the ad deemed viewable at measurement time.", + "description": "Percent of pixels in the ad deemed viewable at measurement time.", "minimum": 0, "maximum": 100 }, "xdm:viewabilityEligibleImpressions": { "$ref": "https://ns.adobe.com/xdm/data/measure", - "description": - "Impression(s) of an advertisement to an end user with viewablility library instrumented." + "description": "Impression(s) of an advertisement to an end user with viewablility library instrumented." }, "xdm:measuredAdNotVisible": { "$ref": "https://ns.adobe.com/xdm/data/measure", - "description": - "Indicator of ad not being visible as measured by a viewability library at impression time." + "description": "Indicator of ad not being visible as measured by a viewability library at impression time." }, "xdm:measuredMuted": { "$ref": "https://ns.adobe.com/xdm/data/measure", - "description": - "Indicator of ad being muted as measured by a viewability library at impression time." + "description": "Indicator of ad being muted as measured by a viewability library at impression time." }, "xdm:measuredWindowInactive": { "$ref": "https://ns.adobe.com/xdm/data/measure", - "description": - "Indicator of ad being displayed in an inactive window as measured by a viewability library at impression time." + "description": "Indicator of ad being displayed in an inactive window as measured by a viewability library at impression time." }, "xdm:unmeasurableIframe": { "$ref": "https://ns.adobe.com/xdm/data/measure", - "description": - "Indicator of viewability library not being able to properly execute measurements due to ad being displayed inside an iframe." + "description": "Indicator of viewability library not being able to properly execute measurements due to ad being displayed inside an iframe." }, "xdm:unmeasurableOther": { "$ref": "https://ns.adobe.com/xdm/data/measure", - "description": - "Indicator of viewability library not being able to properly execute measurements due to non-predefined error." + "description": "Indicator of viewability library not being able to properly execute measurements due to non-predefined error." }, "xdm:viewableCompletes": { "$ref": "https://ns.adobe.com/xdm/data/measure", - "description": - "Completion(s) of an advertisement to an end user deemed viewable at completion time by a viewability library." + "description": "Completion(s) of an advertisement to an end user deemed viewable at completion time by a viewability library." }, "xdm:viewableFirstQuartiles": { "$ref": "https://ns.adobe.com/xdm/data/measure", - "description": - "First quartile(s) of an advertisement to an end user deemed viewable at first quartile of play by a viewability library." + "description": "First quartile(s) of an advertisement to an end user deemed viewable at first quartile of play by a viewability library." }, "xdm:viewableImpressions": { "$ref": "https://ns.adobe.com/xdm/data/measure", - "description": - "Impressions of an advertisement to an end user deemed viewable after two seconds of play by a viewability library." + "description": "Impressions of an advertisement to an end user deemed viewable after two seconds of play by a viewability library." }, "xdm:viewableMidpoints": { "$ref": "https://ns.adobe.com/xdm/data/measure", - "description": - "Midpoint(s) of an advertisement to an end user deemed viewable at midpoint of play by a viewability library." + "description": "Midpoint(s) of an advertisement to an end user deemed viewable at midpoint of play by a viewability library." }, "xdm:viewableThirdQuartiles": { "$ref": "https://ns.adobe.com/xdm/data/measure", - "description": - "Third quartile(s) of an advertisement to an end user deemed viewable at third quartile of play by a viewability library." + "description": "Third quartile(s) of an advertisement to an end user deemed viewable at third quartile of play by a viewability library." } } } @@ -157,4 +134,4 @@ } ], "meta:status": "stabilizing" -} +} \ No newline at end of file diff --git a/schemas/context/application.schema.json b/schemas/context/application.schema.json index 4f20832a0..20c715dc5 100644 --- a/schemas/context/application.schema.json +++ b/schemas/context/application.schema.json @@ -35,33 +35,27 @@ }, "xdm:crashes": { "$ref": "https://ns.adobe.com/xdm/data/measure", - "description": - "Triggered when the application does not exit gracefully. Event is sent on application launch after a crash." + "description": "Triggered when the application does not exit gracefully. Event is sent on application launch after a crash." }, "xdm:featureUsages": { "$ref": "https://ns.adobe.com/xdm/data/measure", - "description": - "Activation(s) of an application feature that is being measured." + "description": "Activation(s) of an application feature that is being measured." }, "xdm:installs": { "$ref": "https://ns.adobe.com/xdm/data/measure", - "description": - "Install of an application on a device where the actual install event is available." + "description": "Install of an application on a device where the actual install event is available." }, "xdm:firstLaunches": { "$ref": "https://ns.adobe.com/xdm/data/measure", - "description": - "Triggered on first launch after install." + "description": "Triggered on first launch after install." }, "xdm:launches": { "$ref": "https://ns.adobe.com/xdm/data/measure", - "description": - "Launch of an application. Triggered on every run, including crashes and installs. Also triggered on a resume from background when the lifecycle session timeout has been exceeded." + "description": "Launch of an application. Triggered on every run, including crashes and installs. Also triggered on a resume from background when the lifecycle session timeout has been exceeded." }, "xdm:upgrades": { "$ref": "https://ns.adobe.com/xdm/data/measure", - "description": - "Upgrade of an application that has previously been installed. Triggered on first launch after upgrade." + "description": "Upgrade of an application that has previously been installed. Triggered on first launch after upgrade." } } } @@ -75,4 +69,4 @@ } ], "meta:status": "stabilizing" -} +} \ No newline at end of file diff --git a/schemas/context/beacon-interaction-details.schema.json b/schemas/context/beacon-interaction-details.schema.json index dcef45d99..40a7ab840 100644 --- a/schemas/context/beacon-interaction-details.schema.json +++ b/schemas/context/beacon-interaction-details.schema.json @@ -10,8 +10,7 @@ "title": "Beacon", "type": "object", "meta:extensible": true, - "description": - "Beacon, a wireless device that communicates identity information to mobile applications as mobile devices come within range.", + "description": "Beacon, a wireless device that communicates identity information to mobile applications as mobile devices come within range.", "definitions": { "beacon-interaction-detail": { "properties": { @@ -23,14 +22,12 @@ "xdm:beaconMajor": { "title": "Beacon Major", "type": "number", - "description": - "The first sub organization identifier of an area multiple beacon operate in." + "description": "The first sub organization identifier of an area multiple beacon operate in." }, "xdm:beaconMinor": { "title": "Beacon Minor", "type": "number", - "description": - "The second sub organization identifier of an area multiple beacon operate in. The smallest area a beacon can refine location to." + "description": "The second sub organization identifier of an area multiple beacon operate in. The smallest area a beacon can refine location to." }, "xdm:proximity": { "title": "Proximity to beacon", @@ -61,4 +58,4 @@ } ], "meta:status": "experimental" -} +} \ No newline at end of file diff --git a/schemas/context/browserdetails.schema.json b/schemas/context/browserdetails.schema.json index ba9387d7c..4aea2f0b8 100644 --- a/schemas/context/browserdetails.schema.json +++ b/schemas/context/browserdetails.schema.json @@ -42,26 +42,22 @@ "xdm:cookiesEnabled": { "title": "Allows Cookies", "type": "boolean", - "description": - "The current user agent settings allow for the writing of cookies.'" + "description": "The current user agent settings allow for the writing of cookies.'" }, "xdm:javaScriptEnabled": { "title": "JavaScript Enabled", "type": "boolean", - "description": - "If JavaScript was enabled in the device this observation was made from." + "description": "If JavaScript was enabled in the device this observation was made from." }, "xdm:javaScriptVersion": { "title": "JavaScript Version", "type": "string", - "description": - "The version of JavaScript supported during the observation." + "description": "The version of JavaScript supported during the observation." }, "xdm:javaEnabled": { "title": "Java Enabled", "type": "boolean", - "description": - "If Java was enabled in the device this observation was made from." + "description": "If Java was enabled in the device this observation was made from." }, "xdm:javaVersion": { "title": "Java Version", @@ -71,27 +67,23 @@ "xdm:quicktimeVersion": { "title": "Quicktime Version", "type": "string", - "description": - "The version of Apple Quicktime supported during the observation." + "description": "The version of Apple Quicktime supported during the observation." }, "xdm:thirdPartyCookiesEnabled": { "title": "Allows Third-party Cookies", "type": "boolean", - "description": - "If third-party cookies were enabled when this observation was made." + "description": "If third-party cookies were enabled when this observation was made." }, "xdm:viewportHeight": { "title": "Viewport Height", "type": "integer", - "description": - "The vertical size (in pixels) of the window the experience was displayed inside. For a web view event, the browser viewport height.", + "description": "The vertical size (in pixels) of the window the experience was displayed inside. For a web view event, the browser viewport height.", "minimum": 0 }, "xdm:viewportWidth": { "title": "Viewport Width", "type": "integer", - "description": - "The horizontal size (in pixels) of the window the experience was displayed inside. For a web view event, the browser viewport width.", + "description": "The horizontal size (in pixels) of the window the experience was displayed inside. For a web view event, the browser viewport width.", "minimum": 0 } } @@ -106,4 +98,4 @@ } ], "meta:status": "stabilizing" -} +} \ No newline at end of file diff --git a/schemas/context/commerce.schema.json b/schemas/context/commerce.schema.json index 9619fa4df..af12b2935 100644 --- a/schemas/context/commerce.schema.json +++ b/schemas/context/commerce.schema.json @@ -11,7 +11,6 @@ "type": "object", "meta:extensible": true, "description": "The entites related to buying and selling activity.", - "meta:extensible": true, "definitions": { "commerce": { "properties": { @@ -22,33 +21,27 @@ }, "xdm:cartAbandons": { "$ref": "https://ns.adobe.com/xdm/data/measure", - "description": - "A product list has been identified as no longer accessible (e.g purchasable) by the user." + "description": "A product list has been identified as no longer accessible (e.g purchasable) by the user." }, "xdm:checkouts": { "$ref": "https://ns.adobe.com/xdm/data/measure", - "description": - "An action during a checkout process of a product list, there can be more than one checkout event if there are multiple steps in a checkout process. If there are multiple steps the event time information and referenced page or experience is used to identify the step individual events represent in order." + "description": "An action during a checkout process of a product list, there can be more than one checkout event if there are multiple steps in a checkout process. If there are multiple steps the event time information and referenced page or experience is used to identify the step individual events represent in order." }, "xdm:productListAdds": { "$ref": "https://ns.adobe.com/xdm/data/measure", - "description": - "Addition of a product to the product list. Example a product is added to a shopping cart." + "description": "Addition of a product to the product list. Example a product is added to a shopping cart." }, "xdm:productListOpens": { "$ref": "https://ns.adobe.com/xdm/data/measure", - "description": - "Initializations of a new product list. Example a shopping cart is created." + "description": "Initializations of a new product list. Example a shopping cart is created." }, "xdm:productListRemovals": { "$ref": "https://ns.adobe.com/xdm/data/measure", - "description": - "Removal(s) of a product entry from a product list. Example a product is removed from a shopping cart." + "description": "Removal(s) of a product entry from a product list. Example a product is removed from a shopping cart." }, "xdm:productListReopens": { "$ref": "https://ns.adobe.com/xdm/data/measure", - "description": - "A product list that was no longer accessible(abandoned) has been re-activated by the user. Example via a re-marketing activity." + "description": "A product list that was no longer accessible(abandoned) has been re-activated by the user. Example via a re-marketing activity." }, "xdm:productListViews": { "$ref": "https://ns.adobe.com/xdm/data/measure", @@ -60,13 +53,11 @@ }, "xdm:purchases": { "$ref": "https://ns.adobe.com/xdm/data/measure", - "description": - "An order has been accepted. Purchase is the only required action in a commerce conversion. Purchase must have a product list referenced." + "description": "An order has been accepted. Purchase is the only required action in a commerce conversion. Purchase must have a product list referenced." }, "xdm:saveForLaters": { "$ref": "https://ns.adobe.com/xdm/data/measure", - "description": - "Product list is saved for future use. Example a product wish list." + "description": "Product list is saved for future use. Example a product wish list." } } } @@ -80,4 +71,4 @@ } ], "meta:status": "stabilizing" -} +} \ No newline at end of file diff --git a/schemas/context/device.schema.json b/schemas/context/device.schema.json index 996d4d326..17f9f4497 100644 --- a/schemas/context/device.schema.json +++ b/schemas/context/device.schema.json @@ -10,23 +10,20 @@ "title": "Device", "type": "object", "meta:extensible": true, - "description": - "An identified device that is an application or browser instance that is trackable across sessions, normally by cookies.", + "description": "An identified device that is an application or browser instance that is trackable across sessions, normally by cookies.", "definitions": { "device": { "properties": { "xdm:typeID": { "title": "Type Identifier", "type": "string", - "description": - "An identifier for the device. This may be an identifier from Device Atlas or another service that identifies the hardware that is being used." + "description": "An identifier for the device. This may be an identifier from Device Atlas or another service that identifies the hardware that is being used." }, "xdm:typeIDService": { "title": "Type Identifier Service", "type": "string", "format": "uri", - "description": - "The namespace of the service that is used to identify the device type.", + "description": "The namespace of the service that is used to identify the device type.", "meta:enum": { "https://ns.adobe.com/xdm/external/deviceatlas": "Device Atlas", "https://ns.adobe.com/xdm/external/adobecampaign": "Adobe Campaign" @@ -50,38 +47,32 @@ "xdm:manufacturer": { "title": "Manufacturer", "type": "string", - "description": - "The name of the organization who owns the design and creation of the Device. For example, 'Apple' is the manufacturer of the iPhone." + "description": "The name of the organization who owns the design and creation of the Device. For example, 'Apple' is the manufacturer of the iPhone." }, "xdm:model": { "title": "Model", "type": "string", - "description": - "The name of the model for the Device. This is the common, human-readable or marketing name for the Device. The 'iPhone 6S' is a particular model of mobile phone." + "description": "The name of the model for the Device. This is the common, human-readable or marketing name for the Device. The 'iPhone 6S' is a particular model of mobile phone." }, "xdm:modelNumber": { "title": "Model Number", "type": "string", - "description": - "The unique model number designation assigned by the manufacturer for this Device. Model numbers are not versions, but unique identifiers that identify a particular model configuration. While the model for a particular phone might be 'iPhone 6S' the model number would be 'A1633', or 'A1634' based on configuration at the time of sale." + "description": "The unique model number designation assigned by the manufacturer for this Device. Model numbers are not versions, but unique identifiers that identify a particular model configuration. While the model for a particular phone might be 'iPhone 6S' the model number would be 'A1633', or 'A1634' based on configuration at the time of sale." }, "xdm:screenHeight": { "title": "Screen Height", "type": "integer", - "description": - "The number of veritcal pixels of the device's active display in its default orientation." + "description": "The number of veritcal pixels of the device's active display in its default orientation." }, "xdm:screenWidth": { "title": "Screen Width", "type": "integer", - "description": - "The number of horizontal pixels of the device's active display in its default orientation." + "description": "The number of horizontal pixels of the device's active display in its default orientation." }, "xdm:colorDepth": { "title": "Color Depth", "type": "integer", - "description": - "The number of colors the display is able to represent." + "description": "The number of colors the display is able to represent." } } } @@ -95,4 +86,4 @@ } ], "meta:status": "stabilizing" -} +} \ No newline at end of file diff --git a/schemas/context/direct-marketing.schema.json b/schemas/context/direct-marketing.schema.json index dd56b1353..85f64d0ce 100644 --- a/schemas/context/direct-marketing.schema.json +++ b/schemas/context/direct-marketing.schema.json @@ -16,33 +16,27 @@ "properties": { "xdm:bounces": { "$ref": "https://ns.adobe.com/xdm/data/measure", - "description": - "Asynchronous message(s) that have been returned as temporarily undeliverable the receiving system." + "description": "Asynchronous message(s) that have been returned as temporarily undeliverable the receiving system." }, "xdm:clicks": { "$ref": "https://ns.adobe.com/xdm/data/measure", - "description": - "Click(s) actions on a message." + "description": "Click(s) actions on a message." }, "xdm:mirrorPages": { "$ref": "https://ns.adobe.com/xdm/data/measure", - "description": - "Click on a link in a message to a web hosted mirror page." + "description": "Click on a link in a message to a web hosted mirror page." }, "xdm:nonDeliverables": { "$ref": "https://ns.adobe.com/xdm/data/measure", - "description": - "Asynchronous message(s) failed to deliver in a way that indicates that no future delivery attempts will be successful to the address." + "description": "Asynchronous message(s) failed to deliver in a way that indicates that no future delivery attempts will be successful to the address." }, "xdm:sends": { "$ref": "https://ns.adobe.com/xdm/data/measure", - "description": - "Asynchronous message(s) (email, SMS, MMS etc) have been dispatched to a person's account/address/device." + "description": "Asynchronous message(s) (email, SMS, MMS etc) have been dispatched to a person's account/address/device." }, "xdm:userComplaints": { "$ref": "https://ns.adobe.com/xdm/data/measure", - "description": - "User complaint(s) have been received. This generally occurs when a recipient of a message reports it as spam." + "description": "User complaint(s) have been received. This generally occurs when a recipient of a message reports it as spam." }, "xdm:opens": { "$ref": "https://ns.adobe.com/xdm/data/measure", @@ -68,4 +62,4 @@ } ], "meta:status": "stabilizing" -} +} \ No newline at end of file diff --git a/schemas/context/emailaddress.schema.json b/schemas/context/emailaddress.schema.json index c294b894c..35572c246 100644 --- a/schemas/context/emailaddress.schema.json +++ b/schemas/context/emailaddress.schema.json @@ -17,27 +17,23 @@ "xdm:primary": { "title": "Primary", "type": "boolean", - "description": - "Primary email indicator.\n\nA Profile can have only one `primary` email address at a given point of time.\n" + "description": "Primary email indicator.\n\nA Profile can have only one `primary` email address at a given point of time.\n" }, "xdm:address": { "title": "Address", "type": "string", "format": "email", - "description": - "The technical address, e.g 'name@domain.com' as commonly defined in RFC2822 and subsequent standards." + "description": "The technical address, e.g 'name@domain.com' as commonly defined in RFC2822 and subsequent standards." }, "xdm:label": { "title": "Label", "type": "string", - "description": - "Additional display information that maybe available, e.g MS Outlook rich address controls display 'John Smith smithjr@company.uk', the 'John Smith' part is data that would be placed in the label." + "description": "Additional display information that maybe available, e.g MS Outlook rich address controls display 'John Smith smithjr@company.uk', the 'John Smith' part is data that would be placed in the label." }, "xdm:type": { "title": "Type", "type": "string", - "description": - "The way the account relates to the person. e.g 'work' or 'personal'", + "description": "The way the account relates to the person. e.g 'work' or 'personal'", "meta:enum": { "unknown": "Unknown", "personal": "Personal", @@ -48,8 +44,7 @@ "xdm:status": { "title": "Status", "type": "string", - "description": - "An indication as to the ability to use the email address.", + "description": "An indication as to the ability to use the email address.", "default": "active", "meta:enum": { "active": "Active", @@ -76,4 +71,4 @@ } ], "meta:status": "stabilizing" -} +} \ No newline at end of file diff --git a/schemas/context/enduserids.schema.json b/schemas/context/enduserids.schema.json index 0fbb9004d..9fac45501 100644 --- a/schemas/context/enduserids.schema.json +++ b/schemas/context/enduserids.schema.json @@ -10,8 +10,7 @@ "title": "End User IDs", "type": "object", "meta:extensible": true, - "description": - "Condensed, normalized encapsulation of all end user identifiers. NOTE: At least one of the fields is required.", + "description": "Condensed, normalized encapsulation of all end user identifiers. NOTE: At least one of the fields is required.", "minProperties": 1, "definitions": { "enduserids": { @@ -59,8 +58,7 @@ }, "patternProperties": { ".+://.+": { - "description": - "The identifier, including data source (`@id` must be identical to the property value), foreign ID, and confidence.", + "description": "The identifier, including data source (`@id` must be identical to the property value), foreign ID, and confidence.", "type": "object", "$ref": "https://ns.adobe.com/xdm/context/identity" } @@ -72,10 +70,8 @@ "https://ns.adobe.com/experience/tntid": "Adobe Target", "https://ns.adobe.com/experience/acid": "Adobe Campaign", "https://ns.adobe.com/experience/aaid": "Adobe Analytics", - "https://ns.adobe.com/experience/aacustomid": - "Adobe Analytics Custom", - "https://ns.adobe.com/experience/mcid": - "Marketing Cloud Identity Core Service", + "https://ns.adobe.com/experience/aacustomid": "Adobe Analytics Custom", + "https://ns.adobe.com/experience/mcid": "Marketing Cloud Identity Core Service", "https://ns.adobe.com/experience/emailid": "Email Address", "https://ns.adobe.com/experience/phonenumberid": "Phone Number" }, @@ -88,4 +84,4 @@ } ], "meta:status": "stabilizing" -} +} \ No newline at end of file diff --git a/schemas/context/environment.schema.json b/schemas/context/environment.schema.json index 6f58c2c8d..1b8f8e2ee 100644 --- a/schemas/context/environment.schema.json +++ b/schemas/context/environment.schema.json @@ -10,8 +10,7 @@ "title": "Environment", "type": "object", "meta:extensible": true, - "description": - "Information about the surrounding situation the event observation occurred in, specifically detailing transitory information such as the network or software versions. > IMPORTANT: All values should be aligned with the [DeviceAtlas](https://deviceatlas.com) database licensed by Adobe. ", + "description": "Information about the surrounding situation the event observation occurred in, specifically detailing transitory information such as the network or software versions. > IMPORTANT: All values should be aligned with the [DeviceAtlas](https://deviceatlas.com) database licensed by Adobe. ", "definitions": { "environment": { "properties": { @@ -19,7 +18,12 @@ "title": "Type", "type": "string", "description": "The type of the application environment.", - "enum": ["browser", "application", "iot", "external"], + "enum": [ + "browser", + "application", + "iot", + "external" + ], "meta:enum": { "browser": "Browser", "application": "Application", @@ -30,46 +34,39 @@ "xdm:browserDetails": { "title": "Browser Details", "$ref": "https://ns.adobe.com/xdm/context/browserdetails", - "description": - "The browser specific details such as browser name, version, javascript version, user agent string, accept language." + "description": "The browser specific details such as browser name, version, javascript version, user agent string, accept language." }, "xdm:operatingSystem": { "title": "Operating System", "type": "string", - "description": - "The name of the operating system used when the observation was made. This attribute should not contain any version information i.e. 10.5.3, but can contain *edition* designations such as 'Ultimate', or 'Professional'." + "description": "The name of the operating system used when the observation was made. This attribute should not contain any version information i.e. 10.5.3, but can contain *edition* designations such as 'Ultimate', or 'Professional'." }, "xdm:operatingSystemVersion": { "title": "Operating System Version", "type": "string", - "description": - "The full version identifier for the operating system used when the observation was made. Versions are generally numerically composed, but may be in a vendor defined format." + "description": "The full version identifier for the operating system used when the observation was made. Versions are generally numerically composed, but may be in a vendor defined format." }, "xdm:operatingSystemVendor": { "title": "Operating System Vendor", "type": "string", - "description": - "The name of the operating system vendor used when the observation was made." + "description": "The name of the operating system vendor used when the observation was made." }, "xdm:colorDepth": { "title": "Color Depth", "type": "integer", - "description": - "The number of bits used for each color component of a single pixel.", + "description": "The number of bits used for each color component of a single pixel.", "minimum": 0 }, "xdm:viewportHeight": { "title": "Viewport Height", "type": "integer", - "description": - "The vertical size (in pixels) of the window the experience was displayed inside. For a web view event, the browser viewport height.", + "description": "The vertical size (in pixels) of the window the experience was displayed inside. For a web view event, the browser viewport height.", "minimum": 0 }, "xdm:viewportWidth": { "title": "Viewport Width", "type": "integer", - "description": - "The horizontal size (in pixels) of the window the experience was displayed inside. For a web view event, the browser viewport width.", + "description": "The horizontal size (in pixels) of the window the experience was displayed inside. For a web view event, the browser viewport width.", "minimum": 0 }, "xdm:connectionType": { @@ -117,22 +114,19 @@ "xdm:carrier": { "title": "Mobile Network Carrier", "type": "string", - "description": - "A mobile network carrier or MNO, also known as a wireless service provider, wireless carrier, cellular company, or mobile network carrier, is a provider of services wireless communications that owns or controls all the elements necessary to sell and deliver services to an end user." + "description": "A mobile network carrier or MNO, also known as a wireless service provider, wireless carrier, cellular company, or mobile network carrier, is a provider of services wireless communications that owns or controls all the elements necessary to sell and deliver services to an end user." }, "xdm:ipV4": { "title": "IPv4", "type": "string", "format": "ipv4", - "description": - "The numerical label assigned to a device participating in a computer network that uses the Internet Protocol for communication. " + "description": "The numerical label assigned to a device participating in a computer network that uses the Internet Protocol for communication. " }, "xdm:ipV6": { "title": "IPv6", "type": "string", "format": "ipv6", - "description": - "The numerical label assigned to a device participating in a computer network that uses the Internet Protocol for communication. " + "description": "The numerical label assigned to a device participating in a computer network that uses the Internet Protocol for communication. " } } } @@ -146,4 +140,4 @@ } ], "meta:status": "stabilizing" -} +} \ No newline at end of file diff --git a/schemas/context/experienceevent.schema.json b/schemas/context/experienceevent.schema.json index e1a24f828..d4727cab9 100644 --- a/schemas/context/experienceevent.schema.json +++ b/schemas/context/experienceevent.schema.json @@ -10,15 +10,14 @@ "title": "ExperienceEvent", "type": "object", "meta:extensible": true, - "description": - "The core ExperienceEvent XDM is used to capture observations that are altering one or more related XDMs/entities. The ExperienceEvent captures information about the observation taking place and when it is occurring. It is critical for time domain analytics as it allows observation and analysis of changes that occur in windows of time and comparison with other windows of time to track trends. ExperienceEvent are either explicit or implicit. Explicit events are direct observations of a human action taking place during a session. Implicit events are events that are being raised without a direct human action. Examples of implicit events are scheduled email sending of newsletters, battery voltage reaching a certain threshold, a person entering into range of a proximity sensor. While not all events are easily categorized across all data sources, it is extremely valuable to harmonize similar events into similar types for processing where possible, and the XDM specifications does this by defining a set of enumerated **type** attribute values with specific semantic meanings. Where possible events must be constrained to these enumerated values to facilitate interoperability.", + "description": "The core ExperienceEvent XDM is used to capture observations that are altering one or more related XDMs/entities. The ExperienceEvent captures information about the observation taking place and when it is occurring. It is critical for time domain analytics as it allows observation and analysis of changes that occur in windows of time and comparison with other windows of time to track trends. ExperienceEvent are either explicit or implicit. Explicit events are direct observations of a human action taking place during a session. Implicit events are events that are being raised without a direct human action. Examples of implicit events are scheduled email sending of newsletters, battery voltage reaching a certain threshold, a person entering into range of a proximity sensor. While not all events are easily categorized across all data sources, it is extremely valuable to harmonize similar events into similar types for processing where possible, and the XDM specifications does this by defining a set of enumerated **type** attribute values with specific semantic meanings. Where possible events must be constrained to these enumerated values to facilitate interoperability.", "definitions": { "experienceevent": { "properties": { "@id": { "title": "Identifier", "type": "string", - "format": "uri", + "format": "uri-reference", "description": "The unique identifier for the ExperienceEvent." }, "xdm:dataSource": { @@ -30,33 +29,28 @@ "title": "Timestamp", "type": "string", "format": "date-time", - "description": - "The time when the first event of the interaction occurred." + "description": "The time when the first event of the interaction occurred." }, "xdm:receivedTimestamp": { "title": "Received Timestamp", "type": "string", "format": "date-time", - "description": - "The time at which this interaction was received by a server." + "description": "The time at which this interaction was received by a server." }, "xdm:endUserIDs": { "title": "End User IDs", "$ref": "https://ns.adobe.com/xdm/context/enduserids", - "description": - "Condensed, normalized encapsulation of all end user identifiers." + "description": "Condensed, normalized encapsulation of all end user identifiers." }, "xdm:environment": { "title": "Environment", "$ref": "https://ns.adobe.com/xdm/context/environment", - "description": - "Information about the surrounding situation the event observation occurred in, specifically detailing transitory information such as the network or software versions." + "description": "Information about the surrounding situation the event observation occurred in, specifically detailing transitory information such as the network or software versions." }, "xdm:productListItems": { "title": "Product List Items", "type": "array", - "description": - "A list of items representing a product selected by a customer with specific options and pricing that are for that usage context at a specific point of time and may differ from the product record.", + "description": "A list of items representing a product selected by a customer with specific options and pricing that are for that usage context at a specific point of time and may differ from the product record.", "items": { "$ref": "https://ns.adobe.com/xdm/content/productlistitem" } @@ -64,20 +58,17 @@ "xdm:device": { "title": "Device", "$ref": "https://ns.adobe.com/xdm/context/device", - "description": - "An identified Device/Application or Device/Browser instance that is trackable across sessions, normally by cookies." + "description": "An identified Device/Application or Device/Browser instance that is trackable across sessions, normally by cookies." }, "xdm:commerce": { "title": "Commerce", "$ref": "https://ns.adobe.com/xdm/context/commerce", - "description": - "The commerce specific data related to this interaction." + "description": "The commerce specific data related to this interaction." }, "xdm:application": { "title": "Application", "$ref": "https://ns.adobe.com/xdm/context/application", - "description": - "The application related to the event observation. It could be either the application targeted by the event like the send of a push notification or the application originating the event such as a click, or a login." + "description": "The application related to the event observation. It could be either the application targeted by the event like the send of a push notification or the application originating the event such as a click, or a login." }, "xdm:search": { "title": "Search", @@ -87,32 +78,27 @@ "xdm:web": { "title": "Web", "$ref": "https://ns.adobe.com/xdm/context/webinfo", - "description": - "The information related to web page and link of the ExperienceEvent." + "description": "The information related to web page and link of the ExperienceEvent." }, "xdm:directMarketing": { "title": "Direct Marketing", "$ref": "https://ns.adobe.com/xdm/context/direct-marketing", - "description": - "The events and properties related to direct/outbound marketing such as email, direct mail, texts and in-app notifications." + "description": "The events and properties related to direct/outbound marketing such as email, direct mail, texts and in-app notifications." }, "xdm:marketing": { "title": "Marketing", "$ref": "https://ns.adobe.com/xdm/context/marketing", - "description": - "The information related to marketing activities that are active with the touchpoint." + "description": "The information related to marketing activities that are active with the touchpoint." }, "xdm:placeContext": { "title": "Place Context", "$ref": "https://ns.adobe.com/xdm/context/placecontext", - "description": - "The transient circumstances related to the observation. Examples include locale specific information such as weather, local time, traffic, day of the week, workday vs. holiday, working hours." + "description": "The transient circumstances related to the observation. Examples include locale specific information such as weather, local time, traffic, day of the week, workday vs. holiday, working hours." }, "xdm:channel": { "title": "Experience Channel", - "description": - "The experience channel related to this ExperienceEvent.", - "$ref": "https://ns.adobe.com/xdm/channels/channel" + "description": "The experience channel related to this ExperienceEvent.", + "$ref": "https://ns.adobe.com/xdm/channels/channel" }, "xdm:advertising": { "title": "Advertising", @@ -126,7 +112,7 @@ "description": "The media activity information related to the experience event" } }, - "xdm:profileStitching" : { + "xdm:profileStitching": { "title": "Profile Stitching", "description": "Details about the ids that were joined by profile stitching.", "$ref": "https://ns.adobe.com/xdm/context/profileStitch" @@ -139,7 +125,11 @@ "$ref": "https://ns.adobe.com/xdm/context/segmentmembershipitem" } }, - "required": ["@id", "xdm:timestamp", "xdm:endUserIDs"] + "required": [ + "@id", + "xdm:timestamp", + "xdm:endUserIDs" + ] } }, "allOf": [ @@ -151,4 +141,4 @@ } ], "meta:status": "stabilizing" -} +} \ No newline at end of file diff --git a/schemas/context/geo-interaction-details.schema.json b/schemas/context/geo-interaction-details.schema.json index 70549ec59..e6259fdb5 100644 --- a/schemas/context/geo-interaction-details.schema.json +++ b/schemas/context/geo-interaction-details.schema.json @@ -10,8 +10,7 @@ "title": "Geo Interaction Details", "type": "object", "meta:extensible": true, - "description": - "The geo details relating to the current state of inclusion in a geo defined area.", + "description": "The geo details relating to the current state of inclusion in a geo defined area.", "definitions": { "geo-interaction-detail": { "properties": { @@ -42,4 +41,4 @@ } ], "meta:status": "experimental" -} +} \ No newline at end of file diff --git a/schemas/context/identity.schema.json b/schemas/context/identity.schema.json index 15b69fd65..6ef51c394 100644 --- a/schemas/context/identity.schema.json +++ b/schemas/context/identity.schema.json @@ -10,8 +10,7 @@ "title": "Identity", "type": "object", "meta:extensible": true, - "description": - "Identity is used to clearly distinguish people that are interacting with digital experiences. Identity is established by an identity provider, which itself is referenced in the `namespace` attribute. Within each `namespace`, the identity is unique.", + "description": "Identity is used to clearly distinguish people that are interacting with digital experiences. Identity is established by an identity provider, which itself is referenced in the `namespace` attribute. Within each `namespace`, the identity is unique.", "definitions": { "identity": { "properties": { @@ -23,21 +22,22 @@ "xdm:namespace": { "title": "Namespace", "$ref": "https://ns.adobe.com/xdm/context/namespace", - "description": - "The namespace associated with the `xid` attribute and matched up with the AAM data source integration code." + "description": "The namespace associated with the `xid` attribute and matched up with the AAM data source integration code." }, "xdm:xid": { "title": "Experience Identifier", "type": "string", - "description": - "When present, this value represents a cross-namespace identifier that is unique across all namespace-scoped identifiers in all namespaces." + "description": "When present, this value represents a cross-namespace identifier that is unique across all namespace-scoped identifiers in all namespaces." }, "xdm:authenticatedState": { - "description": - "The state this identity is authenticated as for this observed ExperienceEvent.", + "description": "The state this identity is authenticated as for this observed ExperienceEvent.", "type": "string", "default": "ambiguous", - "enum": ["ambiguous", "authenticated", "loggedOut"], + "enum": [ + "ambiguous", + "authenticated", + "loggedOut" + ], "meta:enum": { "ambiguous": "Ambiguous", "authenticated": "User identified by a login or simular action that was valid at the time of the event observation.", @@ -48,8 +48,7 @@ "title": "Primary", "type": "boolean", "default": false, - "description": - "Indicates this identity is the preferred identity. Is used as a hint to help systems better organize how identities are queried." + "description": "Indicates this identity is the preferred identity. Is used as a hint to help systems better organize how identities are queried." } } } @@ -63,4 +62,4 @@ } ], "meta:status": "stabilizing" -} +} \ No newline at end of file diff --git a/schemas/context/implementationdetails.schema.json b/schemas/context/implementationdetails.schema.json index 32f3e7c84..8818d8c74 100644 --- a/schemas/context/implementationdetails.schema.json +++ b/schemas/context/implementationdetails.schema.json @@ -11,8 +11,7 @@ "type": "object", "meta:extensible": true, "meta:status": "stabilizing", - "description": - "Details about the SDK, library or service used in an application's or web page's implementation of a service.", + "description": "Details about the SDK, library or service used in an application's or web page's implementation of a service.", "definitions": { "implementationdetails": { "properties": { @@ -45,4 +44,4 @@ "$ref": "#/definitions/implementationdetails" } ] -} +} \ No newline at end of file diff --git a/schemas/context/marketing.schema.json b/schemas/context/marketing.schema.json index 86c658ac2..e81bb4602 100644 --- a/schemas/context/marketing.schema.json +++ b/schemas/context/marketing.schema.json @@ -10,16 +10,14 @@ "title": "Marketing", "type": "object", "meta:extensible": true, - "description": - "The information related to marketing activities that are active with the touchpoint.", + "description": "The information related to marketing activities that are active with the touchpoint.", "definitions": { "marketing": { "properties": { "xdm:trackingCode": { "title": "Tracking Code", "type": "string", - "description": - "Tracking code that can be used to identify the marketing campaign the event is associated with." + "description": "Tracking code that can be used to identify the marketing campaign the event is associated with." } } } @@ -33,4 +31,4 @@ } ], "meta:status": "stabilizing" -} +} \ No newline at end of file diff --git a/schemas/context/media-timed-asset-reference.schema.json b/schemas/context/media-timed-asset-reference.schema.json index 8b4dc5204..5c961427d 100644 --- a/schemas/context/media-timed-asset-reference.schema.json +++ b/schemas/context/media-timed-asset-reference.schema.json @@ -18,7 +18,7 @@ "@id": { "title": "Asset ID", "type": "string", - "format": "uri", + "format": "uri-reference", "description": "Identifier of the content, which can be used to tie back to other industry / CMS IDs." }, "dc:title": { @@ -95,4 +95,4 @@ "$ref": "#/definitions/media-asset-reference" } ] -} +} \ No newline at end of file diff --git a/schemas/context/media-timed-asset-view-details.schema.json b/schemas/context/media-timed-asset-view-details.schema.json index 43dcee89f..6533047a3 100644 --- a/schemas/context/media-timed-asset-view-details.schema.json +++ b/schemas/context/media-timed-asset-view-details.schema.json @@ -18,7 +18,7 @@ "@id": { "title": "Media Session ID", "type": "string", - "format": "uri", + "format": "uri-reference", "description": "Identifies an instance of a content stream unique to an individual playback." }, "xdm:playerName": { @@ -91,4 +91,4 @@ "$ref": "#/definitions/media-asset-view-details" } ] -} +} \ No newline at end of file diff --git a/schemas/context/media-timed-chapter-asset-reference.schema.json b/schemas/context/media-timed-chapter-asset-reference.schema.json index d5aca6e5b..6730dda5a 100644 --- a/schemas/context/media-timed-chapter-asset-reference.schema.json +++ b/schemas/context/media-timed-chapter-asset-reference.schema.json @@ -17,7 +17,7 @@ "properties": { "@id": { "title": "Chapter Identity", - "format":"uri", + "format": "uri-reference", "type": "string", "description": "The identity of the chapter." }, @@ -46,4 +46,4 @@ "$ref": "#/definitions/media-chapter-asset-reference" } ] -} +} \ No newline at end of file diff --git a/schemas/context/media-timed-chapter-view-details.schema.json b/schemas/context/media-timed-chapter-view-details.schema.json index 6ad33def1..ebfe96ecd 100644 --- a/schemas/context/media-timed-chapter-view-details.schema.json +++ b/schemas/context/media-timed-chapter-view-details.schema.json @@ -40,4 +40,4 @@ "$ref": "#/definitions/media-chapter-view-details" } ] -} +} \ No newline at end of file diff --git a/schemas/context/media-timed-chapter.schema.json b/schemas/context/media-timed-chapter.schema.json index 00668eb0d..4a704ce0a 100644 --- a/schemas/context/media-timed-chapter.schema.json +++ b/schemas/context/media-timed-chapter.schema.json @@ -56,4 +56,4 @@ "$ref": "#/definitions/media-timed-chapter" } ] -} +} \ No newline at end of file diff --git a/schemas/context/media-timed-qoe.schema.json b/schemas/context/media-timed-qoe.schema.json index 2631a1a48..594146f28 100644 --- a/schemas/context/media-timed-qoe.schema.json +++ b/schemas/context/media-timed-qoe.schema.json @@ -71,4 +71,4 @@ "$ref": "#/definitions/media-timed-qoe" } ] -} +} \ No newline at end of file diff --git a/schemas/context/media-timed.schema.json b/schemas/context/media-timed.schema.json index bf8bed723..83187ebb1 100644 --- a/schemas/context/media-timed.schema.json +++ b/schemas/context/media-timed.schema.json @@ -125,4 +125,4 @@ "$ref": "#/definitions/media-timed" } ] -} +} \ No newline at end of file diff --git a/schemas/context/media.schema.json b/schemas/context/media.schema.json index 4ebf58938..ff67b13c1 100644 --- a/schemas/context/media.schema.json +++ b/schemas/context/media.schema.json @@ -31,4 +31,4 @@ "$ref": "#/definitions/media" } ] -} +} \ No newline at end of file diff --git a/schemas/context/namespace.schema.json b/schemas/context/namespace.schema.json index da8bfa839..b81c35618 100644 --- a/schemas/context/namespace.schema.json +++ b/schemas/context/namespace.schema.json @@ -11,17 +11,18 @@ "type": "object", "meta:extensible": true, "description": "", - "definitions": { + "definitions": { "namespace": { "properties": { "xdm:code": { "title": "Code", "type": "string", - "description": - "The code is a human readable identifier for the namespace and can be used to request the technical namespace id which is used for identity graph processing." + "description": "The code is a human readable identifier for the namespace and can be used to request the technical namespace id which is used for identity graph processing." } }, - "required": ["xdm:code"] + "required": [ + "xdm:code" + ] } }, "allOf": [ @@ -33,4 +34,4 @@ } ], "meta:status": "stabilizing" -} +} \ No newline at end of file diff --git a/schemas/context/optinout.schema.json b/schemas/context/optinout.schema.json index 085564e34..ab6340318 100644 --- a/schemas/context/optinout.schema.json +++ b/schemas/context/optinout.schema.json @@ -10,21 +10,23 @@ "title": "OptInOut", "type": "object", "meta:extensible": true, - "description": - "Describes a users' communication preferences by channel. For each channel individually, which is a property of this object, a user's preference (opt-in, opt-out, pending) can be recorded. In addition, a global override opt-out is possible. Each property of this schema must be a valid and known URI for an XDM Channel.", + "description": "Describes a users' communication preferences by channel. For each channel individually, which is a property of this object, a user's preference (opt-in, opt-out, pending) can be recorded. In addition, a global override opt-out is possible. Each property of this schema must be a valid and known URI for an XDM Channel.", "definitions": { "preference": { - "description": - "Communication preference for the outbound channel identified through its URL by the name of the property.", + "description": "Communication preference for the outbound channel identified through its URL by the name of the property.", "type": "string", "default": "not_provided", - "enum": ["not_provided", "pending", "in", "out"], + "enum": [ + "not_provided", + "pending", + "in", + "out" + ], "meta:enum": { "not_provided": "Not Provided", "pending": "Pending Verification", "in": "Opt-In: the user explicitly consents to receiving messages.", - "out": - "Opt-Out: the user declines to receive any messages on this channel" + "out": "Opt-Out: the user declines to receive any messages on this channel" } }, "optinout": { @@ -115,4 +117,4 @@ } ], "meta:status": "experimental" -} +} \ No newline at end of file diff --git a/schemas/context/person-name.schema.json b/schemas/context/person-name.schema.json index 6a4916f17..98fc0f298 100644 --- a/schemas/context/person-name.schema.json +++ b/schemas/context/person-name.schema.json @@ -17,32 +17,27 @@ "xdm:firstName": { "title": "First name", "type": "string", - "description": - "The first segment of the name in the writing order most commonly accepted in the language of the name. In many cultures this is the preferred personal or given name.\n\nThe `firstName` and `lastName` properties have been introduced to maintain compatibility with existing systems that model names in a simplified, non-semantic, and non-internationalizable way. Using `xdm:fullName` is always preferable." + "description": "The first segment of the name in the writing order most commonly accepted in the language of the name. In many cultures this is the preferred personal or given name.\n\nThe `firstName` and `lastName` properties have been introduced to maintain compatibility with existing systems that model names in a simplified, non-semantic, and non-internationalizable way. Using `xdm:fullName` is always preferable." }, "xdm:lastName": { "title": "Last name", "type": "string", - "description": - "The last segment of the name in the writing order most commonly accepted in the language of the name. In many cultures this is the inherited family name, surname, patronymic, or matronymic name.\n\nThe `firstName` and `lastName` properties have been introduced to maintain compatibility with existing systems that model names in a simplified, non-semantic, and non-internationalizable way. Using `xdm:fullName` is always preferable." + "description": "The last segment of the name in the writing order most commonly accepted in the language of the name. In many cultures this is the inherited family name, surname, patronymic, or matronymic name.\n\nThe `firstName` and `lastName` properties have been introduced to maintain compatibility with existing systems that model names in a simplified, non-semantic, and non-internationalizable way. Using `xdm:fullName` is always preferable." }, "xdm:middleName": { "title": "Middle name", "type": "string", - "description": - "Middle, alternative, or additional names supplied between the first name and last name." + "description": "Middle, alternative, or additional names supplied between the first name and last name." }, "xdm:courtesyTitle": { "title": "Courtesy title", "type": "string", - "description": - "Normally an abbreviation of a persons *title*, *honorific*, or *salutation*.\nThe `courtesyTitle` is used in front of full or last name in opening texts.\ne.g Mr. Miss. or Dr J. Smith.\n" + "description": "Normally an abbreviation of a persons *title*, *honorific*, or *salutation*.\nThe `courtesyTitle` is used in front of full or last name in opening texts.\ne.g Mr. Miss. or Dr J. Smith.\n" }, "xdm:fullName": { "title": "Full name", "type": "string", - "description": - "The full name of the person, in writing order most commonly accepted in the language of the name." + "description": "The full name of the person, in writing order most commonly accepted in the language of the name." } } } @@ -56,4 +51,4 @@ } ], "meta:status": "experimental" -} +} \ No newline at end of file diff --git a/schemas/context/person.schema.json b/schemas/context/person.schema.json index adfdc9fd2..0c97e2e4e 100644 --- a/schemas/context/person.schema.json +++ b/schemas/context/person.schema.json @@ -11,8 +11,7 @@ "type": "object", "meta:extensible": true, "meta:auditable": true, - "description": - "An individual person. May represent a person acting in various roles, such as a customer, contact, or owner.", + "description": "An individual person. May represent a person acting in various roles, such as a customer, contact, or owner.", "definitions": { "person": { "properties": { @@ -38,15 +37,19 @@ "xdm:birthYear": { "title": "Birth year", "type": "integer", - "description": - "The year a person was born including the century (yyyy, e.g 1983).", + "description": "The year a person was born including the century (yyyy, e.g 1983).", "minimum": 1, "maximum": 32767 }, "xdm:gender": { "title": "Gender", "type": "string", - "enum": ["male", "female", "not_specified", "non_specific"], + "enum": [ + "male", + "female", + "not_specified", + "non_specific" + ], "meta:enum": { "male": "Male", "female": "Female", @@ -71,4 +74,4 @@ } ], "meta:status": "experimental" -} +} \ No newline at end of file diff --git a/schemas/context/phonenumber.schema.json b/schemas/context/phonenumber.schema.json index 7129778c6..cbcda7da4 100644 --- a/schemas/context/phonenumber.schema.json +++ b/schemas/context/phonenumber.schema.json @@ -10,34 +10,29 @@ "title": "Phone Number", "type": "object", "meta:extensible": true, - "description": - "Information that allows the phone calling of a person. Typically an alphanumeric number, 1-222-333 4444 in North America, but can have a wide range of formats.", + "description": "Information that allows the phone calling of a person. Typically an alphanumeric number, 1-222-333 4444 in North America, but can have a wide range of formats.", "definitions": { "phonenumber": { "properties": { "xdm:primary": { "title": "Primary", "type": "boolean", - "description": - "Primary phone number indicator.\n\nUnlike for Address or EmailAddress, there can be multiple primary phone numbers; one per communication channel.\nThe communication channel is defined by the type:\n\n* `textMessaging`: type = `mobile`\n* `phone`: type = `home` | `work` | `unknown`\n* `fax`: type = `fax`\n" + "description": "Primary phone number indicator.\n\nUnlike for Address or EmailAddress, there can be multiple primary phone numbers; one per communication channel.\nThe communication channel is defined by the type:\n\n* `textMessaging`: type = `mobile`\n* `phone`: type = `home` | `work` | `unknown`\n* `fax`: type = `fax`\n" }, "xdm:number": { "title": "Number", "type": "string", - "description": - "The phone number. Note the phone number is a string and may include meaningful characters such as brackets (), hyphens - or characters to indicate sub dialing identifiers like extensions x. E.g 1-353(0)18391111 or +613 9403600x1234." + "description": "The phone number. Note the phone number is a string and may include meaningful characters such as brackets (), hyphens - or characters to indicate sub dialing identifiers like extensions x. E.g 1-353(0)18391111 or +613 9403600x1234." }, "xdm:extension": { "title": "Extension", "type": "string", - "description": - "The internal dialing number used to call from a private exchange, operator or switchboard." + "description": "The internal dialing number used to call from a private exchange, operator or switchboard." }, "xdm:status": { "title": "Status", "type": "string", - "description": - "An indication as to the ability to use the phone number.", + "description": "An indication as to the ability to use the phone number.", "default": "active", "meta:enum": { "active": "Active", @@ -54,8 +49,7 @@ "xdm:validity": { "title": "Validity", "type": "string", - "description": - "A level of technical correctness of the phone number.", + "description": "A level of technical correctness of the phone number.", "meta:enum": { "consistent": "Consistent", "inconsistent": "Inconsistent", @@ -75,4 +69,4 @@ } ], "meta:status": "stabilizing" -} +} \ No newline at end of file diff --git a/schemas/context/place.schema.json b/schemas/context/place.schema.json index 56177e82c..f103e6767 100644 --- a/schemas/context/place.schema.json +++ b/schemas/context/place.schema.json @@ -17,7 +17,7 @@ "@id": { "title": "Place ID", "type": "string", - "format": "uri", + "format": "uri-reference", "description": "The unique identifier of the place." }, "schema:description": { @@ -38,8 +38,7 @@ "schema:branchCode": { "title": "Location Code", "type": "string", - "description": - "A short textual code (also called \"store code\") that uniquely identifies a place of business. The code is typically assigned by the parent Organization and used in structured URLs.\n\nFor example, in the URL `http://www.starbucks.co.uk/store-locator/etc/detail/3047` the code \"3047\" is a `branchCode` for a particular branch." + "description": "A short textual code (also called \"store code\") that uniquely identifies a place of business. The code is typically assigned by the parent Organization and used in structured URLs.\n\nFor example, in the URL `http://www.starbucks.co.uk/store-locator/etc/detail/3047` the code \"3047\" is a `branchCode` for a particular branch." }, "xdm:shape": { "title": "Geo Shape", @@ -49,15 +48,13 @@ "xdm:pointOfInterest": { "title": "Point of Interest", "$ref": "http://schema.org/GeoCoordinates", - "description": - "The coordinates of the point of interest for this location." + "description": "The coordinates of the point of interest for this location." }, "xdm:containedInPlace": { "title": "Contained by Location", "type": "string", "format": "uri", - "description": - "XDM URI of another `Place` that this place is contained in.\n\nThis property is based on `schema:containedInPlace`, but is using URI references instead of embedding the containing place." + "description": "XDM URI of another `Place` that this place is contained in.\n\nThis property is based on `schema:containedInPlace`, but is using URI references instead of embedding the containing place." }, "xdm:containsPlaces": { "title": "Contains Locations", @@ -65,14 +62,14 @@ "items": { "type": "string", "format": "uri", - "description": - "The XDM URI of another `Place` that this place contains." + "description": "The XDM URI of another `Place` that this place contains." }, - "description": - "An array of XDM URIs of other `Place` instances that this place is containing.\n\nThis property is based on `schema:containsPlace`, but is using URI references instead of embedding the containing place. In addition, it is an array, allowing one place to include multiple other places." + "description": "An array of XDM URIs of other `Place` instances that this place is containing.\n\nThis property is based on `schema:containsPlace`, but is using URI references instead of embedding the containing place. In addition, it is an array, allowing one place to include multiple other places." } }, - "required": ["@id"] + "required": [ + "@id" + ] } }, "allOf": [ @@ -84,4 +81,4 @@ } ], "meta:status": "experimental" -} +} \ No newline at end of file diff --git a/schemas/context/placecontext.schema.json b/schemas/context/placecontext.schema.json index 2b4b981c7..325cb0f14 100644 --- a/schemas/context/placecontext.schema.json +++ b/schemas/context/placecontext.schema.json @@ -18,8 +18,7 @@ "title": "Local Time", "type": "string", "format": "date-time", - "description": - "The local time using RFC3339 with a stated timezone offset such as \"2001-07-04T12:08:56-07:00\". An example formatting pattern is \"yyyy-MM-dd'T'HH:mm:ssXXX\"." + "description": "The local time using RFC3339 with a stated timezone offset such as \"2001-07-04T12:08:56-07:00\". An example formatting pattern is \"yyyy-MM-dd'T'HH:mm:ssXXX\"." }, "xdm:geo": { "title": "Geo", @@ -32,7 +31,7 @@ "meta:status": "experimental", "$ref": "https://ns.adobe.com/xdm/context/poi-interaction" }, - "xdm:activePOIs" : { + "xdm:activePOIs": { "title": "POI Detail", "description": "Details of the POIs that cause the event.", "meta:status": "experimental", @@ -53,4 +52,4 @@ } ], "meta:status": "experimental" -} +} \ No newline at end of file diff --git a/schemas/context/poi-detail.schema.json b/schemas/context/poi-detail.schema.json index 7bf9912d1..7b0de7f45 100644 --- a/schemas/context/poi-detail.schema.json +++ b/schemas/context/poi-detail.schema.json @@ -73,4 +73,4 @@ } ], "meta:status": "experimental" -} +} \ No newline at end of file diff --git a/schemas/context/poi-interaction.schema.json b/schemas/context/poi-interaction.schema.json index a402d035b..b87655378 100644 --- a/schemas/context/poi-interaction.schema.json +++ b/schemas/context/poi-interaction.schema.json @@ -21,13 +21,11 @@ }, "xdm:poiEntries": { "$ref": "https://ns.adobe.com/xdm/data/measure", - "description": - "The number of times a person has entered the Point of Interest (POI)." + "description": "The number of times a person has entered the Point of Interest (POI)." }, "xdm:poiExits": { "$ref": "https://ns.adobe.com/xdm/data/measure", - "description": - "The number of times a person has exited the Point of Interest (POI)." + "description": "The number of times a person has exited the Point of Interest (POI)." } } } @@ -41,4 +39,4 @@ } ], "meta:status": "experimental" -} +} \ No newline at end of file diff --git a/schemas/context/profile.schema.json b/schemas/context/profile.schema.json index f57d1ae78..7d1f6a2f2 100644 --- a/schemas/context/profile.schema.json +++ b/schemas/context/profile.schema.json @@ -11,8 +11,7 @@ "type": "object", "auditable": true, "meta:extensible": true, - "description": - "XDM Profiles are a singular representation of the attributes of identified and\npartially identified persons. Profiles that are highly identified maybe used for\npersonal communications or highly targeted engagements and can contain detailed\npersonal information such as names, gender, date of birth, locations, and contact\ninformation like phone numbers and email addresses. Profiles may range to the\nother end of the identification spectrum where only anonymous behavioral signals\nare being observed and the amount of identification is simple browser cookies.\nIn this latter case, the sparse Profile data is useful to build more knowledge\non the interests and preferences of the anonymous profile, and over time can\nbecome richer as the person interacting with brand becomes more engaged and\nultimately signs-on to notifications, subscriptions, purchases and other\nconnections with the brand that enrich and fill out the profile.\n\nXDM Profile can contain personal information, identification information, contact\ndetails and communication preferences. Over time XDM Profile will expand to cater\nfor other Profile data such as preference, propensities and other attributes.\n\n", + "description": "XDM Profiles are a singular representation of the attributes of identified and\npartially identified persons. Profiles that are highly identified maybe used for\npersonal communications or highly targeted engagements and can contain detailed\npersonal information such as names, gender, date of birth, locations, and contact\ninformation like phone numbers and email addresses. Profiles may range to the\nother end of the identification spectrum where only anonymous behavioral signals\nare being observed and the amount of identification is simple browser cookies.\nIn this latter case, the sparse Profile data is useful to build more knowledge\non the interests and preferences of the anonymous profile, and over time can\nbecome richer as the person interacting with brand becomes more engaged and\nultimately signs-on to notifications, subscriptions, purchases and other\nconnections with the brand that enrich and fill out the profile.\n\nXDM Profile can contain personal information, identification information, contact\ndetails and communication preferences. Over time XDM Profile will expand to cater\nfor other Profile data such as preference, propensities and other attributes.\n\n", "definitions": { "profile": { "properties": { @@ -23,8 +22,7 @@ "$ref": "https://ns.adobe.com/xdm/context/identity" }, "minItems": 1, - "description": - "Array of Identities. Condensed, normalized encapsulation of all end user identifiers." + "description": "Array of Identities. Condensed, normalized encapsulation of all end user identifiers." }, "xdm:person": { "title": "Person", @@ -74,14 +72,12 @@ "xdm:optInOut": { "title": "OptInOut", "$ref": "https://ns.adobe.com/xdm/context/optinout", - "description": - "Describes a users opting in and out preferences for communication by medium\nand communication type.\n" + "description": "Describes a users opting in and out preferences for communication by medium\nand communication type.\n" }, "xdm:pushNotificationTokens": { "title": "Push Notification Tokens", "type": "array", - "description": - "Push notification tokens are used to communicate with applications that\nare installed on devices or SaaS application accounts.\n", + "description": "Push notification tokens are used to communicate with applications that\nare installed on devices or SaaS application accounts.\n", "items": { "$ref": "https://ns.adobe.com/xdm/context/pushnotificationtoken" } @@ -89,30 +85,33 @@ "xdm:orgUnit": { "title": "Organizational Unit", "$ref": "https://ns.adobe.com/xdm/common/orgunit", - "description": - "The unit within the organization owning the profile. This can be used to reference the organization details maintained in another dataset." + "description": "The unit within the organization owning the profile. This can be used to reference the organization details maintained in another dataset." }, "xdm:geoUnit": { "title": "Geographical Unit", "$ref": "https://ns.adobe.com/xdm/common/geounit", - "description": - "The geographical unit within the organization owning the profile. This can be used to reference the geographical information maintained in another dataset." + "description": "The geographical unit within the organization owning the profile. This can be used to reference the geographical information maintained in another dataset." }, "xdm:preferredLanguage": { "title": "Preferred Language", "type": "string", - "pattern": - "^(((([A-Za-z]{2,3}(-([A-Za-z]{3}(-[A-Za-z]{3}){0,2}))?)|[A-Za-z]{4}|[A-Za-z]{5,8})(-([A-Za-z]{4}))?(-([A-Za-z]{2}|[0-9]{3}))?(-([A-Za-z0-9]{5,8}|[0-9][A-Za-z0-9]{3}))*(-([0-9A-WY-Za-wy-z](-[A-Za-z0-9]{2,8})+))*(-(x(-[A-Za-z0-9]{1,8})+))?)|(x(-[A-Za-z0-9]{1,8})+)|((en-GB-oed|i-ami|i-bnn|i-default|i-enochian|i-hak|i-klingon|i-lux|i-mingo|i-navajo|i-pwn|i-tao|i-tay|i-tsu|sgn-BE-FR|sgn-BE-NL|sgn-CH-DE)|(art-lojban|cel-gaulish|no-bok|no-nyn|zh-guoyu|zh-hakka|zh-min|zh-min-nan|zh-xiang)))$", - "examples": ["en-GB", "de-DE", "yue-HK"], - "description": - "Describes the preferred system of communication used by the profile. Language codes are expressed in BCP 47 format." + "pattern": "^(((([A-Za-z]{2,3}(-([A-Za-z]{3}(-[A-Za-z]{3}){0,2}))?)|[A-Za-z]{4}|[A-Za-z]{5,8})(-([A-Za-z]{4}))?(-([A-Za-z]{2}|[0-9]{3}))?(-([A-Za-z0-9]{5,8}|[0-9][A-Za-z0-9]{3}))*(-([0-9A-WY-Za-wy-z](-[A-Za-z0-9]{2,8})+))*(-(x(-[A-Za-z0-9]{1,8})+))?)|(x(-[A-Za-z0-9]{1,8})+)|((en-GB-oed|i-ami|i-bnn|i-default|i-enochian|i-hak|i-klingon|i-lux|i-mingo|i-navajo|i-pwn|i-tao|i-tay|i-tsu|sgn-BE-FR|sgn-BE-NL|sgn-CH-DE)|(art-lojban|cel-gaulish|no-bok|no-nyn|zh-guoyu|zh-hakka|zh-min|zh-min-nan|zh-xiang)))$", + "examples": [ + "en-GB", + "de-DE", + "yue-HK" + ], + "description": "Describes the preferred system of communication used by the profile. Language codes are expressed in BCP 47 format." }, "xdm:timeZone": { "title": "Time Zone", "type": "string", - "examples": ["America/Barbados", "Antarctica/Davis", "Asia/Calcutta"], - "description": - "Describes which time zone the profile is present in, most frequently/the time zone preferred by the profile. Time zones are expressed according to the IETF tz database: https://www.ietf.org/timezones/tzdb-2016i/tz-link.htm" + "examples": [ + "America/Barbados", + "Antarctica/Davis", + "Asia/Calcutta" + ], + "description": "Describes which time zone the profile is present in, most frequently/the time zone preferred by the profile. Time zones are expressed according to the IETF tz database: https://www.ietf.org/timezones/tzdb-2016i/tz-link.htm" }, "xdm:profilePictureLink": { "title": "Profile Picture Link", @@ -122,8 +121,7 @@ "xdm:emailFormat": { "title": "Email Format", "type": "string", - "description": - "Email format preferred by the profile. This can be rich text/plain text", + "description": "Email format preferred by the profile. This can be rich text/plain text", "meta:enum": { "html": "Rich text", "plaintext": "Plain text" @@ -139,8 +137,7 @@ "xdm:subscriptions": { "title": "Subscriptions", "type": "array", - "description": - "Subscriptions that this profile is entitled to including terminated, expired or exhausted subscriptions.", + "description": "Subscriptions that this profile is entitled to including terminated, expired or exhausted subscriptions.", "items": { "$ref": "https://ns.adobe.com/xdm/context/subscription" } @@ -148,15 +145,14 @@ "xdm:testProfile": { "title": "Test Profile", "type": "boolean", - "description": - "Indicates the `profile` record is for use in testing/verification purposes and should not be automatically included in normal operation(s).", + "description": "Indicates the `profile` record is for use in testing/verification purposes and should not be automatically included in normal operation(s).", "default": false }, - "xdm:segments":{ - "title" : "Segment Membership", - "type" : "array", - "items" : { - "$ref" : "https://ns.adobe.com/xdm/context/segmentmembership" + "xdm:segments": { + "title": "Segment Membership", + "type": "array", + "items": { + "$ref": "https://ns.adobe.com/xdm/context/segmentmembership" } } } @@ -174,4 +170,4 @@ } ], "meta:status": "experimental" -} +} \ No newline at end of file diff --git a/schemas/context/profilestitchidentity.schema.json b/schemas/context/profilestitchidentity.schema.json index ca13d0fe0..0fa22db40 100644 --- a/schemas/context/profilestitchidentity.schema.json +++ b/schemas/context/profilestitchidentity.schema.json @@ -1,42 +1,41 @@ { - "meta:license": [ - "Copyright 2018 Adobe Systems Incorporated. All rights reserved.", - "This work is licensed under a Creative Commons Attribution 4.0 International (CC BY 4.0) license", - "you may not use this file except in compliance with the License. You may obtain a copy", - "of the License at https://creativecommons.org/licenses/by/4.0/" - ], - "$id": "https://ns.adobe.com/xdm/context/profileStitchIdentity", - "$schema": "http://json-schema.org/draft-06/schema#", - "title": "Identity", - "type": "object", - "description": "ProfileStitchIdentity is used to clearly distinguish Profile Stitching from multiple sources. ProfileStitchIdentity is established by an Profile Stitch identity provider, which itself is referenced in the `namespace` attribute. Within each `namespace`, the profileStitchIdentity is unique.", - "definitions": { - "profileStitchIdentity": { - "properties": { - "@id": { - "title": "Identifier", - "type": "string", - "format": "uri", - "description": "Identity of the Profile Stitch in the related namespace." - }, - "xdm:namespace": { - "title": "Namespace", - "$ref": "https://ns.adobe.com/xdm/context/namespace", - "description": "The namespace associated with the `xid` attribute." - }, - "xdm:xid": { - "title": "Experience Identifier", - "type": "string", - "description": "When present, this value represents a cross-namespace identifier that is unique across all namespace-scoped identifiers in all namespaces." - } - } + "meta:license": [ + "Copyright 2018 Adobe Systems Incorporated. All rights reserved.", + "This work is licensed under a Creative Commons Attribution 4.0 International (CC BY 4.0) license", + "you may not use this file except in compliance with the License. You may obtain a copy", + "of the License at https://creativecommons.org/licenses/by/4.0/" + ], + "$id": "https://ns.adobe.com/xdm/context/profileStitchIdentity", + "$schema": "http://json-schema.org/draft-06/schema#", + "title": "Identity", + "type": "object", + "description": "ProfileStitchIdentity is used to clearly distinguish Profile Stitching from multiple sources. ProfileStitchIdentity is established by an Profile Stitch identity provider, which itself is referenced in the `namespace` attribute. Within each `namespace`, the profileStitchIdentity is unique.", + "definitions": { + "profileStitchIdentity": { + "properties": { + "@id": { + "title": "Identifier", + "type": "string", + "format": "uri-reference", + "description": "Identity of the Profile Stitch in the related namespace." + }, + "xdm:namespace": { + "title": "Namespace", + "$ref": "https://ns.adobe.com/xdm/context/namespace", + "description": "The namespace associated with the `xid` attribute." + }, + "xdm:xid": { + "title": "Experience Identifier", + "type": "string", + "description": "When present, this value represents a cross-namespace identifier that is unique across all namespace-scoped identifiers in all namespaces." } - }, - "allOf": [ - { - "$ref": "#/definitions/profileStitchIdentity" - } - ], - "meta:status": "experimental" -} - + } + } + }, + "allOf": [ + { + "$ref": "#/definitions/profileStitchIdentity" + } + ], + "meta:status": "experimental" +} \ No newline at end of file diff --git a/schemas/context/pushnotificationtoken.schema.json b/schemas/context/pushnotificationtoken.schema.json index 570afc82f..a26e9d446 100644 --- a/schemas/context/pushnotificationtoken.schema.json +++ b/schemas/context/pushnotificationtoken.schema.json @@ -10,30 +10,26 @@ "title": "Push Notification Token", "type": "object", "meta:extensible": true, - "description": - "Push notification tokens are used to communicate with applications that\nare installed on devices or SaaS application accounts. Examples include mobile\napplication notifications over notification services like the Apple Push\nNotification service.\n", + "description": "Push notification tokens are used to communicate with applications that\nare installed on devices or SaaS application accounts. Examples include mobile\napplication notifications over notification services like the Apple Push\nNotification service.\n", "definitions": { "pushnotificationtoken": { "properties": { "xdm:token": { "title": "Token", "type": "string", - "description": - "The service specific token used to address the application for\ncommunication. e.g an Apple APN ID or a Google GCM ID.\n" + "description": "The service specific token used to address the application for\ncommunication. e.g an Apple APN ID or a Google GCM ID.\n" }, "xdm:registrationDate": { "title": "Registration Date", "type": "string", "format": "date-time", - "description": - "Date and time when the profile has authorized its application to receive\npush notifications.\n" + "description": "Date and time when the profile has authorized its application to receive\npush notifications.\n" }, "xdm:deregistrationDate": { "title": "Deregistration Date", "type": "string", "format": "date-time", - "description": - "Date and time when the profile has disabled push notifications on the application.\n" + "description": "Date and time when the profile has disabled push notifications on the application.\n" }, "xdm:environment": { "title": "Environment", @@ -48,8 +44,7 @@ "xdm:application": { "title": "Application", "$ref": "https://ns.adobe.com/xdm/channels/application", - "description": - "Application registered to receive Push Notifications.\n" + "description": "Application registered to receive Push Notifications.\n" }, "xdm:channel": { "title": "Communication Channel", @@ -68,4 +63,4 @@ } ], "meta:status": "stabilizing" -} +} \ No newline at end of file diff --git a/schemas/context/search.schema.json b/schemas/context/search.schema.json index ac4ec892e..68245cf76 100644 --- a/schemas/context/search.schema.json +++ b/schemas/context/search.schema.json @@ -52,4 +52,4 @@ } ], "meta:status": "stabilizing" -} +} \ No newline at end of file diff --git a/schemas/context/segmentidentity.schema.json b/schemas/context/segmentidentity.schema.json index 91149159a..70a47d33e 100644 --- a/schemas/context/segmentidentity.schema.json +++ b/schemas/context/segmentidentity.schema.json @@ -9,28 +9,25 @@ "$schema": "http://json-schema.org/draft-06/schema#", "title": "Identity", "type": "object", - "description": - "SegmentIdentity is used to clearly distinguish segments from multiple sources. SegmentIdentity is established by an segment identity provider, which itself is referenced in the `namespace` attribute. Within each `namespace`, the segmentidentity is unique.", + "description": "SegmentIdentity is used to clearly distinguish segments from multiple sources. SegmentIdentity is established by an segment identity provider, which itself is referenced in the `namespace` attribute. Within each `namespace`, the segmentidentity is unique.", "definitions": { "segmentIdentity": { "properties": { "@id": { "title": "Identifier", "type": "string", - "format": "uri", + "format": "uri-reference", "description": "Identity of the Segment in the related namespace." }, "xdm:namespace": { "title": "Namespace", "$ref": "https://ns.adobe.com/xdm/context/namespace", - "description": - "The namespace associated with the `xid` attribute." + "description": "The namespace associated with the `xid` attribute." }, "xdm:xid": { "title": "Experience Identifier", "type": "string", - "description": - "When present, this value represents a cross-namespace identifier that is unique across all namespace-scoped identifiers in all namespaces." + "description": "When present, this value represents a cross-namespace identifier that is unique across all namespace-scoped identifiers in all namespaces." } } } @@ -41,4 +38,4 @@ } ], "meta:status": "experimental" -} +} \ No newline at end of file diff --git a/schemas/context/segmentmembership.schema.json b/schemas/context/segmentmembership.schema.json index db8d29c37..98055a2ab 100644 --- a/schemas/context/segmentmembership.schema.json +++ b/schemas/context/segmentmembership.schema.json @@ -29,8 +29,8 @@ "format": "date-time", "description": "The timestamp when the assertion of segment membership was made." }, - "xdm:payload" : { - "title" : "Payload", + "xdm:payload": { + "title": "Payload", "description": "Values that are directly related with the segment realization. This payload exists with the same validUntil as the segment realization. Note that the intention is that exactly one payload value be included, as indicated by the payload type. This was originally modelled using 'oneOf', but due to limitations in our tooling that was removed. This more semantically meaningful representation will be re-introduced in the future.", "type": "object", "properties": { @@ -59,17 +59,24 @@ "xdm:payloadType": { "title": "Payload Type", "type": "string", - "enum": ["boolean", "number", "propensity", "string"], + "enum": [ + "boolean", + "number", + "propensity", + "string" + ], "meta:enum": { - "boolean": "Boolean", + "boolean": "Boolean", "number": "Number", - "propensity": "Propensity", + "propensity": "Propensity", "string": "String" }, "description": "The type of payload." } }, - "required": ["xdm:payloadType"] + "required": [ + "xdm:payloadType" + ] }, "xdm:validUntil": { "title": "Valid Until", @@ -82,7 +89,11 @@ "type": "string", "description": "Is the segment participation realized as part of the current request.", "default": "realized", - "enum": ["existing", "realized", "exited"], + "enum": [ + "existing", + "realized", + "exited" + ], "meta:enum": { "existing": "Entity continues to be in the segment", "realized": "Entity is entering the segment", @@ -98,5 +109,4 @@ } ], "meta:status": "experimental" -} - +} \ No newline at end of file diff --git a/schemas/context/segmentmembershipitem.schema.json b/schemas/context/segmentmembershipitem.schema.json index deef2a47b..499b8c162 100644 --- a/schemas/context/segmentmembershipitem.schema.json +++ b/schemas/context/segmentmembershipitem.schema.json @@ -20,8 +20,7 @@ "$ref": "https://ns.adobe.com/xdm/context/identity" }, "minItems": 1, - "description": - "Array of Identities. Condensed, normalized encapsulation of all end user identifiers." + "description": "Array of Identities. Condensed, normalized encapsulation of all end user identifiers." } } } @@ -35,5 +34,4 @@ } ], "meta:status": "experimental" -} - +} \ No newline at end of file diff --git a/schemas/context/subscription.schema.json b/schemas/context/subscription.schema.json index c52d0f6ae..afb9fda3c 100644 --- a/schemas/context/subscription.schema.json +++ b/schemas/context/subscription.schema.json @@ -10,8 +10,7 @@ "title": "Subscription", "type": "object", "meta:extensible": true, - "description": - "Subscriptions are licensed entitlements to software, services or goods that are utilized in a time or usage based way.", + "description": "Subscriptions are licensed entitlements to software, services or goods that are utilized in a time or usage based way.", "definitions": { "subscription": { "properties": { @@ -33,14 +32,12 @@ "xdm:environment": { "title": "Environment", "$ref": "https://ns.adobe.com/xdm/context/environment", - "description": - "Environment of the subscription.\n\nThis can be either then known environment at the time of the subscription\nor the environment of the application for subscriptions related to an\nApplication.\n" + "description": "Environment of the subscription.\n\nThis can be either then known environment at the time of the subscription\nor the environment of the application for subscriptions related to an\nApplication.\n" }, "xdm:SKU": { "title": "SKU", "type": "string", - "description": - "Stock Keeping Unit, a generally unique identifier for a product." + "description": "Stock Keeping Unit, a generally unique identifier for a product." }, "xdm:planName": { "title": "Plan Name", @@ -50,14 +47,12 @@ "xdm:type": { "title": "Type", "type": "string", - "description": - "The scope of entitlement in relation to how many people are covered by the subscription." + "description": "The scope of entitlement in relation to how many people are covered by the subscription." }, "xdm:country": { "title": "Country", "type": "string", - "description": - "The country that the subscription contractual/agreement terms are rooted in." + "description": "The country that the subscription contractual/agreement terms are rooted in." }, "xdm:startDate": { "title": "Start Date", @@ -84,14 +79,12 @@ "xdm:renew": { "title": "Renew", "type": "string", - "description": - "The agreed way that the subscription may continue after the end date." + "description": "The agreed way that the subscription may continue after the end date." }, "xdm:topUp": { "title": "Top Up", "type": "string", - "description": - "Agreed terms for how consumable aspects of a subscription are repurchased during a billing period." + "description": "Agreed terms for how consumable aspects of a subscription are repurchased during a billing period." }, "xdm:status": { "title": "Status", @@ -101,8 +94,7 @@ "xdm:contractID": { "title": "Contract ID", "type": "string", - "description": - "Unique ID for the contract that governs this subscription." + "description": "Unique ID for the contract that governs this subscription." }, "xdm:paymentMethod": { "title": "Payment Method", @@ -133,8 +125,7 @@ "xdm:category": { "title": "Category", "type": "string", - "description": - "The main, top level categorization of this type of subscription." + "description": "The main, top level categorization of this type of subscription." }, "xdm:subCategory": { "title": "Sub Category", @@ -144,14 +135,12 @@ "xdm:revision": { "title": "Revision", "type": "string", - "description": - "The identification between subscriptions of the same name and category hierarchy." + "description": "The identification between subscriptions of the same name and category hierarchy." }, "xdm:reason": { "title": "Reason", "type": "string", - "description": - "The general intent the member has for the use of the subscription." + "description": "The general intent the member has for the use of the subscription." } } } @@ -165,4 +154,4 @@ } ], "meta:status": "experimental" -} +} \ No newline at end of file diff --git a/schemas/context/webinfo.schema.json b/schemas/context/webinfo.schema.json index 284dc1086..6adc5f810 100644 --- a/schemas/context/webinfo.schema.json +++ b/schemas/context/webinfo.schema.json @@ -18,20 +18,17 @@ "xdm:webPageDetails": { "title": "Web Page Details", "$ref": "https://ns.adobe.com/xdm/context/webpagedetails", - "description": - "Details about the web page where the web interaction occurred." + "description": "Details about the web page where the web interaction occurred." }, "xdm:webInteraction": { "title": "Web Interaction", "$ref": "https://ns.adobe.com/xdm/context/webinteraction", - "description": - "Details about the web link (URL) that corresponds to where the interaction occurred." + "description": "Details about the web link (URL) that corresponds to where the interaction occurred." }, "xdm:webReferrer": { "title": "Web Referrer", "$ref": "https://ns.adobe.com/xdm/context/webreferrer", - "description": - "The referrer of a web interaction, which is the URL a visitor came from immediately before the current web interaction was recorded." + "description": "The referrer of a web interaction, which is the URL a visitor came from immediately before the current web interaction was recorded." } } } @@ -44,4 +41,4 @@ "$ref": "#/definitions/webinfo" } ] -} +} \ No newline at end of file diff --git a/schemas/context/webinteraction.schema.json b/schemas/context/webinteraction.schema.json index 0f69382c2..afe02ba87 100644 --- a/schemas/context/webinteraction.schema.json +++ b/schemas/context/webinteraction.schema.json @@ -11,7 +11,6 @@ "type": "object", "meta:extensible": true, "description": "Interaction details from inside the context of a loaded webpage.", - "meta:extensible": true, "definitions": { "webinteraction": { "properties": { @@ -19,7 +18,11 @@ "title": "Type", "type": "string", "description": "The link type.", - "enum": ["download", "exit", "other"], + "enum": [ + "download", + "exit", + "other" + ], "meta:enum": { "download": "Download", "exit": "Exit", @@ -34,8 +37,7 @@ "xdm:name": { "title": "Name", "type": "string", - "description": - "The normative name used for this web link, used for classification purposes" + "description": "The normative name used for this web link, used for classification purposes" }, "xdm:linkClicks": { "$ref": "https://ns.adobe.com/xdm/data/measure", @@ -53,4 +55,4 @@ } ], "meta:status": "stabilizing" -} +} \ No newline at end of file diff --git a/schemas/context/webpagedetails.schema.json b/schemas/context/webpagedetails.schema.json index 77973e1ae..15186c40e 100644 --- a/schemas/context/webpagedetails.schema.json +++ b/schemas/context/webpagedetails.schema.json @@ -11,46 +11,39 @@ "type": "object", "meta:extensible": true, "description": "", - "meta:extensible": true, "definitions": { "webpagedetails": { "properties": { "xdm:siteSection": { "title": "Site Section", "type": "string", - "description": - "The normative name of the site section where this web page resides, which may be used to classify or categorize the interaction" + "description": "The normative name of the site section where this web page resides, which may be used to classify or categorize the interaction" }, "xdm:name": { "title": "Name", "type": "string", - "description": - "The normative name of the web page. This name is not necessarily the page title or directy associate with page content, but is used to organize a site's pages for classification purposes" + "description": "The normative name of the web page. This name is not necessarily the page title or directy associate with page content, but is used to organize a site's pages for classification purposes" }, "xdm:URL": { "title": "URL", "type": "string", "format": "uri", - "description": - "The normative or usual URL of the web page. This may or may not be the actual URL used to reach the page, which would be recorded using `Web Link`." + "description": "The normative or usual URL of the web page. This may or may not be the actual URL used to reach the page, which would be recorded using `Web Link`." }, "xdm:server": { "title": "Server", "type": "string", - "description": - "The normative or usual server that hosts the web page. This may or may not be the host or server that actually served the page interaction, but is used for classification purposes." + "description": "The normative or usual server that hosts the web page. This may or may not be the host or server that actually served the page interaction, but is used for classification purposes." }, "xdm:isErrorPage": { "title": "Is Error Page", "type": "boolean", - "description": - "Flag that indicate if the page is error page or not. Error here is defined by the application, and may nor may not correspond to a page served with an HTTP error code. This flag is used to broadly categorize web interactions." + "description": "Flag that indicate if the page is error page or not. Error here is defined by the application, and may nor may not correspond to a page served with an HTTP error code. This flag is used to broadly categorize web interactions." }, "xdm:isHomePage": { "title": "Is Home Page", "type": "boolean", - "description": - "Flag that indicate if the page is the site home page or not. The definition of home page is determined by the application, but is commonly used to designate a top level landing page or common site entry point. This flag is used to broadly categorize web interactions." + "description": "Flag that indicate if the page is the site home page or not. The definition of home page is determined by the application, but is commonly used to designate a top level landing page or common site entry point. This flag is used to broadly categorize web interactions." }, "xdm:pageViews": { "$ref": "https://ns.adobe.com/xdm/data/measure", @@ -68,4 +61,4 @@ } ], "meta:status": "stabilizing" -} +} \ No newline at end of file diff --git a/schemas/context/webreferrer.schema.json b/schemas/context/webreferrer.schema.json index 6a121281b..9b104683b 100644 --- a/schemas/context/webreferrer.schema.json +++ b/schemas/context/webreferrer.schema.json @@ -35,19 +35,13 @@ ], "meta:enum": { "internal": "Referral originated from the current domain or site.", - "external": - "Referral originated from a different domain or site that was not a search or social type.", - "search_engine": - "Search engine referrers are identified when visitors use a search engine to access the site.", - "typed_bookmarked": - "Typed/bookmarked referrers are identified when visitors type your site’s URL directly into their browser, or if they access the site by selecting bookmarks.", - "email": - "A referring domain is considered as an email referring domain type when visitors click an emailed message link containing the protocol imap:// or mail:// and arrive at the site.", + "external": "Referral originated from a different domain or site that was not a search or social type.", + "search_engine": "Search engine referrers are identified when visitors use a search engine to access the site.", + "typed_bookmarked": "Typed/bookmarked referrers are identified when visitors type your site’s URL directly into their browser, or if they access the site by selecting bookmarks.", + "email": "A referring domain is considered as an email referring domain type when visitors click an emailed message link containing the protocol imap:// or mail:// and arrive at the site.", "social": "The referrer is identified as a social network.", - "unknown": - "The referrer is unidentifiable (unknown). `No JavaScript` could be the cause.", - "news": - "The URL of a referrer started with news://. As such, the referrer link was posted on a Usenet newsgroup rather than a web page." + "unknown": "The referrer is unidentifiable (unknown). `No JavaScript` could be the cause.", + "news": "The URL of a referrer started with news://. As such, the referrer link was posted on a Usenet newsgroup rather than a web page." } } } @@ -62,4 +56,4 @@ } ], "meta:status": "stabilizing" -} +} \ No newline at end of file diff --git a/schemas/data/application-closes.schema.json b/schemas/data/application-closes.schema.json index 583ad8979..62b695d99 100644 --- a/schemas/data/application-closes.schema.json +++ b/schemas/data/application-closes.schema.json @@ -10,23 +10,22 @@ "title": "Application Closes", "type": "object", "meta:extensible": true, - "meta:extends": ["https://ns.adobe.com/xdm/data/metricdefinition"], - "description": - "Graceful termination(s) of an application.", + "meta:extends": [ + "https://ns.adobe.com/xdm/data/metricdefinition" + ], + "description": "Graceful termination(s) of an application.", "definitions": { "metricdefinition": { "properties": { "@id": { "type": "string", - "const": - "xdm:applicationCloses", + "const": "xdm:applicationCloses", "description": "The unique identifier of this metric." }, "schema:name": { "type": "string", "const": "application metric: applicationCloses", - "description": - "The human-readable name of the metric. The name can be used in user interfaces and does not have to be unique." + "description": "The human-readable name of the metric. The name can be used in user interfaces and does not have to be unique." }, "xdm:measurement": { "type": "string", @@ -47,6 +46,11 @@ "$ref": "https://ns.adobe.com/xdm/data/metricdefinition" } ], - "required": ["@id", "schema:name", "xdm:measurement", "xdm:unit"], + "required": [ + "@id", + "schema:name", + "xdm:measurement", + "xdm:unit" + ], "meta:status": "stabilizing" -} +} \ No newline at end of file diff --git a/schemas/data/bitrate-average.schema.json b/schemas/data/bitrate-average.schema.json index a431a0f4c..f2223735e 100644 --- a/schemas/data/bitrate-average.schema.json +++ b/schemas/data/bitrate-average.schema.json @@ -53,4 +53,4 @@ "xdm:unit" ], "meta:status": "stabilizing" -} +} \ No newline at end of file diff --git a/schemas/data/bitrate-changes.schema.json b/schemas/data/bitrate-changes.schema.json index 56e349617..f5ac9683b 100644 --- a/schemas/data/bitrate-changes.schema.json +++ b/schemas/data/bitrate-changes.schema.json @@ -53,4 +53,4 @@ "xdm:unit" ], "meta:status": "stabilizing" -} +} \ No newline at end of file diff --git a/schemas/data/bounces.schema.json b/schemas/data/bounces.schema.json index 72db51940..9f08b78f1 100644 --- a/schemas/data/bounces.schema.json +++ b/schemas/data/bounces.schema.json @@ -10,9 +10,10 @@ "title": "Bounces", "type": "object", "meta:extensible": true, - "meta:extends": ["https://ns.adobe.com/xdm/data/metricdefinition"], - "description": - "The direct-marketing metric bounces describes the number of asynchronous messages that have been rejected by the receiving system.", + "meta:extends": [ + "https://ns.adobe.com/xdm/data/metricdefinition" + ], + "description": "The direct-marketing metric bounces describes the number of asynchronous messages that have been rejected by the receiving system.", "definitions": { "metricdefinition": { "properties": { @@ -24,8 +25,7 @@ "schema:name": { "type": "string", "const": "direct-marketing metric: bounces", - "description": - "The human-readable name of the metric. The name can be used in user interfaces and does not have to be unique." + "description": "The human-readable name of the metric. The name can be used in user interfaces and does not have to be unique." }, "xdm:measurement": { "type": "string", @@ -46,6 +46,11 @@ "$ref": "https://ns.adobe.com/xdm/data/metricdefinition" } ], - "required": ["@id", "schema:name", "xdm:measurement", "xdm:unit"], + "required": [ + "@id", + "schema:name", + "xdm:measurement", + "xdm:unit" + ], "meta:status": "experimental" -} +} \ No newline at end of file diff --git a/schemas/data/buffer-time.schema.json b/schemas/data/buffer-time.schema.json index d644cc55e..1f4366970 100644 --- a/schemas/data/buffer-time.schema.json +++ b/schemas/data/buffer-time.schema.json @@ -53,4 +53,4 @@ "xdm:unit" ], "meta:status": "stabilizing" -} +} \ No newline at end of file diff --git a/schemas/data/buffers.schema.json b/schemas/data/buffers.schema.json index e471ed3f4..fef1d5a3d 100644 --- a/schemas/data/buffers.schema.json +++ b/schemas/data/buffers.schema.json @@ -53,4 +53,4 @@ "xdm:unit" ], "meta:status": "stabilizing" -} +} \ No newline at end of file diff --git a/schemas/data/cart-abandons.schema.json b/schemas/data/cart-abandons.schema.json index 8cee96810..837accee7 100644 --- a/schemas/data/cart-abandons.schema.json +++ b/schemas/data/cart-abandons.schema.json @@ -10,9 +10,10 @@ "title": "Cart Abandons", "type": "object", "meta:extensible": true, - "meta:extends": ["https://ns.adobe.com/xdm/data/metricdefinition"], - "description": - "Number of cart abandons for which a product list has been identified as no longer purchasable or accessible by the user without the user re-creating the product list from scratch.", + "meta:extends": [ + "https://ns.adobe.com/xdm/data/metricdefinition" + ], + "description": "Number of cart abandons for which a product list has been identified as no longer purchasable or accessible by the user without the user re-creating the product list from scratch.", "definitions": { "metricdefinition": { "properties": { @@ -24,8 +25,7 @@ "schema:name": { "type": "string", "const": "commerce metric: cartAbandons", - "description": - "The human-readable name of the metric. The name can be used in user interfaces and does not have to be unique." + "description": "The human-readable name of the metric. The name can be used in user interfaces and does not have to be unique." }, "xdm:measurement": { "type": "string", @@ -46,6 +46,11 @@ "$ref": "https://ns.adobe.com/xdm/data/metricdefinition" } ], - "required": ["@id", "schema:name", "xdm:measurement", "xdm:unit"], + "required": [ + "@id", + "schema:name", + "xdm:measurement", + "xdm:unit" + ], "meta:status": "experimental" -} +} \ No newline at end of file diff --git a/schemas/data/checkouts.schema.json b/schemas/data/checkouts.schema.json index 45b901ef3..887029636 100644 --- a/schemas/data/checkouts.schema.json +++ b/schemas/data/checkouts.schema.json @@ -10,9 +10,10 @@ "title": "Checkouts", "type": "object", "meta:extensible": true, - "meta:extends": ["https://ns.adobe.com/xdm/data/metricdefinition"], - "description": - "Number of actions during a checkout process of a product list, there can be more than one checkout event if there are multiple steps in a checkout process. If there are multiple steps the event time information and referenced page or experience is used to identify the step individual events represent in order.", + "meta:extends": [ + "https://ns.adobe.com/xdm/data/metricdefinition" + ], + "description": "Number of actions during a checkout process of a product list, there can be more than one checkout event if there are multiple steps in a checkout process. If there are multiple steps the event time information and referenced page or experience is used to identify the step individual events represent in order.", "definitions": { "metricdefinition": { "properties": { @@ -24,8 +25,7 @@ "schema:name": { "type": "string", "const": "commerce metric: checkouts", - "description": - "The human-readable name of the metric. The name can be used in user interfaces and does not have to be unique." + "description": "The human-readable name of the metric. The name can be used in user interfaces and does not have to be unique." }, "xdm:measurement": { "type": "string", @@ -46,6 +46,11 @@ "$ref": "https://ns.adobe.com/xdm/data/metricdefinition" } ], - "required": ["@id", "schema:name", "xdm:measurement", "xdm:unit"], + "required": [ + "@id", + "schema:name", + "xdm:measurement", + "xdm:unit" + ], "meta:status": "experimental" -} +} \ No newline at end of file diff --git a/schemas/data/clicks.schema.json b/schemas/data/clicks.schema.json index 1dc2d418b..d04d07a0c 100644 --- a/schemas/data/clicks.schema.json +++ b/schemas/data/clicks.schema.json @@ -10,7 +10,9 @@ "title": "clicks", "type": "object", "meta:extensible": true, - "meta:extends": ["https://ns.adobe.com/xdm/data/metricdefinition"], + "meta:extends": [ + "https://ns.adobe.com/xdm/data/metricdefinition" + ], "description": "The metric measures the number of interactions a user had by clicking on an asset.", "definitions": { "metricdefinition": { @@ -23,8 +25,7 @@ "schema:name": { "type": "string", "const": "metric: clicks", - "description": - "The human-readable name of the metric. The name can be used in user interfaces and does not have to be unique." + "description": "The human-readable name of the metric. The name can be used in user interfaces and does not have to be unique." }, "xdm:measurement": { "type": "string", @@ -45,6 +46,11 @@ "$ref": "https://ns.adobe.com/xdm/data/metricdefinition" } ], - "required": ["@id", "schema:name", "xdm:measurement", "xdm:unit"], + "required": [ + "@id", + "schema:name", + "xdm:measurement", + "xdm:unit" + ], "meta:status": "experimental" -} +} \ No newline at end of file diff --git a/schemas/data/completes.schema.json b/schemas/data/completes.schema.json index 5ebde7698..9695f91c6 100644 --- a/schemas/data/completes.schema.json +++ b/schemas/data/completes.schema.json @@ -10,7 +10,9 @@ "title": "completes", "type": "object", "meta:extensible": true, - "meta:extends": ["https://ns.adobe.com/xdm/data/metricdefinition"], + "meta:extends": [ + "https://ns.adobe.com/xdm/data/metricdefinition" + ], "description": "Indicates if a timed media asset was watched to completion - this does not necessarily mean the viewer watched the whole video; viewer could have skipped ahead.", "definitions": { "metricdefinition": { @@ -23,8 +25,7 @@ "schema:name": { "type": "string", "const": "metric: completes", - "description": - "Indicates if a timed media asset was watched to completion - this does not necessarily mean the viewer watched the whole video; viewer could have skipped ahead." + "description": "Indicates if a timed media asset was watched to completion - this does not necessarily mean the viewer watched the whole video; viewer could have skipped ahead." }, "xdm:measurement": { "type": "string", @@ -45,6 +46,11 @@ "$ref": "https://ns.adobe.com/xdm/data/metricdefinition" } ], - "required": ["@id", "schema:name", "xdm:measurement", "xdm:unit"], + "required": [ + "@id", + "schema:name", + "xdm:measurement", + "xdm:unit" + ], "meta:status": "stabilizing" -} +} \ No newline at end of file diff --git a/schemas/data/conversions.schema.json b/schemas/data/conversions.schema.json index 5d9af811d..7b515cf1b 100644 --- a/schemas/data/conversions.schema.json +++ b/schemas/data/conversions.schema.json @@ -46,6 +46,11 @@ "$ref": "https://ns.adobe.com/xdm/data/metricdefinition" } ], - "required": ["@id", "schema:name", "xdm:measurement", "xdm:unit"], + "required": [ + "@id", + "schema:name", + "xdm:measurement", + "xdm:unit" + ], "meta:status": "stabilizing" -} +} \ No newline at end of file diff --git a/schemas/data/datasource.schema.json b/schemas/data/datasource.schema.json index ff9d39aac..7054c4bba 100644 --- a/schemas/data/datasource.schema.json +++ b/schemas/data/datasource.schema.json @@ -9,36 +9,34 @@ "$schema": "http://json-schema.org/draft-06/schema#", "title": "Data Source", "type": "object", - "description": - "The Datasource acts as a namespace or unique identifier associated with a collection of data. Each EndUserID is associated with a given Datasource. A user can create and obtain information about a Datasource during the solution onboarding.\n", + "description": "The Datasource acts as a namespace or unique identifier associated with a collection of data. Each EndUserID is associated with a given Datasource. A user can create and obtain information about a Datasource during the solution onboarding.\n", "definitions": { "datasource": { "properties": { "@id": { "title": "Identifier", "type": "string", - "format": "uri", - "description": - "The unique ID of this data source. This would be provided by the individual or system that created the Datasource.\n" + "format": "uri-reference", + "description": "The unique ID of this data source. This would be provided by the individual or system that created the Datasource.\n" }, "xdm:code": { "title": "Code", "type": "string", - "description": - "The code is a shortcut to the full @id and at least one of the code or @id can be used. Sometimes, this code is referred to as the data source integration code." + "description": "The code is a shortcut to the full @id and at least one of the code or @id can be used. Sometimes, this code is referred to as the data source integration code." }, "xdm:tags": { "title": "Tags", "type": "array", - "description": - "Tags are used to indicate how the aliases represented by a given data\nsource should be interpreted by applications using those aliases.\n\nExamples:\n\n* `isAVID`: data sources representing Analytics visitor IDs.\n* `isCRSKey`: data sources representing aliases that should be used as keys in CRS.\n\nTags are set when the data source is created but they are also included in\npipeline messages when referencing a given data source.\n", + "description": "Tags are used to indicate how the aliases represented by a given data\nsource should be interpreted by applications using those aliases.\n\nExamples:\n\n* `isAVID`: data sources representing Analytics visitor IDs.\n* `isCRSKey`: data sources representing aliases that should be used as keys in CRS.\n\nTags are set when the data source is created but they are also included in\npipeline messages when referencing a given data source.\n", "uniqueItems": true, "items": { "type": "string" } } }, - "required": ["@id"] + "required": [ + "@id" + ] } }, "allOf": [ @@ -47,4 +45,4 @@ } ], "meta:status": "stabilizing" -} +} \ No newline at end of file diff --git a/schemas/data/discount.schema.json b/schemas/data/discount.schema.json index 6929ff9d4..0e16c769c 100644 --- a/schemas/data/discount.schema.json +++ b/schemas/data/discount.schema.json @@ -9,8 +9,7 @@ "$schema": "http://json-schema.org/draft-06/schema#", "title": "Discount", "type": "object", - "description": - "This is an offer from the supplier to the purchaser, to reduce the payment amount if the payment is made within a certain period of time.", + "description": "This is an offer from the supplier to the purchaser, to reduce the payment amount if the payment is made within a certain period of time.", "definitions": { "discount": { "properties": { @@ -22,15 +21,13 @@ "xdm:code": { "title": "Code", "type": "string", - "description": - "The description of the discountValue attribute. e.g percentage, currency, 3for2 etc. Can be enumerated, custom values allowed.", + "description": "The description of the discountValue attribute. e.g percentage, currency, 3for2 etc. Can be enumerated, custom values allowed.", "meta:enum": { "bogo": "Buy one, get one free", "bogoho": "Buy one, get one half off", "3for2": "Three for the price of two", "3fixed": "Any three items for a fixed price", - "voucher": - "Save `xdm:value` when you spend more than `xdm:condition`", + "voucher": "Save `xdm:value` when you spend more than `xdm:condition`", "fixed": "Fixed amount off", "percentage": "Percentage amount off", "shipping": "Free shipping" @@ -39,13 +36,11 @@ "xdm:value": { "title": "Value", "type": "number", - "description": - "If the discount description indicates a percentage or similar formulaic value, it is represented here, can be percentage or currency amount." + "description": "If the discount description indicates a percentage or similar formulaic value, it is represented here, can be percentage or currency amount." }, "xdm:condition": { "title": "Condition", - "description": - "The minimum amount of items or price for the dicount to qualify" + "description": "The minimum amount of items or price for the dicount to qualify" } } } @@ -55,6 +50,8 @@ "$ref": "#/definitions/discount" } ], - "required": ["xdm:code"], + "required": [ + "xdm:code" + ], "meta:status": "experimental" -} +} \ No newline at end of file diff --git a/schemas/data/drop-before-starts.schema.json b/schemas/data/drop-before-starts.schema.json index f86bb457d..637e0cdec 100644 --- a/schemas/data/drop-before-starts.schema.json +++ b/schemas/data/drop-before-starts.schema.json @@ -53,4 +53,4 @@ "xdm:unit" ], "meta:status": "stabilizing" -} +} \ No newline at end of file diff --git a/schemas/data/dropped-frames.schema.json b/schemas/data/dropped-frames.schema.json index 02275e3cf..b659267c1 100644 --- a/schemas/data/dropped-frames.schema.json +++ b/schemas/data/dropped-frames.schema.json @@ -53,4 +53,4 @@ "xdm:unit" ], "meta:status": "stabilizing" -} +} \ No newline at end of file diff --git a/schemas/data/errors.schema.json b/schemas/data/errors.schema.json index d4a3a3d63..30cebc9f1 100644 --- a/schemas/data/errors.schema.json +++ b/schemas/data/errors.schema.json @@ -53,4 +53,4 @@ "xdm:unit" ], "meta:status": "stabilizing" -} +} \ No newline at end of file diff --git a/schemas/data/feature-usages.schema.json b/schemas/data/feature-usages.schema.json index 5a3c21f2a..60c37c799 100644 --- a/schemas/data/feature-usages.schema.json +++ b/schemas/data/feature-usages.schema.json @@ -10,23 +10,22 @@ "title": "Feature Usages", "type": "object", "meta:extensible": true, - "meta:extends": ["https://ns.adobe.com/xdm/data/metricdefinition"], - "description": - "Activation(s) of an application feature that is being measured.", + "meta:extends": [ + "https://ns.adobe.com/xdm/data/metricdefinition" + ], + "description": "Activation(s) of an application feature that is being measured.", "definitions": { "metricdefinition": { "properties": { "@id": { "type": "string", - "const": - "xdm:featureUsages", + "const": "xdm:featureUsages", "description": "The unique identifier of this metric." }, "schema:name": { "type": "string", "const": "application metric: featureUsages", - "description": - "The human-readable name of the metric. The name can be used in user interfaces and does not have to be unique." + "description": "The human-readable name of the metric. The name can be used in user interfaces and does not have to be unique." }, "xdm:measurement": { "type": "string", @@ -47,6 +46,11 @@ "$ref": "https://ns.adobe.com/xdm/data/metricdefinition" } ], - "required": ["@id", "schema:name", "xdm:measurement", "xdm:unit"], + "required": [ + "@id", + "schema:name", + "xdm:measurement", + "xdm:unit" + ], "meta:status": "stabilizing" } \ No newline at end of file diff --git a/schemas/data/federated.schema.json b/schemas/data/federated.schema.json index e529bd2ce..3aec3d3cf 100644 --- a/schemas/data/federated.schema.json +++ b/schemas/data/federated.schema.json @@ -53,4 +53,4 @@ "xdm:unit" ], "meta:status": "stabilizing" -} +} \ No newline at end of file diff --git a/schemas/data/first-launches.schema.json b/schemas/data/first-launches.schema.json index 8ca87c328..5e5cd3958 100644 --- a/schemas/data/first-launches.schema.json +++ b/schemas/data/first-launches.schema.json @@ -10,23 +10,22 @@ "title": "First Launches", "type": "object", "meta:extensible": true, - "meta:extends": ["https://ns.adobe.com/xdm/data/metricdefinition"], - "description": - "First launch after install.", + "meta:extends": [ + "https://ns.adobe.com/xdm/data/metricdefinition" + ], + "description": "First launch after install.", "definitions": { "metricdefinition": { "properties": { "@id": { "type": "string", - "const": - "xdm:firstLaunches", + "const": "xdm:firstLaunches", "description": "The unique identifier of this metric." }, "schema:name": { "type": "string", "const": "application metric: firstLaunches", - "description": - "The human-readable name of the metric. The name can be used in user interfaces and does not have to be unique." + "description": "The human-readable name of the metric. The name can be used in user interfaces and does not have to be unique." }, "xdm:measurement": { "type": "string", @@ -47,6 +46,11 @@ "$ref": "https://ns.adobe.com/xdm/data/metricdefinition" } ], - "required": ["@id", "schema:name", "xdm:measurement", "xdm:unit"], + "required": [ + "@id", + "schema:name", + "xdm:measurement", + "xdm:unit" + ], "meta:status": "stabilizing" -} +} \ No newline at end of file diff --git a/schemas/data/firstquartiles.schema.json b/schemas/data/firstquartiles.schema.json index e6d867b24..f841bf56e 100644 --- a/schemas/data/firstquartiles.schema.json +++ b/schemas/data/firstquartiles.schema.json @@ -10,7 +10,9 @@ "title": "first-quartiles", "type": "object", "meta:extensible": true, - "meta:extends": ["https://ns.adobe.com/xdm/data/metricdefinition"], + "meta:extends": [ + "https://ns.adobe.com/xdm/data/metricdefinition" + ], "description": "The metric first-quartiles describes a digital video which played for at least 25% of the total duration.", "definitions": { "metricdefinition": { @@ -23,8 +25,7 @@ "schema:name": { "type": "string", "const": "metric: firstQuartiles", - "description": - "The advertising metric first-quartiles describes digital video which played for at least 25% of the total duration." + "description": "The advertising metric first-quartiles describes digital video which played for at least 25% of the total duration." }, "xdm:measurement": { "type": "string", @@ -45,6 +46,11 @@ "$ref": "https://ns.adobe.com/xdm/data/metricdefinition" } ], - "required": ["@id", "schema:name", "xdm:measurement", "xdm:unit"], + "required": [ + "@id", + "schema:name", + "xdm:measurement", + "xdm:unit" + ], "meta:status": "stabilizing" -} +} \ No newline at end of file diff --git a/schemas/data/impressions.schema.json b/schemas/data/impressions.schema.json index 8eb563ec3..23afcd4a8 100644 --- a/schemas/data/impressions.schema.json +++ b/schemas/data/impressions.schema.json @@ -10,7 +10,9 @@ "title": "impressions", "type": "object", "meta:extensible": true, - "meta:extends": ["https://ns.adobe.com/xdm/data/metricdefinition"], + "meta:extends": [ + "https://ns.adobe.com/xdm/data/metricdefinition" + ], "description": "The metric impressions describe the number of digital assets rendered.", "definitions": { "metricdefinition": { @@ -23,8 +25,7 @@ "schema:name": { "type": "string", "const": "metric: impressions", - "description": - "The human-readable name of the metric. The name can be used in user interfaces and does not have to be unique." + "description": "The human-readable name of the metric. The name can be used in user interfaces and does not have to be unique." }, "xdm:measurement": { "type": "string", @@ -45,6 +46,11 @@ "$ref": "https://ns.adobe.com/xdm/data/metricdefinition" } ], - "required": ["@id", "schema:name", "xdm:measurement", "xdm:unit"], + "required": [ + "@id", + "schema:name", + "xdm:measurement", + "xdm:unit" + ], "meta:status": "stabilizing" -} +} \ No newline at end of file diff --git a/schemas/data/installs.schema.json b/schemas/data/installs.schema.json index fee9c3e17..7372adac1 100644 --- a/schemas/data/installs.schema.json +++ b/schemas/data/installs.schema.json @@ -10,23 +10,22 @@ "title": "Installs", "type": "object", "meta:extensible": true, - "meta:extends": ["https://ns.adobe.com/xdm/data/metricdefinition"], - "description": - "Install of an application on a device where the actual install event is available.", + "meta:extends": [ + "https://ns.adobe.com/xdm/data/metricdefinition" + ], + "description": "Install of an application on a device where the actual install event is available.", "definitions": { "metricdefinition": { "properties": { "@id": { "type": "string", - "const": - "xdm:installs", + "const": "xdm:installs", "description": "The unique identifier of this metric." }, "schema:name": { "type": "string", "const": "application metric: installs", - "description": - "The human-readable name of the metric. The name can be used in user interfaces and does not have to be unique." + "description": "The human-readable name of the metric. The name can be used in user interfaces and does not have to be unique." }, "xdm:measurement": { "type": "string", @@ -47,6 +46,11 @@ "$ref": "https://ns.adobe.com/xdm/data/metricdefinition" } ], - "required": ["@id", "schema:name", "xdm:measurement", "xdm:unit"], + "required": [ + "@id", + "schema:name", + "xdm:measurement", + "xdm:unit" + ], "meta:status": "stabilizing" -} +} \ No newline at end of file diff --git a/schemas/data/launches.schema.json b/schemas/data/launches.schema.json index 697863776..6d95322c7 100644 --- a/schemas/data/launches.schema.json +++ b/schemas/data/launches.schema.json @@ -10,23 +10,22 @@ "title": "Launches", "type": "object", "meta:extensible": true, - "meta:extends": ["https://ns.adobe.com/xdm/data/metricdefinition"], - "description": - "Launch of an application. Triggered on every run, including crashes and installs. Also triggered on a resume from background when the lifecycle session timeout has been exceeded.", + "meta:extends": [ + "https://ns.adobe.com/xdm/data/metricdefinition" + ], + "description": "Launch of an application. Triggered on every run, including crashes and installs. Also triggered on a resume from background when the lifecycle session timeout has been exceeded.", "definitions": { "metricdefinition": { "properties": { "@id": { "type": "string", - "const": - "xdm:launches", + "const": "xdm:launches", "description": "The unique identifier of this metric." }, "schema:name": { "type": "string", "const": "application metric: launches", - "description": - "The human-readable name of the metric. The name can be used in user interfaces and does not have to be unique." + "description": "The human-readable name of the metric. The name can be used in user interfaces and does not have to be unique." }, "xdm:measurement": { "type": "string", @@ -47,6 +46,11 @@ "$ref": "https://ns.adobe.com/xdm/data/metricdefinition" } ], - "required": ["@id", "schema:name", "xdm:measurement", "xdm:unit"], + "required": [ + "@id", + "schema:name", + "xdm:measurement", + "xdm:unit" + ], "meta:status": "stabilizing" } \ No newline at end of file diff --git a/schemas/data/linkclicks.schema.json b/schemas/data/linkclicks.schema.json index 4f319cfd0..44833e021 100644 --- a/schemas/data/linkclicks.schema.json +++ b/schemas/data/linkclicks.schema.json @@ -10,23 +10,23 @@ "title": "link-clicks", "type": "object", "meta:extensible": true, - "meta:extends": ["https://ns.adobe.com/xdm/data/metricdefinition"], - "description": - "The web metric link-clicks describes the number of clicks on a link on a web page.", + "meta:extends": [ + "https://ns.adobe.com/xdm/data/metricdefinition" + ], + "description": "The web metric link-clicks describes the number of clicks on a link on a web page.", "definitions": { "metricdefinition": { "properties": { "@id": { "type": "string", - "format": "uri", + "format": "uri-reference", "const": "xdm:linkClicks", "description": "The unique identifier of this metric." }, "schema:name": { "type": "string", "const": "web metric: linkClicks", - "description": - "The web metric link-clicks describes the number of clicks on a link on a web page." + "description": "The web metric link-clicks describes the number of clicks on a link on a web page." }, "xdm:measurement": { "type": "string", @@ -47,6 +47,11 @@ "$ref": "https://ns.adobe.com/xdm/data/metricdefinition" } ], - "required": ["@id", "schema:name", "xdm:measurement", "xdm:unit"], + "required": [ + "@id", + "schema:name", + "xdm:measurement", + "xdm:unit" + ], "meta:status": "stabilizing" -} +} \ No newline at end of file diff --git a/schemas/data/measure.schema.json b/schemas/data/measure.schema.json index a0d5bf66e..ba52732cc 100644 --- a/schemas/data/measure.schema.json +++ b/schemas/data/measure.schema.json @@ -17,15 +17,13 @@ "@type": { "type": "string", "format": "uri", - "description": - "Links to the `Metric` that this measure refers to. The `@type` can be omitted in contexts where it is obvious what metric is being referred to, for instance in the `Metrics` object that is keyed with `Metric` URIs." + "description": "Links to the `Metric` that this measure refers to. The `@type` can be omitted in contexts where it is obvious what metric is being referred to, for instance in the `Metrics` object that is keyed with `Metric` URIs." }, "xdm:id": { "title": "Unique Identifier", "type": "string", "minLength": 20, - "description": - "Unique identifier of the measure. In cases of data collection using lossy communication channels, such as mobile apps or websites with offline functionality, where transmission of measures cannot be ensured, this property contains a client-generated, unique ID of the measure taken. It is best practice to make this sufficiently long to ensure enough entropy. Additionally, if information such as time stamp, device ID, IP or MAC address, or other potentially user-identifying values are incorporated in the generation of the xdm:id, the result should be hashed, so that no PII is encoded in the value, as the goal is not to identify user or device, but the specific measure in time." + "description": "Unique identifier of the measure. In cases of data collection using lossy communication channels, such as mobile apps or websites with offline functionality, where transmission of measures cannot be ensured, this property contains a client-generated, unique ID of the measure taken. It is best practice to make this sufficiently long to ensure enough entropy. Additionally, if information such as time stamp, device ID, IP or MAC address, or other potentially user-identifying values are incorporated in the generation of the xdm:id, the result should be hashed, so that no PII is encoded in the value, as the goal is not to identify user or device, but the specific measure in time." }, "xdm:value": { "type": "number", @@ -40,9 +38,13 @@ "const": null } ], - "description": - "The (optional) unit that this measure's value is measured in. The `unit` in the `Measure` is purely informational, as the `unit` property of the referenced `Metric` determines the interpretation.", - "examples": ["m", "kg", "s", "USD"] + "description": "The (optional) unit that this measure's value is measured in. The `unit` in the `Measure` is purely informational, as the `unit` property of the referenced `Metric` determines the interpretation.", + "examples": [ + "m", + "kg", + "s", + "USD" + ] } } } @@ -52,6 +54,8 @@ "$ref": "#/definitions/measure" } ], - "required": ["xdm:value"], + "required": [ + "xdm:value" + ], "meta:status": "stabilizing" -} +} \ No newline at end of file diff --git a/schemas/data/measuredadnotvisible.schema.json b/schemas/data/measuredadnotvisible.schema.json index debb797cd..253b70838 100644 --- a/schemas/data/measuredadnotvisible.schema.json +++ b/schemas/data/measuredadnotvisible.schema.json @@ -46,6 +46,11 @@ "$ref": "https://ns.adobe.com/xdm/data/metricdefinition" } ], - "required": ["@id", "schema:name", "xdm:measurement", "xdm:unit"], + "required": [ + "@id", + "schema:name", + "xdm:measurement", + "xdm:unit" + ], "meta:status": "experimental" -} +} \ No newline at end of file diff --git a/schemas/data/measuredmuted.schema.json b/schemas/data/measuredmuted.schema.json index 636b3ad7e..180cc0682 100644 --- a/schemas/data/measuredmuted.schema.json +++ b/schemas/data/measuredmuted.schema.json @@ -46,6 +46,11 @@ "$ref": "https://ns.adobe.com/xdm/data/metricdefinition" } ], - "required": ["@id", "schema:name", "xdm:measurement", "xdm:unit"], + "required": [ + "@id", + "schema:name", + "xdm:measurement", + "xdm:unit" + ], "meta:status": "stabilizing" -} +} \ No newline at end of file diff --git a/schemas/data/measuredwindowinactive.schema.json b/schemas/data/measuredwindowinactive.schema.json index 0475c6451..039b0ffaa 100644 --- a/schemas/data/measuredwindowinactive.schema.json +++ b/schemas/data/measuredwindowinactive.schema.json @@ -46,6 +46,11 @@ "$ref": "https://ns.adobe.com/xdm/data/metricdefinition" } ], - "required": ["@id", "schema:name", "xdm:measurement", "xdm:unit"], + "required": [ + "@id", + "schema:name", + "xdm:measurement", + "xdm:unit" + ], "meta:status": "stabilizing" -} +} \ No newline at end of file diff --git a/schemas/data/media-segment-views.schema.json b/schemas/data/media-segment-views.schema.json index 57d19332e..6e0f7dfd6 100644 --- a/schemas/data/media-segment-views.schema.json +++ b/schemas/data/media-segment-views.schema.json @@ -53,4 +53,4 @@ "xdm:unit" ], "meta:status": "stabilizing" -} +} \ No newline at end of file diff --git a/schemas/data/metricdefinition.schema.json b/schemas/data/metricdefinition.schema.json index 61e8d2b0c..d2d4c5998 100644 --- a/schemas/data/metricdefinition.schema.json +++ b/schemas/data/metricdefinition.schema.json @@ -16,31 +16,38 @@ "properties": { "@id": { "type": "string", - "format": "uri", + "format": "uri-reference", "description": "The unique identifier of this metric." }, "schema:name": { "type": "string", - "description": - "The human-readable name of the metric. The name can be used in user interfaces and does not have to be unique." + "description": "The human-readable name of the metric. The name can be used in user interfaces and does not have to be unique." }, "xdm:measurement": { "type": "string", "description": "How to take measures of this metric.", - "examples": ["distance", "time", "price", "count"] + "examples": [ + "distance", + "time", + "price", + "count" + ] }, "xdm:unit": { "anyOf": [ { "type": "string", - "description": - "The unit that this metric is measured in. Whenever possible, metrics should follow the [SI base units](https://www.bipm.org/en/measurement-units/) or be [ISO 4217 currency codes](https://www.iso.org/iso-4217-currency-codes.html).", - "examples": ["m", "kg", "s", "USD"] + "description": "The unit that this metric is measured in. Whenever possible, metrics should follow the [SI base units](https://www.bipm.org/en/measurement-units/) or be [ISO 4217 currency codes](https://www.iso.org/iso-4217-currency-codes.html).", + "examples": [ + "m", + "kg", + "s", + "USD" + ] }, { "const": null, - "description": - "The unit that this metric is measured in. For metric that are counts, the `xdm:unit` must be `null`." + "description": "The unit that this metric is measured in. For metric that are counts, the `xdm:unit` must be `null`." } ] } @@ -55,6 +62,11 @@ "$ref": "#/definitions/metricdefinition" } ], - "required": ["@id", "schema:name", "xdm:measurement", "xdm:unit"], + "required": [ + "@id", + "schema:name", + "xdm:measurement", + "xdm:unit" + ], "meta:status": "stabilizing" -} +} \ No newline at end of file diff --git a/schemas/data/midpoints.schema.json b/schemas/data/midpoints.schema.json index 5600f7f1b..1b2e74360 100644 --- a/schemas/data/midpoints.schema.json +++ b/schemas/data/midpoints.schema.json @@ -10,7 +10,9 @@ "title": "midpoints", "type": "object", "meta:extensible": true, - "meta:extends": ["https://ns.adobe.com/xdm/data/metricdefinition"], + "meta:extends": [ + "https://ns.adobe.com/xdm/data/metricdefinition" + ], "description": "The metric midpoints describes when digital video played for at least 50% of the total duration.", "definitions": { "metricdefinition": { @@ -23,8 +25,7 @@ "schema:name": { "type": "string", "const": "metric: midpoints", - "description": - "The metric midpoints describes when digital video played for at least 50% of the total duration." + "description": "The metric midpoints describes when digital video played for at least 50% of the total duration." }, "xdm:measurement": { "type": "string", @@ -45,6 +46,11 @@ "$ref": "https://ns.adobe.com/xdm/data/metricdefinition" } ], - "required": ["@id", "schema:name", "xdm:measurement", "xdm:unit"], + "required": [ + "@id", + "schema:name", + "xdm:measurement", + "xdm:unit" + ], "meta:status": "stabilizing" -} +} \ No newline at end of file diff --git a/schemas/data/mirror-pages.schema.json b/schemas/data/mirror-pages.schema.json index 6a823b0f7..25c5fb362 100644 --- a/schemas/data/mirror-pages.schema.json +++ b/schemas/data/mirror-pages.schema.json @@ -10,9 +10,10 @@ "title": "Mirror Pages", "type": "object", "meta:extensible": true, - "meta:extends": ["https://ns.adobe.com/xdm/data/metricdefinition"], - "description": - "The direct-marketing metric mirror-pages describes the number of mirror pages for which a link to the online mirror page of a message has been clicked.", + "meta:extends": [ + "https://ns.adobe.com/xdm/data/metricdefinition" + ], + "description": "The direct-marketing metric mirror-pages describes the number of mirror pages for which a link to the online mirror page of a message has been clicked.", "definitions": { "metricdefinition": { "properties": { @@ -24,8 +25,7 @@ "schema:name": { "type": "string", "const": "direct-marketing metric: mirrorPages", - "description": - "The human-readable name of the metric. The name can be used in user interfaces and does not have to be unique." + "description": "The human-readable name of the metric. The name can be used in user interfaces and does not have to be unique." }, "xdm:measurement": { "type": "string", @@ -46,6 +46,11 @@ "$ref": "https://ns.adobe.com/xdm/data/metricdefinition" } ], - "required": ["@id", "schema:name", "xdm:measurement", "xdm:unit"], + "required": [ + "@id", + "schema:name", + "xdm:measurement", + "xdm:unit" + ], "meta:status": "stabilizing" -} +} \ No newline at end of file diff --git a/schemas/data/non-deliverables.schema.json b/schemas/data/non-deliverables.schema.json index f6dce0c64..794e70a82 100644 --- a/schemas/data/non-deliverables.schema.json +++ b/schemas/data/non-deliverables.schema.json @@ -5,15 +5,15 @@ "you may not use this file except in compliance with the License. You may obtain a copy", "of the License at https://creativecommons.org/licenses/by/4.0/" ], - "$id": - "https://ns.adobe.com/xdm/data/metrics/direct-marketing/non-deliverables", + "$id": "https://ns.adobe.com/xdm/data/metrics/direct-marketing/non-deliverables", "$schema": "http://json-schema.org/draft-06/schema#", "title": "Non Deliverables", "type": "object", "meta:extensible": true, - "meta:extends": ["https://ns.adobe.com/xdm/data/metricdefinition"], - "description": - "The direct-marketing metric non-deliverables describes the umber of asynchronous messages that failed to deliver in a way that indicates that no future messages will be deliverable either to this address.", + "meta:extends": [ + "https://ns.adobe.com/xdm/data/metricdefinition" + ], + "description": "The direct-marketing metric non-deliverables describes the umber of asynchronous messages that failed to deliver in a way that indicates that no future messages will be deliverable either to this address.", "definitions": { "metricdefinition": { "properties": { @@ -25,8 +25,7 @@ "schema:name": { "type": "string", "const": "direct-marketing metric: nonDeliverables", - "description": - "The human-readable name of the metric. The name can be used in user interfaces and does not have to be unique." + "description": "The human-readable name of the metric. The name can be used in user interfaces and does not have to be unique." }, "xdm:measurement": { "type": "string", @@ -47,6 +46,11 @@ "$ref": "https://ns.adobe.com/xdm/data/metricdefinition" } ], - "required": ["@id", "schema:name", "xdm:measurement", "xdm:unit"], + "required": [ + "@id", + "schema:name", + "xdm:measurement", + "xdm:unit" + ], "meta:status": "stabilizing" -} +} \ No newline at end of file diff --git a/schemas/data/not-sent.schema.json b/schemas/data/not-sent.schema.json index c54995ed1..9f380be4c 100644 --- a/schemas/data/not-sent.schema.json +++ b/schemas/data/not-sent.schema.json @@ -10,9 +10,10 @@ "title": "Not Sent", "type": "object", "meta:extensible": true, - "meta:extends": ["https://ns.adobe.com/xdm/data/metricdefinition"], - "description": - "The direct-marketing metric `not-sent` describes the number of asynchronous messages (email, SMS, MMS etc) that have not been dispatched to an recipient's account/address/device due to cancellation or expiration of the marketing activity.", + "meta:extends": [ + "https://ns.adobe.com/xdm/data/metricdefinition" + ], + "description": "The direct-marketing metric `not-sent` describes the number of asynchronous messages (email, SMS, MMS etc) that have not been dispatched to an recipient's account/address/device due to cancellation or expiration of the marketing activity.", "definitions": { "metricdefinition": { "properties": { @@ -24,8 +25,7 @@ "schema:name": { "type": "string", "const": "direct-marketing metric: notSent", - "description": - "The human-readable name of the metric. The name can be used in user interfaces and does not have to be unique." + "description": "The human-readable name of the metric. The name can be used in user interfaces and does not have to be unique." }, "xdm:measurement": { "type": "string", @@ -46,6 +46,11 @@ "$ref": "https://ns.adobe.com/xdm/data/metricdefinition" } ], - "required": ["@id", "schema:name", "xdm:measurement", "xdm:unit"], + "required": [ + "@id", + "schema:name", + "xdm:measurement", + "xdm:unit" + ], "meta:status": "stabilizing" -} +} \ No newline at end of file diff --git a/schemas/data/opens.schema.json b/schemas/data/opens.schema.json index 32b4686ae..7712ec7d3 100644 --- a/schemas/data/opens.schema.json +++ b/schemas/data/opens.schema.json @@ -10,9 +10,10 @@ "title": "Opens", "type": "object", "meta:extensible": true, - "meta:extends": ["https://ns.adobe.com/xdm/data/metricdefinition"], - "description": - "The direct-marketing metric `opens` describes the number of times the direct marketing messages (email, SMS, Push Notifications etc) have been opened/swyped/touched by the recipients.", + "meta:extends": [ + "https://ns.adobe.com/xdm/data/metricdefinition" + ], + "description": "The direct-marketing metric `opens` describes the number of times the direct marketing messages (email, SMS, Push Notifications etc) have been opened/swyped/touched by the recipients.", "definitions": { "metricdefinition": { "properties": { @@ -24,8 +25,7 @@ "schema:name": { "type": "string", "const": "direct-marketing metric: opens", - "description": - "The human-readable name of the metric. The name can be used in user interfaces and does not have to be unique." + "description": "The human-readable name of the metric. The name can be used in user interfaces and does not have to be unique." }, "xdm:measurement": { "type": "string", @@ -46,6 +46,11 @@ "$ref": "https://ns.adobe.com/xdm/data/metricdefinition" } ], - "required": ["@id", "schema:name", "xdm:measurement", "xdm:unit"], + "required": [ + "@id", + "schema:name", + "xdm:measurement", + "xdm:unit" + ], "meta:status": "stabilizing" -} +} \ No newline at end of file diff --git a/schemas/data/order.schema.json b/schemas/data/order.schema.json index 26cc8af00..77ecc9ee1 100644 --- a/schemas/data/order.schema.json +++ b/schemas/data/order.schema.json @@ -16,14 +16,12 @@ "xdm:purchaseID": { "title": "Purchase ID", "type": "string", - "description": - "Unique identifier assigned by the seller for this purchase or contract. There is no guarantee that the ID is unique." + "description": "Unique identifier assigned by the seller for this purchase or contract. There is no guarantee that the ID is unique." }, "xdm:purchaseOrderNumber": { "title": "Purchase Order Number", "type": "string", - "description": - "Unique identifier assigned by the purchaser for this purchase or contract." + "description": "Unique identifier assigned by the purchaser for this purchase or contract." }, "xdm:payments": { "title": "Payment List", @@ -36,15 +34,17 @@ "xdm:currencyCode": { "title": "Currency", "type": "string", - "examples": ["USD", "EUR"], + "examples": [ + "USD", + "EUR" + ], "pattern": "^[A-Z]{3}$", "description": "The ISO 4217 currency code used for the order totals." }, "xdm:priceTotal": { "title": "Price Total", "type": "number", - "description": - "The total price of this order after all discounts and taxes have been applied." + "description": "The total price of this order after all discounts and taxes have been applied." } } } @@ -55,4 +55,4 @@ } ], "meta:status": "experimental" -} +} \ No newline at end of file diff --git a/schemas/data/pageviews.schema.json b/schemas/data/pageviews.schema.json index 092f841a2..37ad2082b 100644 --- a/schemas/data/pageviews.schema.json +++ b/schemas/data/pageviews.schema.json @@ -10,9 +10,10 @@ "title": "page views", "type": "object", "meta:extensible": true, - "meta:extends": ["https://ns.adobe.com/xdm/data/metricdefinition"], - "description": - "The web metric pageViews describes the number of impressions of a web page.", + "meta:extends": [ + "https://ns.adobe.com/xdm/data/metricdefinition" + ], + "description": "The web metric pageViews describes the number of impressions of a web page.", "definitions": { "metricdefinition": { "properties": { @@ -24,8 +25,7 @@ "schema:name": { "type": "string", "const": "web metric: pageViews", - "description": - "The human-readable name of the metric. The name can be used in user interfaces and does not have to be unique." + "description": "The human-readable name of the metric. The name can be used in user interfaces and does not have to be unique." }, "xdm:measurement": { "type": "string", @@ -46,6 +46,11 @@ "$ref": "https://ns.adobe.com/xdm/data/metricdefinition" } ], - "required": ["@id", "schema:name", "xdm:measurement", "xdm:unit"], + "required": [ + "@id", + "schema:name", + "xdm:measurement", + "xdm:unit" + ], "meta:status": "stabilizing" -} +} \ No newline at end of file diff --git a/schemas/data/pause-time.schema.json b/schemas/data/pause-time.schema.json index 5e500bc90..9843767cb 100644 --- a/schemas/data/pause-time.schema.json +++ b/schemas/data/pause-time.schema.json @@ -53,4 +53,4 @@ "xdm:unit" ], "meta:status": "stabilizing" -} +} \ No newline at end of file diff --git a/schemas/data/pauses.schema.json b/schemas/data/pauses.schema.json index d0157249d..25e40b549 100644 --- a/schemas/data/pauses.schema.json +++ b/schemas/data/pauses.schema.json @@ -53,4 +53,4 @@ "xdm:unit" ], "meta:status": "stabilizing" -} +} \ No newline at end of file diff --git a/schemas/data/paymentitem.schema.json b/schemas/data/paymentitem.schema.json index dd6138c08..68aa425f3 100644 --- a/schemas/data/paymentitem.schema.json +++ b/schemas/data/paymentitem.schema.json @@ -9,16 +9,14 @@ "$schema": "http://json-schema.org/draft-06/schema#", "title": "Payment Item", "type": "object", - "description": - "A payment associated with an order that defines the type of payment, the amount and the associated currency.", + "description": "A payment associated with an order that defines the type of payment, the amount and the associated currency.", "definitions": { "paymentitem": { "properties": { "xdm:transactionID": { "title": "Transaction ID", "type": "string", - "description": - "The unique transaction identifier for this payment item." + "description": "The unique transaction identifier for this payment item." }, "xdm:paymentAmount": { "title": "Payment Amount", @@ -28,8 +26,7 @@ "xdm:paymentType": { "title": "Payment Type", "type": "string", - "description": - "The method of payment for this order. Enumerated, custom values allowed.", + "description": "The method of payment for this order. Enumerated, custom values allowed.", "default": "other", "meta:enum": { "cash": "Cash", @@ -46,10 +43,12 @@ "xdm:currencyCode": { "title": "Currency Code", "type": "string", - "examples": ["USD", "EUR"], + "examples": [ + "USD", + "EUR" + ], "pattern": "^[A-Z]{3}$", - "description": - "The ISO 4217 currency code used for this payment item." + "description": "The ISO 4217 currency code used for this payment item." } } } @@ -60,4 +59,4 @@ } ], "meta:status": "experimental" -} +} \ No newline at end of file diff --git a/schemas/data/poi-entries.schema.json b/schemas/data/poi-entries.schema.json index 2ddb27b34..945f10f8c 100644 --- a/schemas/data/poi-entries.schema.json +++ b/schemas/data/poi-entries.schema.json @@ -10,23 +10,23 @@ "title": "poi-entries", "type": "object", "meta:extensible": true, - "meta:extends": ["https://ns.adobe.com/xdm/data/metricdefinition"], - "description": - "The place context metric poi-entries describes the number of times a person has left a Point of Interest (POI).", + "meta:extends": [ + "https://ns.adobe.com/xdm/data/metricdefinition" + ], + "description": "The place context metric poi-entries describes the number of times a person has left a Point of Interest (POI).", "definitions": { "metric": { "properties": { "@id": { "type": "string", - "format": "uri", + "format": "uri-reference", "const": "xdm:poiEntries", "description": "The unique identifier of this metric." }, "schema:name": { "type": "string", "const": "placecontext: poiEntries", - "description": - "The human-readable name of the metric. The name can be used in user interfaces and does not have to be unique." + "description": "The human-readable name of the metric. The name can be used in user interfaces and does not have to be unique." }, "xdm:measurement": { "type": "string", @@ -47,6 +47,11 @@ "$ref": "https://ns.adobe.com/xdm/data/metricdefinition" } ], - "required": ["@id", "schema:name", "xdm:measurement", "xdm:unit"], + "required": [ + "@id", + "schema:name", + "xdm:measurement", + "xdm:unit" + ], "meta:status": "experimental" -} +} \ No newline at end of file diff --git a/schemas/data/poi-exits.schema.json b/schemas/data/poi-exits.schema.json index b663769b4..68b65a01a 100644 --- a/schemas/data/poi-exits.schema.json +++ b/schemas/data/poi-exits.schema.json @@ -10,9 +10,10 @@ "title": "poi-entries", "type": "object", "meta:extensible": true, - "meta:extends": ["https://ns.adobe.com/xdm/data/metricdefinition"], - "description": - "The place context metric poi-exits describes the number of times a person has left a Point of Interest (POI).", + "meta:extends": [ + "https://ns.adobe.com/xdm/data/metricdefinition" + ], + "description": "The place context metric poi-exits describes the number of times a person has left a Point of Interest (POI).", "definitions": { "metric": { "properties": { @@ -24,8 +25,7 @@ "schema:name": { "type": "string", "const": "placecontext: poiExits", - "description": - "The human-readable name of the metric. The name can be used in user interfaces and does not have to be unique." + "description": "The human-readable name of the metric. The name can be used in user interfaces and does not have to be unique." }, "xdm:measurement": { "type": "string", @@ -46,6 +46,11 @@ "$ref": "https://ns.adobe.com/xdm/data/metricdefinition" } ], - "required": ["@id", "schema:name", "xdm:measurement", "xdm:unit"], + "required": [ + "@id", + "schema:name", + "xdm:measurement", + "xdm:unit" + ], "meta:status": "experimental" -} +} \ No newline at end of file diff --git a/schemas/data/product-list-adds.schema.json b/schemas/data/product-list-adds.schema.json index 5147153b0..185135615 100644 --- a/schemas/data/product-list-adds.schema.json +++ b/schemas/data/product-list-adds.schema.json @@ -10,23 +10,22 @@ "title": "Product List Adds", "type": "object", "meta:extensible": true, - "meta:extends": ["https://ns.adobe.com/xdm/data/metricdefinition"], - "description": - "The commerce metric productListAdds describes the number of times a product has been added to a product list. The most common case is adding an item to the shopping cart.", + "meta:extends": [ + "https://ns.adobe.com/xdm/data/metricdefinition" + ], + "description": "The commerce metric productListAdds describes the number of times a product has been added to a product list. The most common case is adding an item to the shopping cart.", "definitions": { "metricdefinition": { "properties": { "@id": { "type": "string", - "const": - "xdm:productListAdds", + "const": "xdm:productListAdds", "description": "The unique identifier of this metric." }, "schema:name": { "type": "string", "const": "commerce metric: productListAdds", - "description": - "The human-readable name of the metric. The name can be used in user interfaces and does not have to be unique." + "description": "The human-readable name of the metric. The name can be used in user interfaces and does not have to be unique." }, "xdm:measurement": { "type": "string", @@ -47,6 +46,11 @@ "$ref": "https://ns.adobe.com/xdm/data/metricdefinition" } ], - "required": ["@id", "schema:name", "xdm:measurement", "xdm:unit"], + "required": [ + "@id", + "schema:name", + "xdm:measurement", + "xdm:unit" + ], "meta:status": "experimental" -} +} \ No newline at end of file diff --git a/schemas/data/product-list-opens.schema.json b/schemas/data/product-list-opens.schema.json index 727ca868e..27168a280 100644 --- a/schemas/data/product-list-opens.schema.json +++ b/schemas/data/product-list-opens.schema.json @@ -10,23 +10,22 @@ "title": "Product List Opens", "type": "object", "meta:extensible": true, - "meta:extends": ["https://ns.adobe.com/xdm/data/metricdefinition"], - "description": - "The commerce metric product-list-opens describes how many new product lists have been created. The most common case is the creation of a new shopping cart by putting the first item into the shopping cart.", + "meta:extends": [ + "https://ns.adobe.com/xdm/data/metricdefinition" + ], + "description": "The commerce metric product-list-opens describes how many new product lists have been created. The most common case is the creation of a new shopping cart by putting the first item into the shopping cart.", "definitions": { "metricdefinition": { "properties": { "@id": { "type": "string", - "const": - "xdm:productListOpens", + "const": "xdm:productListOpens", "description": "The unique identifier of this metric." }, "schema:name": { "type": "string", "const": "commerce metric: productListOpens", - "description": - "The human-readable name of the metric. The name can be used in user interfaces and does not have to be unique." + "description": "The human-readable name of the metric. The name can be used in user interfaces and does not have to be unique." }, "xdm:measurement": { "type": "string", @@ -47,6 +46,11 @@ "$ref": "https://ns.adobe.com/xdm/data/metricdefinition" } ], - "required": ["@id", "schema:name", "xdm:measurement", "xdm:unit"], + "required": [ + "@id", + "schema:name", + "xdm:measurement", + "xdm:unit" + ], "meta:status": "experimental" -} +} \ No newline at end of file diff --git a/schemas/data/product-list-removals.schema.json b/schemas/data/product-list-removals.schema.json index ea03dc9b1..e15da1924 100644 --- a/schemas/data/product-list-removals.schema.json +++ b/schemas/data/product-list-removals.schema.json @@ -10,9 +10,10 @@ "title": "Product List Removals", "type": "object", "meta:extensible": true, - "meta:extends": ["https://ns.adobe.com/xdm/data/metricdefinition"], - "description": - "The commerce metric productListRemovals describes the number of times a product has been removed from a product list. The most common use case is the removal of a product from the shopping cart.", + "meta:extends": [ + "https://ns.adobe.com/xdm/data/metricdefinition" + ], + "description": "The commerce metric productListRemovals describes the number of times a product has been removed from a product list. The most common use case is the removal of a product from the shopping cart.", "definitions": { "metricdefinition": { "properties": { @@ -24,8 +25,7 @@ "schema:name": { "type": "string", "const": "commerce metric: productListRemovals", - "description": - "The human-readable name of the metric. The name can be used in user interfaces and does not have to be unique." + "description": "The human-readable name of the metric. The name can be used in user interfaces and does not have to be unique." }, "xdm:measurement": { "type": "string", @@ -46,6 +46,11 @@ "$ref": "https://ns.adobe.com/xdm/data/metricdefinition" } ], - "required": ["@id", "schema:name", "xdm:measurement", "xdm:unit"], + "required": [ + "@id", + "schema:name", + "xdm:measurement", + "xdm:unit" + ], "meta:status": "experimental" -} +} \ No newline at end of file diff --git a/schemas/data/product-list-reopens.schema.json b/schemas/data/product-list-reopens.schema.json index 2404c4cb4..1a5f9383f 100644 --- a/schemas/data/product-list-reopens.schema.json +++ b/schemas/data/product-list-reopens.schema.json @@ -10,9 +10,10 @@ "title": "Product List Reopens", "type": "object", "meta:extensible": true, - "meta:extends": ["https://ns.adobe.com/xdm/data/metricdefinition"], - "description": - "Number of reopens for which a product list that was no longer accessible has been re-activated by the user, for example via a re-marketing activity.", + "meta:extends": [ + "https://ns.adobe.com/xdm/data/metricdefinition" + ], + "description": "Number of reopens for which a product list that was no longer accessible has been re-activated by the user, for example via a re-marketing activity.", "definitions": { "metricdefinition": { "properties": { @@ -24,8 +25,7 @@ "schema:name": { "type": "string", "const": "commerce metric: productListReopens", - "description": - "The human-readable name of the metric. The name can be used in user interfaces and does not have to be unique." + "description": "The human-readable name of the metric. The name can be used in user interfaces and does not have to be unique." }, "xdm:measurement": { "type": "string", @@ -46,6 +46,11 @@ "$ref": "https://ns.adobe.com/xdm/data/metricdefinition" } ], - "required": ["@id", "schema:name", "xdm:measurement", "xdm:unit"], + "required": [ + "@id", + "schema:name", + "xdm:measurement", + "xdm:unit" + ], "meta:status": "experimental" -} +} \ No newline at end of file diff --git a/schemas/data/product-list-views.schema.json b/schemas/data/product-list-views.schema.json index 79739d2b2..a37ba2274 100644 --- a/schemas/data/product-list-views.schema.json +++ b/schemas/data/product-list-views.schema.json @@ -10,9 +10,10 @@ "title": "Product List Views", "type": "object", "meta:extensible": true, - "meta:extends": ["https://ns.adobe.com/xdm/data/metricdefinition"], - "description": - "The commerce metric product-list-views describes how often a product list has been seen by a shopper. The most common use case is to open the shopping cart to inspect its contents.", + "meta:extends": [ + "https://ns.adobe.com/xdm/data/metricdefinition" + ], + "description": "The commerce metric product-list-views describes how often a product list has been seen by a shopper. The most common use case is to open the shopping cart to inspect its contents.", "definitions": { "metricdefinition": { "properties": { @@ -24,8 +25,7 @@ "schema:name": { "type": "string", "const": "commerce metric: productListViews", - "description": - "The human-readable name of the metric. The name can be used in user interfaces and does not have to be unique." + "description": "The human-readable name of the metric. The name can be used in user interfaces and does not have to be unique." }, "xdm:measurement": { "type": "string", @@ -46,6 +46,11 @@ "$ref": "https://ns.adobe.com/xdm/data/metricdefinition" } ], - "required": ["@id", "schema:name", "xdm:measurement", "xdm:unit"], + "required": [ + "@id", + "schema:name", + "xdm:measurement", + "xdm:unit" + ], "meta:status": "experimental" -} +} \ No newline at end of file diff --git a/schemas/data/product-views.schema.json b/schemas/data/product-views.schema.json index bef8c522f..126c709a7 100644 --- a/schemas/data/product-views.schema.json +++ b/schemas/data/product-views.schema.json @@ -10,9 +10,10 @@ "title": "Product Views", "type": "object", "meta:extensible": true, - "meta:extends": ["https://ns.adobe.com/xdm/data/metricdefinition"], - "description": - "The commerce metric productViews describes the number of product views that have occurred. Because the number of products on a page might be greater than one, this number may differ from the page view count of product pages.", + "meta:extends": [ + "https://ns.adobe.com/xdm/data/metricdefinition" + ], + "description": "The commerce metric productViews describes the number of product views that have occurred. Because the number of products on a page might be greater than one, this number may differ from the page view count of product pages.", "definitions": { "metricdefinition": { "properties": { @@ -24,8 +25,7 @@ "schema:name": { "type": "string", "const": "commerce metric: productViews", - "description": - "The human-readable name of the metric. The name can be used in user interfaces and does not have to be unique." + "description": "The human-readable name of the metric. The name can be used in user interfaces and does not have to be unique." }, "xdm:measurement": { "type": "string", @@ -46,6 +46,11 @@ "$ref": "https://ns.adobe.com/xdm/data/metricdefinition" } ], - "required": ["@id", "schema:name", "xdm:measurement", "xdm:unit"], + "required": [ + "@id", + "schema:name", + "xdm:measurement", + "xdm:unit" + ], "meta:status": "experimental" -} +} \ No newline at end of file diff --git a/schemas/data/progress10.schema.json b/schemas/data/progress10.schema.json index 412bdf32e..10949cd64 100644 --- a/schemas/data/progress10.schema.json +++ b/schemas/data/progress10.schema.json @@ -53,4 +53,4 @@ "xdm:unit" ], "meta:status": "stabilizing" -} +} \ No newline at end of file diff --git a/schemas/data/progress95.schema.json b/schemas/data/progress95.schema.json index 96fd41f7f..abf2a82f4 100644 --- a/schemas/data/progress95.schema.json +++ b/schemas/data/progress95.schema.json @@ -53,4 +53,4 @@ "xdm:unit" ], "meta:status": "stabilizing" -} +} \ No newline at end of file diff --git a/schemas/data/purchases.schema.json b/schemas/data/purchases.schema.json index dbcacd8d7..b3203615a 100644 --- a/schemas/data/purchases.schema.json +++ b/schemas/data/purchases.schema.json @@ -10,9 +10,10 @@ "title": "Purchases", "type": "object", "meta:extensible": true, - "meta:extends": ["https://ns.adobe.com/xdm/data/metricdefinition"], - "description": - "Number of orders has occurred. Purchase is the only required action in a commerce conversion. Purchase must have a product list referenced.", + "meta:extends": [ + "https://ns.adobe.com/xdm/data/metricdefinition" + ], + "description": "Number of orders has occurred. Purchase is the only required action in a commerce conversion. Purchase must have a product list referenced.", "definitions": { "metricdefinition": { "properties": { @@ -24,8 +25,7 @@ "schema:name": { "type": "string", "const": "commerce metric: purchases", - "description": - "The human-readable name of the metric. The name can be used in user interfaces and does not have to be unique." + "description": "The human-readable name of the metric. The name can be used in user interfaces and does not have to be unique." }, "xdm:measurement": { "type": "string", @@ -46,6 +46,11 @@ "$ref": "https://ns.adobe.com/xdm/data/metricdefinition" } ], - "required": ["@id", "schema:name", "xdm:measurement", "xdm:unit"], + "required": [ + "@id", + "schema:name", + "xdm:measurement", + "xdm:unit" + ], "meta:status": "stabilizing" -} +} \ No newline at end of file diff --git a/schemas/data/resumes.schema.json b/schemas/data/resumes.schema.json index fb7cfdd92..c5f68e8fa 100644 --- a/schemas/data/resumes.schema.json +++ b/schemas/data/resumes.schema.json @@ -53,4 +53,4 @@ "xdm:unit" ], "meta:status": "stabilizing" -} +} \ No newline at end of file diff --git a/schemas/data/save-for-laters.schema.json b/schemas/data/save-for-laters.schema.json index 1281b700c..1487d7034 100644 --- a/schemas/data/save-for-laters.schema.json +++ b/schemas/data/save-for-laters.schema.json @@ -10,9 +10,10 @@ "title": "Save For Laters", "type": "object", "meta:extensible": true, - "meta:extends": ["https://ns.adobe.com/xdm/data/metricdefinition"], - "description": - "The commerce metric saveForLaters describes how often a product has been saved for a later day purchase.", + "meta:extends": [ + "https://ns.adobe.com/xdm/data/metricdefinition" + ], + "description": "The commerce metric saveForLaters describes how often a product has been saved for a later day purchase.", "definitions": { "metricdefinition": { "properties": { @@ -24,8 +25,7 @@ "schema:name": { "type": "string", "const": "commerce metric: saveForLaters", - "description": - "The human-readable name of the metric. The name can be used in user interfaces and does not have to be unique." + "description": "The human-readable name of the metric. The name can be used in user interfaces and does not have to be unique." }, "xdm:measurement": { "type": "string", @@ -46,6 +46,11 @@ "$ref": "https://ns.adobe.com/xdm/data/metricdefinition" } ], - "required": ["@id", "schema:name", "xdm:measurement", "xdm:unit"], + "required": [ + "@id", + "schema:name", + "xdm:measurement", + "xdm:unit" + ], "meta:status": "stabilizing" -} +} \ No newline at end of file diff --git a/schemas/data/sends.schema.json b/schemas/data/sends.schema.json index 78cd81e92..e37728d3d 100644 --- a/schemas/data/sends.schema.json +++ b/schemas/data/sends.schema.json @@ -10,23 +10,22 @@ "title": "Sends", "type": "object", "meta:extensible": true, - "meta:extends": ["https://ns.adobe.com/xdm/data/metricdefinition"], - "description": - "The direct-marketing metric sends describes the number of asynchronous messages (email, SMS, MMS etc) that have been dispatched to an recipient's account/address/device", + "meta:extends": [ + "https://ns.adobe.com/xdm/data/metricdefinition" + ], + "description": "The direct-marketing metric sends describes the number of asynchronous messages (email, SMS, MMS etc) that have been dispatched to an recipient's account/address/device", "definitions": { "metricdefinition": { "properties": { "@id": { "type": "string", - "const": - "xdm:sends", + "const": "xdm:sends", "description": "The unique identifier of this metric." }, "schema:name": { "type": "string", "const": "direct-marketing metric: sends", - "description": - "The human-readable name of the metric. The name can be used in user interfaces and does not have to be unique." + "description": "The human-readable name of the metric. The name can be used in user interfaces and does not have to be unique." }, "xdm:measurement": { "type": "string", @@ -47,6 +46,11 @@ "$ref": "https://ns.adobe.com/xdm/data/metricdefinition" } ], - "required": ["@id", "schema:name", "xdm:measurement", "xdm:unit"], + "required": [ + "@id", + "schema:name", + "xdm:measurement", + "xdm:unit" + ], "meta:status": "stabilizing" -} +} \ No newline at end of file diff --git a/schemas/data/stall-time.schema.json b/schemas/data/stall-time.schema.json index dc4b7bb3e..eebde051f 100644 --- a/schemas/data/stall-time.schema.json +++ b/schemas/data/stall-time.schema.json @@ -53,4 +53,4 @@ "xdm:unit" ], "meta:status": "stabilizing" -} +} \ No newline at end of file diff --git a/schemas/data/stalls.schema.json b/schemas/data/stalls.schema.json index 844be990c..d7b7cc594 100644 --- a/schemas/data/stalls.schema.json +++ b/schemas/data/stalls.schema.json @@ -53,4 +53,4 @@ "xdm:unit" ], "meta:status": "stabilizing" -} +} \ No newline at end of file diff --git a/schemas/data/starts.schema.json b/schemas/data/starts.schema.json index c8f229d12..accaede35 100644 --- a/schemas/data/starts.schema.json +++ b/schemas/data/starts.schema.json @@ -10,7 +10,9 @@ "title": "starts", "type": "object", "meta:extensible": true, - "meta:extends": ["https://ns.adobe.com/xdm/data/metricdefinition"], + "meta:extends": [ + "https://ns.adobe.com/xdm/data/metricdefinition" + ], "description": "Indicates the first frame of the timed media was viewed - i.e. the viewer did not abandon during pre-roll ad, buffering, etc.", "definitions": { "metricdefinition": { @@ -23,8 +25,7 @@ "schema:name": { "type": "string", "const": "metric: starts", - "description": - "Indicates the first frame of the timed media asset was viewed - i.e. the viewer did not abandon during pre-roll ad, buffering, etc." + "description": "Indicates the first frame of the timed media asset was viewed - i.e. the viewer did not abandon during pre-roll ad, buffering, etc." }, "xdm:measurement": { "type": "string", @@ -45,6 +46,11 @@ "$ref": "https://ns.adobe.com/xdm/data/metricdefinition" } ], - "required": ["@id", "schema:name", "xdm:measurement", "xdm:unit"], + "required": [ + "@id", + "schema:name", + "xdm:measurement", + "xdm:unit" + ], "meta:status": "stabilizing" -} +} \ No newline at end of file diff --git a/schemas/data/thirdquartiles.schema.json b/schemas/data/thirdquartiles.schema.json index ec21d30f6..34fbb4d73 100644 --- a/schemas/data/thirdquartiles.schema.json +++ b/schemas/data/thirdquartiles.schema.json @@ -10,7 +10,9 @@ "title": "third-quartiles", "type": "object", "meta:extensible": true, - "meta:extends": ["https://ns.adobe.com/xdm/data/metricdefinition"], + "meta:extends": [ + "https://ns.adobe.com/xdm/data/metricdefinition" + ], "description": "The metric third-quartiles describes digital video which played for at least 75% of the total duration.", "definitions": { "metricdefinition": { @@ -23,8 +25,7 @@ "schema:name": { "type": "string", "const": "metric: thirdQuartiles", - "description": - "The metric third-quartiles describes digital video which played for at least 75% of the total duration." + "description": "The metric third-quartiles describes digital video which played for at least 75% of the total duration." }, "xdm:measurement": { "type": "string", @@ -45,6 +46,11 @@ "$ref": "https://ns.adobe.com/xdm/data/metricdefinition" } ], - "required": ["@id", "schema:name", "xdm:measurement", "xdm:unit"], + "required": [ + "@id", + "schema:name", + "xdm:measurement", + "xdm:unit" + ], "meta:status": "stabilizing" -} +} \ No newline at end of file diff --git a/schemas/data/time-played.schema.json b/schemas/data/time-played.schema.json index 84a008fb7..a90b5f226 100644 --- a/schemas/data/time-played.schema.json +++ b/schemas/data/time-played.schema.json @@ -53,4 +53,4 @@ "xdm:unit" ], "meta:status": "stabilizing" -} +} \ No newline at end of file diff --git a/schemas/data/time-to-start.schema.json b/schemas/data/time-to-start.schema.json index 459924d95..a150ac17b 100644 --- a/schemas/data/time-to-start.schema.json +++ b/schemas/data/time-to-start.schema.json @@ -53,4 +53,4 @@ "xdm:unit" ], "meta:status": "stabilizing" -} +} \ No newline at end of file diff --git a/schemas/data/total-time-played.schema.json b/schemas/data/total-time-played.schema.json index cdc3823a0..f601c5c46 100644 --- a/schemas/data/total-time-played.schema.json +++ b/schemas/data/total-time-played.schema.json @@ -53,4 +53,4 @@ "xdm:unit" ], "meta:status": "stabilizing" -} +} \ No newline at end of file diff --git a/schemas/data/unmeasurableiframe.schema.json b/schemas/data/unmeasurableiframe.schema.json index 2cca49356..07c620279 100644 --- a/schemas/data/unmeasurableiframe.schema.json +++ b/schemas/data/unmeasurableiframe.schema.json @@ -46,6 +46,11 @@ "$ref": "https://ns.adobe.com/xdm/data/metricdefinition" } ], - "required": ["@id", "schema:name", "xdm:measurement", "xdm:unit"], + "required": [ + "@id", + "schema:name", + "xdm:measurement", + "xdm:unit" + ], "meta:status": "stabilizing" -} +} \ No newline at end of file diff --git a/schemas/data/unmeasurableother.schema.json b/schemas/data/unmeasurableother.schema.json index 5f98dc256..06b21edc1 100644 --- a/schemas/data/unmeasurableother.schema.json +++ b/schemas/data/unmeasurableother.schema.json @@ -46,6 +46,11 @@ "$ref": "https://ns.adobe.com/xdm/data/metricdefinition" } ], - "required": ["@id", "schema:name", "xdm:measurement", "xdm:unit"], + "required": [ + "@id", + "schema:name", + "xdm:measurement", + "xdm:unit" + ], "meta:status": "stabilizing" -} +} \ No newline at end of file diff --git a/schemas/data/unsubscriptions.schema.json b/schemas/data/unsubscriptions.schema.json index 6957c8e39..e16d40482 100644 --- a/schemas/data/unsubscriptions.schema.json +++ b/schemas/data/unsubscriptions.schema.json @@ -5,15 +5,15 @@ "you may not use this file except in compliance with the License. You may obtain a copy", "of the License at https://creativecommons.org/licenses/by/4.0/" ], - "$id": - "https://ns.adobe.com/xdm/data/metrics/direct-marketing/unsubscriptions", + "$id": "https://ns.adobe.com/xdm/data/metrics/direct-marketing/unsubscriptions", "$schema": "http://json-schema.org/draft-06/schema#", "title": "Unsubscriptions", "type": "object", "meta:extensible": true, - "meta:extends": ["https://ns.adobe.com/xdm/data/metricdefinition"], - "description": - "The direct-marketing metric `unsubscriptions` describes the number of times the recipients of direct marketing messages (email, newsletters, etc) have opted out from receiving them.", + "meta:extends": [ + "https://ns.adobe.com/xdm/data/metricdefinition" + ], + "description": "The direct-marketing metric `unsubscriptions` describes the number of times the recipients of direct marketing messages (email, newsletters, etc) have opted out from receiving them.", "definitions": { "metricdefinition": { "properties": { @@ -25,8 +25,7 @@ "schema:name": { "type": "string", "const": "direct-marketing metric: unsubscriptions", - "description": - "The human-readable name of the metric. The name can be used in user interfaces and does not have to be unique." + "description": "The human-readable name of the metric. The name can be used in user interfaces and does not have to be unique." }, "xdm:measurement": { "type": "string", @@ -47,6 +46,11 @@ "$ref": "https://ns.adobe.com/xdm/data/metricdefinition" } ], - "required": ["@id", "schema:name", "xdm:measurement", "xdm:unit"], + "required": [ + "@id", + "schema:name", + "xdm:measurement", + "xdm:unit" + ], "meta:status": "stabilizing" -} +} \ No newline at end of file diff --git a/schemas/data/upgrades.schema.json b/schemas/data/upgrades.schema.json index 1289ee891..d552805a4 100644 --- a/schemas/data/upgrades.schema.json +++ b/schemas/data/upgrades.schema.json @@ -10,23 +10,22 @@ "title": "Upgrades", "type": "object", "meta:extensible": true, - "meta:extends": ["https://ns.adobe.com/xdm/data/metricdefinition"], - "description": - "Upgrade of an application that has previously been installed. Triggered on first launch after upgrade.", + "meta:extends": [ + "https://ns.adobe.com/xdm/data/metricdefinition" + ], + "description": "Upgrade of an application that has previously been installed. Triggered on first launch after upgrade.", "definitions": { "metricdefinition": { "properties": { "@id": { "type": "string", - "const": - "xdm:upgrades", + "const": "xdm:upgrades", "description": "The unique identifier of this metric." }, "schema:name": { "type": "string", "const": "application metric: upgrades", - "description": - "The human-readable name of the metric. The name can be used in user interfaces and does not have to be unique." + "description": "The human-readable name of the metric. The name can be used in user interfaces and does not have to be unique." }, "xdm:measurement": { "type": "string", @@ -47,6 +46,11 @@ "$ref": "https://ns.adobe.com/xdm/data/metricdefinition" } ], - "required": ["@id", "schema:name", "xdm:measurement", "xdm:unit"], + "required": [ + "@id", + "schema:name", + "xdm:measurement", + "xdm:unit" + ], "meta:status": "stabilizing" } \ No newline at end of file diff --git a/schemas/data/user-complaints.schema.json b/schemas/data/user-complaints.schema.json index b09449f4f..5e9ad9091 100644 --- a/schemas/data/user-complaints.schema.json +++ b/schemas/data/user-complaints.schema.json @@ -5,15 +5,15 @@ "you may not use this file except in compliance with the License. You may obtain a copy", "of the License at https://creativecommons.org/licenses/by/4.0/" ], - "$id": - "https://ns.adobe.com/xdm/data/metrics/direct-marketing/user-complaints", + "$id": "https://ns.adobe.com/xdm/data/metrics/direct-marketing/user-complaints", "$schema": "http://json-schema.org/draft-06/schema#", "title": "User Complaints", "type": "object", "meta:extensible": true, - "meta:extends": ["https://ns.adobe.com/xdm/data/metricdefinition"], - "description": - "The direct-marketing metric user-complaints describes the number of user complaints that have been received. This generally occurs when a recipient of a message reported it as spam.", + "meta:extends": [ + "https://ns.adobe.com/xdm/data/metricdefinition" + ], + "description": "The direct-marketing metric user-complaints describes the number of user complaints that have been received. This generally occurs when a recipient of a message reported it as spam.", "definitions": { "metricdefinition": { "properties": { @@ -25,8 +25,7 @@ "schema:name": { "type": "string", "const": "direct-marketing metric: userComplaints", - "description": - "The human-readable name of the metric. The name can be used in user interfaces and does not have to be unique." + "description": "The human-readable name of the metric. The name can be used in user interfaces and does not have to be unique." }, "xdm:measurement": { "type": "string", @@ -47,6 +46,11 @@ "$ref": "https://ns.adobe.com/xdm/data/metricdefinition" } ], - "required": ["@id", "schema:name", "xdm:measurement", "xdm:unit"], + "required": [ + "@id", + "schema:name", + "xdm:measurement", + "xdm:unit" + ], "meta:status": "stabilizing" -} +} \ No newline at end of file diff --git a/schemas/data/viewabilityeligibleimpressions.schema.json b/schemas/data/viewabilityeligibleimpressions.schema.json index f9d9cf6f7..248c6efd3 100644 --- a/schemas/data/viewabilityeligibleimpressions.schema.json +++ b/schemas/data/viewabilityeligibleimpressions.schema.json @@ -46,6 +46,11 @@ "$ref": "https://ns.adobe.com/xdm/data/metricdefinition" } ], - "required": ["@id", "schema:name", "xdm:measurement", "xdm:unit"], + "required": [ + "@id", + "schema:name", + "xdm:measurement", + "xdm:unit" + ], "meta:status": "stabilizing" -} +} \ No newline at end of file diff --git a/schemas/data/viewablecompletes.schema.json b/schemas/data/viewablecompletes.schema.json index 83b2825f3..9cec7bfd3 100644 --- a/schemas/data/viewablecompletes.schema.json +++ b/schemas/data/viewablecompletes.schema.json @@ -46,6 +46,11 @@ "$ref": "https://ns.adobe.com/xdm/data/metricdefinition" } ], - "required": ["@id", "schema:name", "xdm:measurement", "xdm:unit"], + "required": [ + "@id", + "schema:name", + "xdm:measurement", + "xdm:unit" + ], "meta:status": "stabilizing" -} +} \ No newline at end of file diff --git a/schemas/data/viewablefirstquartiles.schema.json b/schemas/data/viewablefirstquartiles.schema.json index 786427b74..3672743c3 100644 --- a/schemas/data/viewablefirstquartiles.schema.json +++ b/schemas/data/viewablefirstquartiles.schema.json @@ -46,6 +46,11 @@ "$ref": "https://ns.adobe.com/xdm/data/metricdefinition" } ], - "required": ["@id", "schema:name", "xdm:measurement", "xdm:unit"], + "required": [ + "@id", + "schema:name", + "xdm:measurement", + "xdm:unit" + ], "meta:status": "stabilizing" -} +} \ No newline at end of file diff --git a/schemas/data/viewableimpressions.schema.json b/schemas/data/viewableimpressions.schema.json index 5b54adc9d..c061367c7 100644 --- a/schemas/data/viewableimpressions.schema.json +++ b/schemas/data/viewableimpressions.schema.json @@ -46,6 +46,11 @@ "$ref": "https://ns.adobe.com/xdm/data/metricdefinition" } ], - "required": ["@id", "schema:name", "xdm:measurement", "xdm:unit"], + "required": [ + "@id", + "schema:name", + "xdm:measurement", + "xdm:unit" + ], "meta:status": "stabilizing" -} +} \ No newline at end of file diff --git a/schemas/data/viewablemidpoints.schema.json b/schemas/data/viewablemidpoints.schema.json index 7b6a52fc5..3991b52fd 100644 --- a/schemas/data/viewablemidpoints.schema.json +++ b/schemas/data/viewablemidpoints.schema.json @@ -46,6 +46,11 @@ "$ref": "https://ns.adobe.com/xdm/data/metricdefinition" } ], - "required": ["@id", "schema:name", "xdm:measurement", "xdm:unit"], + "required": [ + "@id", + "schema:name", + "xdm:measurement", + "xdm:unit" + ], "meta:status": "stabilizing" -} +} \ No newline at end of file diff --git a/schemas/data/viewablethirdquartiles.schema.json b/schemas/data/viewablethirdquartiles.schema.json index 3c38de849..3270dc3e3 100644 --- a/schemas/data/viewablethirdquartiles.schema.json +++ b/schemas/data/viewablethirdquartiles.schema.json @@ -10,7 +10,9 @@ "title": "viewable-third-quartiles", "type": "object", "meta:extensible": true, - "meta:extends": ["https://ns.adobe.com/xdm/data/metricdefinition"], + "meta:extends": [ + "https://ns.adobe.com/xdm/data/metricdefinition" + ], "description": "The advertising/viewability metric viewable-third-quartiles describes whether at least 50% of the video's pixels were visible at the third quartile of play.", "definitions": { "metricdefinition": { @@ -44,6 +46,11 @@ "$ref": "https://ns.adobe.com/xdm/data/metricdefinition" } ], - "required": ["@id", "schema:name", "xdm:measurement", "xdm:unit"], + "required": [ + "@id", + "schema:name", + "xdm:measurement", + "xdm:unit" + ], "meta:status": "stabilizing" -} +} \ No newline at end of file diff --git a/schemas/external/activity-streams-2/id.schema.json b/schemas/external/activity-streams-2/id.schema.json index d6d6fc4ca..59b36fecb 100644 --- a/schemas/external/activity-streams-2/id.schema.json +++ b/schemas/external/activity-streams-2/id.schema.json @@ -12,7 +12,7 @@ "properties": { "@id": { "type": "string", - "format": "uri" + "format": "uri-reference" } }, "title": "JSON-LD `@id`", diff --git a/schemas/external/schema/geocoordinates.schema.json b/schemas/external/schema/geocoordinates.schema.json index c60eb2be3..b564d19b5 100644 --- a/schemas/external/schema/geocoordinates.schema.json +++ b/schemas/external/schema/geocoordinates.schema.json @@ -18,7 +18,7 @@ "@id": { "title": "Coordinates ID", "type": "string", - "format": "uri", + "format": "uri-reference", "description": "The unique identifier of the coordinates." }, "schema:description": {