[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: [OASIS Issue Tracker] (ODATA-1031) Define term for links to related information
[ https://issues.oasis-open.org/browse/ODATA-1031?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Pizzo updated ODATA-1031: --------------------------------- Proposal: Define new Core term: <Term Name="Links" Type="Collection(Core.Link)"> <Annotation Term="Core.Description" String="Link to related information" /> <Annotation Term="Core.LongDescription" String="The Link term is inspired by the `atom:Link` element, see [RFC4287](https://tools.ietf.org/html/rfc4287#section-4.2.7) and the `Link` HTTP header, see [RFC5988](https://tools.ietf.org/html/rfc5988)" /> </Term> <ComplexType Name="Link"> <Property Name="rel" Type="Edm.String" Nullable="false"> <Annotation Term="Core.Description" String="Link relation type, see [IANA Link Relations](http://www.iana.org/assignments/link-relations/link-relations.xhtml)" /> </Property> <Property Name="href" Type="Edm.String" Nullable="false"> <Annotation Term="Core.IsURL" /> <Annotation Term="Core.Description" String="URL of related information" /> </Property> </ComplexType> <!-- Example --> <Annotation Term="Core.Links"> <Collection> <Record> <PropertyValue Property="rel" String="latest-version" /> <PropertyValue Property="href" String="https://oasis-tcs.github.io/odata-vocabularies/vocabularies/Org.OData.Core.V1.xml" /> </Record> </Collection> </Annotation> was: Define new Core term: <Term Name="Link" Type="Core.LinkType"> <Annotation Term="Core.Description" String="Link to related information" /> <Annotation Term="Core.LongDescription" String="The Link term is inspired by the `atom:Link` element, see [RFC4287](https://tools.ietf.org/html/rfc4287#section-4.2.7) and the `Link` HTTP header, see [RFC5988](https://tools.ietf.org/html/rfc5988)" /> </Term> <ComplexType Name="LinkType"> <Property Name="rel" Type="Edm.String" Nullable="false"> <Annotation Term="Core.Description" String="Link relation type, see [IANA Link Relations](http://www.iana.org/assignments/link-relations/link-relations.xhtml)" /> </Property> <Property Name="href" Type="Edm.String" Nullable="false"> <Annotation Term="Core.IsURL" /> <Annotation Term="Core.Description" String="URL of related information" /> </Property> </ComplexType> <!-- Example --> <Annotation Term="Core.Link"> <Record> <PropertyValue Property="rel" String="latest-version" /> <PropertyValue Property="href" String="https://oasis-tcs.github.io/odata-vocabularies/vocabularies/Org.OData.Core.V1.xml" /> </Record> </Annotation> > Define term for links to related information > -------------------------------------------- > > Key: ODATA-1031 > URL: https://issues.oasis-open.org/browse/ODATA-1031 > Project: OASIS Open Data Protocol (OData) TC > Issue Type: Improvement > Components: Vocabularies > Affects Versions: V4.0_CSD01 > Environment: Proposed > Reporter: Ralf Handl > Fix For: V4.0_CSD02 > > > Define term for links to related information, e.g. "latest-version" or similar. > Sources of inspiration: the <atom:link> element and the Link HTTP header. -- This message was sent by Atlassian JIRA (v6.2.2#6258)
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]