Uploaded image for project: 'OASIS Open Data Protocol (OData) TC'
  1. OASIS Open Data Protocol (OData) TC
  2. ODATA-95

ValueTerms should support a default value

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: V4.0_WD01
    • Fix Version/s: V4.0_WD01
    • Component/s: CSDL XML
    • Labels:
      None

      Description

      ValueTerms, like properties, should support declaring a default value. Among other things, this enables a value term to be specified without a value in order to "tag" a property (for example:

      Definition:
      <ValueTerm Name="IsUrl" Type="Boolean" Default="True"/>

      Application:
      <Property Name="Image" Type="String">
      <ValueAnnotation Term="CommonAnnotations.IsUrl" />
      </Property>

        Attachments

          Activity

            People

            • Assignee:
              handl Ralf Handl
              Reporter:
              mikep Michael Pizzo
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: