Proyectos de Subversion Moodle

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1 efrain 1
{
2
    "$schema": "https://json-schema.org/draft/2020-12/schema",
3
    "$id": "https://moodle.org/apis.schema.json",
4
    "title": "Standard Plugins",
5
    "description": "Moodle standard and removed plugins",
6
    "type": "object",
7
    "properties": {
8
        "standard": {
9
            "description": "The list of plugins installed with a standard Moodle install",
10
            "$ref": "#/$defs/plugintypes"
11
        },
12
        "deleted": {
13
            "description": "The list of plugins that were previously inlcuded as standard with a Moodle install",
14
            "$ref": "#/$defs/plugintypes"
15
        }
16
    },
17
    "required": [
18
        "standard",
19
        "deleted"
20
    ],
21
    "$defs": {
22
        "plugintypes": {
23
            "description": "A list of Moodle plugin types",
24
            "type": "object",
25
            "patternProperties": {
26
                "^[a-z][a-z0-9]*$": {
27
                    "$ref": "#/$defs/plugintype"
28
                }
29
            }
30
        },
31
        "plugintype": {
32
            "description": "A list of Moodle plugins in a plugin type",
33
            "type": "array",
34
            "items": {
35
                "$ref": "#/$defs/pluginname"
36
            }
37
        },
38
        "pluginname": {
39
            "type": "string",
40
            "pattern": "^([a-z][a-z0-9_]*)?[a-z0-9]+$"
41
        }
42
    }
43
}