File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2323 // --------------------------------------------------------------
2424 // Build
2525 // --------------------------------------------------------------
26- "tasksmith" : " https://raw.githubusercontent.com/sinclairzx81/tasksmith/0.9.11 /src/index.ts" ,
27- "parsebox" : " https://raw.githubusercontent.com/sinclairzx81/parsebox/0.11.3 /src/index.ts" ,
26+ "tasksmith" : " https://raw.githubusercontent.com/sinclairzx81/tasksmith/0.9.12 /src/index.ts" ,
27+ "parsebox" : " https://raw.githubusercontent.com/sinclairzx81/parsebox/0.11.4 /src/index.ts" ,
2828 // --------------------------------------------------------------
2929 // Test
3030 // --------------------------------------------------------------
Original file line number Diff line number Diff line change 19521952 "valid" : false
19531953 }
19541954 ]
1955+ },
1956+ {
1957+ "description" : " Evaluated properties collection needs to consider instance location with patternProperties" ,
1958+ "schema" : {
1959+ "$schema" : " https://json-schema.org/draft/2019-09/schema" ,
1960+ "properties" : {
1961+ "foo" : {
1962+ "patternProperties" : {
1963+ "^bar$" : {
1964+ "type" : " string"
1965+ }
1966+ }
1967+ }
1968+ },
1969+ "unevaluatedProperties" : false
1970+ },
1971+ "tests" : [
1972+ {
1973+ "description" : " with only the nested evaluated property" ,
1974+ "data" : {
1975+ "foo" : {
1976+ "bar" : " foo"
1977+ }
1978+ },
1979+ "valid" : true
1980+ },
1981+ {
1982+ "description" : " with an unevaluated property that exists at another location" ,
1983+ "data" : {
1984+ "foo" : {
1985+ "bar" : " foo"
1986+ },
1987+ "bar" : " bar"
1988+ },
1989+ "valid" : false
1990+ }
1991+ ]
1992+ },
1993+ {
1994+ "description" : " Evaluated properties collection needs to consider instance location with additionalProperties" ,
1995+ "schema" : {
1996+ "$schema" : " https://json-schema.org/draft/2019-09/schema" ,
1997+ "properties" : {
1998+ "foo" : {
1999+ "additionalProperties" : {
2000+ "type" : " string"
2001+ }
2002+ }
2003+ },
2004+ "unevaluatedProperties" : false
2005+ },
2006+ "tests" : [
2007+ {
2008+ "description" : " with only the nested evaluated property" ,
2009+ "data" : {
2010+ "foo" : {
2011+ "bar" : " foo"
2012+ }
2013+ },
2014+ "valid" : true
2015+ },
2016+ {
2017+ "description" : " with an unevaluated property that exists at another location" ,
2018+ "data" : {
2019+ "foo" : {
2020+ "bar" : " foo"
2021+ },
2022+ "bar" : " bar"
2023+ },
2024+ "valid" : false
2025+ }
2026+ ]
19552027 }
19562028]
Original file line number Diff line number Diff line change 19181918 "valid" : false
19191919 }
19201920 ]
1921+ },
1922+ {
1923+ "description" : " Evaluated properties collection needs to consider instance location with patternProperties" ,
1924+ "schema" : {
1925+ "$schema" : " https://json-schema.org/draft/2020-12/schema" ,
1926+ "properties" : {
1927+ "foo" : {
1928+ "patternProperties" : {
1929+ "^bar$" : {
1930+ "type" : " string"
1931+ }
1932+ }
1933+ }
1934+ },
1935+ "unevaluatedProperties" : false
1936+ },
1937+ "tests" : [
1938+ {
1939+ "description" : " with only the nested evaluated property" ,
1940+ "data" : {
1941+ "foo" : {
1942+ "bar" : " foo"
1943+ }
1944+ },
1945+ "valid" : true
1946+ },
1947+ {
1948+ "description" : " with an unevaluated property that exists at another location" ,
1949+ "data" : {
1950+ "foo" : {
1951+ "bar" : " foo"
1952+ },
1953+ "bar" : " bar"
1954+ },
1955+ "valid" : false
1956+ }
1957+ ]
1958+ },
1959+ {
1960+ "description" : " Evaluated properties collection needs to consider instance location with additionalProperties" ,
1961+ "schema" : {
1962+ "$schema" : " https://json-schema.org/draft/2020-12/schema" ,
1963+ "properties" : {
1964+ "foo" : {
1965+ "additionalProperties" : {
1966+ "type" : " string"
1967+ }
1968+ }
1969+ },
1970+ "unevaluatedProperties" : false
1971+ },
1972+ "tests" : [
1973+ {
1974+ "description" : " with only the nested evaluated property" ,
1975+ "data" : {
1976+ "foo" : {
1977+ "bar" : " foo"
1978+ }
1979+ },
1980+ "valid" : true
1981+ },
1982+ {
1983+ "description" : " with an unevaluated property that exists at another location" ,
1984+ "data" : {
1985+ "foo" : {
1986+ "bar" : " foo"
1987+ },
1988+ "bar" : " bar"
1989+ },
1990+ "valid" : false
1991+ }
1992+ ]
19211993 }
19221994]
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 99 "description" : " [^] is a valid regex" ,
1010 "data" : " [^]" ,
1111 "valid" : true
12+ },
13+ {
14+ "description" : " ECMA 262 supports lookbehind since ES2018" ,
15+ "data" : " (?<=foo)bar" ,
16+ "valid" : true
17+ },
18+ {
19+ "description" : " ECMA 262 does not support Python-style named groups" ,
20+ "data" : " (?P<name>x)" ,
21+ "valid" : false
1222 }
1323 ]
1424 }
Original file line number Diff line number Diff line change 19351935 "valid" : false
19361936 }
19371937 ]
1938+ },
1939+ {
1940+ "description" : " Evaluated properties collection needs to consider instance location with patternProperties" ,
1941+ "schema" : {
1942+ "$schema" : " https://json-schema.org/v1" ,
1943+ "properties" : {
1944+ "foo" : {
1945+ "patternProperties" : {
1946+ "^bar$" : {
1947+ "type" : " string"
1948+ }
1949+ }
1950+ }
1951+ },
1952+ "unevaluatedProperties" : false
1953+ },
1954+ "tests" : [
1955+ {
1956+ "description" : " with only the nested evaluated property" ,
1957+ "data" : {
1958+ "foo" : {
1959+ "bar" : " foo"
1960+ }
1961+ },
1962+ "valid" : true
1963+ },
1964+ {
1965+ "description" : " with an unevaluated property that exists at another location" ,
1966+ "data" : {
1967+ "foo" : {
1968+ "bar" : " foo"
1969+ },
1970+ "bar" : " bar"
1971+ },
1972+ "valid" : false
1973+ }
1974+ ]
1975+ },
1976+ {
1977+ "description" : " Evaluated properties collection needs to consider instance location with additionalProperties" ,
1978+ "schema" : {
1979+ "$schema" : " https://json-schema.org/v1" ,
1980+ "properties" : {
1981+ "foo" : {
1982+ "additionalProperties" : {
1983+ "type" : " string"
1984+ }
1985+ }
1986+ },
1987+ "unevaluatedProperties" : false
1988+ },
1989+ "tests" : [
1990+ {
1991+ "description" : " with only the nested evaluated property" ,
1992+ "data" : {
1993+ "foo" : {
1994+ "bar" : " foo"
1995+ }
1996+ },
1997+ "valid" : true
1998+ },
1999+ {
2000+ "description" : " with an unevaluated property that exists at another location" ,
2001+ "data" : {
2002+ "foo" : {
2003+ "bar" : " foo"
2004+ },
2005+ "bar" : " bar"
2006+ },
2007+ "valid" : false
2008+ }
2009+ ]
19382010 }
19392011]
You can’t perform that action at this time.
0 commit comments