Giter Site home page Giter Site logo

draft-stepanek-jscontact's People

Contributors

mario-loffredo avatar rsto avatar

Watchers

 avatar  avatar

draft-stepanek-jscontact's Issues

Array-typed members identified by a singular noun

The specification contains some array-typed members identified by a plural noun (e.g. addresses, anniversaries, notes) while some others are identified by a singular noun (e.g. jobTitle, role, organization).

Should we change the "name" member to optional ?

After the entry into force of GDPR, sensitive information like name can be subject to a redaction process. In some contexts, a placeholder value (i.e. "REDACTED FOR PRIVACY") is used to show that information exists but can't be published. It might make sense to change the "name" member from mandatory to optional.

timeZone as UTC offset

Should we allow the representation of a time zone as an UTC offset to facilitate the automatic conversion from vCard/jCard ?

Default boolean values

Since the type of isPreferred properties is Boolean, the default value should be false instead of "false".

JSPROP definition does not allow patching arrays

There is an inconsistency between the JSPROP definition in the JSContact/vCard conversion document and the definition of the PatchObject in the JSContact spec. The JSPROP definition states:

The pointer MUST NOT reference into an array.

but the PatchObject allows patching existing array members. We had to allow patching array members to make localizing name and address components efficient, as well as better supporting phonetics in these properties.

We should consider removing this restriction from JSPROP in a future update of the spec.

Correction of some typos

Some typos must be corrected:

  • change "jobTitle[ ]: String" into "jobTitle: String[ ]"
  • change "role[ ]: String" into "role: String[ ]"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.