-
Proposal:
Hide
Define the following symbolic names:
odata.mediaEditLink
odata.mediaReadLink
odata.mediaContentType
Allow to use these symbolic names in the path attribute of the annotation element.
They may also be appended to Named Stream properties, separated by an @ sign: NamedStream@odata.mediaEditLink etc.
Example:
<EntityType Name="SomeMediaLinkEntryType" HasStream= "true">
<Annotation Term="Movie.MovieURL" Path="@odata.mediaReadLink"/>
<Annotation Term="Movie.MovieMimeType" Path="@odata.mediaContentType"/>
<Property Name="Something" Type="String">
<Property Name="SomethingElse" Type="String"/>
</EntityType>
Accepted: https://www.oasis-open.org/committees/download.php/48174/odata-meeting-24_on-20130207-minutes.html#odata-227
Show
Define the following symbolic names:
odata.mediaEditLink
odata.mediaReadLink
odata.mediaContentType
Allow to use these symbolic names in the path attribute of the annotation element.
They may also be appended to Named Stream properties, separated by an @ sign: NamedStream@odata.mediaEditLink etc.
Example:
<EntityType Name="SomeMediaLinkEntryType" HasStream= "true">
<Annotation Term="Movie.MovieURL" Path="@odata.mediaReadLink"/>
<Annotation Term="Movie.MovieMimeType" Path="@odata.mediaContentType"/>
<Property Name="Something" Type="String">
<Property Name="SomethingElse" Type="String"/>
</EntityType>
Accepted: https://www.oasis-open.org/committees/download.php/48174/odata-meeting-24_on-20130207-minutes.html#odata-227
-
Resolution:
Show
https://www.oasis-open.org/committees/download.php/48200/odata-core-v1.0-wd01-part3-csdl-2013-02-11-RH.doc
Accepted: https://www.oasis-open.org/committees/download.php/48269/odata-meeting-25_on-20130214-minutes.html#odata-227
An Annotation should be able to use one of a set of pre-defined symbolic names when specifying a value.
For example, the value of the "MovieURL" Annotation should be the MediaRessource of the "Movie" type (which is a Media Link Entry).
{"report":{"apdex":1,"isInitial":true,"journeyId":"5c41d395-d776-4b7b-9125-c305410946e6","key":"jira.project.issue.view-issue","navigationType":0,"readyForUser":831.7000002861023,"redirectCount":0,"resourceLoadedEnd":763,"resourceLoadedStart":367.2000002861023,"resourceTiming":[{"duration":92.5,"initiatorType":"link","name":"https://issues.oasis-open.org/s/3edeca31ab9ba77980aae0809fbe7121-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/0a4716d29b2d5b1bdcdb168b4efc119e/_/download/contextbatch/css/_super/batch.css","startTime":367.2000002861023,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":367.2000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":459.7000002861023,"responseStart":0,"secureConnectionStart":0},{"duration":92.59999990463257,"initiatorType":"link","name":"https://issues.oasis-open.org/s/7d2823769c2e7b66e860863fe879b7f8-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/9aebb1c0aaa4c36289529757ec9dbb54/_/download/contextbatch/css/project.issue.navigator,jira.view.issue,jira.global,atl.general,-_super/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&richediton=true","startTime":367.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":367.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":460.09999990463257,"responseStart":0,"secureConnectionStart":0},{"duration":92.69999980926514,"initiatorType":"link","name":"https://issues.oasis-open.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/8.0.5/_/download/batch/com.atlassian.auiplugin:split_aui.pattern.label/com.atlassian.auiplugin:split_aui.pattern.label.css","startTime":367.7000002861023,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":367.7000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":460.40000009536743,"responseStart":0,"secureConnectionStart":0},{"duration":93.19999980926514,"initiatorType":"link","name":"https://issues.oasis-open.org/s/645acc233eb869f48a571293b8358a7d-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/1.0/_/download/batch/jira.webresources:global-static-adgs/jira.webresources:global-static-adgs.css","startTime":367.90000009536743,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":367.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":461.09999990463257,"responseStart":0,"secureConnectionStart":0},{"duration":93.60000038146973,"initiatorType":"link","name":"https://issues.oasis-open.org/s/a0dd6509771c1de0667aae5429c04cda-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/1.0/_/download/batch/jira.webresources:global-static/jira.webresources:global-static.css","startTime":368.09999990463257,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":368.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":461.7000002861023,"responseStart":0,"secureConnectionStart":0},{"duration":133.90000009536743,"initiatorType":"script","name":"https://issues.oasis-open.org/s/e5479157e7a0c08b005e6522f2f04104-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/0a4716d29b2d5b1bdcdb168b4efc119e/_/download/contextbatch/js/_super/batch.js?locale=en-US","startTime":368.30000019073486,"connectEnd":368.30000019073486,"connectStart":368.30000019073486,"domainLookupEnd":368.30000019073486,"domainLookupStart":368.30000019073486,"fetchStart":368.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":368.30000019073486,"responseEnd":502.2000002861023,"responseStart":502.2000002861023,"secureConnectionStart":368.30000019073486},{"duration":162.19999980926514,"initiatorType":"script","name":"https://issues.oasis-open.org/s/83514d5d4e8543747b02042eafcdc99c-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/9aebb1c0aaa4c36289529757ec9dbb54/_/download/contextbatch/js/project.issue.navigator,jira.view.issue,jira.global,atl.general,-_super/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en-US&richediton=true","startTime":368.90000009536743,"connectEnd":368.90000009536743,"connectStart":368.90000009536743,"domainLookupEnd":368.90000009536743,"domainLookupStart":368.90000009536743,"fetchStart":368.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":368.90000009536743,"responseEnd":531.0999999046326,"responseStart":531.0999999046326,"secureConnectionStart":368.90000009536743},{"duration":164.10000038146973,"initiatorType":"script","name":"https://issues.oasis-open.org/s/70bb2263e59e7e1f04fbd137c80b895b-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/aae1242f5fc81cc6a5bb8bc963ccda29/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en-US","startTime":369.09999990463257,"connectEnd":369.09999990463257,"connectStart":369.09999990463257,"domainLookupEnd":369.09999990463257,"domainLookupStart":369.09999990463257,"fetchStart":369.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":369.09999990463257,"responseEnd":533.2000002861023,"responseStart":533.2000002861023,"secureConnectionStart":369.09999990463257},{"duration":164.2999997138977,"initiatorType":"script","name":"https://issues.oasis-open.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":369.30000019073486,"connectEnd":369.30000019073486,"connectStart":369.30000019073486,"domainLookupEnd":369.30000019073486,"domainLookupStart":369.30000019073486,"fetchStart":369.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":369.30000019073486,"responseEnd":533.5999999046326,"responseStart":533.5999999046326,"secureConnectionStart":369.30000019073486},{"duration":164.5,"initiatorType":"script","name":"https://issues.oasis-open.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":369.5,"connectEnd":369.5,"connectStart":369.5,"domainLookupEnd":369.5,"domainLookupStart":369.5,"fetchStart":369.5,"redirectEnd":0,"redirectStart":0,"requestStart":369.5,"responseEnd":534,"responseStart":534,"secureConnectionStart":369.5},{"duration":164.80000019073486,"initiatorType":"script","name":"https://issues.oasis-open.org/s/cda37faab827dbdf305de8efe8282062-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/8.0.5/_/download/batch/com.atlassian.auiplugin:split_aui.pattern.label/com.atlassian.auiplugin:split_aui.pattern.label.js?locale=en-US","startTime":369.59999990463257,"connectEnd":369.59999990463257,"connectStart":369.59999990463257,"domainLookupEnd":369.59999990463257,"domainLookupStart":369.59999990463257,"fetchStart":369.59999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":369.59999990463257,"responseEnd":534.4000000953674,"responseStart":534.4000000953674,"secureConnectionStart":369.59999990463257},{"duration":270.19999980926514,"initiatorType":"link","name":"https://issues.oasis-open.org/s/07245784f53abc49bad9d9d4d36c577a-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/cadc4f20cc5c138dee060d42cf85f220/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":369.80000019073486,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":369.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":640,"responseStart":0,"secureConnectionStart":0},{"duration":164.80000019073486,"initiatorType":"script","name":"https://issues.oasis-open.org/rest/api/1.0/shortcuts/803004/a29179d70fa8562374ee16707692af77/shortcuts.js?context=issuenavigation&context=issueaction","startTime":370,"connectEnd":370,"connectStart":370,"domainLookupEnd":370,"domainLookupStart":370,"fetchStart":370,"redirectEnd":0,"redirectStart":0,"requestStart":370,"responseEnd":534.8000001907349,"responseStart":534.8000001907349,"secureConnectionStart":370},{"duration":240.7000002861023,"initiatorType":"link","name":"https://issues.oasis-open.org/s/f77fd89aa211a76b20e9b0e63564383c-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/4a9288299d147101bf66484f4be48925/_/download/contextbatch/css/com.atlassian.jira.projects.sidebar.init,-_super,-jira.view.issue,-project.issue.navigator/batch.css?jira.create.linked.issue=true&richediton=true","startTime":399.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":399.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":640.2000002861023,"responseStart":0,"secureConnectionStart":0},{"duration":164.90000009536743,"initiatorType":"script","name":"https://issues.oasis-open.org/s/41525c48ddceeb9b11e54085268fc285-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/4a9288299d147101bf66484f4be48925/_/download/contextbatch/js/com.atlassian.jira.projects.sidebar.init,-_super,-jira.view.issue,-project.issue.navigator/batch.js?jira.create.linked.issue=true&locale=en-US&richediton=true","startTime":399.80000019073486,"connectEnd":399.80000019073486,"connectStart":399.80000019073486,"domainLookupEnd":399.80000019073486,"domainLookupStart":399.80000019073486,"fetchStart":399.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":399.80000019073486,"responseEnd":564.7000002861023,"responseStart":564.7000002861023,"secureConnectionStart":399.80000019073486},{"duration":320.90000009536743,"initiatorType":"script","name":"https://issues.oasis-open.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":409.5,"connectEnd":409.5,"connectStart":409.5,"domainLookupEnd":409.5,"domainLookupStart":409.5,"fetchStart":409.5,"redirectEnd":0,"redirectStart":0,"requestStart":409.5,"responseEnd":730.4000000953674,"responseStart":730.4000000953674,"secureConnectionStart":409.5},{"duration":333.2999997138977,"initiatorType":"script","name":"https://issues.oasis-open.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/nu8zej/803004/aeedb5937bed650f2f0cc4ec9ceaa5d3/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":429.7000002861023,"connectEnd":429.7000002861023,"connectStart":429.7000002861023,"domainLookupEnd":429.7000002861023,"domainLookupStart":429.7000002861023,"fetchStart":429.7000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":429.7000002861023,"responseEnd":763,"responseStart":763,"secureConnectionStart":429.7000002861023},{"duration":82.19999980926514,"initiatorType":"xmlhttprequest","name":"https://issues.oasis-open.org/rest/webResources/1.0/resources","startTime":650.4000000953674,"connectEnd":650.4000000953674,"connectStart":650.4000000953674,"domainLookupEnd":650.4000000953674,"domainLookupStart":650.4000000953674,"fetchStart":650.4000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":650.4000000953674,"responseEnd":732.5999999046326,"responseStart":732.5999999046326,"secureConnectionStart":650.4000000953674}],"threshold":1000,"fetchStart":0,"domainLookupStart":260,"domainLookupEnd":260,"connectStart":260,"connectEnd":309,"secureConnectionStart":284,"requestStart":309,"responseStart":359,"responseEnd":429,"domLoading":363,"domInteractive":895,"domContentLoadedEventStart":896,"domContentLoadedEventEnd":942,"domComplete":1052,"loadEventStart":1052,"loadEventEnd":1054,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[],"measures":[],"correlationId":"30848b3582ef1f","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":90,"dbReadsTimeInMs":14,"dbConnsTimeInMs":17,"applicationHash":"4d4040e0714d65b7fffa4801569d014c0b16eaa9","experiments":[]}}
Using the @ sign as the separator for named stream properties (only) feels odd, because until now we don't differentiate "term casts" in CSDL Path expressions by property type. Accessing a display.hidden annotation on a property would be
Path="PropertyName/display.hidden"
independently of whether the property is primitive or complex or navigation. So
Path="NamedStream/odata.mediaReadLink"
is more consistent than
Path="NamedStream@odata.mediaReadLink"
We COULD consistently switch to the @ sign for all "term casts":
Path="PropertyName@display.hidden"
The examples in
ODATA-108andODATA-109would then be changed to<PropertyValue Property="PhoneNumbers" Path="Phones@vCard.PhoneNumber#work" />
and
<Annotation Term="Display.Caption" Path="@CreativeWorks.Movie/Title"/> (empty prefix means "this", then look for annotation)
<Annotation Term="Display.Caption" Path="@vCard.Contact/Fullname" />
<Property Name="Something" Type="String">
<Annotation Term="Display.Hidden" Path="Something@Core.ReadOnly" />
</Property>
<Property Name="SomethingElse" Type="String">
<Annotation Term="Display.Hidden" Path="Something@Core.ReadOnly" />
</Property>
Thoughts?