{
  "scenarios": [
    {
      "type": "create",
      "name": "Create Collation",
      "endpoint": "NODE-collation.obj",
      "sql_endpoint": "NODE-collation.sql_id",
      "data": {
        "name": "Cl1_$%{}[]()&*^!@\"'`\\/#",
        "schema": "testschema",
        "copy_collation": "pg_catalog.\"C\"",
        "description": "Description"
      },
      "store_object_id": true,
      "expected_sql_file": "create_collation.sql"
    },
    {
      "type": "alter",
      "name": "Alter Collation",
      "endpoint": "NODE-collation.obj_id",
      "sql_endpoint": "NODE-collation.sql_id",
      "msql_endpoint": "NODE-collation.msql_id",
      "data": {
        "name": "Cl1_$%{}[]()&*^!@\"'`\\/#a",
        "schema": "testschema",
        "description": "Description for alter"
      },
      "expected_sql_file": "alter_collation.sql",
      "expected_msql_file": "msql_collation.sql"
    },
    {
      "type": "delete",
      "name": "Drop Collation",
      "endpoint": "NODE-collation.delete_id",
      "data": {
        "name": "Cl1_$%{}[]()&*^!@\"'`\\/#a"
      }
    },
    {
      "type": "create",
      "name": "Create Collation with icu provider",
      "endpoint": "NODE-collation.obj",
      "sql_endpoint": "NODE-collation.sql_id",
      "data": {
        "name": "Cl1_$%{}[]()&*^!@\"'`\\/#b",
        "schema": "testschema",
        "owner": "<OWNER>",
        "description": "Description for extra params",
        "locale": "locale",
        "provider": "icu",
        "is_deterministic": true,
        "version": "1"
      },
      "store_object_id": true,
      "expected_sql_file": "create_collation_with_extra_params.sql"
    },
    {
      "type": "delete",
      "name": "Drop Collation",
      "endpoint": "NODE-collation.delete_id",
      "data": {
        "name": "Cl1_$%{}[]()&*^!@\"'`\\/#b"
      }
    },
    {
      "type": "create",
      "name": "Create Collation with libc provider",
      "endpoint": "NODE-collation.obj",
      "sql_endpoint": "NODE-collation.sql_id",
      "data": {
        "name": "Cl1_$%{}[]()&*^!@\"'`\\/#b",
        "schema": "testschema",
        "owner": "<OWNER>",
        "description": "libc",
        "locale": "C",
        "provider": "libc",
        "is_deterministic": true
      },
      "store_object_id": true,
      "expected_sql_file": "create_collation_with_libc.sql"
    },
    {
      "type": "delete",
      "name": "Drop Collation",
      "endpoint": "NODE-collation.delete_id",
      "data": {
        "name": "Cl1_$%{}[]()&*^!@\"'`\\/#b"
      }
    },
    {
      "type": "create",
      "name": "Create Collation with builtin provider",
      "endpoint": "NODE-collation.obj",
      "sql_endpoint": "NODE-collation.sql_id",
      "data": {
        "name": "Cl1_$%{}[]()&*^!@\"'`\\/#b",
        "schema": "testschema",
        "owner": "<OWNER>",
        "description": "builtin",
        "locale": "C",
        "provider": "builtin",
        "is_deterministic": true,
        "version": "1"
      },
      "store_object_id": true,
      "expected_sql_file": "create_collation_with_builtin.sql"
    },
    {
      "type": "delete",
      "name": "Drop Collation",
      "endpoint": "NODE-collation.delete_id",
      "data": {
        "name": "Cl1_$%{}[]()&*^!@\"'`\\/#b"
      }
    }
  ]
}
