Deprecated Fields

The standard JSON Schema deprecated keyword is supported. When a field's schema has deprecated: true, Jedison adds a jedi-deprecated class to that field's container element.

Styling deprecated fields

Jedison applies no default styling or behavior beyond the class itself — no badge, no automatic hiding — so you decide what fits your UI. The demo below targets .jedi-deprecated directly with CSS to gray the field out and badge its label; edit the code to try your own treatment.

Example

{
  "type": "object",
  "title": "Person",
  "properties": {
    "legacyId": {
      "type": "string",
      "title": "Legacy ID",
      "deprecated": true
    },
    "id": {
      "type": "string",
      "title": "ID"
    }
  }
}