frictionlessdata / tableschema-js

A JavaScript library for working with Table Schema.
http://frictionlessdata.io/
MIT License
82 stars 27 forks source link

Type URI now requires protocol scheme. #141

Closed AcckiyGerman closed 6 years ago

AcckiyGerman commented 6 years ago

This fix makes URI type consistent in JS & PY versions of tableschema. Here https://github.com/frictionlessdata/tableschema-py/blob/7de2c803bbb0ee034c2f376be26466c8b956ae48/tableschema/types/string.py#L48 tableschema-py requires protocol to be presented in URI type, same will be required in JS version from now.

Infer() method will treat value 8.8.8.8 as a String with type Default Validator changed its behavior accordingly.

Fix issues: frictionlessdata/tableschema-js#135 frictionlessdata/tableschema-py#204 datahq/pm#126 datahq/datahub-qa#121