{"$schema":"http://json-schema.org/draft-07/schema#","type":"object","properties":{"$schema":{"type":"string"},"cards":{"type":"array","items":{"type":"object","properties":{"data":{"type":"object","additionalProperties":false,"properties":{"design":{"type":"object","properties":{"color":{"type":"string","description":"The card's main color","markdownDescription":"The card's main color"},"roundedCorners":{"type":"boolean","description":"If the card should have rounded corners","markdownDescription":"If the card should have rounded corners"},"qrcodeFirst":{"type":"boolean","description":"If the QR code should be displayed above the rest","markdownDescription":"If the QR code should be displayed above the rest"},"logo":{"type":"string","description":"A logo to display in the center of the QR code. Should be a `data:` URI containering a square image. Note that smaller images generally work better with MDM.","markdownDescription":"A logo to display in the center of the QR code. Should be a `data:` URI containering a square image.\nNote that smaller images generally work better with MDM.","pattern":"^data:image/.+"}},"additionalProperties":false,"description":"Options to customize how a card looks like","markdownDescription":"Options to customize how a card looks like"},"tel":{"type":"array","items":{"type":"object","properties":{"type":{"type":"array","items":{"type":"string"}},"value":{"type":"string","description":"The actual number","markdownDescription":"The actual number"}},"required":["value"],"additionalProperties":false,"description":"A telephone number","markdownDescription":"A telephone number","defaultSnippets":[{"label":"mobile","body":{"type":["CELL","VOICE"],"value":"$1"}},{"label":"home","body":{"type":["HOME","VOICE"],"value":"$1"}},{"label":"work","body":{"type":["WORK","VOICE"],"value":"$1"}},{"label":"home fax","body":{"type":["HOME","FAX"],"value":"$1"}},{"label":"work fax","body":{"type":["WORK","FAX"],"value":"$1"}},{"label":"other fax","body":{"type":["OTHER","FAX"],"value":"$1"}},{"label":"pager","body":{"type":["PAGER"],"value":"$1"}},{"label":"other","body":{"type":["OTHER","VOICE"],"value":"$1"}}]},"description":"The telephone numbers to use","markdownDescription":"The telephone numbers to use","defaultSnippets":[{"label":"add a mobile phone number","body":[{"type":["CELL","VOICE"],"value":"$1"}]}]},"email":{"type":"array","items":{"type":"object","properties":{"type":{"type":"array","items":{"type":"string"},"description":"Can include:  - `\"INTERNET\"` to indicate an Internet addressing type,  - `\"X400\"` to indicate a X.400 addressing type or  - `\"PREF\"` to indicate a preferred-use email address when more than one is specified.\n\nAnother IANA registered address type can also be specified. The default email type is \"internet\". A non-standard value can also be specified.","markdownDescription":"Can include:\n - `\"INTERNET\"` to indicate an Internet addressing type,\n - `\"X400\"` to indicate a X.400 addressing type or\n - `\"PREF\"` to indicate a preferred-use email address when more than one is specified.\n\nAnother IANA registered address type can also be specified. The default email type is \"internet\". A non-standard value can also be specified.","default":["INTERNET"]},"value":{"type":"string"}},"required":["value"],"additionalProperties":false,"defaultSnippets":[{"label":"an email address","body":{"value":"${1:name}@${2:domain.com}"}}]},"description":"The email addresses to use","markdownDescription":"The email addresses to use","defaultSnippets":[{"label":"add an email address","body":[{"value":"${1:name}@${2:domain.com}"}]}]},"note":{"type":"string","description":"Specify supplemental information or a comment that is associated with the vCard.","markdownDescription":"Specify supplemental information or a comment that is associated with the vCard."},"prodId":{"type":"string","description":"Specify the identifier for the product that created the vCard object","markdownDescription":"Specify the identifier for the product that created the vCard object"},"url":{"type":"array","items":{"type":"string"},"description":"The URLs to use","markdownDescription":"The URLs to use","defaultSnippets":[{"label":"add a URL","body":["https://${1:qrcardapp.com}"]}]},"title":{"type":"string","description":"The job title, functional position or function of the object the vCard represents.","markdownDescription":"The job title, functional position or function of the object the vCard represents."},"role":{"type":"string","description":"Information concerning the role, occupation, or business category of the object the vCard represents.","markdownDescription":"Information concerning the role, occupation, or business category of the object the vCard represents."},"org":{"type":"object","properties":{"name":{"type":"string","description":"The name of the organization.","markdownDescription":"The name of the organization."},"unit":{"type":"array","items":{"type":"string"},"description":"The unit within the organization.","markdownDescription":"The unit within the organization."}},"required":["name"],"additionalProperties":false,"description":"The organizational name and units associated with the vCard.","markdownDescription":"The organizational name and units associated with the vCard."},"adr":{"type":"array","items":{"type":"object","properties":{"type":{"type":"array","items":{"type":"string","enum":["DOM","INTL","POSTAL","PARCEL","HOME","WORK","PREF"],"description":"The TYPE parameter values can include \"dom\" to indicate a domestic delivery address; \"intl\" to indicate an international delivery address; \"postal\" to indicate a postal delivery address; \"parcel\" to indicate a parcel delivery address; \"home\" to indicate a delivery address for a residence; \"work\" to indicate delivery address for a place of work; and \"pref\" to indicate the preferred delivery address when more than one address is specified.","markdownDescription":"The TYPE parameter values can include \"dom\" to\nindicate a domestic delivery address; \"intl\" to indicate an\ninternational delivery address; \"postal\" to indicate a postal\ndelivery address; \"parcel\" to indicate a parcel delivery address;\n\"home\" to indicate a delivery address for a residence; \"work\" to\nindicate delivery address for a place of work; and \"pref\" to indicate\nthe preferred delivery address when more than one address is\nspecified."}},"postOfficeBox":{"type":"string","description":"post office box;","markdownDescription":"post office box;"},"extendedAddress":{"type":"string","description":"extended address;","markdownDescription":"extended address;"},"streetAddress":{"type":"string","description":"street address;","markdownDescription":"street address;"},"locality":{"type":"string","description":"locality (e.g., city)","markdownDescription":"locality (e.g., city)"},"region":{"type":"string","description":"region (e.g., state or province)","markdownDescription":"region (e.g., state or province)"},"postalCode":{"type":"string","description":"postal code","markdownDescription":"postal code"},"countryName":{"type":"string","description":"country name","markdownDescription":"country name"}},"additionalProperties":false}},"familyName":{"type":"string","description":"Family Name, e.g. `\"Stevenson\"`","markdownDescription":"Family Name, e.g. `\"Stevenson\"`"},"givenName":{"type":"string","description":"Given Name, e.g. `\"John\"`","markdownDescription":"Given Name, e.g. `\"John\"`"},"additionalNames":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"description":"Additional Names, e.g. `[\"Philip\", \"Paul\"]`","markdownDescription":"Additional Names, e.g. `[\"Philip\", \"Paul\"]`"},"honorificPrefixes":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"description":"Honorific Prefixes","markdownDescription":"Honorific Prefixes"},"honorificSuffixes":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"description":"Honorific Suffixes, e.g. `MD`","markdownDescription":"Honorific Suffixes, e.g. `MD`"},"fullName":{"type":"string","description":"The full name, composed of other name properties if omitted","markdownDescription":"The full name, composed of other name properties if omitted"},"nicknames":{"anyOf":[{"type":"string"},{"type":"array","items":{"type":"string"}}],"description":"Nickname(s)","markdownDescription":"Nickname(s)"},"bday":{"type":"string","format":"iso-date","description":"Birthday","markdownDescription":"Birthday"}}},"settings":{"type":"object","properties":{"editable":{"type":"boolean","description":"If a user is allowed to change the managed card.","markdownDescription":"If a user is allowed to change the managed card.","default":true},"contact":{"type":"object","properties":{"email":{"type":"string","description":"An admin email address","markdownDescription":"An admin email address","format":"email"}},"required":["email"],"additionalProperties":false,"description":"Admin contact data, used to get in touch with an MDM administrator.","markdownDescription":"Admin contact data, used to get in touch with an MDM administrator.","defaultSnippets":[{"body":{"email":"$1"}}]}},"additionalProperties":false,"defaultSnippets":[{"label":"Card MDM Settings","description":"Some basic settings","body":{"editable":true}}],"description":"MDM settings for this specific card - overrides the top-level settings.","markdownDescription":"MDM settings for this specific card - overrides the top-level settings."}},"required":["data"],"additionalProperties":false,"defaultSnippets":[{"label":"New card","description":"Adds a new card","body":{"data":{"familyName":"$1","givenName":"$2"}}}]},"description":"The cards to manage","markdownDescription":"The cards to manage","defaultSnippets":[{"body":[{"data":{"givenName":"$1","familyName":"$2"}}]}]},"settings":{"type":"object","properties":{"editable":{"type":"boolean","description":"If a user is allowed to change the managed card.","markdownDescription":"If a user is allowed to change the managed card.","default":true},"contact":{"type":"object","properties":{"email":{"type":"string","description":"An admin email address","markdownDescription":"An admin email address","format":"email"}},"required":["email"],"additionalProperties":false,"description":"Admin contact data, used to get in touch with an MDM administrator.","markdownDescription":"Admin contact data, used to get in touch with an MDM administrator.","defaultSnippets":[{"body":{"email":"$1"}}]}},"additionalProperties":false,"defaultSnippets":[{"label":"Card MDM Settings","description":"Some basic settings","body":{"editable":true}}],"description":"Default settings to use for all managed cards. Can be overridden by the *settings* property of an individual card.","markdownDescription":"Default settings to use for all managed cards. Can be overridden by the *settings* property\nof an individual card."}},"required":["$schema","cards"],"additionalProperties":false,"description":"A QRcard MDM configuration","markdownDescription":"A QRcard MDM configuration","defaultSnippets":[{"label":"Card configuration","description":"Add a basic card configuration","body":{"cards":[{"data":{"givenName":"$1","familyName":"$2"}}],"settings":{"editable":true}}}],"definitions":{}}