Skip to content
This repository has been archived by the owner on Feb 25, 2019. It is now read-only.

Implement custom format extension regexps (or move to own repo?) #24

Open
7 tasks
dmitrizagidulin opened this issue Jun 15, 2017 · 1 comment
Open
7 tasks

Comments

@dmitrizagidulin
Copy link
Member

Implement the custom format extensions used in the schemas:

  • StringOrURI
  • NumericDate
  • URI
  • url
  • base64
  • base64url
  • MediaType

Better yet, I think they should be moved upstream to json-document and defined there (since they're likely to be very useful outside of jose).

Also, relace usages of BASE64_REGEXP with base64url.

@dmitrizagidulin dmitrizagidulin changed the title Implement custom format extension regexps (or move to json-document?) Implement custom format extension regexps (or move to own repo?) Jun 15, 2017
@christiansmith
Copy link
Member

I think most of them need to stay here. We should only implement the ones in JSON Schema that are defined there.

Also, now that we have npm orgs for open source, will probably break json-document up into several packages like we're doing with jose. That package is due for some major attention in the near future, probably right after we wrap up other commitments for 9/30.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants