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": {
"description": "Name and version of the program that produced this file.",
"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": {
"description": "The name of the distribution.",
@ -239,6 +239,9 @@
},
"document_name": {
"type": "string"
},
"extra_name" : {
"type": "string"
}
}
}