You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
eggplants
changed the title
[Feature Request] Add warning markers for properties marked "deprecated": true in JSON
[Feature Request] Warn for properties marked "deprecated": true in JSON Schema
Aug 3, 2023
@aeschli any chance of vscode-json-languageservice getting updated soon? Some of our end users are submitted schemas with draft 2020-22 and we cannot support them.
Context
Description
Related?: #277
deprecated
is introduced in json-schema Draft 2019-09.https://json-schema.org/draft/2019-09/release-notes.html#meta-data-vocabulary
https://json-schema.org/draft/2019-09/json-schema-validation.html#rfc.section.9.3
I would like to warn deprecated properties marked
"deprecated": true
in JSON Schema likeProperty p1 is deprecated.
.Monaco Editor Playground Link
https://microsoft.github.io/monaco-editor/playground.html?source=v0.40.0#XQAAAAI3AwAAAAAAAABBqQkHQ5NjdMjwa-jY7SIQ9S7DNlzs5W-mwj0fe1ZCDRFc9ws9XQE0SJE1jc2VKxhaLFIw9vEWSxW3yscw3Ei00H9ZIu9-Fa32EzPTwY64-taCjCG3AffhHCYo3PV_ek3Ebg3AG4MZPGWACFnHSU7wDjf4MFRe32SXzHsq_-SzuU7of0BTs3KFauxbLfsiljHbMFtJ_atM7bbmCV5YlXRQSDOQuTdJXO9-pVc6PwBccNCSCXTi_9MTKiCqbBklhn5o22xcBujG6hAbkBvFrX0HNRHiW_rhOlSm-CdgNSSrP3jFVKFLJ6q2TtTCCqbvMsBma_1c3L8GRuSBKIKnmAF_W13B8NvHo0MimAFBYs6MzCpZBETT_xCvjNqTM1BaUDMsrcOBbV1-vZtPLaAdOSP1-k8qdQoBnx2j9Q1hcD8qjS6hixAyj92oJTIHXPBXyTSSPMHoqCFpG6Brb2U95v3qom6pCbZ5d0I0KIsEz9EnISh_1_ZUy-WCJ0iWhQnr3Ga4e9uVc1oXq60lLPsTMiTRk-w21DcXOJ4e44tqXv3eR68VzhMd7mKGCZO86Tu5yx94MYoFO15-QTQZBbEVLXH-T6OC2p_n_Pl3rXr3Vf0y4NGk_bN-WonPym52ANcBcmQqduDcMmrzpTa97jK5gogwIXIVeWi4SAgf_7pEVIA
Monaco Editor Playground Code
And I would like to warn:
The text was updated successfully, but these errors were encountered: