Newer
Older
dmpopidor / config / schemas / main / DataOrganization-schema.json
@Quentin Sonrel Quentin Sonrel on 8 Jul 2020 744 bytes Added schemas
{
    "$schema": "http://json-schema.org/draft-07/schema#",
    "$id": "../Documentation/Implementation/data_model/JSON/",
    "title": "Data organization",
    "description": "Schema to describe data organization issues",
    "type": "object",
    "properties": {
        "title": {
            "label": "Title",
            "type": "string",
            "pattern": "(.)*((@en)|(@fr))"
        },
        "description": {
            "label": "Description",
            "type": "string",
            "pattern": "(.)*((@en)|(@fr))"
        },
        "documentUrl": {
            "label": "Document URL",
            "type": "string",
            "format": "uri"
        }
    },
    "required": [
        "title",
        "description"
    ]
}