OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

odata message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: [OASIS Issue Tracker] (ODATA-1597) Allow to create annotations in CSDL with a less verbose format to increase adoption


Christof Sprenger created ODATA-1597:
----------------------------------------

             Summary: Allow to create annotations in CSDL with a less verbose format to increase adoption
                 Key: ODATA-1597
                 URL: https://issues.oasis-open.org/browse/ODATA-1597
             Project: OASIS Open Data Protocol (OData) TC
          Issue Type: Improvement
          Components: CSDL XML
    Affects Versions: V4.01_OS
         Environment: CSDL XML annotations can be quite verbose. E.g.Â

{{}}
<Annotation Term="Org.OData.Core.V1.Revisions">
  <Collection>
    <Record>
      <PropertyValue Property="Date" Date="2023-03-02" />
      <PropertyValue Property="Version" String="2023-03/PrivatePreview:analytics" />
      <PropertyValue Property="Kind" EnumMember="Org.OData.Core.V1.RevisionKind/Deprecated" />
      <PropertyValue Property="Description" String="Private preview for Analytics APIs" />
      <PropertyValue Property="RemovalDate" Date="2023-12-30" />
    </Record>
  </Collection>
</Annotation>

But Annotation can also be expressed in a much cleaner, more readable and less verbose form in JSON.
Proposal is to allow that notation as CData in XML


<Annotation Term="Org.OData.Core.V1.Revisions">
  <![CDATA[
    [
      {
        "Date": "2023-03-02",
        "Version":"2023-03/PrivatePreview:analytics",
        "Kind": Â"Org.OData.Core.V1.RevisionKind/Deprecated",
        "Description": Â"Private preview for Analytics APIs",
        "RemovalDate": Â"2023-12-30",
      }
    ]
  ]]>
</Annotation>
{{}}{{}}

{{}}



Â

Â
            Reporter: Christof Sprenger






--
This message was sent by Atlassian Jira
(v8.3.3#803004)


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]