PDF layouts: Allow negative numbers in JSON schema

This commit is contained in:
Raphael Michel
2023-07-26 15:40:08 +02:00
parent 1733c383b3
commit 071a3e2c9b

View File

@@ -31,7 +31,7 @@
}, },
{ {
"type": "string", "type": "string",
"pattern": "^[0-9]+(\\.[0-9]+)?$" "pattern": "^-?[0-9]+(\\.[0-9]+)?$"
} }
] ]
}, },
@@ -43,7 +43,7 @@
}, },
{ {
"type": "string", "type": "string",
"pattern": "^[0-9]+(\\.[0-9]+)?$" "pattern": "^-?[0-9]+(\\.[0-9]+)?$"
} }
] ]
}, },
@@ -73,7 +73,7 @@
}, },
{ {
"type": "string", "type": "string",
"pattern": "^[0-9]+(\\.[0-9]+)?$" "pattern": "^-?[0-9]+(\\.[0-9]+)?$"
} }
] ]
}, },
@@ -110,7 +110,7 @@
}, },
{ {
"type": "string", "type": "string",
"pattern": "^[0-9]+(\\.[0-9]+)?$" "pattern": "^-?[0-9]+(\\.[0-9]+)?$"
} }
] ]
}, },
@@ -122,7 +122,7 @@
}, },
{ {
"type": "string", "type": "string",
"pattern": "^[0-9]+(\\.[0-9]+)?$" "pattern": "^-?[0-9]+(\\.[0-9]+)?$"
} }
] ]
}, },
@@ -138,7 +138,7 @@
}, },
{ {
"type": "string", "type": "string",
"pattern": "^[0-9]+(\\.[0-9]+)?$" "pattern": "^-?[0-9]+(\\.[0-9]+)?$"
} }
] ]
}, },
@@ -150,7 +150,7 @@
}, },
{ {
"type": "string", "type": "string",
"pattern": "^[0-9]+(\\.[0-9]+)?$" "pattern": "^-?[0-9]+(\\.[0-9]+)?$"
} }
] ]
} }
@@ -188,7 +188,7 @@
}, },
{ {
"type": "string", "type": "string",
"pattern": "^[0-9]+(\\.[0-9]+)?$" "pattern": "^-?[0-9]+(\\.[0-9]+)?$"
} }
] ]
}, },
@@ -200,7 +200,7 @@
}, },
{ {
"type": "string", "type": "string",
"pattern": "^[0-9]+(\\.[0-9]+)?$" "pattern": "^-?[0-9]+(\\.[0-9]+)?$"
} }
] ]
}, },
@@ -212,7 +212,7 @@
}, },
{ {
"type": "string", "type": "string",
"pattern": "^[0-9]+(\\.[0-9]+)?$" "pattern": "^-?[0-9]+(\\.[0-9]+)?$"
} }
] ]
}, },
@@ -247,7 +247,7 @@
}, },
{ {
"type": "string", "type": "string",
"pattern": "^[0-9]+(\\.[0-9]+)?$" "pattern": "^-?[0-9]+(\\.[0-9]+)?$"
} }
] ]
}, },
@@ -259,7 +259,7 @@
}, },
{ {
"type": "string", "type": "string",
"pattern": "^[0-9]+(\\.[0-9]+)?$" "pattern": "^-?[0-9]+(\\.[0-9]+)?$"
} }
] ]
}, },
@@ -307,7 +307,7 @@
}, },
{ {
"type": "string", "type": "string",
"pattern": "^[0-9]+(\\.[0-9]+)?$" "pattern": "^-?[0-9]+(\\.[0-9]+)?$"
} }
] ]
} }
@@ -339,7 +339,7 @@
}, },
{ {
"type": "string", "type": "string",
"pattern": "^[0-9]+(\\.[0-9]+)?$" "pattern": "^-?[0-9]+(\\.[0-9]+)?$"
} }
] ]
}, },
@@ -351,7 +351,7 @@
}, },
{ {
"type": "string", "type": "string",
"pattern": "^[0-9]+(\\.[0-9]+)?$" "pattern": "^-?[0-9]+(\\.[0-9]+)?$"
} }
] ]
}, },
@@ -371,7 +371,7 @@
}, },
{ {
"type": "string", "type": "string",
"pattern": "^[0-9]+(\\.[0-9]+)?$" "pattern": "^-?[0-9]+(\\.[0-9]+)?$"
} }
] ]
} }