39 lines
1.1 KiB
JSON
39 lines
1.1 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema",
|
|
"$id": "http://pypa.io/editables.json",
|
|
"type": "object",
|
|
"title": "Virtual wheel editable schema.",
|
|
"required": ["version", "scheme"],
|
|
"properties": {
|
|
"version": {
|
|
"$id": "#/properties/version",
|
|
"type": "integer",
|
|
"minimum": 1,
|
|
"maximum": 1,
|
|
"title": "The version of the schema."
|
|
},
|
|
"scheme": {
|
|
"$id": "#/properties/scheme",
|
|
"type": "object",
|
|
"title": "Files to expose.",
|
|
"required": ["purelib", "platlib", "data", "headers", "scripts"],
|
|
"properties": {
|
|
"purelib": { "$ref": "#/$defs/mapping" },
|
|
"platlib": { "$ref": "#/$defs/mapping" },
|
|
"data": { "$ref": "#/$defs/mapping" },
|
|
"headers": { "$ref": "#/$defs/mapping" },
|
|
"scripts": { "$ref": "#/$defs/mapping" }
|
|
},
|
|
"additionalProperties": true
|
|
}
|
|
},
|
|
"additionalProperties": true,
|
|
"$defs": {
|
|
"mapping": {
|
|
"type": "object",
|
|
"description": "A mapping of source to target paths. The source is absolute path, the destination is relative path.",
|
|
"additionalProperties": true
|
|
}
|
|
}
|
|
}
|