Skip to content

Latest commit

 

History

History
24 lines (19 loc) · 801 Bytes

deprecate.md

File metadata and controls

24 lines (19 loc) · 801 Bytes

Deprecated Property

Clients that support the Collection+JSON media type MAY be able to recognize and parse an OPTIONAL deprecated property on items within the data array to indicate that the item is being removed. The value of the property SHOULD be a boolean value of true or false.

Example

data: [
  {
    "name": "old_name",
    "value": "Robert Tables",
    "prompt": "'old_name' is deprecated and will be removed in a future version, use 'new_name' instead.",
    "deprecated": true
  },{
    "name": "new_name",
    "value": "Robert Tables",
    "prompt": "Name"
  }
]

Discussion

[Extension Proposal] (https://groups.google.com/forum/#!topic/collectionjson/plwrVxn7fw4)