Skip to content
This repository was archived by the owner on Nov 2, 2023. It is now read-only.

Commit a8d7d9f

Browse files
Update to Draft v4
The `card` schema was not in Draft v4 format, so I updated it. 2 changes was done: 1.Updated $schema property pointing to v4 draft URI 2.Added root level required property
1 parent c6e9565 commit a8d7d9f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

card

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
{
2-
"$schema": "http://json-schema.org/draft-03/schema#",
2+
"$schema": "http://json-schema.org/draft-04/schema#",
33
"description": "A representation of a person, company, organization, or place",
44
"type": "object",
5+
"required": ["familyName", "givenName"],
56
"properties": {
67
"fn": {
78
"description": "Formatted Name",
89
"type": "string"
910
},
10-
"familyName": { "type": "string", "required": true },
11-
"givenName": { "type": "string", "required": true },
11+
"familyName": { "type": "string" },
12+
"givenName": { "type": "string" },
1213
"additionalName": { "type": "array", "items": { "type": "string" } },
1314
"honorificPrefix": { "type": "array", "items": { "type": "string" } },
1415
"honorificSuffix": { "type": "array", "items": { "type": "string" } },

0 commit comments

Comments
 (0)