diff --git a/asdf/_tests/tags/core/tests/test_ndarray.py b/asdf/_tests/tags/core/tests/test_ndarray.py index c769cfc30..94a01ec22 100644 --- a/asdf/_tests/tags/core/tests/test_ndarray.py +++ b/asdf/_tests/tags/core/tests/test_ndarray.py @@ -75,7 +75,7 @@ def with_custom_extension(): { "http://nowhere.org/schemas/custom/datatype-1.0.0": """%YAML 1.1 --- -$schema: "http://stsci.edu/schemas/asdf/asdf-schema-1.0.0" +$schema: "http://stsci.edu/schemas/asdf/asdf-schema-1.1.0" id: "http://nowhere.org/schemas/custom/datatype-1.0.0" type: object properties: @@ -102,7 +102,7 @@ def with_custom_extension(): exact_datatype: true""", "http://nowhere.org/schemas/custom/ndim-1.0.0": """%YAML 1.1 --- -$schema: "http://stsci.edu/schemas/asdf/asdf-schema-1.0.0" +$schema: "http://stsci.edu/schemas/asdf/asdf-schema-1.1.0" id: "http://nowhere.org/schemas/custom/ndim-1.0.0" type: object properties: diff --git a/asdf/_tests/test_info.py b/asdf/_tests/test_info.py index 210786af6..94353051b 100644 --- a/asdf/_tests/test_info.py +++ b/asdf/_tests/test_info.py @@ -156,7 +156,7 @@ def manifest_extension(tmp_path): foo_schema = """ %YAML 1.1 --- -$schema: "asdf://stsci.edu/schemas/asdf/asdf-schema-1.0.0" +$schema: "asdf://stsci.edu/schemas/asdf/asdf-schema-1.1.0" id: "asdf://somewhere.org/asdf/schemas/foo-1.0.0" type: object @@ -221,7 +221,7 @@ def manifest_extension(tmp_path): bar_schema = """ %YAML 1.1 --- -$schema: "asdf://stsci.edu/schemas/asdf/asdf-schema-1.0.0" +$schema: "asdf://stsci.edu/schemas/asdf/asdf-schema-1.1.0" id: "asdf://somewhere.org/asdf/schemas/bar-1.0.0" type: object @@ -245,7 +245,7 @@ def manifest_extension(tmp_path): drink_schema = """ %YAML 1.1 --- -$schema: "asdf://stsci.edu/schemas/asdf/asdf-schema-1.0.0" +$schema: "asdf://stsci.edu/schemas/asdf/asdf-schema-1.1.0" id: "asdf://somewhere.org/asdf/schemas/drink-1.0.0" type: object diff --git a/asdf/_tests/test_schema.py b/asdf/_tests/test_schema.py index d546b0eb9..7517d21a2 100644 --- a/asdf/_tests/test_schema.py +++ b/asdf/_tests/test_schema.py @@ -117,7 +117,7 @@ def test_load_schema(tmp_path): schema_def = """ %YAML 1.1 --- -$schema: "http://stsci.edu/schemas/asdf/asdf-schema-1.0.0" +$schema: "http://stsci.edu/schemas/asdf/asdf-schema-1.1.0" id: "http://stsci.edu/schemas/asdf/nugatory/nugatory-1.0.0" tag: "tag:stsci.edu:asdf/nugatory/nugatory-1.0.0" @@ -140,7 +140,7 @@ def test_load_schema_with_full_tag(tmp_path): schema_def = """ %YAML 1.1 --- -$schema: "http://stsci.edu/schemas/asdf/asdf-schema-1.0.0" +$schema: "http://stsci.edu/schemas/asdf/asdf-schema-1.1.0" id: "http://stsci.edu/schemas/asdf/nugatory/nugatory-1.0.0" tag: "tag:stsci.edu:asdf/nugatory/nugatory-1.0.0" @@ -165,7 +165,7 @@ def test_load_schema_with_file_url(tmp_path): %YAML 1.1 %TAG !asdf! tag:stsci.edu:asdf/ --- -$schema: "http://stsci.edu/schemas/asdf/asdf-schema-1.0.0" +$schema: "http://stsci.edu/schemas/asdf/asdf-schema-1.1.0" id: "http://stsci.edu/schemas/asdf/nugatory/nugatory-1.0.0" tag: "tag:stsci.edu:asdf/nugatory/nugatory-1.0.0" @@ -187,7 +187,7 @@ def test_load_schema_with_file_url(tmp_path): def test_load_schema_with_asdf_uri_scheme(): subschema_content = """%YAML 1.1 --- -$schema: http://stsci.edu/schemas/asdf/asdf-schema-1.0.0 +$schema: http://stsci.edu/schemas/asdf/asdf-schema-1.1.0 id: asdf://somewhere.org/schemas/bar bar: @@ -196,7 +196,7 @@ def test_load_schema_with_asdf_uri_scheme(): """ content = """%YAML 1.1 --- -$schema: http://stsci.edu/schemas/asdf/asdf-schema-1.0.0 +$schema: http://stsci.edu/schemas/asdf/asdf-schema-1.1.0 id: asdf://somewhere.org/schemas/foo definitions: @@ -234,7 +234,7 @@ def test_load_schema_with_stsci_id(): """ subschema_content = """%YAML 1.1 --- -$schema: http://stsci.edu/schemas/asdf/asdf-schema-1.0.0 +$schema: http://stsci.edu/schemas/asdf/asdf-schema-1.1.0 id: http://stsci.edu/schemas/bar bar: @@ -243,7 +243,7 @@ def test_load_schema_with_stsci_id(): """ content = """%YAML 1.1 --- -$schema: http://stsci.edu/schemas/asdf/asdf-schema-1.0.0 +$schema: http://stsci.edu/schemas/asdf/asdf-schema-1.1.0 id: http://stsci.edu/schemas/foo definitions: @@ -1242,7 +1242,7 @@ def _test_validator(validator, value, instance, schema): def test_tag_validator(): content = """%YAML 1.1 --- -$schema: http://stsci.edu/schemas/asdf/asdf-schema-1.0.0 +$schema: http://stsci.edu/schemas/asdf/asdf-schema-1.1.0 id: asdf://somewhere.org/schemas/foo tag: asdf://somewhere.org/tags/foo ... @@ -1258,7 +1258,7 @@ def test_tag_validator(): content = """%YAML 1.1 --- -$schema: http://stsci.edu/schemas/asdf/asdf-schema-1.0.0 +$schema: http://stsci.edu/schemas/asdf/asdf-schema-1.1.0 id: asdf://somewhere.org/schemas/bar tag: asdf://somewhere.org/tags/bar-* ...