diff --git a/asdf/_tests/tags/core/tests/test_ndarray.py b/asdf/_tests/tags/core/tests/test_ndarray.py index a21fc822e..5b64b2e8d 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 48c741afb..a2c7b926b 100644 --- a/asdf/_tests/test_schema.py +++ b/asdf/_tests/test_schema.py @@ -118,7 +118,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" @@ -141,7 +141,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" @@ -166,7 +166,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" @@ -188,7 +188,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: @@ -197,7 +197,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: @@ -235,7 +235,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: @@ -244,7 +244,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: @@ -1245,7 +1245,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 ... @@ -1261,7 +1261,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-* ...