Skip to content

Feature request: full-date format #106

@outer-circle

Description

@outer-circle

I just started to experiment with this great library - thanks! - I created PHP classes from an existing JSON schema. The schema contains

"birthDate": {
"type": "string",
"format": "full-date",
"description": "JJJJ-MM-TT"
}

but there is no validation of this format in the php-json-schema library.
I am aware of the fact that as of present the format "full-date" is the same as "date". But "full-date" is included in the Schema draft V7:

https://tools.ietf.org/html/draft-handrews-json-schema-validation-01

It would be great if you could add this format option to the Format::class.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions