specs icon indicating copy to clipboard operation
specs copied to clipboard

Deprecate `default` in `fields[].format`?

Open roll opened this issue 4 months ago • 2 comments

What Data Package version are you using?

v2

Describe the Issue

Historically data types used default format as a dedicated values which seems to be obsolete nowadays as standard pattern is not having format (undefined) -> default behaviour.

The standard still has some usage of default that we can deprecate. To make it backward-compatible we can make it only in the docs level without changing JSON schemas.

Participation

  • [ ] I am willing to submit a pull request for this issue.

roll avatar Sep 17 '25 07:09 roll

Agree. Why keep it in the schemas though? What is the downside of removing it there?

peterdesmet avatar Sep 17 '25 08:09 peterdesmet

Personally, I'm neutral on it. It might be harder to migrate to a new $schema version if we remove them from the profile but not critical I guess

roll avatar Sep 18 '25 07:09 roll