Compare commits

...

2 Commits

Author SHA1 Message Date
45ebc57e0c version: 1.0.129 2026-04-21 11:54:03 -04:00
00319b570b fixed $ validation in schema ids 2026-04-21 11:53:51 -04:00
2 changed files with 3 additions and 3 deletions

View File

@ -12,11 +12,11 @@ impl Schema {
) {
#[cfg(not(test))]
for c in id.chars() {
if !c.is_ascii_lowercase() && !c.is_ascii_digit() && c != '_' && c != '.' {
if !c.is_ascii_lowercase() && !c.is_ascii_digit() && c != '_' && c != '.' && c != '$' {
errors.push(crate::drop::Error {
code: "INVALID_IDENTIFIER".to_string(),
message: format!(
"Invalid character '{}' in JSON Schema '{}' property: '{}'. Identifiers must exclusively contain [a-z0-9_.]",
"Invalid character '{}' in JSON Schema '{}' property: '{}'. Identifiers must exclusively contain [a-z0-9_.$]",
c, field_name, id
),
details: crate::drop::ErrorDetails {

View File

@ -1 +1 @@
1.0.128
1.0.129