PEP 426: update json schema

This commit is contained in:
Daniel Holth 2013-07-19 12:03:16 -04:00
parent ccc67db90d
commit a974225ea3
1 changed files with 4 additions and 1 deletions

View File

@ -12,7 +12,7 @@
"generator": { "generator": {
"description": "Name and version of the program that produced this file.", "description": "Name and version of the program that produced this file.",
"type": "string", "type": "string",
"pattern": "^[0-9A-Za-z]([0-9A-Za-z_.-]*[0-9A-Za-z])( \\((\\d+(\\.\\d+)*)((a|b|c|rc)(\\d+))?(\\.(post)(\\d+))?(\\.(dev)(\\d+))\\))?$" "pattern": "^[0-9A-Za-z]([0-9A-Za-z_.-]*[0-9A-Za-z])( \\(.*\\))?$"
}, },
"name": { "name": {
"description": "The name of the distribution.", "description": "The name of the distribution.",
@ -239,6 +239,9 @@
}, },
"document_name": { "document_name": {
"type": "string" "type": "string"
},
"extra_name" : {
"type": "string"
} }
} }
} }