Skip to content

How to define my own custom meta-Schema (draft-7 version) ? #1007

@mmorel-35

Description

@mmorel-35

Hello,

I'm working an a application where many schema will be submitted so I need to validate them. And I'd like add some extra validations on the initial draft 7 schema.
For example :
I would like that :

  • the "$schema" field to be mandatory.
  • every property simple property (not type object) had an examples field
  • every property property had a description field
  • every "Datetime$" property be a { "type" : "string" , "format" : "date-time"}

Can you give me any advice on how to achieve that?
Thank you !

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions