⚠️ This schema has been marked as deprecated.
Draft 2019-09 - Deprecated Example
A schema demonstrating use of deprecated
$id | https://example.com/deprecated.schema.json |
$schema | https://json-schema.org/draft/2019-09/schema |
Properties
Example
{
"firstName": "Neil",
"lastName": "Williams"
}
firstName
Title |
First Name |
Description |
A persons first name |
Type | String |
Required |
No |
lastName
Deprecated |
true |
Title |
Last Name |
Description |
A persons last name |
Type | String |
Required |
No |
Schema
{
"$id": "https://example.com/deprecated.schema.json",
"$schema": "https://json-schema.org/draft/2019-09/schema",
"title": "Draft 2019-09 - Deprecated Example",
"description": "A schema demonstrating use of deprecated",
"examples": [
{
"firstName": "Neil",
"lastName": "Williams"
}
],
"deprecated": true,
"type": "object",
"properties": {
"firstName": {
"deprecated": false,
"type": "string",
"title": "First Name",
"description": "A persons first name"
},
"lastName": {
"deprecated": true,
"type": "string",
"title": "Last Name",
"description": "A persons last name"
}
}
}