{
    "id": "http://schemas.wbeme.com/json-schema/eme/solicits/edge/submissions/1-0-0.json#",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "type": "object",
    "properties": {
        "_schema": {
            "type": "string",
            "pattern": "^pbj:([a-z0-9-]+):([a-z0-9\\.-]+):([a-z0-9-]+)?:([a-z0-9-]+):([0-9]+-[0-9]+-[0-9]+)$",
            "default": "pbj:eme:solicits:edge:submissions:1-0-0"
        },
        "from_ref": {
            "type": "string",
            "pattern": "^[\\w\\/\\.:-]+$",
            "pbj": {
                "type": "identifier",
                "rule": "single"
            }
        },
        "to_ref": {
            "type": "string",
            "pattern": "^[\\w\\/\\.:-]+$",
            "pbj": {
                "type": "identifier",
                "rule": "single"
            }
        },
        "multiplicity": {
            "type": "string",
            "default": "one2many",
            "enum": [
                "unknown",
                "multi",
                "simple",
                "many2one",
                "one2many",
                "one2one"
            ],
            "pbj": {
                "type": "string-enum",
                "rule": "single"
            }
        },
        "created_at": {
            "type": "string",
            "pattern": "^[1-9]{1}[0-9]{12,15}$",
            "pbj": {
                "type": "microtime",
                "rule": "single"
            }
        }
    },
    "required": [
        "_schema",
        "from_ref",
        "to_ref"
    ],
    "additionalProperties": false
}