{
    "anyOf": [
        {
            "properties": {
                "type": {
                    "enum": [
                        "INSPIRE ID"
                    ],
                    "type": "string"
                },
                "value": {
                    "pattern": "INSPIRE-\\d{8}",
                    "type": "string"
                }
            },
            "type": "object"
        },
        {
            "properties": {
                "type": {
                    "enum": [
                        "INSPIRE BAI"
                    ],
                    "type": "string"
                },
                "value": {
                    "pattern": "(\\w+\\.)+\\d+",
                    "type": "string"
                }
            },
            "type": "object"
        },
        {
            "properties": {
                "type": {
                    "enum": [
                        "ORCID"
                    ],
                    "type": "string"
                },
                "value": {
                    "pattern": "\\d{4}-\\d{4}-\\d{4}-\\d{3}[0-9Xx]",
                    "type": "string"
                }
            },
            "type": "object"
        },
        {
            "properties": {
                "type": {
                    "enum": [
                        "JACOW"
                    ],
                    "type": "string"
                },
                "value": {
                    "pattern": "JACoW-\\d{8}",
                    "type": "string"
                }
            },
            "type": "object"
        },
        {
            "properties": {
                "type": {
                    "enum": [
                        "KAKEN"
                    ],
                    "type": "string"
                },
                "value": {
                    "pattern": "KAKEN-\\d{8}",
                    "type": "string"
                }
            },
            "type": "object"
        },
        {
            "properties": {
                "type": {
                    "enum": [
                        "ARXIV"
                    ],
                    "type": "string"
                },
                "value": {
                    "pattern": "\\w+_(\\w_)?\\d+",
                    "type": "string"
                }
            },
            "type": "object"
        },
        {
            "properties": {
                "type": {
                    "enum": [
                        "CERN"
                    ],
                    "type": "string"
                },
                "value": {
                    "pattern": "CERN-\\d+",
                    "type": "string"
                }
            }
        },
        {
            "properties": {
                "type": {
                    "enum": [
                        "DESY"
                    ],
                    "type": "string"
                },
                "value": {
                    "pattern": "DESY-\\d+",
                    "type": "string"
                }
            }
        },
        {
            "properties": {
                "type": {
                    "enum": [
                        "GOOGLESCHOLAR"
                    ]
                },
                "value": {
                    "pattern": "(\\w|-){12}",
                    "type": "string"
                }
            }
        },
        {
            "properties": {
                "type": {
                    "enum": [
                        "VIAF"
                    ]
                },
                "value": {
                    "pattern": "\\d{7,9}",
                    "type": "string"
                }
            }
        },
        {
            "properties": {
                "type": {
                    "enum": [
                        "RESEARCHERID"
                    ]
                },
                "value": {
                    "pattern": "[A-z]-\\d{4}-\\d{4}",
                    "type": "string"
                }
            }
        },
        {
            "properties": {
                "type": {
                    "enum": [
                        "SCOPUS"
                    ]
                },
                "value": {
                    "pattern": "\\d{10,11}",
                    "type": "string"
                }
            }
        },
        {
            "properties": {
                "type": {
                    "enum": [
                        "WIKIPEDIA"
                    ],
                    "type": "string"
                },
                "value": {
                    "pattern": "\\w+",
                    "type": "string"
                }
            }
        },
        {
            "properties": {
                "type": {
                    "enum": [
                        "SLAC"
                    ],
                    "type": "string"
                },
                "value": {
                    "pattern": "SLAC-\\d+",
                    "type": "string"
                }
            }
        }
    ],
    "required": [
        "type",
        "value"
    ]
}